wicked-crew 0.7.27 → 0.7.28
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/api/routes.d.ts +8 -0
- package/dist/api/routes.d.ts.map +1 -1
- package/dist/api/routes.js +9 -2
- package/dist/api/routes.js.map +1 -1
- package/dist/api/server.d.ts +13 -0
- package/dist/api/server.d.ts.map +1 -1
- package/dist/api/server.js +14 -0
- package/dist/api/server.js.map +1 -1
- package/dist/cli/index.js +46 -18
- package/dist/cli/index.js.map +1 -1
- package/dist/core/adapter.d.ts.map +1 -1
- package/dist/core/adapter.js +22 -18
- package/dist/core/adapter.js.map +1 -1
- package/dist/core/deliver.d.ts +26 -10
- package/dist/core/deliver.d.ts.map +1 -1
- package/dist/core/deliver.js +27 -11
- package/dist/core/deliver.js.map +1 -1
- package/dist/core/deliverable-floor.d.ts.map +1 -1
- package/dist/core/deliverable-floor.js +5 -4
- package/dist/core/deliverable-floor.js.map +1 -1
- package/dist/interactive/bridge-pool.d.ts +130 -2
- package/dist/interactive/bridge-pool.d.ts.map +1 -1
- package/dist/interactive/bridge-pool.js +281 -8
- package/dist/interactive/bridge-pool.js.map +1 -1
- package/dist/interactive/bus-location.d.ts +65 -0
- package/dist/interactive/bus-location.d.ts.map +1 -0
- package/dist/interactive/bus-location.js +75 -0
- package/dist/interactive/bus-location.js.map +1 -0
- package/dist/interactive/chat-events.d.ts.map +1 -1
- package/dist/interactive/chat-events.js +29 -23
- package/dist/interactive/chat-events.js.map +1 -1
- package/dist/interactive/demo-events.d.ts +16 -1
- package/dist/interactive/demo-events.d.ts.map +1 -1
- package/dist/interactive/demo-events.js +262 -43
- package/dist/interactive/demo-events.js.map +1 -1
- package/dist/interactive/doc-grounding.d.ts +202 -0
- package/dist/interactive/doc-grounding.d.ts.map +1 -0
- package/dist/interactive/doc-grounding.js +647 -0
- package/dist/interactive/doc-grounding.js.map +1 -0
- package/dist/interactive/draft-events.d.ts +54 -1
- package/dist/interactive/draft-events.d.ts.map +1 -1
- package/dist/interactive/draft-events.js +234 -117
- package/dist/interactive/draft-events.js.map +1 -1
- package/dist/interactive/edit-events.d.ts.map +1 -1
- package/dist/interactive/edit-events.js +27 -21
- package/dist/interactive/edit-events.js.map +1 -1
- package/dist/interactive/proxy-routes.d.ts +78 -0
- package/dist/interactive/proxy-routes.d.ts.map +1 -1
- package/dist/interactive/proxy-routes.js +355 -14
- package/dist/interactive/proxy-routes.js.map +1 -1
- package/dist/interactive/repo-snapshot.d.ts +31 -0
- package/dist/interactive/repo-snapshot.d.ts.map +1 -1
- package/dist/interactive/repo-snapshot.js +56 -1
- package/dist/interactive/repo-snapshot.js.map +1 -1
- package/dist/qe/conformance.d.ts +10 -1
- package/dist/qe/conformance.d.ts.map +1 -1
- package/dist/qe/conformance.js +57 -4
- package/dist/qe/conformance.js.map +1 -1
- package/dist/studio/assets/index-CdmCMh2f.js +539 -0
- package/dist/studio/index.html +1 -1
- package/dist/studio/testid-inventory.json +125 -5
- package/endpoint-manifest.json +16 -1
- package/package.json +3 -3
- package/dist/studio/assets/index-FcZg3WDR.js +0 -539
package/dist/api/routes.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { type ProjectRoutesDeps } from '../projects/routes.js';
|
|
|
10
10
|
import { type SkillsRuntime } from '../skills/runtime.js';
|
|
11
11
|
import type { EvalRunStore } from './eval-store.js';
|
|
12
12
|
import { InteractiveBridgePool } from '../interactive/bridge-pool.js';
|
|
13
|
+
import type { DocGroundingStore } from '../interactive/doc-grounding.js';
|
|
13
14
|
import type { DocLedgerSweep } from '../interactive/doc-ledger-sweep.js';
|
|
14
15
|
import { AuditLog } from './audit.js';
|
|
15
16
|
import { type ErrorRing } from './diagnostics.js';
|
|
@@ -303,6 +304,13 @@ export interface RuntimeDeps {
|
|
|
303
304
|
* slice 1). Injectable so the integration suite proxies to a FAKE bridge instead of
|
|
304
305
|
* spawning a real `npx wicked-interactive serve`. */
|
|
305
306
|
interactiveBridges?: InteractiveBridgePool;
|
|
307
|
+
/** F-043 — the directory of the bus db this daemon's interactive seams read, exported to a
|
|
308
|
+
* bridge the pool spawns as `WICKED_BUS_DATA_DIR`. `null`/absent = not exported. Ignored when
|
|
309
|
+
* `interactiveBridges` is injected (the injected pool carries its own io). */
|
|
310
|
+
interactiveBridgeBusDataDir?: string | null;
|
|
311
|
+
/** F-046 — the create-time doc → subject-repo binding store the proxy records into and the
|
|
312
|
+
* draft/demo seams read. Absent = the create stays pure transport (a directly-driven route set). */
|
|
313
|
+
docGrounding?: DocGroundingStore;
|
|
306
314
|
/** The governed doc-delete's handoff-ledger sweep (crew#338) — `createServer` wires the real
|
|
307
315
|
* four-ledger sweep (live seam instances first, ledger files as fallback); a directly-driven
|
|
308
316
|
* route set gets an INERT one so unit tests never touch ~/.wicked-crew. */
|
package/dist/api/routes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../src/api/routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAgB,MAAM,SAAS,CAAC;AAC7D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,OAAO,EAAmD,WAAW,EAA4E,MAAM,oBAAoB,CAAC;AAG5K,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAInD,OAAO,KAAK,EAEV,eAAe,EAYf,YAAY,EACb,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAWrD,OAAO,EAAyB,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAYtF,OAAO,EAAwB,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,KAAK,EAAE,YAA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AE,MAAM,KAAK,OAAO,GAAG,IAAI,CAAC;IAC1E;;0DAEsD;IACtD,kBAAkB,CAAC,EAAE,qBAAqB,CAAC;IAC3C;;mFAE+E;IAC/E,2BAA2B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C;yGACqG;IACrG,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC;;gFAE4E;IAC5E,iBAAiB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,cAAc,CAAC;IAC3D;4FACwF;IACxF,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;mGAC+F;IAC/F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;0CAGsC;IACtC,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB;;gFAE4E;IAC5E,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,GAAG,EAAE,eAAe,EACpB,OAAO,EAAE,WAAW,EACpB,SAAS,EAAE,SAAS,EACpB,gBAAgB,EAAE,gBAAgB,EAIlC,YAAY,GAAE,WAA+B,EAG7C,QAAQ,GAAE,iBAAqF,EAK/F,QAAQ,GAAE,YAA0D,EAGpE,OAAO,GAAE,WAAgB,GACxB,IAAI,CAg8FN"}
|
package/dist/api/routes.js
CHANGED
|
@@ -950,7 +950,10 @@ runtime = {}) {
|
|
|
950
950
|
// HERE, at the boundary, for every launch:
|
|
951
951
|
// - explicit 'pr' / 'none' wins (the operator decided);
|
|
952
952
|
// - omitted + repo-scoped + a CODE-WORK workflow (the def carries at least one
|
|
953
|
-
// `executes_code` phase — feature/bug/migration
|
|
953
|
+
// `executes_code` phase that is NOT an evaluator — feature/bug/migration and a Tool
|
|
954
|
+
// phase that writes, not chat/onboarding/recon, and not domain-extraction, whose only
|
|
955
|
+
// code phase is the `coverage` EVALUATOR, which executes code solely to write its own
|
|
956
|
+
// report into the tree for its validator — nothing to deliver) ⇒ the
|
|
954
957
|
// daemon's `deliverDefault` setting ('pr' unless the operator flipped it) — the default
|
|
955
958
|
// that keeps run 83052f0b's work from stranding invisibly again. The code-work guard is
|
|
956
959
|
// the issue's own scope ("default deliver:'pr' for CODE-WORK launches"): a read-only
|
|
@@ -972,7 +975,8 @@ runtime = {}) {
|
|
|
972
975
|
// Unknown def ⇒ no default (the launch fails at workflow resolution with its own error —
|
|
973
976
|
// defaulting 'pr' onto it would swap that for a misleading deliver-flavored one).
|
|
974
977
|
const def = adapter.getWorkflow(b.workflow);
|
|
975
|
-
const codeWork = def !== null &&
|
|
978
|
+
const codeWork = def !== null &&
|
|
979
|
+
def.phases.some((p) => p.executes_code === true && p.role !== 'evaluator');
|
|
976
980
|
deliver =
|
|
977
981
|
codeWork && (await adapter.getSettings()).deliverDefault !== 'none' ? 'pr' : 'none';
|
|
978
982
|
deliverDefaulted = true;
|
|
@@ -3239,10 +3243,13 @@ runtime = {}) {
|
|
|
3239
3243
|
// pool POSTs it to the bridge's /api/studio-origin on start/adopt so the bridge's
|
|
3240
3244
|
// `GET /` redirects into studio.
|
|
3241
3245
|
studioOrigin: () => boundOrigin(app.server.address()),
|
|
3246
|
+
// F-043: the bridge emits where this daemon's interactive seams read — one bus per daemon.
|
|
3247
|
+
busDataDir: runtime.interactiveBridgeBusDataDir ?? null,
|
|
3242
3248
|
});
|
|
3243
3249
|
registerInteractiveProxy(app, adapter, {
|
|
3244
3250
|
settings: projectSettings,
|
|
3245
3251
|
pool: interactiveBridges,
|
|
3252
|
+
...(runtime.docGrounding !== undefined ? { grounding: runtime.docGrounding } : {}),
|
|
3246
3253
|
log: (m) => app.log.warn(m),
|
|
3247
3254
|
});
|
|
3248
3255
|
// ── Governed doc delete (crew#338) — the one door that changes BOTH stores ──
|