@telora/daemon 0.24.15 → 0.24.17
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/build-info.json +5 -3
- package/dist/completion/review-exit/review-exit-phase.js +7 -3
- package/dist/completion/review-exit/review-exit-phase.js.map +1 -1
- package/dist/completion/review-exit/review-exit-rehoming.d.ts +27 -3
- package/dist/completion/review-exit/review-exit-rehoming.d.ts.map +1 -1
- package/dist/completion/review-exit/review-exit-rehoming.js +29 -5
- package/dist/completion/review-exit/review-exit-rehoming.js.map +1 -1
- package/dist/composition/execution-migrations-context.js +1 -1
- package/dist/composition/execution-spawn-process-context.d.ts +1 -1
- package/dist/composition/execution-spawn-process-context.d.ts.map +1 -1
- package/dist/composition/execution-spawn-process-context.js +3 -1
- package/dist/composition/execution-spawn-process-context.js.map +1 -1
- package/dist/focus/control-state.d.ts +12 -6
- package/dist/focus/control-state.d.ts.map +1 -1
- package/dist/focus/control-state.js +16 -9
- package/dist/focus/control-state.js.map +1 -1
- package/dist/focus-stage-lifecycle/index.js +1 -1
- package/dist/focus-stage-lifecycle/index.js.map +1 -1
- package/dist/focus-stage-lifecycle/wedge-watchdog.d.ts +17 -7
- package/dist/focus-stage-lifecycle/wedge-watchdog.d.ts.map +1 -1
- package/dist/focus-stage-lifecycle/wedge-watchdog.js +58 -28
- package/dist/focus-stage-lifecycle/wedge-watchdog.js.map +1 -1
- package/dist/prompt-sections/qa-author-section.d.ts +2 -1
- package/dist/prompt-sections/qa-author-section.d.ts.map +1 -1
- package/dist/prompt-sections/qa-author-section.js +7 -2
- package/dist/prompt-sections/qa-author-section.js.map +1 -1
- package/dist/prompt-sections/qa-failure-section.d.ts +29 -0
- package/dist/prompt-sections/qa-failure-section.d.ts.map +1 -0
- package/dist/prompt-sections/qa-failure-section.js +59 -0
- package/dist/prompt-sections/qa-failure-section.js.map +1 -0
- package/dist/prompt-sections/qa-tester-note.d.ts +33 -0
- package/dist/prompt-sections/qa-tester-note.d.ts.map +1 -0
- package/dist/prompt-sections/qa-tester-note.js +61 -0
- package/dist/prompt-sections/qa-tester-note.js.map +1 -0
- package/dist/prompt-sections/shared.js +1 -1
- package/dist/queries/api-client/shared.d.ts.map +1 -1
- package/dist/queries/api-client/shared.js +3 -1
- package/dist/queries/api-client/shared.js.map +1 -1
- package/dist/queries/focuses/ended-arm.d.ts +55 -7
- package/dist/queries/focuses/ended-arm.d.ts.map +1 -1
- package/dist/queries/focuses/ended-arm.js +59 -8
- package/dist/queries/focuses/ended-arm.js.map +1 -1
- package/dist/queries/focuses/focus-discovery.d.ts +18 -8
- package/dist/queries/focuses/focus-discovery.d.ts.map +1 -1
- package/dist/queries/focuses/focus-discovery.js +1 -0
- package/dist/queries/focuses/focus-discovery.js.map +1 -1
- package/dist/queries/qa-packets/focus-qa-failure.d.ts +69 -0
- package/dist/queries/qa-packets/focus-qa-failure.d.ts.map +1 -0
- package/dist/queries/qa-packets/focus-qa-failure.js +70 -0
- package/dist/queries/qa-packets/focus-qa-failure.js.map +1 -0
- package/dist/queries/qa-packets/qa-packets.d.ts +11 -3
- package/dist/queries/qa-packets/qa-packets.d.ts.map +1 -1
- package/dist/queries/qa-packets/qa-packets.js +10 -3
- package/dist/queries/qa-packets/qa-packets.js.map +1 -1
- package/dist/queries/wire-schemas/schemas.d.ts +2 -0
- package/dist/queries/wire-schemas/schemas.d.ts.map +1 -1
- package/dist/queries/wire-schemas/schemas.js +10 -3
- package/dist/queries/wire-schemas/schemas.js.map +1 -1
- package/dist/resolvers/delivery-acceptance-criteria.d.ts +23 -1
- package/dist/resolvers/delivery-acceptance-criteria.d.ts.map +1 -1
- package/dist/resolvers/delivery-acceptance-criteria.js +52 -8
- package/dist/resolvers/delivery-acceptance-criteria.js.map +1 -1
- package/dist/session/session-lineage.d.ts.map +1 -1
- package/dist/session/session-lineage.js +2 -1
- package/dist/session/session-lineage.js.map +1 -1
- package/dist/spawn/prompt-assembly.d.ts +27 -3
- package/dist/spawn/prompt-assembly.d.ts.map +1 -1
- package/dist/spawn/prompt-assembly.js +28 -34
- package/dist/spawn/prompt-assembly.js.map +1 -1
- package/dist/supervision/recorded-new-intent.d.ts +49 -0
- package/dist/supervision/recorded-new-intent.d.ts.map +1 -1
- package/dist/supervision/recorded-new-intent.js +10 -2
- package/dist/supervision/recorded-new-intent.js.map +1 -1
- package/dist/testing/fixtures/api-client.js +1 -1
- package/dist/testing/fixtures/index.js +1 -1
- package/dist/types/index.js +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// PINNED-BY-BEGIN (generated by gen:pinned-by -- do not hand-edit; checked by lint:pinned-by)
|
|
2
2
|
// Pinned by: packages/daemon/src/focus/recorded-delivery-invisibility.test.ts,
|
|
3
3
|
// packages/daemon/src/prompt/initial-prompt-recorded-intent.test.ts,
|
|
4
|
+
// packages/daemon/src/resolvers/delivery-acceptance-criteria.test.ts,
|
|
4
5
|
// packages/daemon/src/resolvers/delivery-listing-arm-coverage.test.ts,
|
|
5
6
|
// packages/daemon/src/supervision/recorded-new-intent.test.ts
|
|
6
7
|
// PINNED-BY-END
|
|
@@ -52,7 +53,14 @@
|
|
|
52
53
|
* when we cannot PROVE it was merely recorded; the unsafe direction would
|
|
53
54
|
* silently drop real work from a running arm.
|
|
54
55
|
*/
|
|
55
|
-
|
|
56
|
+
// The `planning` status the predicate tests for. A daemon-local literal (not
|
|
57
|
+
// DELIVERY_STATUS.PLANNING from @telora/daemon-core) on purpose: this module is
|
|
58
|
+
// pulled into the resolver tests through delivery-acceptance-criteria.ts, and
|
|
59
|
+
// those tests use the node:test module-mock loader, under which a bare
|
|
60
|
+
// `@telora/*` VALUE import mis-resolves (ERR_MODULE_NOT_FOUND). Same
|
|
61
|
+
// daemon-local-literal rule as VERIFY_STATUS in delivery/operator-hold.ts;
|
|
62
|
+
// recorded-new-intent.test.ts pins it equal to DELIVERY_STATUS.PLANNING.
|
|
63
|
+
export const RECORDED_INTENT_PLANNING_STATUS = 'planning';
|
|
56
64
|
/**
|
|
57
65
|
* Interpret the JSONB arm-baseline column as a set of delivery ids.
|
|
58
66
|
*
|
|
@@ -88,7 +96,7 @@ export function isRecordedNewIntent(delivery, armFacts) {
|
|
|
88
96
|
return false;
|
|
89
97
|
if (armFacts.assignedAgentRoleId == null)
|
|
90
98
|
return false;
|
|
91
|
-
if ((delivery.executionStatus ?? '') !==
|
|
99
|
+
if ((delivery.executionStatus ?? '') !== RECORDED_INTENT_PLANNING_STATUS)
|
|
92
100
|
return false;
|
|
93
101
|
const baseline = readArmBaselineIds(armFacts.armedBaselineDeliveryIds);
|
|
94
102
|
// No usable baseline => we cannot prove this delivery post-dates the arm.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recorded-new-intent.js","sourceRoot":"","sources":["../../src/supervision/recorded-new-intent.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,+EAA+E;AAC/E,uEAAuE;AACvE,yEAAyE;AACzE,gEAAgE;AAChE,gBAAgB;AAEhB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH,
|
|
1
|
+
{"version":3,"file":"recorded-new-intent.js","sourceRoot":"","sources":["../../src/supervision/recorded-new-intent.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,+EAA+E;AAC/E,uEAAuE;AACvE,wEAAwE;AACxE,yEAAyE;AACzE,gEAAgE;AAChE,gBAAgB;AAEhB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH,6EAA6E;AAC7E,gFAAgF;AAChF,8EAA8E;AAC9E,uEAAuE;AACvE,qEAAqE;AACrE,2EAA2E;AAC3E,yEAAyE;AACzE,MAAM,CAAC,MAAM,+BAA+B,GAAG,UAAU,CAAC;AAsB1D;;;;;;;;;;GAUG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAc;IAC/C,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CA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pC,UAAwB,EACxB,QAAqC;IAErC,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,mBAAmB,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;AACrE,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,qBAAqB,CACnC,SAA+G;IAE/G,OAAO;QACL,mBAAmB,EAAE,SAAS,CAAC,MAAM;QACrC,QAAQ,EAAE,SAAS,CAAC,QAAQ;QAC5B,wBAAwB,EAAE,SAAS,CAAC,wBAAwB;KAC7D,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// PINNED-BY-BEGIN (generated by gen:pinned-by -- do not hand-edit; checked by lint:pinned-by)
|
|
2
|
-
// Pinned by:
|
|
2
|
+
// Pinned by: 84 tests -- run: npm run gen:pinned-by -- --list packages/daemon/src/testing/fixtures/api-client.ts
|
|
3
3
|
// PINNED-BY-END
|
|
4
4
|
/** A fake ApiClient whose every call is answered by `handle`. */
|
|
5
5
|
export function makeFakeApiClient(handle) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// PINNED-BY-BEGIN (generated by gen:pinned-by -- do not hand-edit; checked by lint:pinned-by)
|
|
2
|
-
// Pinned by:
|
|
2
|
+
// Pinned by: 365 tests -- run: npm run gen:pinned-by -- --list packages/daemon/src/testing/fixtures/index.ts
|
|
3
3
|
// PINNED-BY-END
|
|
4
4
|
/**
|
|
5
5
|
* Build an ActiveFocusRow (a getActiveFocuses row): an active, armed focus with
|
package/dist/types/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// PINNED-BY-BEGIN (generated by gen:pinned-by -- do not hand-edit; checked by lint:pinned-by)
|
|
2
|
-
// Pinned by:
|
|
2
|
+
// Pinned by: 284 tests -- run: npm run gen:pinned-by -- --list packages/daemon/src/types/index.ts
|
|
3
3
|
// PINNED-BY-END
|
|
4
4
|
/**
|
|
5
5
|
* Domain-specific type re-exports.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telora/daemon",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.17",
|
|
4
4
|
"description": "Agent orchestration daemon for Telora - spawns and manages Claude Code instances",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"//testRunner": "Uses Node.js built-in test runner (node:test) via tsx for TypeScript support. The root package uses Vitest; this is a deliberate choice for the daemon package to avoid framework dependencies. Test files live beside the modules they exercise (owner-directory layout); the runner discovers them recursively.",
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@telora/daemon-core": "^0.3.1",
|
|
44
|
-
"@telora/mcp-products": "^0.23.
|
|
44
|
+
"@telora/mcp-products": "^0.23.11",
|
|
45
45
|
"commander": "^14.0.3",
|
|
46
46
|
"yaml": "^2.4.0",
|
|
47
47
|
"zod": "^4.3.6"
|