@owlmeans/agent-common 0.1.18-rc.45 → 0.1.18-rc.47

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/README.md CHANGED
@@ -46,7 +46,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
46
46
  your project's skill store (`.agents/skills/`):
47
47
 
48
48
  ```sh
49
- npx @owlmeans/agent-skills@^0.1.18-rc.46
49
+ npx @owlmeans/agent-skills@^0.1.18-rc.48
50
50
  ```
51
51
 
52
52
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "@owlmeans/agent-common",
4
- "version": "0.1.18-rc.45",
5
- "generatedAt": "2026-10-03T11:19:50.773Z",
4
+ "version": "0.1.18-rc.47",
5
+ "generatedAt": "2026-10-05T08:32:19.091Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -8,7 +8,7 @@ user-invocable: false
8
8
  # @owlmeans/agent-common
9
9
 
10
10
  **Layer:** Cross-cutting domain
11
- **Install:** `"@owlmeans/agent-common": "^0.1.18-rc.45"` in `dependencies`
11
+ **Install:** `"@owlmeans/agent-common": "^0.1.18-rc.47"` in `dependencies`
12
12
 
13
13
  Serializable contracts for the agent family. No LangChain, no LangGraph, no storage driver — a
14
14
  backend or a browser bundle imports these to read what an agent wrote without pulling the runtime.
package/build/consts.d.ts CHANGED
@@ -108,4 +108,53 @@ export declare const DEFAULT_MEMORY_NODE_CHARS = 2000;
108
108
  export declare const DEFAULT_MEMORY_EVENTS_LIMIT = 50;
109
109
  /** Separator between a dedication's kind and its target — `project:<id>`. */
110
110
  export declare const SCOPE_SEP = ":";
111
+ /** How a run ended, or that it has not. */
112
+ export declare enum PipelineRunStatus {
113
+ Running = "running",
114
+ Done = "done",
115
+ Failed = "failed",
116
+ /** Stopped on purpose with work left — a budget expired, or the caller asked. Resumable. */
117
+ Aborted = "aborted",
118
+ /**
119
+ * Stopped on purpose, waiting for an answer to {@link PipelineRun.inquiry}.
120
+ *
121
+ * Resumable, and NOT stale: a waiting run has no process behind it and its `heartbeatAt` will not
122
+ * move again until somebody answers. A reconciler that reads staleness alone would take this for
123
+ * a crashed run and repair what is merely waiting.
124
+ */
125
+ Waiting = "waiting"
126
+ }
127
+ /** Where the facts of an entry came from. */
128
+ export declare enum CumulativeResultSource {
129
+ /** Read by code from what the step left behind, when the step finished. */
130
+ Extracted = "extracted",
131
+ /**
132
+ * Read by code from the step's DURABLE inputs, after the fact — on a resume that found no stored
133
+ * entry, or for a step whose guard skipped it. The same facts an extraction would have found.
134
+ */
135
+ Rebuilt = "rebuilt",
136
+ /** Supplied before any step of the run ran — the caller already knew them. */
137
+ Seeded = "seeded",
138
+ /** No facts at all; only a model's summary, which nothing has checked. */
139
+ Summarized = "summarized"
140
+ }
141
+ /** How one entry appears in a view cut for a given step. */
142
+ export declare enum ResultViewMode {
143
+ Full = "full",
144
+ /** Names only, grouped by kind. */
145
+ Compact = "compact",
146
+ /** Not in the prompt. Still answered by a programmatic facts query. */
147
+ Omitted = "omitted"
148
+ }
149
+ /**
150
+ * Kinds an extractor is encouraged to use. `CumulativeResultFact.kind` is an open string — declare
151
+ * your own — but two extractors naming the same thing differently split one fact into two.
152
+ */
153
+ export declare enum CumulativeFactKind {
154
+ Type = "type",
155
+ Symbol = "symbol",
156
+ Endpoint = "endpoint",
157
+ Resource = "resource",
158
+ File = "file"
159
+ }
111
160
  //# sourceMappingURL=consts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../src/consts.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,WAAW,CAAA;AAEtC;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,6BAA6B,CAAA;AAClE,eAAO,MAAM,wBAAwB,6BAA6B,CAAA;AAClE,eAAO,MAAM,yBAAyB,8BAA8B,C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,IAAI,SAAS;CACd;AAED,2FAA2F;AAC3F,oBAAY,cAAc;IACxB,EAAE,OAAO;IACT,MAAM,WAAW;CAClB;AAED;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,OAAO,CAAA;AACzC,eAAO,MAAM,oBAAoB,MAAM,CAAA;AACvC,eAAO,MAAM,oBAAoB,IAAI,CAAA;AACrC,eAAO,MAAM,yBAAyB,OAAO,CAAA;AAC7C,eAAO,MAAM,2BAA2B,KAAK,CAAA;AAE7C,6EAA6E;AAC7E,eAAO,MAAM,SAAS,MAAM,CAAA;AAE5B,2CAA2C;AAC3C,oBAAY,iBAAiB;IAC3B,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,4FAA4F;IAC5F,OAAO,YAAY;IACnB;;;;;;OAMG;IACH,OAAO,YAAY;CACpB;AAED,6CAA6C;AAC7C,oBAAY,sBAAsB;IAChC,2EAA2E;IAC3E,SAAS,cAAc;IACvB;;;OAGG;IACH,OAAO,YAAY;IACnB,8EAA8E;IAC9E,MAAM,WAAW;IACjB,0EAA0E;IAC1E,UAAU,eAAe;CAC1B;AAED,4DAA4D;AAC5D,oBAAY,cAAc;IACxB,IAAI,SAAS;IACb,mCAAmC;IACnC,OAAO,YAAY;IACnB,uEAAuE;IACvE,OAAO,YAAY;CACpB;AAED;;;GAGG;AACH,oBAAY,kBAAkB;IAC5B,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,IAAI,SAAS;CACd"}
