@aiwg/flue 2026.11.4 → 2026.11.5
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/package.json
CHANGED
package/skills/steward/SKILL.md
CHANGED
|
@@ -3,8 +3,12 @@ namespace: aiwg
|
|
|
3
3
|
name: steward
|
|
4
4
|
platforms: [flue]
|
|
5
5
|
kernel: true
|
|
6
|
-
description: Provide provider capability awareness
|
|
6
|
+
description: Provide provider capability awareness, BYOK harness settings and verification, and route commands for native vs emulated support
|
|
7
7
|
triggers:
|
|
8
|
+
- "bring your own key"
|
|
9
|
+
- "BYOK provider settings"
|
|
10
|
+
- "use my OpenRouter key with Hermes"
|
|
11
|
+
- "use my provider key with a harness"
|
|
8
12
|
- "set up worker onboarding"
|
|
9
13
|
- "worker onboarding readiness"
|
|
10
14
|
- "help me choose what to use"
|
|
@@ -221,6 +225,27 @@ the `decision-offload` rule:
|
|
|
221
225
|
|
|
222
226
|
`@$AIWG_ROOT/docs/decision/jev-quickstart.md`
|
|
223
227
|
|
|
228
|
+
## Bring Your Own Key
|
|
229
|
+
|
|
230
|
+
For "use my <provider> key with <harness>" (for example "use my OpenRouter key with Hermes"),
|
|
231
|
+
route to `aiwg steward capabilities --provider <harness>` and the `byok` entry in
|
|
232
|
+
`agentic/code/providers/capability-matrix.yaml`. Map Droid to `factory`, and distinguish
|
|
233
|
+
the inference provider (OpenRouter) from the harness (Hermes, OpenCode, Factory, Copilot,
|
|
234
|
+
Codex or Muse). Return the harness-specific provider/base URL, model selector, credential
|
|
235
|
+
environment variable or secret-store command, and verification step from that entry.
|
|
236
|
+
Follow its provider-doc link for model-ID quirks; do not invent flags or key settings
|
|
237
|
+
for unverified routes. These are harness settings, not a new AIWG command.
|
|
238
|
+
|
|
239
|
+
Read `aiwg show rule token-security --body` before credential guidance. Keys enter only
|
|
240
|
+
via environment or a secret-store command at point of use, with shell tracing disabled;
|
|
241
|
+
never ask for a key in chat or put one on argv, in deployed AIWG files, harness config,
|
|
242
|
+
logs or receipts. Keep credentials scoped to the child process and discard on exit.
|
|
243
|
+
AIWG does not store or manage keys. Explain that BYOK runs bill the user's key and
|
|
244
|
+
paid runs need explicit operator approval, including a verification run; setup alone
|
|
245
|
+
does not authorize spending. After approval, use a one-line "Reply with exactly: byok-ok"
|
|
246
|
+
prompt and inspect the harness log/session for the resolved model. A reply or accepted
|
|
247
|
+
flag alone is insufficient. Report only model, harness version and result, never keys.
|
|
248
|
+
|
|
224
249
|
## Behavior
|
|
225
250
|
|
|
226
251
|
When triggered:
|
|
@@ -33,8 +33,9 @@ You check an entire AIWG addon directory for completeness and release readiness,
|
|
|
33
33
|
|
|
34
34
|
1. **Locate the addon**:
|
|
35
35
|
- If path given: use it
|
|
36
|
-
- If name given:
|
|
36
|
+
- If name given: check project-local `addons/<name>/manifest.json` under the configured artifact root and `agentic/code/addons/<name>/manifest.json`; if both exist, require an explicit path
|
|
37
37
|
- If current directory: look for `manifest.json` in cwd or walk up to nearest addon root
|
|
38
|
+
- Treat the located directory as the source root throughout this validation, including placement checks
|
|
38
39
|
|
|
39
40
|
2. **Read and validate `manifest.json`**:
|
|
40
41
|
- File exists at addon root
|
|
@@ -42,9 +43,11 @@ You check an entire AIWG addon directory for completeness and release readiness,
|
|
|
42
43
|
- Required fields present: `id`, `type`, `name`, `version`, `description`
|
|
43
44
|
- `type` equals `"addon"`
|
|
44
45
|
- `version` follows CalVer format (`YYYY.M.PATCH`, no leading zeros)
|
|
45
|
-
- `core` field present (boolean)
|
|
46
|
-
- `autoInstall` field present (boolean)
|
|
46
|
+
- `core` field present (boolean; accept legacy `addonConfig.core` when absent at top level)
|
|
47
|
+
- `autoInstall` field present (boolean; accept legacy `addonConfig.autoInstall` when absent at top level)
|
|
47
48
|
- If `devOnly: true`: confirm this is intentional (it excludes from `aiwg use all`)
|
|
49
|
+
- For project-local addons, also run `aiwg list --project-local` from the project root and check this manifest's diagnostics against the canonical bundle schema (`src/extensions/manifest.ts`). It requires `manifestVersion`, `platforms`, `keywords`, `deployment`, and `addonConfig` in addition to the common fields above. Preserve unknown-field and type errors; do not invent extra manifest fields to satisfy this skill.
|
|
50
|
+
- Resolve artifact inventories from the top-level `skills`, `agents`, and `rules` arrays, falling back to the corresponding `addonConfig` arrays for legacy manifests. Resolve directories from `addonConfig.entry` (or legacy `entry`), defaulting to `skills/`, `agents/`, and `rules/`. Apply these inventories and paths in steps 4–6.
|
|
48
51
|
|
|
49
52
|
3. **Check `README.md`**:
|
|
50
53
|
- File exists at addon root
|
|
@@ -73,7 +76,7 @@ You check an entire AIWG addon directory for completeness and release readiness,
|
|
|
73
76
|
|
|
74
77
|
7. **Check for placement violations**:
|
|
75
78
|
- Search corresponding provider directories (`.claude/skills/`, `.github/agents/`, etc.) for any files whose names match this addon's artifacts
|
|
76
|
-
- For each match: verify a source file exists
|
|
79
|
+
- For each match: verify a source file exists under the located addon source root (project-local or `agentic/code/`)
|
|
77
80
|
- Flag any deployed files with no source as violations
|
|
78
81
|
|
|
79
82
|
8. **Check for `.aiwg/` references in addon artifacts**:
|