wicked-crew-api-types 0.28.0 → 0.29.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/index.d.ts +24 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1328,6 +1328,11 @@ export interface SteeringLandingResult {
|
|
|
1328
1328
|
|
|
1329
1329
|
// ── Skills — the daemon-owned garden plugin root, published as immutable snapshots (api-types 0.28.0) ──
|
|
1330
1330
|
//
|
|
1331
|
+
// api-types 0.29.0 (design amendment v3.6, crew #490): the installer-managed copy
|
|
1332
|
+
// `<config dir>/plugins/wicked-garden` is a LAST-resort seed source — `SkillSourceKind` gains
|
|
1333
|
+
// `installer-copy`, and `DiagnosticsSkillsFinding.kind` gains the persistent `skills.source` warning
|
|
1334
|
+
// and the fail-closed `skills.manifest` error.
|
|
1335
|
+
//
|
|
1331
1336
|
// Skills are files (skills keystone, design v3 + amendments v3.1/v3.2). The daemon owns ONE
|
|
1332
1337
|
// effective `wicked-garden`-shaped plugin root — `<state home>/skills/effective/`, the dependency
|
|
1333
1338
|
// closure of the installed plugin: `.claude-plugin/{plugin.json,archetypes.json,components.json}`,
|
|
@@ -1361,10 +1366,14 @@ export type SkillKind = 'router' | 'fork-worker' | 'module';
|
|
|
1361
1366
|
* it while the operator's edits were kept). */
|
|
1362
1367
|
export type SkillProvenance = 'shipped' | 'override' | 'user-added';
|
|
1363
1368
|
|
|
1364
|
-
/** Where a baseline was captured from. `claude-plugin-cache`
|
|
1365
|
-
*
|
|
1366
|
-
*
|
|
1367
|
-
|
|
1369
|
+
/** Where a baseline was captured from. `claude-plugin-cache` is the marketplace cache
|
|
1370
|
+
* (`<config dir>/plugins/cache/wicked-garden/wicked-garden/<version>` — the plugin Claude Code
|
|
1371
|
+
* runs); `installer-copy` is the installer-managed `<config dir>/plugins/wicked-garden` copy
|
|
1372
|
+
* (`npx wicked-installer install wicked-garden`), accepted only as the LAST resort when no cache
|
|
1373
|
+
* exists (design v3.6, api-types 0.29.0) and flagged by the `skills.source` diagnostics finding
|
|
1374
|
+
* while it is the current baseline; `checkout` is a git working tree; `directory` any other
|
|
1375
|
+
* explicit plugin-shaped directory. */
|
|
1376
|
+
export type SkillSourceKind = 'claude-plugin-cache' | 'installer-copy' | 'checkout' | 'directory';
|
|
1368
1377
|
|
|
1369
1378
|
/** The per-baseline `uv sync` state (`<baseline>/.venv`, provisioned once per content hash — the
|
|
1370
1379
|
* publish that needs it AWAITS it — and shared read-only by every snapshot that links it):
|
|
@@ -3376,8 +3385,17 @@ export interface DiagnosticsSkillsFinding {
|
|
|
3376
3385
|
* blocked (engine input points at a non-existent refusal path — launches fail loudly until the
|
|
3377
3386
|
* catalog is fixed); `skills.config` = the configured root is corrupt/unusable (same refusal;
|
|
3378
3387
|
* `error`), or — as a `warning` on the `published` state — the root lies OUTSIDE the daemon
|
|
3379
|
-
* state home, so core's fence cross-check (`WICKED_CREW_STATE_HOME`) refuses every launch
|
|
3380
|
-
|
|
3388
|
+
* state home, so core's fence cross-check (`WICKED_CREW_STATE_HOME`) refuses every launch;
|
|
3389
|
+
* `skills.source` (`warning`, api-types 0.29.0, design v3.6) = the CURRENT baseline was seeded
|
|
3390
|
+
* from the installer-managed copy (`SkillSourceKind` `installer-copy`) — the daemon works, but
|
|
3391
|
+
* that copy receives no marketplace updates until the plugin is registered with Claude Code; it
|
|
3392
|
+
* persists (alongside the ladder's own finding, if any) until a refresh from the marketplace
|
|
3393
|
+
* cache re-records the baseline's provenance (byte-identical or not); `skills.manifest`
|
|
3394
|
+
* (`error`, api-types 0.29.0) = `manifest.json` could not be read when diagnostics were taken
|
|
3395
|
+
* (corrupt, unreadable, or the root no longer the one the store bound) — reported as
|
|
3396
|
+
* `config-error` with the cause instead of the stale boot outcome; the exported engine input is
|
|
3397
|
+
* unchanged until the daemon restarts. */
|
|
3398
|
+
kind: 'skills.fallback' | 'skills.blocked' | 'skills.config' | 'skills.source' | 'skills.manifest';
|
|
3381
3399
|
severity: 'warning' | 'error';
|
|
3382
3400
|
message: string;
|
|
3383
3401
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wicked-crew-api-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "The wire contract of the wicked-crew daemon's /api/v1 REST surface and /ws CoreEvent frames \u2014 types only, zero runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./index.d.ts",
|