Files
zeekay 2dce03a7b6 Hanzo Gen: the harness, out of hanzoai/cli
The coding-agent harness leaves hanzoai/cli at 695b57aa with its history:
src/commands/code becomes src/, and the CLI helpers it needed come with
it as the one copy of each: private (owner-only atomic writes), native
(agent sign-in table), savings (prices, tallies, meter rows) and warn.

Gen depends on nothing in the CLI. What a session needs from the program
it runs in is one Host: a profile (api, org, provider, identities, link,
theme, the token-refresh command), the signed-in account, a stored key
and the usage meter. hanzo-cli is a host in process; `gen` is its own,
asking the hanzo command for the account the way Hanzo Dev does.

The flags move too, as Args, so `gen` and `hanzo dev` take the same ones.
2026-10-15 21:17:10 -07:00

22 lines
1.1 KiB
Plaintext

MIT License
Copyright (c) 2023-2026 Hanzo AI, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.