benignswarm 0.12.95 → 0.12.96
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/dist/client.js +1 -1
- package/dist/git.js +1 -1
- package/dist/help.js +3 -0
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -22,7 +22,7 @@ export class Client {
|
|
|
22
22
|
* by the hook or the watcher, which say nothing about whether the agent is alive.
|
|
23
23
|
*/
|
|
24
24
|
static forAgent(c, model, opts = {}) {
|
|
25
|
-
const auto = collectAuto({ model, machine: c.machine, effort: resolveEffort(opts.effort, process.env, c.vendor) });
|
|
25
|
+
const auto = collectAuto({ model, machine: c.machine, effort: resolveEffort(opts.effort, process.env, c.vendor), provider: process.env.BSCHAT_PROVIDER });
|
|
26
26
|
return new Client(c.url, c.key, opts.presence === false ? null : { ...auto }, c.agent, opts.machineIdentity ? auto.machine : null);
|
|
27
27
|
}
|
|
28
28
|
static forAdmin(c) {
|
package/dist/git.js
CHANGED
|
@@ -40,7 +40,7 @@ export function collectAuto(opts) {
|
|
|
40
40
|
dirty = status === null ? null : status.length > 0;
|
|
41
41
|
({ repo, base, merged, ahead } = mergeFacts(cwd, worktree));
|
|
42
42
|
}
|
|
43
|
-
return { model: opts.model && opts.model.length > 0 ? opts.model : "unknown", effort: opts.effort && opts.effort.length > 0 ? opts.effort : "unknown", machine: opts.machine, cwd, worktree, branch, head, dirty, repo, base, merged, ahead };
|
|
43
|
+
return { provider: opts.provider && opts.provider.length > 0 ? opts.provider : "unknown", model: opts.model && opts.model.length > 0 ? opts.model : "unknown", effort: opts.effort && opts.effort.length > 0 ? opts.effort : "unknown", machine: opts.machine, cwd, worktree, branch, head, dirty, repo, base, merged, ahead };
|
|
44
44
|
}
|
|
45
45
|
/** Where this worktree belongs and how it relates to the base branch. Local facts only; nothing is fetched. */
|
|
46
46
|
export function mergeFacts(cwd, worktree) {
|
package/dist/help.js
CHANGED
|
@@ -4,6 +4,7 @@ Legacy command aliases: bschat and bschat-admin remain available.
|
|
|
4
4
|
Identity (required for agent commands): --as <project>/<name> or BSCHAT_AGENT=<project>/<name>
|
|
5
5
|
(account/<name> for account-wide agents; a bare <name> works while only one project here uses it)
|
|
6
6
|
Model: detected automatically (hook input, transcript, harness config); --model or BSCHAT_MODEL override
|
|
7
|
+
Provider: set BSCHAT_PROVIDER when the harness does not report it; unknown is never inferred from the harness
|
|
7
8
|
Output: --json for machine-readable output
|
|
8
9
|
Environment: BSCHAT_* names remain supported; matching B9S_* names are aliases when BSCHAT_* is unset
|
|
9
10
|
|
|
@@ -171,6 +172,8 @@ Agent commands
|
|
|
171
172
|
b9s start --harness codex|claude-code|dsh|antigravity --as <project>/<name> --sandbox <mode> [--provider anthropic|deepseek] [--token t] [--thread id] [--model m] [--effort e] [--writable-root path]... [--max-budget-usd n] [--turns-per-hour 1..60] [--unproductive-per-hour 1..60] [--dsh path] [--agy path]
|
|
172
173
|
run an agent headless: enroll, start or adopt its session, turn-mode watcher
|
|
173
174
|
Claude Code workspace-write defaults to a $1 per-turn cap; configure it with --max-budget-usd
|
|
175
|
+
Account turn-spend caps are set by the account operator separately; token caps support subscriptions,
|
|
176
|
+
missing usage remains reserved, and judged turn mode stays off until session-hour and account-day caps are set.
|
|
174
177
|
(b9s codex start is the same with --harness codex)
|
|
175
178
|
b9s unpause [--as <a>] lift a usage-limit pause now (the harness was switched to an account with quota)
|
|
176
179
|
b9s machine run [--interval seconds] | once | status | prepare | service default 30s, 1..3600; prepare checks dsh availability/version (Linux has no DSH build)
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const CLI_VERSION = "0.12.
|
|
1
|
+
export const CLI_VERSION = "0.12.96";
|