package/build/consts.js CHANGED
@@ -111,4 +111,57 @@ export const DEFAULT_MEMORY_NODE_CHARS = 2000;
111
111
  export const DEFAULT_MEMORY_EVENTS_LIMIT = 50;
112
112
  /** Separator between a dedication's kind and its target — `project:<id>`. */
113
113
  export const SCOPE_SEP = ':';
114
+ /** How a run ended, or that it has not. */
115
+ export var PipelineRunStatus;
116
+ (function (PipelineRunStatus) {
117
+ PipelineRunStatus["Running"] = "running";
118
+ PipelineRunStatus["Done"] = "done";
119
+ PipelineRunStatus["Failed"] = "failed";
120
+ /** Stopped on purpose with work left — a budget expired, or the caller asked. Resumable. */
121
+ PipelineRunStatus["Aborted"] = "aborted";
122
+ /**
123
+ * Stopped on purpose, waiting for an answer to {@link PipelineRun.inquiry}.
124
+ *
125
+ * Resumable, and NOT stale: a waiting run has no process behind it and its `heartbeatAt` will not
126
+ * move again until somebody answers. A reconciler that reads staleness alone would take this for
127
+ * a crashed run and repair what is merely waiting.
128
+ */
129
+ PipelineRunStatus["Waiting"] = "waiting";
130
+ })(PipelineRunStatus || (PipelineRunStatus = {}));
131
+ /** Where the facts of an entry came from. */
132
+ export var CumulativeResultSource;
133
+ (function (CumulativeResultSource) {
134
+ /** Read by code from what the step left behind, when the step finished. */
135
+ CumulativeResultSource["Extracted"] = "extracted";
136
+ /**
137
+ * Read by code from the step's DURABLE inputs, after the fact — on a resume that found no stored
138
+ * entry, or for a step whose guard skipped it. The same facts an extraction would have found.
139
+ */
140
+ CumulativeResultSource["Rebuilt"] = "rebuilt";
141
+ /** Supplied before any step of the run ran — the caller already knew them. */
142
+ CumulativeResultSource["Seeded"] = "seeded";
143
+ /** No facts at all; only a model's summary, which nothing has checked. */
144
+ CumulativeResultSource["Summarized"] = "summarized";
145
+ })(CumulativeResultSource || (CumulativeResultSource = {}));
146
+ /** How one entry appears in a view cut for a given step. */
147
+ export var ResultViewMode;
148
+ (function (ResultViewMode) {
149
+ ResultViewMode["Full"] = "full";
150
+ /** Names only, grouped by kind. */
151
+ ResultViewMode["Compact"] = "compact";
152
+ /** Not in the prompt. Still answered by a programmatic facts query. */
153
+ ResultViewMode["Omitted"] = "omitted";
154
+ })(ResultViewMode || (ResultViewMode = {}));
155
+ /**
156
+ * Kinds an extractor is encouraged to use. `CumulativeResultFact.kind` is an open string — declare
157
+ * your own — but two extractors naming the same thing differently split one fact into two.
158
+ */
159
+ export var CumulativeFactKind;
160
+ (function (CumulativeFactKind) {
161
+ CumulativeFactKind["Type"] = "type";
162
+ CumulativeFactKind["Symbol"] = "symbol";
163
+ CumulativeFactKind["Endpoint"] = "endpoint";
164
+ CumulativeFactKind["Resource"] = "resource";
165
+ CumulativeFactKind["File"] = "file";
166
+ })(CumulativeFactKind || (CumulativeFactKind = {}));
114
167
  //# sourceMappingURL=consts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"consts.js","sourceRoot":"","sources":["../src/consts.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,QAAQ,CAAA;AAEtC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,0BAA0B,CAAA;AAClE,MAAM,CAAC,MAAM,wBAAwB,GAAG,0BAA0B,CAAA;AAClE,MAAM,CAAC,MAAM,yBAAyB,GAAG,2BAA2B,CAAA;AACpE,MAAM,CAAC,MAAM,wBAAwB,GAAG,0BAA0B,CAAA;AAClE,MAAM,CAAC,MAAM,sBAAsB,GAAG,wBAAwB,CAAA;AAC9D,MAAM,CAAC,MAAM,6BAA6B,GAAG,+BAA+B,CAAA;AAE5E;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,MAAM,CAAA;AAC/C,MAAM,CAAC,MAAM,0BAA0B,GAAG,KAAK,CAAA;AAC/C,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAAG,CAAA;AAC/C,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAA;AACvC,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAAG,CAAA;AAE/C,qGAAqG;AACrG,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;AAErC;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,OAAO,CAAA;AAC9C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAA;AACtC,MAAM,CAAC,MAAM,oBAAoB,GAAG,SAAS,CAAA;AAE7C;;;;;;;GAOG;AACH,MAAM,CAAC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,CAAA;IACnB,uEAAuE;IACvE,qCAAmB,CAAA;AACrB,CAAC,EANW,cAAc,KAAd,cAAc,QAMzB;AAED;;;GAGG;AACH,MAAM,CAAN,IAAY,kBAMX;AAND,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,uCAAiB,CAAA;IACjB,2CAAqB,CAAA;IACrB,2CAAqB,CAAA;IACrB,mCAAa,CAAA;AACf,CAAC,EANW,kBAAkB,KAAlB,kBAAkB,QAM7B"}
