You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Publish the existing Maka CLI/TUI as a standalone public npm package so users can install and run it without cloning the monorepo:
npm install --global maka-agent
maka
The package must provide both maka and maka-agent binaries, preserve the existing maka eval product surface, and work without resolving private @maka/* workspaces from the npm registry.
Current state
maka-agent has been registered on npm as 0.0.0-alpha.0.
The alpha contains a minimal functional CLI and currently occupies the next and latest tags.
The first complete prerelease will be 0.1.0-beta.1 on next; latest will move to the first stable 0.1.0 release.
npm organization ownership transfer is deferred until the release path is established.
Publish one public maka-agent package while preserving the internal package topology. Snapshot the complete production dependency closure with bundled dependencies so that:
private @maka/* workspaces are included rather than fetched from npm;
package-relative workers, execution candidates, and import.meta.resolve continue to work;
the production tree already modified by repository patches is preserved;
native/platform dependencies such as node-pty remain installable across supported platforms.
Do not publish every internal workspace as a public package and do not flatten the runtime into a single JavaScript bundle for the initial release.
maka eval remains part of the public package. Include the required Eval JavaScript, Python relay, Compose overlay, network policy, wrappers, and configuration resources. Docker, Harbor/Pier Python environments, trusted toolchains, and machine-local paths remain explicit external prerequisites and must be checked before execution.
Work
Define a bin-only release entrypoint while preserving maka, maka-agent, maka run, TUI onboarding, activation, Runtime Host commands, and maka eval.
Generate a publishable release manifest with explicit metadata, Node engine, files, publishConfig, and bundled dependencies.
Build a proof tarball containing the complete production closure and no unresolved private registry dependencies.
Add strict file allowlists for the CLI and bundled internal workspaces.
Include README, LICENSE, NOTICE, and CLI-specific third-party notices.
Verify that repository patches and native prebuilds are present in the final tarball.
Add clean-prefix install tests for both binaries, TUI startup, first-run setup, maka run, Runtime Host workers/candidates, and PTY behavior.
Add Eval install-state checks, actionable prerequisite diagnostics, and real minimal Harbor and Pier cells on Linux.
Test the same tarball on Linux x64, macOS arm64, and Windows x64.
Add a protected release-cli.yml workflow using one built tarball, human approval, and npm Trusted Publishing/OIDC.
Publish 0.1.0-beta.1 to next, complete real-environment acceptance, then publish 0.1.0 to latest.
Document installation, upgrade, uninstall, supported platforms, Eval prerequisites, and rollback.
Acceptance criteria
A clean machine can install the package from npm and run the CLI/TUI without the monorepo.
Installation does not fetch unpublished @maka/* packages or require users to apply repository patches.
TUI onboarding, maka run, Runtime Host workers/candidates, and PTY paths work from the installed package.
maka eval resolves all Maka-owned resources from the installed package; supported environments complete real Harbor and Pier cells, while unsupported or incomplete environments fail before execution with actionable diagnostics.
The exact tarball published to npm passes the Linux, macOS, and Windows release matrix.
The tarball excludes source, tests, fixtures, credentials, local paths, and other development-only files.
Releases use protected GitHub environments, human approval, OIDC trusted publishing, and documented dist-tag rollback.
Out of scope
Publishing all internal @maka/* workspaces as public packages.
Establishing a public JavaScript library API for maka-agent.
中文
目标
将现有 Maka CLI/TUI 发布为可独立安装的公共 npm 包,使用户无需克隆 monorepo 即可安装和运行:
npm install --global maka-agent
maka
发布包同时提供 maka 和 maka-agent 两个命令,保留现有 maka eval 产品能力,并且安装时不能从 npm registry 解析未公开的 @maka/* workspace。
English
Goal
Publish the existing Maka CLI/TUI as a standalone public npm package so users can install and run it without cloning the monorepo:
The package must provide both
makaandmaka-agentbinaries, preserve the existingmaka evalproduct surface, and work without resolving private@maka/*workspaces from the npm registry.Current state
maka-agenthas been registered on npm as0.0.0-alpha.0.nextandlatesttags.0.1.0-beta.1onnext;latestwill move to the first stable0.1.0release.Packaging direction
Publish one public
maka-agentpackage while preserving the internal package topology. Snapshot the complete production dependency closure with bundled dependencies so that:@maka/*workspaces are included rather than fetched from npm;import.meta.resolvecontinue to work;node-ptyremain installable across supported platforms.Do not publish every internal workspace as a public package and do not flatten the runtime into a single JavaScript bundle for the initial release.
maka evalremains part of the public package. Include the required Eval JavaScript, Python relay, Compose overlay, network policy, wrappers, and configuration resources. Docker, Harbor/Pier Python environments, trusted toolchains, and machine-local paths remain explicit external prerequisites and must be checked before execution.Work
maka,maka-agent,maka run, TUI onboarding, activation, Runtime Host commands, andmaka eval.files,publishConfig, and bundled dependencies.maka run, Runtime Host workers/candidates, and PTY behavior.release-cli.ymlworkflow using one built tarball, human approval, and npm Trusted Publishing/OIDC.0.1.0-beta.1tonext, complete real-environment acceptance, then publish0.1.0tolatest.Acceptance criteria
@maka/*packages or require users to apply repository patches.maka run, Runtime Host workers/candidates, and PTY paths work from the installed package.maka evalresolves all Maka-owned resources from the installed package; supported environments complete real Harbor and Pier cells, while unsupported or incomplete environments fail before execution with actionable diagnostics.Out of scope
@maka/*workspaces as public packages.maka-agent.中文
目标
将现有 Maka CLI/TUI 发布为可独立安装的公共 npm 包,使用户无需克隆 monorepo 即可安装和运行:
发布包同时提供
maka和maka-agent两个命令,保留现有maka eval产品能力,并且安装时不能从 npm registry 解析未公开的@maka/*workspace。当前状态
maka-agent已以0.0.0-alpha.0注册。next和latest。0.1.0-beta.1,使用next;第一个稳定版为0.1.0,届时将latest指向稳定版。打包方向
只发布一个公共
maka-agent包,同时保留内部包拓扑。通过 bundled dependencies 快照完整生产依赖闭包,从而保证:@maka/*workspace 随包提供,而不是从 npm 获取;import.meta.resolve行为保持有效;node-pty等原生或平台依赖能在支持平台安装。首发不公开发布全部内部 workspace,也不把 Runtime 强行压成单个 JavaScript bundle。
maka eval保留在公共包中。发布物包含必要的 Eval JavaScript、Python relay、Compose overlay、network policy、wrapper 和配置资源。Docker、Harbor/Pier Python 环境、受信 toolchain 及机器本地路径仍是显式外部前置条件,必须在执行前完成检查。工作项
以下状态以英文区的复选框为准:
maka、maka-agent、maka run、TUI 首次设置、激活、Runtime Host 命令和maka eval。files、publishConfig和 bundled dependencies 的发布 manifest。maka run、Runtime Host worker/candidate 和 PTY。release-cli.yml,使用单一构建产物、人工审批和 npm Trusted Publishing/OIDC。0.1.0-beta.1到next,完成真实环境验收后发布0.1.0到latest。验收标准
@maka/*包,也不要求用户应用仓库补丁。maka run、Runtime Host worker/candidate 和 PTY 能从安装包正常工作。maka eval从安装包解析全部 Maka 自有资源;支持环境能够完成真实 Harbor 和 Pier cell,不支持或缺失依赖的环境在执行前给出可操作诊断。非目标
@maka/*workspace 发布为公共包。maka-agent建立公共 JavaScript library API。