mirror of
https://github.com/volcengine/OpenViking.git
synced 2026-09-29 04:02:57 +08:00
Replace GitHub Release with npm publishing for CLI tags (cli@*).
Each tag triggers: build 5 platform binaries → publish platform-specific
@openviking/cli-{os}-{arch} packages → publish @openviking/cli wrapper.
- Add npm/cli/ wrapper package with postinstall help message
- Generate platform packages in CI from build artifacts
- Remove GitHub Release and artifact upload from CLI workflow
Required GitHub secret: NPM_TOKEN
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: MaojiaSheng <shengmaojia@bytedance.com>
30 lines
790 B
JSON
30 lines
790 B
JSON
{
|
|
"name": "@openviking/cli",
|
|
"version": "0.0.0",
|
|
"description": "OpenViking CLI — agent-native context database",
|
|
"bin": {
|
|
"ov": "bin/ov.mjs"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "node bin/postinstall.mjs"
|
|
},
|
|
"type": "module",
|
|
"files": ["bin", "README.md"],
|
|
"optionalDependencies": {
|
|
"@openviking/cli-darwin-arm64": "0.0.0",
|
|
"@openviking/cli-darwin-x64": "0.0.0",
|
|
"@openviking/cli-linux-arm64": "0.0.0",
|
|
"@openviking/cli-linux-x64": "0.0.0",
|
|
"@openviking/cli-win32-x64": "0.0.0"
|
|
},
|
|
"keywords": ["openviking", "cli", "context", "embeddings", "agent", "memory"],
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/volcengine/openviking.git"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|