@hearsay-tools/squawk 0.18.0-pr3927.7421 → 0.18.0-pr3927.7426
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/contract/attention.d.ts +1 -1
- package/dist/contract/delegation.d.ts +6 -0
- package/dist/contract/index.js +7 -2
- package/dist/contract/waits.d.ts +2 -1
- package/dist/delegation/provision.js +8 -4
- package/dist/delegation/provision.js.map +1 -1
- package/dist/server/reports-api.d.ts +2 -2
- package/dist/server/server.d.ts +1562 -1562
- package/package.json +4 -4
- package/web/dist/assets/activity-motion-CQKAazEg.js +2 -0
- package/web/dist/assets/{activity-route-CG_suLmL.js → activity-route-C6oKznjI.js} +1 -1
- package/web/dist/assets/{agent-accounts-DaF-ybaB.js → agent-accounts-T6Q6vL9r.js} +1 -1
- package/web/dist/assets/attention-KYhxOgNq.js +1 -0
- package/web/dist/assets/{commit-diff-panel-DvSOi3Dk.js → commit-diff-panel-DUeb6EUF.js} +1 -1
- package/web/dist/assets/{diff-DhcQus9M.js → diff-DVALb2F0.js} +2 -2
- package/web/dist/assets/{diff-view-DiuMMFWa.js → diff-view-DxV_tLUt.js} +1 -1
- package/web/dist/assets/{file-preview-CZoDjpW4.js → file-preview-BFS1UwXr.js} +1 -1
- package/web/dist/assets/{git-toolbar-CA-ZwUuj.js → git-toolbar-C89FoROy.js} +1 -1
- package/web/dist/assets/{github-Dita6Kp5.js → github-B4Meld9S.js} +1 -1
- package/web/dist/assets/{global-activity-route-DksHUiPz.js → global-activity-route-CuU0bmKz.js} +1 -1
- package/web/dist/assets/{index-D59vfFuq.js → index-Cwfi9cG9.js} +9 -9
- package/web/dist/assets/{markdown-B66DXw4l.js → markdown-DuVt8jbQ.js} +1 -1
- package/web/dist/assets/{picker-pill-bwLTIbHM.js → picker-pill-CwbEYCjL.js} +1 -1
- package/web/dist/assets/{preview-pane-connected-B7-FZ5DE.js → preview-pane-connected-CSwZ6Xl5.js} +2 -2
- package/web/dist/assets/{project-router-ewovT3Kf.js → project-router-B73juPC3.js} +1 -1
- package/web/dist/assets/project-scope-context-B2P3zXB1.js +4 -0
- package/web/dist/assets/{prompt-template-menu-BJEe-Kv2.js → prompt-template-menu-nShN9uXQ.js} +1 -1
- package/web/dist/assets/queries-B6a1W2sa.js +1 -0
- package/web/dist/assets/{reference-chip-Tj9CYsE2.js → reference-chip-yXXzlbts.js} +1 -1
- package/web/dist/assets/{repo-git-C0MVr1i5.js → repo-git-CDOCx8X4.js} +1 -1
- package/web/dist/assets/{report-reader-BW21aq_k.js → report-reader-CgYcjz5W.js} +1 -1
- package/web/dist/assets/reports-nt1YPqOJ.js +1 -0
- package/web/dist/assets/run-header-DaqWXi5W.js +2 -0
- package/web/dist/assets/{skills-CZq8WNx7.js → skills-D45ND2YB.js} +1 -1
- package/web/dist/assets/{tab-link-D4l87fgz.js → tab-link-BwGcrAfg.js} +1 -1
- package/web/dist/assets/{task-changes-FumjZsw6.js → task-changes-NPbEK_pM.js} +1 -1
- package/web/dist/assets/{task-commits-75nPVeL3.js → task-commits-D_YFcFld.js} +1 -1
- package/web/dist/assets/{task-files-CdhoQGlN.js → task-files-eHbJ4ftX.js} +1 -1
- package/web/dist/assets/{task-github-item-1IbcFtr-.js → task-github-item-D0splQvy.js} +1 -1
- package/web/dist/assets/{task-thread-9Q-PLOFf.js → task-thread-B_pBPheb.js} +6 -6
- package/web/dist/assets/{thread-state-Bfb8orUP.js → thread-state-DFXgDkC_.js} +1 -1
- package/web/dist/assets/{use-desktop-DJrxV0gM.js → use-desktop-D3W91YLi.js} +1 -1
- package/web/dist/assets/{use-hand-to-agent-state-bZUXClR3.js → use-hand-to-agent-state-CVgHwx89.js} +1 -1
- package/web/dist/assets/{useInfiniteQuery-Bbi75-bb.js → useInfiniteQuery-B6Kx_mBY.js} +1 -1
- package/web/dist/assets/useQuery-D8aTqerT.js +1 -0
- package/web/dist/assets/{workflows-gbQKlO53.js → workflows-fidBxppB.js} +1 -1
- package/web/dist/assets/ws-Bb6iWQU5.js +1 -0
- package/web/dist/index.html +13 -13
- package/web/dist/assets/activity-motion-BjRSOxuh.js +0 -2
- package/web/dist/assets/attention-DtccMSEl.js +0 -1
- package/web/dist/assets/project-scope-context-CdJF4Chv.js +0 -4
- package/web/dist/assets/queries-DEhoSzZx.js +0 -1
- package/web/dist/assets/reports-DWXaed-t.js +0 -1
- package/web/dist/assets/run-header-LMdC07au.js +0 -2
- package/web/dist/assets/useQuery-is45BI1J.js +0 -1
- package/web/dist/assets/ws-BRHd49V3.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type WorkerWait } from './delegation.ts';
|
|
2
2
|
import type { RunIndexEntry, RunRecord, RunSummary } from './runs.ts';
|
|
3
3
|
/**
|
|
4
4
|
* Canonical Node-free attention classification for browser and CLI. Map run facts to bucket,
|
|
@@ -1160,6 +1160,12 @@ export declare const delegationStateSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1160
1160
|
role: z.ZodLiteral<"invalid">;
|
|
1161
1161
|
}, z.core.$strict>], "role">;
|
|
1162
1162
|
export type DelegationState = z.infer<typeof delegationStateSchema>;
|
|
1163
|
+
/** Whether a task with this record can have workers to list: the task that holds the family's
|
|
1164
|
+
* receipts, and a worker that holds a spawn grant. The cockpit's Workers section, its verdict and
|
|
1165
|
+
* the completion wait's view all ask this. */
|
|
1166
|
+
export declare function listsWorkers(delegation: (Pick<DelegationState, 'role'> & {
|
|
1167
|
+
spawnGrant?: SpawnGrant | undefined;
|
|
1168
|
+
}) | null | undefined): boolean;
|
|
1163
1169
|
/** Slim list/palette projection. Never copies resource paths, permissions or receipts. */
|
|
1164
1170
|
export declare const runDelegationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1165
1171
|
role: z.ZodLiteral<"root">;
|
package/dist/contract/index.js
CHANGED
|
@@ -936,6 +936,9 @@ var delegationStateSchema = z11.discriminatedUnion("role", [
|
|
|
936
936
|
// A persisted quarantine is distinct from absent legacy metadata and grants no authority.
|
|
937
937
|
z11.object({ role: z11.literal("invalid") }).strict()
|
|
938
938
|
]);
|
|
939
|
+
function listsWorkers(delegation) {
|
|
940
|
+
return delegation?.role === "root" || delegation?.role === "worker" && !!delegation.spawnGrant?.kinds.length;
|
|
941
|
+
}
|
|
939
942
|
var runDelegationSummarySchema = z11.discriminatedUnion("role", [
|
|
940
943
|
delegationStateSchema.options[0].pick({ role: true }).strip().extend({
|
|
941
944
|
// The awaited worker ids and which of them reported (ids only) keep a list's counted label,
|
|
@@ -2521,7 +2524,7 @@ function workerCompletionWaitProjection(entry, run) {
|
|
|
2521
2524
|
};
|
|
2522
2525
|
}
|
|
2523
2526
|
function completionWaitView(run) {
|
|
2524
|
-
if (run.delegation
|
|
2527
|
+
if (!listsWorkers(run.delegation)) return void 0;
|
|
2525
2528
|
const entry = completionWaitEntry(run.waits);
|
|
2526
2529
|
return entry ? workerCompletionWaitProjection(entry, run) : void 0;
|
|
2527
2530
|
}
|
|
@@ -3324,7 +3327,8 @@ function owesWorkerWake(run) {
|
|
|
3324
3327
|
}
|
|
3325
3328
|
function workerAttention(run, waitingOn) {
|
|
3326
3329
|
const attention = attentionOfRung("waiting-on-workers");
|
|
3327
|
-
|
|
3330
|
+
const ownWorkers = listsWorkers(run.delegation) && !waitingOn.replies && !!waitingOn.count;
|
|
3331
|
+
if (run.delegation?.role === "worker" && !ownWorkers) return { ...attention, shape: "ring", label: "waiting on parent reply" };
|
|
3328
3332
|
if (waitingOn.replies) return { ...attention, label: waitingOn.peers ? "waiting on replies" : "waiting on worker replies" };
|
|
3329
3333
|
const count2 = waitingOn.count;
|
|
3330
3334
|
return { ...attention, label: count2 ? `waiting on ${count2} worker${count2 === 1 ? "" : "s"}` : attention.label };
|
|
@@ -6328,6 +6332,7 @@ export {
|
|
|
6328
6332
|
isoWeekday,
|
|
6329
6333
|
latestSession,
|
|
6330
6334
|
latestSessionStep,
|
|
6335
|
+
listsWorkers,
|
|
6331
6336
|
liveDemandSchema,
|
|
6332
6337
|
liveEntrySchema,
|
|
6333
6338
|
liveRunBatchResponseSchema,
|
package/dist/contract/waits.d.ts
CHANGED
|
@@ -1949,7 +1949,8 @@ export declare function completionWaitEntry(waits: readonly Wait[] | undefined,
|
|
|
1949
1949
|
* like `workerWaitView` (hearsay-tools/cezarion#1301): its phases map as the legacy shape's do.
|
|
1950
1950
|
*/
|
|
1951
1951
|
export declare function workerCompletionWaitProjection(entry: WorkerWaitEntry, run: Partial<Pick<RunRecord, 'status' | 'waits'>>): WorkerCompletionWait;
|
|
1952
|
-
/** A run's deadline-less completion wait in its projection, for the relationships view
|
|
1952
|
+
/** A run's deadline-less completion wait in its projection, for the relationships view: for every
|
|
1953
|
+
* run that lists workers, a supervising worker included. */
|
|
1953
1954
|
export declare function completionWaitView(run: Partial<Pick<RunRecord, 'status' | 'waits' | 'delegation'>>): WorkerCompletionWait | undefined;
|
|
1954
1955
|
/**
|
|
1955
1956
|
* A worker wait as `cez worker wait` and `cez worker cancel-wait` answer it: the old
|
|
@@ -7,7 +7,7 @@ import { CredentialRegistry } from './credentials.js';
|
|
|
7
7
|
import { messagingAllowed, workersAllowed } from '../contract/index.js';
|
|
8
8
|
import { DelegationService, rootDelegation } from './service.js';
|
|
9
9
|
import { WORKERS_OFF } from './policy.js';
|
|
10
|
-
import { maySpawn, supervisorIdOf } from '../runs/task-rights.js';
|
|
10
|
+
import { maySpawn, supervisedByFamilyRecord, supervisorIdOf } from '../runs/task-rights.js';
|
|
11
11
|
import { workspaceKind } from './workspace-kinds.js';
|
|
12
12
|
import { openCompletionRequests } from '../workflows/completion-policy.js';
|
|
13
13
|
import { createDelegationRoutes } from './routes.js';
|
|
@@ -51,6 +51,8 @@ export function provisionDelegationSession(options) {
|
|
|
51
51
|
`You may message your own native subagents with your runner's tools.`,
|
|
52
52
|
`Reach another Squawk task only through ${messaging}; never use your runner's native tools for that.`,
|
|
53
53
|
].join(' ');
|
|
54
|
+
/** What the task may do only to workers it started itself: both the workers-on and the workers-off prompt say it. */
|
|
55
|
+
const ownWorkersOnly = 'Message, steer and diff apply to workers you started yourself; a worker that one of your workers started is reached through that worker.';
|
|
54
56
|
const worker = run.delegation?.role === 'worker';
|
|
55
57
|
const owned = run.delegation?.role === 'root' && run.delegation.receipts.length > 0;
|
|
56
58
|
// Accepted peer requests still allow a reply, a wait or a cancel after messaging goes off.
|
|
@@ -122,13 +124,13 @@ export function provisionDelegationSession(options) {
|
|
|
122
124
|
`Review is a human gate.`,
|
|
123
125
|
`Destruction may be incomplete; inspect remaining resources and retry explicitly.`,
|
|
124
126
|
`Credentials are supplied only in the environment: never read, echo, forward or include them in commands, messages, prompts, events or files.`,
|
|
125
|
-
`A worker may start one shared-workspace worker of its own at a time. Workers cannot message peers.`,
|
|
127
|
+
`A worker may start one shared-workspace worker of its own at a time. ${ownWorkersOnly} Workers cannot message peers.`,
|
|
126
128
|
`This is cooperative local supervision, not process isolation.`,
|
|
127
129
|
] : [
|
|
128
130
|
`Use native subagents for research, code reading and focused analysis.`,
|
|
129
131
|
subagentMessaging,
|
|
130
132
|
WORKERS_OFF,
|
|
131
|
-
...(owned ? [`You still manage the workers you own with ${invocation} list, inspect, collect, steer, stop, destroy, diff and wait. Collect the latest settled revision of every worker before completing.`] : []),
|
|
133
|
+
...(owned ? [`You still manage the workers you own with ${invocation} list, inspect, collect, steer, stop, destroy, diff and wait. ${ownWorkersOnly} Collect the latest settled revision of every worker before completing.`] : []),
|
|
132
134
|
...messagingOff,
|
|
133
135
|
conversationGuidance,
|
|
134
136
|
];
|
|
@@ -144,7 +146,9 @@ export function provisionDelegationSession(options) {
|
|
|
144
146
|
...(workspaceKind(run.delegation.workspace).workerNotice ? [workspaceKind(run.delegation.workspace).workerNotice] : []),
|
|
145
147
|
conversationGuidance,
|
|
146
148
|
`${maySpawn(run) ? `You may start one shared-workspace Squawk worker at a time; destroy it before you start the next. Run ${invocation} spawn --help first.` : `You cannot spawn Squawk workers.`} You cannot control peers, merge automatically, or accept your own review.`,
|
|
147
|
-
commandText(
|
|
149
|
+
commandText(supervisedByFamilyRecord(run)
|
|
150
|
+
? `Follow your assigned task and selected input context. Ask your parent with cez message request; any question you raise goes to your parent too, never to a human. Your parent answers or asks the human itself; do not wait for a human.`
|
|
151
|
+
: `Follow your assigned task and selected input context. Send every question to your parent as a request with cez message request and wait for its reply: no question card reaches your parent or a human. Do not wait for a human.`),
|
|
148
152
|
`You may use native subagents for research, code reading and focused analysis.`,
|
|
149
153
|
subagentMessaging,
|
|
150
154
|
`Commit reviewed work before your parent deliberately integrates it; report the summary, commits, tests and remaining concerns.`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provision.js","sourceRoot":"","sources":["../../src/delegation/provision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAC7F,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAqD,MAAM,cAAc,CAAC;AACpH,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"provision.js","sourceRoot":"","sources":["../../src/delegation/provision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,U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OAAO,MAAM,CAAC;IAChB,CAAC;IACD,KAAK,CAAC,KAAK;QACT,IAAI,IAAI,CAAC,MAAM;YAAE,OAAO;QACxB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,KAAK,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;YAAE,MAAM,EAAE,CAAC;QAC/D,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;QACzB,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAAC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC7D,MAAM,SAAS,EAAE,KAAK,EAAE,CAAC;IAC3B,CAAC;CACF"}
|
|
@@ -40,7 +40,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
|
|
|
40
40
|
error: string;
|
|
41
41
|
};
|
|
42
42
|
outputFormat: "json";
|
|
43
|
-
status:
|
|
43
|
+
status: 400;
|
|
44
44
|
input: {
|
|
45
45
|
query: {
|
|
46
46
|
q?: string | undefined;
|
|
@@ -53,7 +53,7 @@ export declare const reportsRoutes: import("hono/hono-base").HonoBase<ProjectApi
|
|
|
53
53
|
error: string;
|
|
54
54
|
};
|
|
55
55
|
outputFormat: "json";
|
|
56
|
-
status:
|
|
56
|
+
status: 409;
|
|
57
57
|
input: {
|
|
58
58
|
query: {
|
|
59
59
|
q?: string | undefined;
|