@hyai/cli
v0.1.9
Published
A local HY AI assets workspace powered by rulesync
Maintainers
Readme
HY AI
A local HY AI assets workspace powered by rulesync.
Requires Node.js 22.12.0 or newer. HY AI uses the Rulesync npm package by default; on macOS and Windows, the UI can also detect a separately installed global Rulesync executable.
What it does
- opens a local web UI for managing team AI assets in the current project
- serves the built frontend and API from the same local server
- lets you edit config, manage
.rulesyncfiles, and run rulesync-backed actions without relying on CLI commands for every step
Local development
From the repo root:
corepack pnpm install
corepack pnpm build
node packages/cli/dist/index.jsPack locally
From the repo root:
corepack pnpm pack:cliPublish flow
- Update the version in
packages/cli/package.json. - Build from the repo root with
corepack pnpm build. - Verify the tarball with
corepack pnpm pack:cli. - Sign in to npm and confirm permission to publish under
@hyai. - Confirm the MIT open-source license and run the final publish verification.
- Publish with
npm publish --registry https://registry.npmjs.org/.
Consumers install the public package with:
npm install -g @hyai/cli
hyaihyai opens the local UI in the default browser after the local health check succeeds. Use hyai --no-open or set HYAI_OPEN_BROWSER=false when automatic browser opening is not wanted.
Multiple projects can run at the same time. HY AI starts at port 3210 and automatically uses the next available port. Set PORT=<port> to require a specific port.
