@go-labs-sg/bb 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -37
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -75,40 +75,3 @@ Set `BB_API_KEY` in the environment before running.
|
|
|
75
75
|
4. **Verify JSON output** — you should see structured JSON on stdout. Errors go to stderr with exit code 1.
|
|
76
76
|
|
|
77
77
|
If you see `{"error":"Unable to connect..."}` — the production API may be unreachable or your network may be blocking the request.
|
|
78
|
-
|
|
79
|
-
## Private publishing (npm)
|
|
80
|
-
|
|
81
|
-
To publish privately:
|
|
82
|
-
|
|
83
|
-
1. **Use a scoped package** (already `@go-labs-sg/bb`).
|
|
84
|
-
|
|
85
|
-
2. **Set `publishConfig`** in `package.json`:
|
|
86
|
-
```json
|
|
87
|
-
"publishConfig": {
|
|
88
|
-
"access": "restricted"
|
|
89
|
-
}
|
|
90
|
-
```
|
|
91
|
-
(`restricted` = private for scoped packages; `public` = public)
|
|
92
|
-
|
|
93
|
-
3. **Ensure you're logged in** to npm and have access to the `@go-labs-sg` org:
|
|
94
|
-
```bash
|
|
95
|
-
npm login
|
|
96
|
-
npm org ls go-labs-sg # verify access
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
4. **Publish** from the CLI package:
|
|
100
|
-
```bash
|
|
101
|
-
cd packages/cli
|
|
102
|
-
npm publish
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
5. **For Chuck/OpenClaw** — install from your private registry:
|
|
106
|
-
```bash
|
|
107
|
-
npm install -g @go-labs-sg/bb
|
|
108
|
-
# or
|
|
109
|
-
npx @go-labs-sg/bb list-budgets
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
Set `BB_API_KEY` in the agent's environment.
|
|
113
|
-
|
|
114
|
-
**Alternative: GitHub Packages** — use `@go-labs-sg/bb` with `registry: https://npm.pkg.github.com` and a `GITHUB_TOKEN` with `read:packages` / `write:packages`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@go-labs-sg/bb",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Budget Builder CLI — list budgets, bills, approvals, suppliers; approve bills; change status. For AI agents (e.g. Chuck/OpenClaw).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|