@@ -0,0 +1,9 @@
1
+ export declare const PARTIAL_WITH_FACTS = "partial: the step failed part-way; only what it left in the files is listed";
2
+ export declare const PARTIAL_EMPTY = "partial: the step failed part-way and left nothing that could be read";
3
+ export declare const SEEDED = "known before this run";
4
+ export declare const NOT_VERIFIED = "not verified";
5
+ export declare const NAMES_ONLY = "names only";
6
+ export declare const SUMMARY_LEFT_OUT = "summary left out for space";
7
+ export declare const SUMMARY_WITH_FACTS = "Summary (not verified \u2014 written by a model, never checked against the files):";
8
+ export declare const SUMMARY_ALONE = "Summary written by a model, never checked against the files:";
9
+ //# sourceMappingURL=consts.local.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consts.local.d.ts","sourceRoot":"","sources":["../src/consts.local.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,gFAAgF,CAAA;AAE/G,eAAO,MAAM,aAAa,0EAA0E,CAAA;AAEpG,eAAO,MAAM,MAAM,0BAA0B,CAAA;AAE7C,eAAO,MAAM,YAAY,iBAAiB,CAAA;AAE1C,eAAO,MAAM,UAAU,eAAe,CAAA;AAEtC,eAAO,MAAM,gBAAgB,+BAA+B,CAAA;AAE5D,eAAO,MAAM,kBAAkB,uFAAkF,CAAA;AAEjH,eAAO,MAAM,aAAa,iEAAiE,CAAA"}
@@ -0,0 +1,9 @@
1
+ export const PARTIAL_WITH_FACTS = 'partial: the step failed part-way; only what it left in the files is listed';
2
+ export const PARTIAL_EMPTY = 'partial: the step failed part-way and left nothing that could be read';
3
+ export const SEEDED = 'known before this run';
4
+ export const NOT_VERIFIED = 'not verified';
5
+ export const NAMES_ONLY = 'names only';
6
+ export const SUMMARY_LEFT_OUT = 'summary left out for space';
7
+ export const SUMMARY_WITH_FACTS = 'Summary (not verified — written by a model, never checked against the files):';
8
+ export const SUMMARY_ALONE = 'Summary written by a model, never checked against the files:';
9
+ //# sourceMappingURL=consts.local.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consts.local.js","sourceRoot":"","sources":["../src/consts.local.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,6EAA6E,CAAA;AAE/G,MAAM,CAAC,MAAM,aAAa,GAAG,uEAAuE,CAAA;AAEpG,MAAM,CAAC,MAAM,MAAM,GAAG,uBAAuB,CAAA;AAE7C,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAA;AAE1C,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,CAAA;AAEtC,MAAM,CAAC,MAAM,gBAAgB,GAAG,4BAA4B,CAAA;AAE5D,MAAM,CAAC,MAAM,kBAAkB,GAAG,+EAA+E,CAAA;AAEjH,MAAM,CAAC,MAAM,aAAa,GAAG,8DAA8D,CAAA"}
@@ -1,155 +1,4 @@
1
- import type { Inquiry } from '@owlmeans/llm-common';
2
- import type { ResourceRecord } from '@owlmeans/resource';
3
- /**
4
- * What a pipeline carries between its steps.
5
- *
6
- * Scalars and KEYS — ids, revisions, markers, lists of codes. Never an artifact. Everything large a
7
- * pipeline produces belongs in a store of its own and travels here as the key that finds it again:
8
- * the state is serialized into the run row at every step boundary, and a state that carries a
9
- * document is a row that carries it too, once per step.
10
- */
11
- export type PipelineState = Record<string, unknown>;
12
- export interface PipelineStepSpec {
13
- step: string;
14
- /**
15
- * The steps that must have completed before this one may run.
16
- *
17
- * Absent or empty means "from the start". Several steps naming the same predecessor fan OUT;
18
- * one step naming several predecessors JOINS them. That is the whole edge vocabulary — there is
19
- * no conditional edge, because a branch that is expressed as an edge is invisible to a resume,
20
- * while a branch expressed as {@link PipelineStep.skipWhen} is the same mechanism that makes a
21
- * resume correct.
22
- */
23
- after?: string[];
24
- /** Human-readable, for progress reporting and tool descriptions. */
25
- title?: string;
26
- /** A failure is recorded on the run's `warnings` and the successors still run. */
27
- optional?: boolean;
28
- /**
29
- * Re-running repeats a side effect that cannot be undone — a wipe, a purge, a claim against a
30
- * rate-limited authority, a model call whose output is already on disk.
31
- *
32
- * A resume never re-enters one of these on its own; `resume(runId, { from })` refuses without
33
- * `force`. It is also refused `attempts > 1`, since an automatic retry is exactly the thing the
34
- * flag says must not happen.
35
- */
36
- nonIdempotent?: boolean;
37
- /**
38
- * Attempts for ONE entry of this step. Default {@link DEFAULT_STEP_ATTEMPTS} = 1.
39
- *
40
- * Deliberately not a ladder: retry budgets in this family MULTIPLY (an outer 8 around a model's
41
- * own inner 8 is 64 real calls), so a step that wants retries asks for them once, here, and the
42
- * helpers below it keep theirs.
43
- */
44
- attempts?: number;
45
- /** Wall clock for one attempt, in milliseconds. */
46
- timeout?: number;
47
- }
48
- export interface PipelineSpec {
49
- alias: string;
50
- /**
51
- * Bumped whenever a step is added, removed or renamed.
52
- *
53
- * `completed` names steps by string, so a run resumed under a changed spec would skip work it
54
- * never did — silently, because an unknown name simply matches nothing. A version mismatch is
55
- * refused instead.
56
- */
57
- version: number;
58
- steps: PipelineStepSpec[];
59
- }
60
- /** How a run ended, or that it has not. */
61
- export declare enum PipelineRunStatus {
62
- Running = "running",
63
- Done = "done",
64
- Failed = "failed",
65
- /** Stopped on purpose with work left — a budget expired, or the caller asked. Resumable. */
66
- Aborted = "aborted",
67
- /**
68
- * Stopped on purpose, waiting for an answer to {@link PipelineRun.inquiry}.
69
- *
70
- * Resumable, and NOT stale: a waiting run has no process behind it and its `heartbeatAt` will not
71
- * move again until somebody answers. A reconciler that reads staleness alone would take this for
72
- * a crashed run and repair what is merely waiting.
73
- */
74
- Waiting = "waiting"
75
- }
76
- /**
77
- * What a `Waiting` run is waiting for.
78
- *
79
- * Written by the runner when a step asks a question nobody could answer while it ran, and read by
80
- * everything that reports a run — a resume delivers the answer under {@link Inquiry.id}, which is
81
- * the only thing that routes it back.
82
- */
83
- export interface PipelineRunInquiry {
84
- /** The step that asked. A resume re-enters exactly this one. */
85
- step: string;
86
- askedAt: string;
87
- inquiry: Inquiry;
88
- }
89
- /**
90
- * The data plane of a pipeline run, and the ONE authority on where it stands.
91
- *
92
- * Not the LangGraph checkpoint: that is a replay optimization which may legitimately be absent (it
93
- * is size-guarded and expires), and a design that trusts it has a silent hole exactly where a
94
- * crashed run needs an answer. Everything that reads a run's position — a resume, a reconciler, an
95
- * operator, a status endpoint — reads this row.
96
- *
97
- * Timestamps are ISO strings, never `Date`: these records cross process boundaries and storage
98
- * backends. A consumer whose store prefers dates maps them at its own adapter boundary.
99
- */
100
- export interface PipelineRun extends ResourceRecord {
101
- /** The business key. Chosen by the caller so a run is addressable before it exists. */
102
- runId: string;
103
- pipeline: string;
104
- version: number;
105
- /** The subject the run belongs to — for an application with projects, the project id. */
106
- scope: string;
107
- /** The tenant. Carried so a store can refuse a read that crosses an organization. */
108
- entityId?: string;
109
- status: PipelineRunStatus;
110
- /** Steps that have finished, in the order they finished. */
111
- completed: string[];
112
- /** Steps that had not run when the run stopped. Empty on a `Done` run. */
113
- pending: string[];
114
- /** JSON TEXT of {@link PipelineState}. Text, not a subdocument — a state key is a caller's word. */
115
- state: string;
116
- stateChars: number;
117
- /** What an `optional` step reported when it failed. Never empties a run. */
118
- warnings: string[];
119
- failedAt?: string;
120
- error?: string;
121
- /** The last thing a step said about itself. Progress, not state. */
122
- note?: string;
123
- /**
124
- * The question this run stopped on.
125
- *
126
- * Present only while `status === Waiting`, and cleared on every entry of the run — a row that
127
- * kept advertising a question it has already been given would have every reader offer it again.
128
- */
129
- inquiry?: PipelineRunInquiry;
130
- /** Whatever lock the run held, so a resume can re-take the same one. */
131
- lockTask?: string;
132
- /** How many times this run has been RESUMED. Reset only by a `Done` outcome. */
133
- attempts: number;
134
- startedAt: string;
135
- /**
136
- * Written at every step boundary — the only signal that separates a run still working from one
137
- * whose process died. A reconciler reads staleness here, never the status.
138
- */
139
- heartbeatAt: string;
140
- updatedAt: string;
141
- }
142
- /** What the runner reports as it moves. Never persisted as state. */
143
- export interface PipelineProgress {
144
- pipeline: string;
145
- runId: string;
146
- step: string;
147
- /** 1-based position in the topological order. */
148
- index: number;
149
- total: number;
150
- skipped?: boolean;
151
- note?: string;
152
- }
1
+ import type { PipelineSpec, PipelineStepSpec } from './types.js';
153
2
  /**
154
3
  * Every fault in one message, or nothing.
155
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../src/pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAIxD;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAEnD,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,oEAAoE;IACpE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kFAAkF;IAClF,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,gBAAgB,EAAE,CAAA;CAC1B;AAED,2CAA2C;AAC3C,oBAAY,iBAAiB;IAC3B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B5E,CAAA;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gBAAgB,SACrB,YAAY,QAAQ,MAAM,KAC/B,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAwBvC,CAAA;AAED,mGAAmG;AACnG,eAAO,MAAM,iBAAiB,SAAU,YAAY,QAAQ,MAAM,KAAG,MAAM,EACpB,CAAA;AAEvD,sFAAsF;AACtF,eAAO,MAAM,YAAY,SAAU,YAAY,QAAQ,MAAM,KAAG,gBAAgB,GAAG,IAC5B,CAAA"}
package/build/pipeline.js CHANGED
@@ -1,22 +1,5 @@
1
1
  import { DEFAULT_STEP_ATTEMPTS } from './consts.js';
2
2
  import { PipelineSpecError, PipelineUnknownStepError } from './errors.js';
3
- /** How a run ended, or that it has not. */
4
- export var PipelineRunStatus;
5
- (function (PipelineRunStatus) {
6
- PipelineRunStatus["Running"] = "running";
7
- PipelineRunStatus["Done"] = "done";
8
- PipelineRunStatus["Failed"] = "failed";
9
- /** Stopped on purpose with work left — a budget expired, or the caller asked. Resumable. */
10
- PipelineRunStatus["Aborted"] = "aborted";
11
- /**
12
- * Stopped on purpose, waiting for an answer to {@link PipelineRun.inquiry}.
13
- *
14
- * Resumable, and NOT stale: a waiting run has no process behind it and its `heartbeatAt` will not
15
- * move again until somebody answers. A reconciler that reads staleness alone would take this for
16
- * a crashed run and repair what is merely waiting.
17
- */
18
- PipelineRunStatus["Waiting"] = "waiting";
19
- })(PipelineRunStatus || (PipelineRunStatus = {}));
20
3
  const fault = (faults, message) => {
21
4
  faults.push(message);
22
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../src/pipeline.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AACnD,OAAO,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAA;AA8DzE,2CAA2C;AAC3C,M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,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,IAAI,CAAA"}
@@ -1,179 +1,4 @@
1
- import type { ResourceRecord } from '@owlmeans/resource';
2
- import { RESULTS_EVERY_STEP } from './consts.js';
3
- /**
4
- * CUMULATIVE PIPELINE RESULTS — the contracts.
5
- *
6
- * After a step of a pipeline finishes, code reads what it produced — a type's shape, a file, an
7
- * endpoint's method, path and parameters, a resource's table — into a small list of FACTS, and the
8
- * later steps are told those facts instead of re-deriving them from the files. A later step that is
9
- * handed the authoritative names does not invent a second spelling of them, and that is the whole
10
- * point: it removes the class of errors that live BETWEEN steps.
11
- *
12
- * Everything here is data and pure functions. The runtime that extracts, stores and cuts the views
13
- * is `@owlmeans/agent`'s `cumulativeResultsPlugin`; the prompt block it lands in is
14
- * `@owlmeans/llm`'s. A backend or a browser bundle reads an entry without either.
15
- */
16
- /** Where the facts of an entry came from. */
17
- export declare enum CumulativeResultSource {
18
- /** Read by code from what the step left behind, when the step finished. */
19
- Extracted = "extracted",
20
- /**
21
- * Read by code from the step's DURABLE inputs, after the fact — on a resume that found no stored
22
- * entry, or for a step whose guard skipped it. The same facts an extraction would have found.
23
- */
24
- Rebuilt = "rebuilt",
25
- /** Supplied before any step of the run ran — the caller already knew them. */
26
- Seeded = "seeded",
27
- /** No facts at all; only a model's summary, which nothing has checked. */
28
- Summarized = "summarized"
29
- }
30
- /** How one entry appears in a view cut for a given step. */
31
- export declare enum ResultViewMode {
32
- Full = "full",
33
- /** Names only, grouped by kind. */
34
- Compact = "compact",
35
- /** Not in the prompt. Still answered by a programmatic facts query. */
36
- Omitted = "omitted"
37
- }
38
- /**
39
- * Kinds an extractor is encouraged to use. `CumulativeResultFact.kind` is an open string — declare
40
- * your own — but two extractors naming the same thing differently split one fact into two.
41
- */
42
- export declare enum CumulativeFactKind {
43
- Type = "type",
44
- Symbol = "symbol",
45
- Endpoint = "endpoint",
46
- Resource = "resource",
47
- File = "file"
48
- }
49
- /**
50
- * ONE authoritative fact about what a step produced, small enough to be one line of a prompt.
51
- *
52
- * Every field is optional past `kind` and `name`, because facts differ in what matters about them:
53
- * a type has a shape and an import specifier, an endpoint an alias, a method, a path and a guard, a
54
- * resource a table and an accessor, a file only its path. Put scalars that have no field of their
55
- * own into `attrs`.
56
- */
57
- export interface CumulativeResultFact {
58
- /** What the fact is about — see {@link CumulativeFactKind}. */
59
- kind: string;
60
- /** The name to use VERBATIM. */
61
- name: string;
62
- /** The file it lives in, relative to the project root. */
63
- path?: string;
64
- /** The module specifier it is imported from. */
65
- specifier?: string;
66
- /** Its shape or signature, on one line. */
67
- signature?: string;
68
- /** Fields, parameters or columns, when there is no signature to say it. */
69
- members?: string[];
70
- /** Another fact's name this one points at — a returned type, a mapped table. */
71
- ref?: string;
72
- /** Scalars without a field of their own — `method`, `path`, `guard`, `table`. */
73
- attrs?: Record<string, string>;
74
- }
75
- /**
76
- * One step's contribution to a ledger.
77
- *
78
- * Keyed by `(ledger, runId, step)`. `order` places it in the ledger: the topological index of the
79
- * step in its own pipeline, preceded by the index path of every step it was composed under, so a
80
- * run composed as a step of another sorts inside that step, ahead of the composing step's own
81
- * entry. A single number cannot say that: two pipelines' indexes are not comparable.
82
- *
83
- * `full` and `compact` are rendered once, when the entry is written, and never contain a timestamp,
84
- * a run id or anything else a model would copy without meaning to.
85
- */
86
- export interface CumulativeResultEntry extends ResourceRecord {
87
- /** What entries can see each other — by default the root run of the composition. */
88
- ledger: string;
89
- pipeline: string;
90
- runId: string;
91
- step: string;
92
- /** How the entry is headed in a prompt: the step, behind the path of the steps it runs under. */
93
- label: string;
94
- order: number[];
95
- /** Bumped every time the entry is re-extracted after a later step rewrote one of its files. */
96
- revision: number;
97
- source: CumulativeResultSource;
98
- /** An `optional` step that failed: whatever it left behind, and a heading that says so. */
99
- partial?: boolean;
100
- facts: CumulativeResultFact[];
101
- /** The files the facts were read from — what a later rewrite is matched against. */
102
- files: string[];
103
- /** A model's summary, rendered and capped. NOT verified, and always labelled so. */
104
- summary?: string;
105
- full: string;
106
- compact: string;
107
- /** Consumers that always get the full entry, by step name, or every later step. */
108
- fullFor?: string[] | typeof RESULTS_EVERY_STEP;
109
- /** Consumers that never see the entry in their prompt. */
110
- omitFor?: string[];
111
- /** How many edges back the entry is still rendered in full by default. */
112
- window?: number;
113
- updatedAt: string;
114
- }
115
- /**
116
- * The optional model-written summary of a step. OFF unless a step declares one.
117
- *
118
- * Facts are the product; a summary is for what code cannot extract — an intent, a decision taken.
119
- * It is bounded by `maxChars` in code after the model answers, rendered deterministically from the
120
- * schema-shaped answer, and always labelled as unverified wherever it is shown.
121
- */
122
- export interface ResultSummarySpec {
123
- /** Which model — interpreted by the caller's summarize callback (a model role, typically). */
124
- role?: string;
125
- instructions: string;
126
- /** JSON schema of the answer. Absent means `{ summary: string }`. */
127
- schema?: Record<string, unknown>;
128
- /** Defaults to `DEFAULT_RESULT_SUMMARY_CHARS`. */
129
- maxChars?: number;
130
- }
131
- /**
132
- * What one step contributes, and to whom. JSON-safe, so a declaration can live in data.
133
- *
134
- * Extractors are named, never inlined: a declaration names what runs, and the runtime holds the
135
- * code. A consumer not named in `full` or `omit` gets the full entry within `window` edges and the
136
- * names only beyond it.
137
- */
138
- export interface StepResultsSpec {
139
- /** Named deterministic extractors, run in this order. */
140
- extractors?: string[];
141
- /** Later steps that get the FULL entry wherever they sit, or `'*'` for all of them. */
142
- full?: string[] | typeof RESULTS_EVERY_STEP;
143
- /** Later steps that are never shown the entry. */
144
- omit?: string[];
145
- /** Overrides {@link CumulativeResultsSpec.window} for this entry. */
146
- window?: number;
147
- /** Cap on the full rendering; facts are dropped whole, never cut. */
148
- maxChars?: number;
149
- /** Cap on the names-only rendering. */
150
- maxCompactChars?: number;
151
- /** Re-extract this entry when a later step rewrites one of its files. Defaults to the spec's. */
152
- refresh?: boolean;
153
- summary?: ResultSummarySpec;
154
- }
155
- /** The pipeline-level declaration — merged from a pipeline's own and any overlay with {@link mergeResultsSpecs}. */
156
- export interface CumulativeResultsSpec {
157
- /** Per step, by step name. A step with no entry contributes only what it records itself. */
158
- steps?: Record<string, StepResultsSpec>;
159
- /** Default {@link DEFAULT_RESULTS_WINDOW}. */
160
- window?: number;
161
- /** Total characters of one view. Default `DEFAULT_RESULTS_MAX_CHARS`. */
162
- maxChars?: number;
163
- /** Default cap of one full entry. Default {@link DEFAULT_RESULT_ENTRY_CHARS}. */
164
- maxEntryChars?: number;
165
- /** Default cap of one names-only entry. Default {@link DEFAULT_RESULT_COMPACT_CHARS}. */
166
- maxCompactChars?: number;
167
- /** Default for {@link StepResultsSpec.refresh}. Defaults to `true`. */
168
- refresh?: boolean;
169
- }
170
- /** What a facts query may narrow by. Every field is an exact match. */
171
- export interface ResultFactQuery {
172
- kind?: string;
173
- name?: string;
174
- /** A producing step, by its name or by its label. */
175
- step?: string;
176
- }
1
+ import type { CumulativeResultFact, CumulativeResultsSpec, RenderableResultEntry, ResultRenderCaps } from './types.js';
177
2
  /**
178
3
  * The identity of a fact inside a ledger: what it is, what it is called and where it comes from.
179
4
  * Two facts with one key are one fact, owned by whichever entry produced it first.
@@ -186,14 +11,6 @@ export declare const factKey: (fact: CumulativeResultFact) => string;
186
11
  export declare const sortFacts: (facts: readonly CumulativeResultFact[]) => CumulativeResultFact[];
187
12
  /** One fact as one prompt line: kind and name, shape, scalars, pointer, and where it comes from. */
188
13
  export declare const renderResultFact: (fact: CumulativeResultFact) => string;
189
- /** What {@link renderResultEntry} needs of an entry. */
190
- export type RenderableResultEntry = Pick<CumulativeResultEntry, 'label' | 'source' | 'partial' | 'facts' | 'summary'>;
191
- export interface ResultRenderCaps {
192
- /** Cap on the full rendering. Default {@link DEFAULT_RESULT_ENTRY_CHARS}. */
193
- maxChars?: number;
194
- /** Cap on the names-only rendering. Default {@link DEFAULT_RESULT_COMPACT_CHARS}. */
195
- maxCompactChars?: number;
196
- }
197
14
  /**
198
15
  * An entry's two renderings — in full, and as names only — or two empty strings when it has
199
16
  * nothing to say.
@@ -1 +1 @@
1
- {"version":3,"file":"results.d.ts","sourceRoot":"","sources":["../src/results.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAEL,kBAAkB,EACnB,MAAM,aAAa,CAAA;AAGpB;;;;;;;;;;;;GAYG;AAEH,6CAA6C;AAC7C,oBAAY,sBAAsB;IAChC,2EAA2E;IAC3E,SAAS,cAAc;IACvB;;;OAGG;IACH,OAAO,YAAY;IACnB,8EAA8E;IAC9E,MAAM,WAAW;IACjB,0EAA0E;IAC1E,UAAU,eAAe;CAC1B;AAED,4DAA4D;AAC5D,oBAAY,cAAc;IACxB,IAAI,SAAS;IACb,mCAAmC;IACnC,OAAO,YAAY;IACnB,uEAAuE;IACvE,OAAO,YAAY;CACpB;AAED;;;GAGG;AACH,oBAAY,kBAAkB;IAC5B,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,IAAI,SAAS;CACd;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,oBAAoB;IACnC,+DAA+D;IAC/D,IAAI,EAAE,MAAM,CAAA;IACZ,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,0DAA0D;IAC1D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,gFAAgF;IAChF,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC/B;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC3D,oFAAoF;IACpF,MAAM,E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