@aibridge/cli 0.10.0 → 0.10.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 CHANGED
@@ -28,8 +28,10 @@ Install the skill into your agent:
28
28
  npx skills add ycmjason/aibridge
29
29
  ```
30
30
 
31
- The skill runs the CLI on demand with `npx -y @aibridge/cli`. Ask your agent to
32
- "use aibridge", or run a command directly:
31
+ The installed skill is a small evergreen loader. It asks the latest CLI package
32
+ for canonical instructions, then pins that exact version for the rest of the
33
+ session. Routing guidance and executable behavior therefore update together.
34
+ Ask your agent to "use aibridge", or run a command directly:
33
35
 
34
36
  ```bash
35
37
  npx -y @aibridge/cli subagent --model xai-grok/grok-4.6 "summarize the architecture of this repo"
@@ -49,6 +51,7 @@ npx -y @aibridge/cli subagent --model xai-grok/grok-4.6 "summarize the architect
49
51
  | `aibridge models [--json]` | List registered models and their capabilities |
50
52
  | `aibridge quota` | Show quota remaining for every backend |
51
53
  | `aibridge runs` | Inspect or watch run logs in `~/.aibridge/runs` |
54
+ | `aibridge skill [topic]` | Print the canonical agent instructions bundled with this CLI version |
52
55
 
53
56
  Use `plan`, `implement`, and `review` as one controlled workflow:
54
57
 
@@ -64,9 +67,9 @@ orchestrator's conversation context.
64
67
 
65
68
  ## How it works
66
69
 
67
- - **The skill decides; the CLI executes.** The skill covers routing and prompt
68
- design. The CLI starts the backend, captures output, validates known failure
69
- modes, and logs the run.
70
+ - **One package owns instructions and execution.** The installed skill only
71
+ bootstraps the latest package. That package supplies routing guidance, starts
72
+ the backend, validates known failure modes, and logs the run.
70
73
  - **Review stays cross-model.** The recommended workflow uses Grok to plan and
71
74
  review, and Gemini to implement.
72
75
  - **Existing logins, no API keys.** Each backend uses its CLI login and quota.
package/dist/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { r as runCli, t as buildContext } from "./context-DeJmEXLe.mjs";
2
+ import { r as runCli, t as buildContext } from "./context-8-_UJAjA.mjs";
3
3
  //#region src/cli.ts
4
4
  await runCli(buildContext(process), process.argv.slice(2));
5
5
  //#endregion
@@ -127,10 +127,10 @@ const MODELS = {
127
127
  ],
128
128
  brief: "OpenAI gpt-5.6-luna via codex CLI — fast and affordable coding; own ChatGPT login"
129
129
  },
