@thedevdavid/sage 0.1.1 → 0.1.2
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 +19 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -116,8 +116,27 @@ about API spend or cycle status — without ever reading your keys.
|
|
|
116
116
|
|
|
117
117
|
- CLI: `bun cli/bin/sage.js --help` (Bun or Node ≥ 18, no dependencies, no build step).
|
|
118
118
|
- App: `xcodebuild -project sage.xcodeproj -scheme sage -destination 'platform=macOS' build`
|
|
119
|
+
The project is kept at object format 77 (Xcode 16+) so hosted CI runners can
|
|
120
|
+
build it. If Xcode offers to upgrade the project format, decline — a newer
|
|
121
|
+
format makes the release workflow fail to open the project.
|
|
119
122
|
- Site: `python3 -m http.server 8080 -d site` — one static `index.html`, no build step.
|
|
120
123
|
|
|
124
|
+
## Releasing
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
make release VERSION=0.1.2
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
That bumps `cli/package.json`, commits, tags `v0.1.2` and pushes. The tag
|
|
131
|
+
triggers `.github/workflows/release.yml`, which does the rest on a macOS
|
|
132
|
+
runner: smoke-tests the CLI, builds and zips the app, creates the GitHub
|
|
133
|
+
release, publishes to npm (trusted publishing — no token stored), and commits
|
|
134
|
+
the bumped formula + cask to `thedevdavid/homebrew-tap`.
|
|
135
|
+
|
|
136
|
+
The only stored credential is `TAP_TOKEN`, a fine-grained PAT limited to the
|
|
137
|
+
tap repo (`Contents: read and write`) — cross-repo pushes are the one thing the
|
|
138
|
+
built-in Actions token cannot do.
|
|
139
|
+
|
|
121
140
|
## License
|
|
122
141
|
|
|
123
142
|
MIT
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thedevdavid/sage",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Local-only usage & billing-cycle tracker for LLM API keys and subscriptions (OpenAI, Anthropic/Claude, Kimi, Cursor).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"sage": "
|
|
7
|
+
"sage": "bin/sage.js"
|
|
8
8
|
},
|
|
9
9
|
"engines": {
|
|
10
10
|
"node": ">=18"
|