wicked-crew 0.16.8 → 0.16.10
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/auth.d.ts.map +1 -1
- package/dist/api/auth.js +13 -2
- package/dist/api/auth.js.map +1 -1
- package/dist/api/post-hoc-deliver.d.ts +2 -0
- package/dist/api/post-hoc-deliver.d.ts.map +1 -1
- package/dist/api/post-hoc-deliver.js +2 -2
- package/dist/api/post-hoc-deliver.js.map +1 -1
- package/dist/api/routes.d.ts.map +1 -1
- package/dist/api/routes.js +41 -7
- package/dist/api/routes.js.map +1 -1
- package/dist/api/run-liveness.d.ts +14 -0
- package/dist/api/run-liveness.d.ts.map +1 -1
- package/dist/api/run-liveness.js +57 -8
- package/dist/api/run-liveness.js.map +1 -1
- package/dist/api/seat-governance.d.ts +4 -2
- package/dist/api/seat-governance.d.ts.map +1 -1
- package/dist/api/seat-governance.js +5 -3
- package/dist/api/seat-governance.js.map +1 -1
- package/dist/api/server.d.ts.map +1 -1
- package/dist/api/server.js +42 -0
- package/dist/api/server.js.map +1 -1
- package/dist/core/deliver-text.d.ts +14 -0
- package/dist/core/deliver-text.d.ts.map +1 -1
- package/dist/core/deliver-text.js +30 -1
- package/dist/core/deliver-text.js.map +1 -1
- package/dist/interactive/chat-events.d.ts +7 -0
- package/dist/interactive/chat-events.d.ts.map +1 -1
- package/dist/interactive/chat-events.js +19 -1
- package/dist/interactive/chat-events.js.map +1 -1
- package/dist/interactive/doc-delete-routes.d.ts.map +1 -1
- package/dist/interactive/doc-delete-routes.js +5 -0
- package/dist/interactive/doc-delete-routes.js.map +1 -1
- package/dist/interactive/edit-events.d.ts.map +1 -1
- package/dist/interactive/edit-events.js +12 -1
- package/dist/interactive/edit-events.js.map +1 -1
- package/dist/interactive/proxy-routes.d.ts +7 -0
- package/dist/interactive/proxy-routes.d.ts.map +1 -1
- package/dist/interactive/proxy-routes.js +45 -2
- package/dist/interactive/proxy-routes.js.map +1 -1
- package/dist/interactive/review-events.d.ts +2 -0
- package/dist/interactive/review-events.d.ts.map +1 -1
- package/dist/interactive/review-events.js +7 -0
- package/dist/interactive/review-events.js.map +1 -1
- package/dist/interactive/theme-events.d.ts +2 -0
- package/dist/interactive/theme-events.d.ts.map +1 -1
- package/dist/interactive/theme-events.js +7 -0
- package/dist/interactive/theme-events.js.map +1 -1
- package/dist/working-doc/bridge-backend.d.ts +11 -0
- package/dist/working-doc/bridge-backend.d.ts.map +1 -0
- package/dist/working-doc/bridge-backend.js +140 -0
- package/dist/working-doc/bridge-backend.js.map +1 -0
- package/dist/working-doc/routes.d.ts +21 -0
- package/dist/working-doc/routes.d.ts.map +1 -0
- package/dist/working-doc/routes.js +85 -0
- package/dist/working-doc/routes.js.map +1 -0
- package/dist/working-doc/sections.d.ts +36 -0
- package/dist/working-doc/sections.d.ts.map +1 -0
- package/dist/working-doc/sections.js +85 -0
- package/dist/working-doc/sections.js.map +1 -0
- package/dist/working-doc/service.d.ts +183 -0
- package/dist/working-doc/service.d.ts.map +1 -0
- package/dist/working-doc/service.js +366 -0
- package/dist/working-doc/service.js.map +1 -0
- package/dist/working-doc/store.d.ts +105 -0
- package/dist/working-doc/store.d.ts.map +1 -0
- package/dist/working-doc/store.js +71 -0
- package/dist/working-doc/store.js.map +1 -0
- package/endpoint-manifest.json +38 -1
- package/package.json +2 -2
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The working document's binding and trail (program DES-POWER-MODE §8.3, §9; spike 3).
|
|
3
|
+
*
|
|
4
|
+
* ONE file, `<state home>/daemon-working-docs.json`, under the `daemon-` prefix the state-home fence already
|
|
5
|
+
* classifies (as `daemon-editors.json`). Per run: the wicked-interactive document it is bound to (project + doc
|
|
6
|
+
* name), the trail of versions crew wrote (who, through which surface, which sections, when) and the steering
|
|
7
|
+
* notes made from them (what was sent, when it was queued and which step picked it up).
|
|
8
|
+
*
|
|
9
|
+
* The versions themselves are interactive's (write-once, parent-linked, `author` in each batch). This file holds
|
|
10
|
+
* only what interactive cannot know: the run, the attribution crew decided, and the steering.
|
|
11
|
+
*/
|
|
12
|
+
import type { SectionId, SteerKind } from './sections.js';
|
|
13
|
+
export declare const WORKING_DOCS_FILENAME = "daemon-working-docs.json";
|
|
14
|
+
/** The sidecar crew writes into the document's own directory: it is what makes every seam read the doc as kind
|
|
15
|
+
* `phase-report` (`interactive/chat-events.ts readDocHead`), whatever interactive's manifest says. */
|
|
16
|
+
export declare const WORKING_DOC_SIDECAR = "crew-working-doc.json";
|
|
17
|
+
export declare const WORKING_DOC_KIND = "phase-report";
|
|
18
|
+
/** Who a version is by. A person's edit is `human` (the operator), a plugin's own generated lines `plugin`, the
|
|
19
|
+
* document crew seeds `system`. */
|
|
20
|
+
export type DocAuthor = {
|
|
21
|
+
kind: 'human';
|
|
22
|
+
id: string;
|
|
23
|
+
} | {
|
|
24
|
+
kind: 'plugin';
|
|
25
|
+
id: string;
|
|
26
|
+
} | {
|
|
27
|
+
kind: 'system';
|
|
28
|
+
id: 'crew';
|
|
29
|
+
};
|
|
30
|
+
export interface TrailEntry {
|
|
31
|
+
version: number;
|
|
32
|
+
parent: number | null;
|
|
33
|
+
author: DocAuthor;
|
|
34
|
+
/** The surface the edit was made in (`plugin:wicked-phase-report@0.13.1`), when a plugin hosted it. */
|
|
35
|
+
surface: string | null;
|
|
36
|
+
sections: SectionId[];
|
|
37
|
+
at: number;
|
|
38
|
+
/** The steering note this version made, if any. */
|
|
39
|
+
steerId: string | null;
|
|
40
|
+
}
|
|
41
|
+
export interface SteerRecord {
|
|
42
|
+
id: string;
|
|
43
|
+
version: number;
|
|
44
|
+
sections: SectionId[];
|
|
45
|
+
kind: Exclude<SteerKind, 'record'>;
|
|
46
|
+
/** Exactly what was sent to the run. */
|
|
47
|
+
note: string;
|
|
48
|
+
at: number;
|
|
49
|
+
by: string;
|
|
50
|
+
/** Set once the engine accepted it (queued for the next step, or written into a live worker). */
|
|
51
|
+
queuedAt: number | null;
|
|
52
|
+
/** The step whose prompt carried it (`workerMessageInjected`). */
|
|
53
|
+
pickedUp: {
|
|
54
|
+
ord: number | null;
|
|
55
|
+
step: string | null;
|
|
56
|
+
at: number;
|
|
57
|
+
} | null;
|
|
58
|
+
/** Why it was not sent (the run had ended; the engine refused). */
|
|
59
|
+
error: string | null;
|
|
60
|
+
/** A standing steer: the constraint alone, re-sent before every later step. */
|
|
61
|
+
standingNote?: string;
|
|
62
|
+
/** A standing steer: superseded by a later edit of the same section, it is no longer re-sent. */
|
|
63
|
+
supersededBy?: string | null;
|
|
64
|
+
/** A standing steer: how many later steps it was re-sent to. */
|
|
65
|
+
renewals?: number;
|
|
66
|
+
}
|
|
67
|
+
export interface WorkingDocRecord {
|
|
68
|
+
runId: string;
|
|
69
|
+
projectId: string;
|
|
70
|
+
docId: string;
|
|
71
|
+
createdAt: number;
|
|
72
|
+
trail: TrailEntry[];
|
|
73
|
+
steers: SteerRecord[];
|
|
74
|
+
/** An edit whose outcome was not known (no version in time): attributed once the head shows it, never to another. */
|
|
75
|
+
pending?: {
|
|
76
|
+
expectHead: number;
|
|
77
|
+
author: DocAuthor;
|
|
78
|
+
surface: string | null;
|
|
79
|
+
values: Partial<Record<SectionId, string>>;
|
|
80
|
+
at: number;
|
|
81
|
+
actor: {
|
|
82
|
+
id: string;
|
|
83
|
+
kind: string;
|
|
84
|
+
};
|
|
85
|
+
} | null;
|
|
86
|
+
}
|
|
87
|
+
export declare class WorkingDocStore {
|
|
88
|
+
private readonly path;
|
|
89
|
+
private data;
|
|
90
|
+
constructor(opts?: {
|
|
91
|
+
stateHome?: string;
|
|
92
|
+
log?: (m: string) => void;
|
|
93
|
+
});
|
|
94
|
+
get(runId: string): WorkingDocRecord | undefined;
|
|
95
|
+
all(): WorkingDocRecord[];
|
|
96
|
+
put(rec: WorkingDocRecord): void;
|
|
97
|
+
/** Mutate one run's record and persist. */
|
|
98
|
+
update(runId: string, f: (rec: WorkingDocRecord) => void): WorkingDocRecord | undefined;
|
|
99
|
+
private save;
|
|
100
|
+
}
|
|
101
|
+
/** Mark a doc directory as a run's working document (kind `phase-report`). */
|
|
102
|
+
export declare function writeSidecar(docDir: string, runId: string): void;
|
|
103
|
+
/** Whether a doc directory is a run's working document. */
|
|
104
|
+
export declare function isWorkingDocDir(docDir: string): boolean;
|
|
105
|
+
//# sourceMappingURL=store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/working-doc/store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAMH,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1D,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE;uGACuG;AACvG,eAAO,MAAM,mBAAmB,0BAA0B,CAAC;AAC3D,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAE/C;oCACoC;AACpC,MAAM,MAAM,SAAS,GACjB;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAC7B;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAC9B;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnC,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,SAAS,CAAC;IAClB,uGAAuG;IACvG,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,SAAS,EAAE,CAAC;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,mDAAmD;IACnD,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,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AAID,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAS;IAC9B,OAAO,CAAC,IAAI,CAAY;gBAEZ,IAAI,GAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;KAAO;IAgBxE,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,GAAG,SAAS;IAEhD,GAAG,IAAI,gBAAgB,EAAE;IAEzB,GAAG,CAAC,GAAG,EAAE,gBAAgB,GAAG,IAAI;IAKhC,2CAA2C;IAC3C,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,GAAG,gBAAgB,GAAG,SAAS;IAQvF,OAAO,CAAC,IAAI;CAOb;AAED,8EAA8E;AAC9E,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAGhE;AAED,2DAA2D;AAC3D,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAEvD"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The working document's binding and trail (program DES-POWER-MODE §8.3, §9; spike 3).
|
|
3
|
+
*
|
|
4
|
+
* ONE file, `<state home>/daemon-working-docs.json`, under the `daemon-` prefix the state-home fence already
|
|
5
|
+
* classifies (as `daemon-editors.json`). Per run: the wicked-interactive document it is bound to (project + doc
|
|
6
|
+
* name), the trail of versions crew wrote (who, through which surface, which sections, when) and the steering
|
|
7
|
+
* notes made from them (what was sent, when it was queued and which step picked it up).
|
|
8
|
+
*
|
|
9
|
+
* The versions themselves are interactive's (write-once, parent-linked, `author` in each batch). This file holds
|
|
10
|
+
* only what interactive cannot know: the run, the attribution crew decided, and the steering.
|
|
11
|
+
*/
|
|
12
|
+
import { existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from 'node:fs';
|
|
13
|
+
import { join } from 'node:path';
|
|
14
|
+
import { crewStateHome } from '../projects/state-home.js';
|
|
15
|
+
export const WORKING_DOCS_FILENAME = 'daemon-working-docs.json';
|
|
16
|
+
/** The sidecar crew writes into the document's own directory: it is what makes every seam read the doc as kind
|
|
17
|
+
* `phase-report` (`interactive/chat-events.ts readDocHead`), whatever interactive's manifest says. */
|
|
18
|
+
export const WORKING_DOC_SIDECAR = 'crew-working-doc.json';
|
|
19
|
+
export const WORKING_DOC_KIND = 'phase-report';
|
|
20
|
+
export class WorkingDocStore {
|
|
21
|
+
path;
|
|
22
|
+
data;
|
|
23
|
+
constructor(opts = {}) {
|
|
24
|
+
const home = opts.stateHome ?? crewStateHome();
|
|
25
|
+
this.path = join(home, WORKING_DOCS_FILENAME);
|
|
26
|
+
this.data = { version: 1, runs: {} };
|
|
27
|
+
if (existsSync(this.path)) {
|
|
28
|
+
try {
|
|
29
|
+
const raw = JSON.parse(readFileSync(this.path, 'utf8'));
|
|
30
|
+
if (raw !== null && typeof raw === 'object' && raw.runs !== undefined && typeof raw.runs === 'object') {
|
|
31
|
+
this.data = { version: 1, runs: raw.runs };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
catch (err) {
|
|
35
|
+
opts.log?.(`[working-doc] ${this.path} is unreadable (${String(err)}); starting empty`);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
get(runId) { return this.data.runs[runId]; }
|
|
40
|
+
all() { return Object.values(this.data.runs); }
|
|
41
|
+
put(rec) {
|
|
42
|
+
this.data.runs[rec.runId] = rec;
|
|
43
|
+
this.save();
|
|
44
|
+
}
|
|
45
|
+
/** Mutate one run's record and persist. */
|
|
46
|
+
update(runId, f) {
|
|
47
|
+
const rec = this.data.runs[runId];
|
|
48
|
+
if (rec === undefined)
|
|
49
|
+
return undefined;
|
|
50
|
+
f(rec);
|
|
51
|
+
this.save();
|
|
52
|
+
return rec;
|
|
53
|
+
}
|
|
54
|
+
save() {
|
|
55
|
+
const dir = join(this.path, '..');
|
|
56
|
+
mkdirSync(dir, { recursive: true });
|
|
57
|
+
const tmp = `${this.path}.tmp`;
|
|
58
|
+
writeFileSync(tmp, `${JSON.stringify(this.data, null, 2)}\n`, 'utf8');
|
|
59
|
+
renameSync(tmp, this.path);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
/** Mark a doc directory as a run's working document (kind `phase-report`). */
|
|
63
|
+
export function writeSidecar(docDir, runId) {
|
|
64
|
+
mkdirSync(docDir, { recursive: true });
|
|
65
|
+
writeFileSync(join(docDir, WORKING_DOC_SIDECAR), `${JSON.stringify({ kind: WORKING_DOC_KIND, runId }, null, 2)}\n`, 'utf8');
|
|
66
|
+
}
|
|
67
|
+
/** Whether a doc directory is a run's working document. */
|
|
68
|
+
export function isWorkingDocDir(docDir) {
|
|
69
|
+
return existsSync(join(docDir, WORKING_DOC_SIDECAR));
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../src/working-doc/store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACzF,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAG1D,MAAM,CAAC,MAAM,qBAAqB,GAAG,0BAA0B,CAAC;AAChE;uGACuG;AACvG,MAAM,CAAC,MAAM,mBAAmB,GAAG,uBAAuB,CAAC;AAC3D,MAAM,CAAC,MAAM,gBAAgB,GAAG,cAAc,CAAC;AAyD/C,MAAM,OAAO,eAAe;IACT,IAAI,CAAS;IACtB,IAAI,CAAY;IAExB,YAAY,OAA0D,EAAE;QACtE,MAAM,IAAI,GAAG,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ED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"apiTypesVersion": "0.
|
|
3
|
+
"apiTypesVersion": "0.148.0",
|
|
4
4
|
"endpoints": [
|
|
5
5
|
{
|
|
6
6
|
"method": "GET",
|
|
@@ -1897,6 +1897,43 @@
|
|
|
1897
1897
|
503
|
|
1898
1898
|
]
|
|
1899
1899
|
},
|
|
1900
|
+
{
|
|
1901
|
+
"method": "GET",
|
|
1902
|
+
"path": "/api/v1/runs/:id/working-doc",
|
|
1903
|
+
"requestType": null,
|
|
1904
|
+
"responseType": "WorkingDocView",
|
|
1905
|
+
"statusCodes": [
|
|
1906
|
+
200,
|
|
1907
|
+
404,
|
|
1908
|
+
503
|
|
1909
|
+
]
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
"method": "POST",
|
|
1913
|
+
"path": "/api/v1/runs/:id/working-doc",
|
|
1914
|
+
"requestType": null,
|
|
1915
|
+
"responseType": "WorkingDocView",
|
|
1916
|
+
"statusCodes": [
|
|
1917
|
+
200,
|
|
1918
|
+
403,
|
|
1919
|
+
404,
|
|
1920
|
+
503
|
|
1921
|
+
]
|
|
1922
|
+
},
|
|
1923
|
+
{
|
|
1924
|
+
"method": "POST",
|
|
1925
|
+
"path": "/api/v1/runs/:id/working-doc/versions",
|
|
1926
|
+
"requestType": "ProposeWorkingDocRequest",
|
|
1927
|
+
"responseType": "ProposeWorkingDocResponse",
|
|
1928
|
+
"statusCodes": [
|
|
1929
|
+
200,
|
|
1930
|
+
400,
|
|
1931
|
+
403,
|
|
1932
|
+
404,
|
|
1933
|
+
409,
|
|
1934
|
+
503
|
|
1935
|
+
]
|
|
1936
|
+
},
|
|
1900
1937
|
{
|
|
1901
1938
|
"method": "POST",
|
|
1902
1939
|
"path": "/api/v1/runs/archive",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wicked-crew",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.10",
|
|
4
4
|
"description": "Runs your coding agents (Claude Code, Codex, Copilot, OpenCode, Pi) in sandboxes; a different agent reviews the work against your rules, and app changes pass acceptance testing before delivery. Intent in, gated work out.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@modelcontextprotocol/sdk": "^1.31.0",
|
|
36
36
|
"fastify": "^5.12.5",
|
|
37
37
|
"smol-toml": "^1.9.1",
|
|
38
|
-
"wicked-core-ts": "^0.15.
|
|
38
|
+
"wicked-core-ts": "^0.15.17",
|
|
39
39
|
"wicked-ledger": "^0.6.0",
|
|
40
40
|
"wicked-vault": "^0.8.0",
|
|
41
41
|
"yaml": "^2.4.2",
|