130
- "anthropic-claude/fable-5": {
131
- slug: "anthropic-claude/fable-5",
130
+ "anthropic-claude/fable-5.1": {
131
+ slug: "anthropic-claude/fable-5.1",
132
132
  backend: "claude",
133
- backendModel: "claude-fable-5",
133
+ backendModel: "claude-fable-5-1",
134
134
  efforts: [
135
135
  "low",
136
136
  "medium",
@@ -139,7 +139,7 @@ const MODELS = {
139
139
  "max"
140
140
  ],
141
141
  defaultEffort: "high",
142
- brief: "Claude Fable 5 via claude CLI — hardest, longest-running work; bills the claude CLI subscription"
142
+ brief: "Claude Fable 5.1 via claude CLI — hardest, longest-running work; bills the claude CLI subscription"
143
143
  },
144
144
  "anthropic-claude/opus-5": {
145
145
  slug: "anthropic-claude/opus-5",
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { S as supportsImageGen, _ as backendModelId, a as readRunLogs, b as listModelHelpLines, c as evaluateAgyPreflight, d as preflightModel, f as renderPreflightRefusal, g as MODELS, h as positiveIntSeconds, i as listRuns, l as evaluateCodexPreflight, m as nonEmptyPrompt, n as app, o as startRun, p as getDriver, r as runCli, s as delegate, t as buildContext, u as preflightCodex, v as formatImageGenModelError, x as resolveModel, y as formatUnknownModelError } from "./context-DeJmEXLe.mjs";
1
+ import { S as supportsImageGen, _ as backendModelId, a as readRunLogs, b as listModelHelpLines, c as evaluateAgyPreflight, d as preflightModel, f as renderPreflightRefusal, g as MODELS, h as positiveIntSeconds, i as listRuns, l as evaluateCodexPreflight, m as nonEmptyPrompt, n as app, o as startRun, p as getDriver, r as runCli, s as delegate, t as buildContext, u as preflightCodex, v as formatImageGenModelError, x as resolveModel, y as formatUnknownModelError } from "./context-8-_UJAjA.mjs";
2
2
  export { MODELS, app, backendModelId, buildContext, delegate, evaluateAgyPreflight, evaluateCodexPreflight, formatImageGenModelError, formatUnknownModelError, getDriver, listModelHelpLines, listRuns, nonEmptyPrompt, positiveIntSeconds, preflightCodex, preflightModel, readRunLogs, renderPreflightRefusal, resolveModel, runCli, startRun, supportsImageGen };
@@ -87,7 +87,7 @@ detailed the plan must be.
87
87
  rather than guess.**
88
88
 
89
89
  Also registered: `openai-codex/gpt-5.6-terra` / `-luna` (cheaper coding tiers),
90
- `anthropic-claude/fable-5` (hardest, longest-running work),
90
+ `anthropic-claude/fable-5.1` (hardest, longest-running work),
91
91
  `anthropic-claude/haiku-4-5` (quick answers),
92
92
  `google-antigravity/gemini-3.6-flash`, `google-antigravity/gemini-3.1-pro`
93
93
  (`-high`/`-low` only), and agy's `claude-sonnet-4-6` /
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aibridge/cli",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "Agent instructions and CLI for delegating work to authenticated AI CLIs",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -37,11 +37,11 @@
37
37
  "dependencies": {
38
38
  "@stricli/core": "1.3.0",
39
39
  "sharp": "^0.35.3",
40
- "@aibridge/driver-agy": "0.9.0",
41
40
  "@aibridge/proc": "0.9.0",
41
+ "@aibridge/driver-agy": "0.9.0",
42
42
  "@aibridge/driver-codex": "0.9.0",
43
- "@aibridge/driver-claude": "0.9.0",
44
- "@aibridge/driver-grok": "0.9.0"
43
+ "@aibridge/driver-grok": "0.9.0",
44
+ "@aibridge/driver-claude": "0.9.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "tsdown": "0.22.14"
package/src/models.ts CHANGED
@@ -114,14 +114,14 @@ export const MODELS: Record<string, ModelSpec> = {
114
114
  efforts: ['low', 'medium', 'high', 'xhigh'],
115
115
  brief: 'OpenAI gpt-5.6-luna via codex CLI — fast and affordable coding; own ChatGPT login',
116
116
  },
117
- 'anthropic-claude/fable-5': {
118
- slug: 'anthropic-claude/fable-5',
117
+ 'anthropic-claude/fable-5.1': {
118
+ slug: 'anthropic-claude/fable-5.1',
119
119
  backend: 'claude',
120
- backendModel: 'claude-fable-5',
120
+ backendModel: 'claude-fable-5-1',
121
121
  efforts: ['low', 'medium', 'high', 'xhigh', 'max'],
122
122
  defaultEffort: 'high',
123
123
  brief:
124
- 'Claude Fable 5 via claude CLI — hardest, longest-running work; bills the claude CLI subscription',
124
+ 'Claude Fable 5.1 via claude CLI — hardest, longest-running work; bills the claude CLI subscription',
125
125
  },
126
126
  'anthropic-claude/opus-5': {
127
127
  slug: 'anthropic-claude/opus-5',