File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 run : |
4343 VERSION=${GITHUB_REF_NAME#v}
4444 npm version "$VERSION" --no-git-tag-version --allow-same-version
45- npm publish --access public
45+ npm publish
4646 env :
4747 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1414
1515| 渠道 | 目标用户 | 实现方式 | 工作量 |
1616| ------| ---------| ---------| --------|
17- | ** npm wrapper** | Node.js/agent 生态 | 轻量 npm 包 ` @vibelabsio/ notion-agent-cli` ,postinstall 拉二进制 | 2h |
17+ | ** npm wrapper** | Node.js/agent 生态 | 轻量 npm 包 ` notion-agent-cli ` ,postinstall 拉二进制 | 2h |
1818| ** Docker** | CI/CD/自动化 | ` ghcr.io/MaxMa04/notion-agent-cli ` | 30min |
1919| ** Scoop** | Windows | goreleaser 内置 scoop manifest | 15min |
2020
5959
6060```
6161notion-agent-cli-npm/
62- ├── package.json # name: @vibelabsio/ notion-agent-cli
62+ ├── package.json # name: notion-agent-cli
6363├── install.js # postinstall: 检测平台 → 下载对应 GitHub Release 二进制
6464├── bin/notion # shell wrapper → 执行下载的二进制
6565└── README.md
6666```
6767
68- 用户体验: ` npx @vibelabsio/ notion-agent-cli search "meeting notes" `
68+ 用户体验: ` npx notion-agent-cli search "meeting notes" `
6969
7070### Phase 3: Docker(本周)
7171
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ A full-featured command-line interface for [Notion](https://notion.so). Manage p
2525
2626### npm (cross-platform)
2727``` sh
28- npm install -g @vibelabsio/ notion-agent-cli
28+ npm install -g notion-agent-cli
2929```
3030
3131### Go
Original file line number Diff line number Diff line change 1- # @ vibelabsio/ notion-agent-cli
1+ # notion-agent-cli
22
33Like ` gh ` for GitHub, but for Notion. 47 commands. One binary.
44
@@ -7,7 +7,7 @@ This is an npm wrapper that downloads the platform-specific binary from [GitHub
77## Install
88
99``` sh
10- npm install -g @vibelabsio/ notion-agent-cli
10+ npm install -g notion-agent-cli
1111```
1212
1313## Usage
Original file line number Diff line number Diff line change 11{
2- "name" : " @vibelabsio/ notion-agent-cli" ,
2+ "name" : " notion-agent-cli" ,
33 "version" : " 0.6.0" ,
44 "description" : " Notion Agent CLI — full-featured CLI for Notion, built for developers and AI agents" ,
55 "bin" : {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ if (!fs.existsSync(binaryPath)) {
1717 require ( "./install" ) ;
1818 if ( ! fs . existsSync ( binaryPath ) ) {
1919 console . error (
20- "Installation failed. Please run: npm install -g @vibelabsio/ notion-agent-cli"
20+ "Installation failed. Please run: npm install -g notion-agent-cli"
2121 ) ;
2222 process . exit ( 1 ) ;
2323 }
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ brew install MaxMa04/tap/notion-agent-cli
1818go install github.com/MaxMa04/notion-agent-cli@latest
1919
2020# npm
21- npm install -g @vibelabsio/ notion-agent-cli
21+ npm install -g notion-agent-cli
2222
2323# Or download binary from GitHub Releases
2424# https://github.com/MaxMa04/notion-agent-cli/releases
You can’t perform that action at this time.
0 commit comments