@hanskristoffer/agentpool 0.1.1 → 0.2.0
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 +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -62,7 +62,7 @@ One instance per provider covers every account; the daemon switches accounts, so
|
|
|
62
62
|
|
|
63
63
|
### Or: your normal Claude login
|
|
64
64
|
|
|
65
|
-
`agentgate setup --primary` adds
|
|
65
|
+
`agentgate setup --primary` adds `ANTHROPIC_BASE_URL` to `~/.claude/settings.json` and the agentgate MCP server to `~/.claude.json`, so the Claude Code you already use (and T3's default Claude instance) goes through agentgate while keeping its own login. Model requests use the pool; other requests keep your login, and your login is also the last resort when every pooled account is exhausted. Undo with `agentgate setup --primary off` (the previous base URL is restored, and later settings edits are preserved). It does the same for `~/.codex/config.toml` (or `$CODEX_HOME`): an `agentgate` model provider with `requires_openai_auth = true`, so Codex, the Codex app and T3's default Codex instance send their own ChatGPT login along as the last resort. Only do this with `agentgate service install`, or Claude Code and Codex can't reach their providers while the daemon is down.
|
|
66
66
|
|
|
67
67
|
## MCP servers per repo
|
|
68
68
|
|
|
@@ -130,4 +130,4 @@ bun scripts/smoke.ts dist/agentgate-darwin-arm64 # use your host target
|
|
|
130
130
|
bun scripts/codex-smoke.ts # optional: installed Codex CLI, fake upstream
|
|
131
131
|
```
|
|
132
132
|
|
|
133
|
-
Builds produce four macOS/Linux binaries and `dist/SHA256SUMS`.
|
|
133
|
+
Builds produce four macOS/Linux binaries and `dist/SHA256SUMS`. Releases use [release-please](https://github.com/googleapis/release-please): conventional commits on `main` (`feat:`, `fix:`) keep a release PR open with the next version and changelog, and merging it publishes the binaries to npm (`@hanskristoffer/agentpool` plus one `agentpool-<os>-<cpu>` package per binary, via `scripts/npm.ts`; needs the `NPM_TOKEN` secret) and to a GitHub release. The installer verifies the checksum from the same resolved release before replacing an installed binary. CI runs tests, typechecking, and compiled CLI checks on macOS and Linux.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanskristoffer/agentpool",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"agentgate": "bin/agentpool.js"
|
|
13
13
|
},
|
|
14
14
|
"optionalDependencies": {
|
|
15
|
-
"agentpool-darwin-arm64": "0.
|
|
16
|
-
"agentpool-darwin-x64": "0.
|
|
17
|
-
"agentpool-linux-x64": "0.
|
|
18
|
-
"agentpool-linux-arm64": "0.
|
|
15
|
+
"agentpool-darwin-arm64": "0.2.0",
|
|
16
|
+
"agentpool-darwin-x64": "0.2.0",
|
|
17
|
+
"agentpool-linux-x64": "0.2.0",
|
|
18
|
+
"agentpool-linux-arm64": "0.2.0"
|
|
19
19
|
}
|
|
20
20
|
}
|