agentfootprint 9.83.0 → 9.85.0
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/CHANGELOG.md +713 -512
- package/dist/artifacts/present.js +21 -3
- package/dist/artifacts/present.js.map +1 -1
- package/dist/artifacts/wants.js +19 -4
- package/dist/artifacts/wants.js.map +1 -1
- package/dist/core/Agent.js +10 -0
- package/dist/core/Agent.js.map +1 -1
- package/dist/core/agent/AgentBuilder.js.map +1 -1
- package/dist/core/agent/buildToolRegistry.js +137 -0
- package/dist/core/agent/buildToolRegistry.js.map +1 -1
- package/dist/core/agent/evidence/frames.js +15 -6
- package/dist/core/agent/evidence/frames.js.map +1 -1
- package/dist/core/agent/outputEnforcement.js +7 -4
- package/dist/core/agent/outputEnforcement.js.map +1 -1
- package/dist/core/agent/selfCallNotice.js +174 -0
- package/dist/core/agent/selfCallNotice.js.map +1 -0
- package/dist/core/agent/stages/routeTurn.js +28 -3
- package/dist/core/agent/stages/routeTurn.js.map +1 -1
- package/dist/core/agent/stages/toolCalls.js +87 -2
- package/dist/core/agent/stages/toolCalls.js.map +1 -1
- package/dist/core/agent/window/currentRequest.js +11 -13
- package/dist/core/agent/window/currentRequest.js.map +1 -1
- package/dist/core/agent/window/notice.js +9 -9
- package/dist/core/agent/window/notice.js.map +1 -1
- package/dist/core/agent/window/summarize.js +9 -9
- package/dist/core/agent/window/summarize.js.map +1 -1
- package/dist/core/codeRunnerTool.js +25 -6
- package/dist/core/codeRunnerTool.js.map +1 -1
- package/dist/doors/skill-graph.js +2 -1
- package/dist/doors/skill-graph.js.map +1 -1
- package/dist/esm/artifacts/present.js +21 -3
- package/dist/esm/artifacts/present.js.map +1 -1
- package/dist/esm/artifacts/wants.js +19 -4
- package/dist/esm/artifacts/wants.js.map +1 -1
- package/dist/esm/core/Agent.js +10 -0
- package/dist/esm/core/Agent.js.map +1 -1
- package/dist/esm/core/agent/AgentBuilder.d.ts +15 -0
- package/dist/esm/core/agent/AgentBuilder.js.map +1 -1
- package/dist/esm/core/agent/buildToolRegistry.d.ts +137 -0
- package/dist/esm/core/agent/buildToolRegistry.js +137 -0
- package/dist/esm/core/agent/buildToolRegistry.js.map +1 -1
- package/dist/esm/core/agent/evidence/frames.d.ts +9 -4
- package/dist/esm/core/agent/evidence/frames.js +13 -5
- package/dist/esm/core/agent/evidence/frames.js.map +1 -1
- package/dist/esm/core/agent/outputEnforcement.d.ts +1 -2
- package/dist/esm/core/agent/outputEnforcement.js +4 -2
- package/dist/esm/core/agent/outputEnforcement.js.map +1 -1
- package/dist/esm/core/agent/selfCallNotice.d.ts +140 -0
- package/dist/esm/core/agent/selfCallNotice.js +169 -0
- package/dist/esm/core/agent/selfCallNotice.js.map +1 -0
- package/dist/esm/core/agent/stages/routeTurn.js +28 -3
- package/dist/esm/core/agent/stages/routeTurn.js.map +1 -1
- package/dist/esm/core/agent/stages/toolCalls.d.ts +6 -0
- package/dist/esm/core/agent/stages/toolCalls.js +87 -2
- package/dist/esm/core/agent/stages/toolCalls.js.map +1 -1
- package/dist/esm/core/agent/window/currentRequest.d.ts +9 -3
- package/dist/esm/core/agent/window/currentRequest.js +11 -13
- package/dist/esm/core/agent/window/currentRequest.js.map +1 -1
- package/dist/esm/core/agent/window/notice.d.ts +1 -4
- package/dist/esm/core/agent/window/notice.js +5 -6
- package/dist/esm/core/agent/window/notice.js.map +1 -1
- package/dist/esm/core/agent/window/summarize.d.ts +1 -4
- package/dist/esm/core/agent/window/summarize.js +5 -6
- package/dist/esm/core/agent/window/summarize.js.map +1 -1
- package/dist/esm/core/codeRunnerTool.js +25 -6
- package/dist/esm/core/codeRunnerTool.js.map +1 -1
- package/dist/esm/doors/skill-graph.d.ts +1 -1
- package/dist/esm/doors/skill-graph.js +1 -1
- package/dist/esm/doors/skill-graph.js.map +1 -1
- package/dist/esm/events/payloads.d.ts +15 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +8 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lib/injection-engine/index.d.ts +1 -0
- package/dist/esm/lib/injection-engine/index.js +6 -0
- package/dist/esm/lib/injection-engine/index.js.map +1 -1
- package/dist/esm/lib/injection-engine/skillToolDescriptors.d.ts +29 -0
- package/dist/esm/lib/injection-engine/skillToolDescriptors.js +138 -8
- package/dist/esm/lib/injection-engine/skillToolDescriptors.js.map +1 -1
- package/dist/esm/lib/injection-engine/types.d.ts +54 -0
- package/dist/esm/lib/injection-engine/types.js +28 -0
- package/dist/esm/lib/injection-engine/types.js.map +1 -1
- package/dist/esm/lib/saidByPerson.d.ts +99 -0
- package/dist/esm/lib/saidByPerson.js +104 -0
- package/dist/esm/lib/saidByPerson.js.map +1 -0
- package/dist/esm/maps/engagement/parkCard.js +7 -1
- package/dist/esm/maps/engagement/parkCard.js.map +1 -1
- package/dist/index.js +14 -3
- package/dist/index.js.map +1 -1
- package/dist/lib/injection-engine/index.js +9 -2
- package/dist/lib/injection-engine/index.js.map +1 -1
- package/dist/lib/injection-engine/skillToolDescriptors.js +140 -9
- package/dist/lib/injection-engine/skillToolDescriptors.js.map +1 -1
- package/dist/lib/injection-engine/types.js +30 -1
- package/dist/lib/injection-engine/types.js.map +1 -1
- package/dist/lib/saidByPerson.js +111 -0
- package/dist/lib/saidByPerson.js.map +1 -0
- package/dist/maps/engagement/parkCard.js +7 -1
- package/dist/maps/engagement/parkCard.js.map +1 -1
- package/dist/types/artifacts/present.d.ts.map +1 -1
- package/dist/types/artifacts/wants.d.ts.map +1 -1
- package/dist/types/core/Agent.d.ts.map +1 -1
- package/dist/types/core/agent/AgentBuilder.d.ts +15 -0
- package/dist/types/core/agent/AgentBuilder.d.ts.map +1 -1
- package/dist/types/core/agent/buildToolRegistry.d.ts +137 -0
- package/dist/types/core/agent/buildToolRegistry.d.ts.map +1 -1
- package/dist/types/core/agent/evidence/frames.d.ts +9 -4
- package/dist/types/core/agent/evidence/frames.d.ts.map +1 -1
- package/dist/types/core/agent/outputEnforcement.d.ts +1 -2
- package/dist/types/core/agent/outputEnforcement.d.ts.map +1 -1
- package/dist/types/core/agent/selfCallNotice.d.ts +141 -0
- package/dist/types/core/agent/selfCallNotice.d.ts.map +1 -0
- package/dist/types/core/agent/stages/routeTurn.d.ts.map +1 -1
- package/dist/types/core/agent/stages/toolCalls.d.ts +6 -0
- package/dist/types/core/agent/stages/toolCalls.d.ts.map +1 -1
- package/dist/types/core/agent/window/currentRequest.d.ts +9 -3
- package/dist/types/core/agent/window/currentRequest.d.ts.map +1 -1
- package/dist/types/core/agent/window/notice.d.ts +1 -4
- package/dist/types/core/agent/window/notice.d.ts.map +1 -1
- package/dist/types/core/agent/window/summarize.d.ts +1 -4
- package/dist/types/core/agent/window/summarize.d.ts.map +1 -1
- package/dist/types/doors/skill-graph.d.ts +1 -1
- package/dist/types/doors/skill-graph.d.ts.map +1 -1
- package/dist/types/events/payloads.d.ts +15 -0
- package/dist/types/events/payloads.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/injection-engine/index.d.ts +1 -0
- package/dist/types/lib/injection-engine/index.d.ts.map +1 -1
- package/dist/types/lib/injection-engine/skillToolDescriptors.d.ts +29 -0
- package/dist/types/lib/injection-engine/skillToolDescriptors.d.ts.map +1 -1
- package/dist/types/lib/injection-engine/types.d.ts +54 -0
- package/dist/types/lib/injection-engine/types.d.ts.map +1 -1
- package/dist/types/lib/saidByPerson.d.ts +100 -0
- package/dist/types/lib/saidByPerson.d.ts.map +1 -0
- package/dist/types/maps/engagement/parkCard.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -134,11 +134,40 @@ export interface InjectionContext {
|
|
|
134
134
|
/**
|
|
135
135
|
* Conversation history up to (but not including) the current
|
|
136
136
|
* iteration's LLM call. Includes prior iterations within the same turn.
|
|
137
|
+
*
|
|
138
|
+
* **Not everything with `role: 'user'` here was said by a person.** This
|
|
139
|
+
* library writes five kinds of user-role message itself — a compaction
|
|
140
|
+
* frame, a drop notice (whose text NAMES TOOLS), a schema-check correction,
|
|
141
|
+
* an evidence-check correction (which QUOTES the model's own values), and a
|
|
142
|
+
* message an Injection delivered — and all five sit in this list beside the
|
|
143
|
+
* real ones. Read the person's messages with {@link saidByPerson}; a
|
|
144
|
+
* predicate that scans raw `history` for a phrase will sooner or later match
|
|
145
|
+
* our own bookkeeping.
|
|
137
146
|
*/
|
|
138
147
|
readonly history: ReadonlyArray<{
|
|
139
148
|
readonly role: ContextRole;
|
|
140
149
|
readonly content: string;
|
|
141
150
|
readonly toolName?: string;
|
|
151
|
+
/**
|
|
152
|
+
* WHO let this message in, when it was not the conversation (9.84.0).
|
|
153
|
+
*
|
|
154
|
+
* Present exactly when an Injection's `messages` slot delivered it — the
|
|
155
|
+
* same marker `LLMMessage.injectedBy` carries, narrowed to the two fields
|
|
156
|
+
* a routing decision has any business reading. It was on the object all
|
|
157
|
+
* along; until 9.84.0 this type hid it, so a rule could hand-match the
|
|
158
|
+
* four authored frames by their opening text and still not see this, the
|
|
159
|
+
* fifth library-written class.
|
|
160
|
+
*
|
|
161
|
+
* Absent on every message that came from the conversation itself, which
|
|
162
|
+
* is what makes `injectedBy === undefined` half of the rule
|
|
163
|
+
* {@link saidByPerson} applies.
|
|
164
|
+
*/
|
|
165
|
+
readonly injectedBy?: {
|
|
166
|
+
/** The `Injection.id` that produced this message. */
|
|
167
|
+
readonly injectionId: string;
|
|
168
|
+
/** The injection's flavor — the `source` the slot records. */
|
|
169
|
+
readonly flavor: ContextSource;
|
|
170
|
+
};
|
|
142
171
|
}>;
|
|
143
172
|
/**
|
|
144
173
|
* The most recent tool result, if the previous iteration ended in a
|
|
@@ -316,6 +345,31 @@ export declare function toolResultsOf(ctx: InjectionContext): ReadonlyArray<{
|
|
|
316
345
|
readonly toolCallId?: string;
|
|
317
346
|
readonly status?: ToolResultStatus;
|
|
318
347
|
}>;
|
|
348
|
+
/**
|
|
349
|
+
* The messages in `ctx.history` a PERSON actually wrote, in order (9.84.0).
|
|
350
|
+
* THE one reader for a predicate that judges what was said.
|
|
351
|
+
*
|
|
352
|
+
* Five kinds of `role: 'user'` message in that list came from this library,
|
|
353
|
+
* not from anybody: a compaction frame, a drop notice, the two in-loop
|
|
354
|
+
* corrections, and a message an Injection delivered. They are ours, they are
|
|
355
|
+
* in the person's voice, one of them names tools and two quote text the model
|
|
356
|
+
* or a validator produced — so a rule written as
|
|
357
|
+
*
|
|
358
|
+
* ```ts
|
|
359
|
+
* activeWhen: (ctx) => ctx.history.some((m) => m.content.includes('refund'))
|
|
360
|
+
* ```
|
|
361
|
+
*
|
|
362
|
+
* fires on a summary of a refund conversation and on a notice saying the
|
|
363
|
+
* refund tool's result was dropped. Written as
|
|
364
|
+
* `saidByPerson(ctx).some(...)`, it fires only when somebody said it.
|
|
365
|
+
*
|
|
366
|
+
* The test itself is `isSaidByPerson` in `lib/saidByPerson.ts` — the same
|
|
367
|
+
* function the window's refusal engine uses to decide which message it may
|
|
368
|
+
* never drop, imported rather than restated so the two answers cannot differ.
|
|
369
|
+
*
|
|
370
|
+
* @param ctx the iteration context a trigger or entry rule was handed
|
|
371
|
+
*/
|
|
372
|
+
export declare function saidByPerson(ctx: InjectionContext): InjectionContext['history'];
|
|
319
373
|
/**
|
|
320
374
|
* THE primitive. Five fields. Four trigger kinds. Three slot targets.
|
|
321
375
|
*
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
* iteration. Slot subflows emit `agentfootprint.context.injected`
|
|
17
17
|
* for each InjectionRecord they place.
|
|
18
18
|
*/
|
|
19
|
+
import { isSaidByPerson } from '../saidByPerson.js';
|
|
19
20
|
import { renderTemplate } from './promptTemplate.js';
|
|
20
21
|
/**
|
|
21
22
|
* The iteration's tool-result batch, in call order — with the singular
|
|
@@ -29,6 +30,33 @@ import { renderTemplate } from './promptTemplate.js';
|
|
|
29
30
|
export function toolResultsOf(ctx) {
|
|
30
31
|
return ctx.toolResults ?? (ctx.lastToolResult ? [ctx.lastToolResult] : []);
|
|
31
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* The messages in `ctx.history` a PERSON actually wrote, in order (9.84.0).
|
|
35
|
+
* THE one reader for a predicate that judges what was said.
|
|
36
|
+
*
|
|
37
|
+
* Five kinds of `role: 'user'` message in that list came from this library,
|
|
38
|
+
* not from anybody: a compaction frame, a drop notice, the two in-loop
|
|
39
|
+
* corrections, and a message an Injection delivered. They are ours, they are
|
|
40
|
+
* in the person's voice, one of them names tools and two quote text the model
|
|
41
|
+
* or a validator produced — so a rule written as
|
|
42
|
+
*
|
|
43
|
+
* ```ts
|
|
44
|
+
* activeWhen: (ctx) => ctx.history.some((m) => m.content.includes('refund'))
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* fires on a summary of a refund conversation and on a notice saying the
|
|
48
|
+
* refund tool's result was dropped. Written as
|
|
49
|
+
* `saidByPerson(ctx).some(...)`, it fires only when somebody said it.
|
|
50
|
+
*
|
|
51
|
+
* The test itself is `isSaidByPerson` in `lib/saidByPerson.ts` — the same
|
|
52
|
+
* function the window's refusal engine uses to decide which message it may
|
|
53
|
+
* never drop, imported rather than restated so the two answers cannot differ.
|
|
54
|
+
*
|
|
55
|
+
* @param ctx the iteration context a trigger or entry rule was handed
|
|
56
|
+
*/
|
|
57
|
+
export function saidByPerson(ctx) {
|
|
58
|
+
return ctx.history.filter(isSaidByPerson);
|
|
59
|
+
}
|
|
32
60
|
/**
|
|
33
61
|
* Project a full Injection (with functions) into a scope-safe POJO.
|
|
34
62
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/lib/injection-engine/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAKH,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/lib/injection-engine/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;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,WAAW,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,WAA6C,EAAE,CAAC;QAC7F,GAAG,CAAC,IAAI,EAAE,YAAY,IAAI;YACxB,YAAY,EAAE,IAAI,CAAC,YAA+C;SACnE,CAAC;QACF,0EAA0E;QAC1E,2EAA2E;QAC3E,yEAAyE;QACzE,GAAG,CAAC,IAAI,EAAE,KAAK,KAAK,SAAS,IAAI;YAC/B,KAAK,EAAE,IAAI,CAAC,KAAiC;SAC9C,CAAC;QACF,MAAM,EAAE;YACN,GAAG,CAAC,YAAY,KAAK,SAAS,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,IAAI,EAAE,YAAY,EAAE,CAAC;YAC9E,GAAG,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,IAAI,EAAE,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;YACpF,GAAG,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI;gBACtB,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;oBAClC,MAAM,EAAE,EAAE,GAAG,CAAC,CAAC,MAAM,EAAE;oBACvB,WAAW,EAAE,GAAG,CAAC,EAAE;iBACpB,CAAC,CAAC;aACJ,CAAC;SACH;KACF,CAAC;IACF,OAAO,GAAG,CAAC;AACb,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* saidByPerson — which `role: 'user'` message a PERSON wrote, and which ones
|
|
3
|
+
* this library wrote in a person's voice.
|
|
4
|
+
*
|
|
5
|
+
* Pattern: One predicate over one message, over a registry of frames. No
|
|
6
|
+
* imports, no state, no clock.
|
|
7
|
+
* Role: Leaf. Several layers ask the same question and must not answer it
|
|
8
|
+
* differently: the window's refusal engine (`currentRequest.ts`,
|
|
9
|
+
* which will not let a strategy drop the request), the four authors
|
|
10
|
+
* of library-written user turns (`window/notice.ts`,
|
|
11
|
+
* `window/summarize.ts`, `outputEnforcement.ts`, `evidence/gate.ts`
|
|
12
|
+
* — they own the sentences and take the markers from here), and —
|
|
13
|
+
* since 9.84.0 — a rule author reading `InjectionContext.history`
|
|
14
|
+
* (`saidByPerson(ctx)`).
|
|
15
|
+
* Emits: N/A.
|
|
16
|
+
*
|
|
17
|
+
* ## Why this is a leaf and not a private helper
|
|
18
|
+
*
|
|
19
|
+
* This library writes FIVE kinds of `role: 'user'` message that nobody said:
|
|
20
|
+
* a compaction frame, a drop notice, a schema-check correction, an
|
|
21
|
+
* evidence-check correction, and a message an Injection delivered. The window
|
|
22
|
+
* layer knew two of them and the marker; the evidence layer knew the other two
|
|
23
|
+
* (`evidence/frames.ts`); neither list was reachable from the routing layer at
|
|
24
|
+
* all — the skill-graph fence forbids it from importing the agent loop, and
|
|
25
|
+
* rightly. So a predicate reading `history` could filter some of the classes
|
|
26
|
+
* and not the rest, and would match on our own bookkeeping text.
|
|
27
|
+
*
|
|
28
|
+
* A drop notice NAMES TOOLS ("Tool results are among them (lookup_order) …").
|
|
29
|
+
* A rule watching history for a tool name therefore fired on the notice about
|
|
30
|
+
* that tool's result leaving the window — pinning a skill on exactly the long
|
|
31
|
+
* sessions where the notice appears, which is the opposite of what the author
|
|
32
|
+
* wrote. That is a fixable bug in one place only: the rule has to be one
|
|
33
|
+
* implementation both sides import, not two that agree until they do not.
|
|
34
|
+
*
|
|
35
|
+
* The markers move here with it, as a LIST rather than four constants in four
|
|
36
|
+
* files. A prefix is what the recognizer matches AND what the writer emits;
|
|
37
|
+
* separating those is how a prefix silently stops being recognized, and a
|
|
38
|
+
* sixth authored frame that lands anywhere else is a hole nobody will see
|
|
39
|
+
* until a rule fires on it. Adding one means adding it to
|
|
40
|
+
* {@link LIBRARY_AUTHORED_PREFIXES}, and every reader is fixed at once.
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* The fields authorship is decided from — structural, so both
|
|
44
|
+
* `LLMMessage` (the wire shape) and `InjectionContext.history[n]` (the
|
|
45
|
+
* read-only view a predicate gets) satisfy it unchanged.
|
|
46
|
+
*
|
|
47
|
+
* `injectedBy` is `unknown` here on purpose: this file only ever asks whether
|
|
48
|
+
* the marker is PRESENT, and typing its interior would make a leaf that must
|
|
49
|
+
* import nothing into a mirror that can drift.
|
|
50
|
+
*/
|
|
51
|
+
export interface AuthoredMessage {
|
|
52
|
+
readonly role: string;
|
|
53
|
+
readonly content: string;
|
|
54
|
+
readonly injectedBy?: unknown;
|
|
55
|
+
}
|
|
56
|
+
/** Opening of the authored notice a DROP leaves behind. Stable — tests and
|
|
57
|
+
* readers match on it. Written by `buildDropNotice`. */
|
|
58
|
+
export declare const DROP_NOTICE_PREFIX = "[dropped history";
|
|
59
|
+
/** Opening of the authored label a FOLD leaves behind. Stable — tests and
|
|
60
|
+
* readers match on it. Written by `buildSummaryMessage`. */
|
|
61
|
+
export declare const COMPACTED_FRAME_PREFIX = "[compacted history";
|
|
62
|
+
/** Opening of the authored frame a failed output validation writes. Stable —
|
|
63
|
+
* tests and readers match on it. Written by `buildCorrectiveTurn`. */
|
|
64
|
+
export declare const SCHEMA_CHECK_FRAME_PREFIX = "[schema check";
|
|
65
|
+
/** Opening of the authored frame the evidence gate writes. Stable — tests,
|
|
66
|
+
* docs and readers match on it. Written by `buildEvidenceCorrection`. */
|
|
67
|
+
export declare const EVIDENCE_CHECK_FRAME_PREFIX = "[evidence check";
|
|
68
|
+
/**
|
|
69
|
+
* Every opening this library puts on a `role: 'user'` message it wrote itself.
|
|
70
|
+
*
|
|
71
|
+
* The registry, not a convenience: this is the list a reader has to have ALL
|
|
72
|
+
* of to answer "did a person say this?", and until 9.84.0 no reader had it —
|
|
73
|
+
* the window held two entries, the evidence gate held the other two, and the
|
|
74
|
+
* routing layer could reach neither. A new authored frame belongs here on the
|
|
75
|
+
* day it is written.
|
|
76
|
+
*
|
|
77
|
+
* The two correction frames both QUOTE untrusted text after their label (a
|
|
78
|
+
* validator's error, the model's own flagged values), which is exactly why
|
|
79
|
+
* they are matched by PREFIX and never by anything further in.
|
|
80
|
+
*/
|
|
81
|
+
export declare const LIBRARY_AUTHORED_PREFIXES: readonly string[];
|
|
82
|
+
/** True when this user-role message opens with a frame this library authored. */
|
|
83
|
+
export declare function isLibraryAuthoredFrame(msg: AuthoredMessage | undefined): boolean;
|
|
84
|
+
/** True when this message is a notice a previous drop wrote. */
|
|
85
|
+
export declare function isDropNotice(msg: AuthoredMessage | undefined): boolean;
|
|
86
|
+
/** True when this message is a frame a previous fold wrote. */
|
|
87
|
+
export declare function isCompactedSummary(msg: AuthoredMessage | undefined): boolean;
|
|
88
|
+
/**
|
|
89
|
+
* THE rule: true when this message is something a PERSON said.
|
|
90
|
+
*
|
|
91
|
+
* Deliberately narrow, and narrow in one direction: a message we are not sure
|
|
92
|
+
* about is not credited to a person. The exclusions are the ways this library
|
|
93
|
+
* authors a user turn — a delivery marker its own stage stamps, and the frames
|
|
94
|
+
* in {@link LIBRARY_AUTHORED_PREFIXES} — never a guess at prose.
|
|
95
|
+
*
|
|
96
|
+
* A message from a restored conversation, a hand-built window, or a person
|
|
97
|
+
* typing passes every exclusion and is theirs.
|
|
98
|
+
*/
|
|
99
|
+
export declare function isSaidByPerson(msg: AuthoredMessage | undefined): boolean;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* saidByPerson — which `role: 'user'` message a PERSON wrote, and which ones
|
|
3
|
+
* this library wrote in a person's voice.
|
|
4
|
+
*
|
|
5
|
+
* Pattern: One predicate over one message, over a registry of frames. No
|
|
6
|
+
* imports, no state, no clock.
|
|
7
|
+
* Role: Leaf. Several layers ask the same question and must not answer it
|
|
8
|
+
* differently: the window's refusal engine (`currentRequest.ts`,
|
|
9
|
+
* which will not let a strategy drop the request), the four authors
|
|
10
|
+
* of library-written user turns (`window/notice.ts`,
|
|
11
|
+
* `window/summarize.ts`, `outputEnforcement.ts`, `evidence/gate.ts`
|
|
12
|
+
* — they own the sentences and take the markers from here), and —
|
|
13
|
+
* since 9.84.0 — a rule author reading `InjectionContext.history`
|
|
14
|
+
* (`saidByPerson(ctx)`).
|
|
15
|
+
* Emits: N/A.
|
|
16
|
+
*
|
|
17
|
+
* ## Why this is a leaf and not a private helper
|
|
18
|
+
*
|
|
19
|
+
* This library writes FIVE kinds of `role: 'user'` message that nobody said:
|
|
20
|
+
* a compaction frame, a drop notice, a schema-check correction, an
|
|
21
|
+
* evidence-check correction, and a message an Injection delivered. The window
|
|
22
|
+
* layer knew two of them and the marker; the evidence layer knew the other two
|
|
23
|
+
* (`evidence/frames.ts`); neither list was reachable from the routing layer at
|
|
24
|
+
* all — the skill-graph fence forbids it from importing the agent loop, and
|
|
25
|
+
* rightly. So a predicate reading `history` could filter some of the classes
|
|
26
|
+
* and not the rest, and would match on our own bookkeeping text.
|
|
27
|
+
*
|
|
28
|
+
* A drop notice NAMES TOOLS ("Tool results are among them (lookup_order) …").
|
|
29
|
+
* A rule watching history for a tool name therefore fired on the notice about
|
|
30
|
+
* that tool's result leaving the window — pinning a skill on exactly the long
|
|
31
|
+
* sessions where the notice appears, which is the opposite of what the author
|
|
32
|
+
* wrote. That is a fixable bug in one place only: the rule has to be one
|
|
33
|
+
* implementation both sides import, not two that agree until they do not.
|
|
34
|
+
*
|
|
35
|
+
* The markers move here with it, as a LIST rather than four constants in four
|
|
36
|
+
* files. A prefix is what the recognizer matches AND what the writer emits;
|
|
37
|
+
* separating those is how a prefix silently stops being recognized, and a
|
|
38
|
+
* sixth authored frame that lands anywhere else is a hole nobody will see
|
|
39
|
+
* until a rule fires on it. Adding one means adding it to
|
|
40
|
+
* {@link LIBRARY_AUTHORED_PREFIXES}, and every reader is fixed at once.
|
|
41
|
+
*/
|
|
42
|
+
/** Opening of the authored notice a DROP leaves behind. Stable — tests and
|
|
43
|
+
* readers match on it. Written by `buildDropNotice`. */
|
|
44
|
+
export const DROP_NOTICE_PREFIX = '[dropped history';
|
|
45
|
+
/** Opening of the authored label a FOLD leaves behind. Stable — tests and
|
|
46
|
+
* readers match on it. Written by `buildSummaryMessage`. */
|
|
47
|
+
export const COMPACTED_FRAME_PREFIX = '[compacted history';
|
|
48
|
+
/** Opening of the authored frame a failed output validation writes. Stable —
|
|
49
|
+
* tests and readers match on it. Written by `buildCorrectiveTurn`. */
|
|
50
|
+
export const SCHEMA_CHECK_FRAME_PREFIX = '[schema check';
|
|
51
|
+
/** Opening of the authored frame the evidence gate writes. Stable — tests,
|
|
52
|
+
* docs and readers match on it. Written by `buildEvidenceCorrection`. */
|
|
53
|
+
export const EVIDENCE_CHECK_FRAME_PREFIX = '[evidence check';
|
|
54
|
+
/**
|
|
55
|
+
* Every opening this library puts on a `role: 'user'` message it wrote itself.
|
|
56
|
+
*
|
|
57
|
+
* The registry, not a convenience: this is the list a reader has to have ALL
|
|
58
|
+
* of to answer "did a person say this?", and until 9.84.0 no reader had it —
|
|
59
|
+
* the window held two entries, the evidence gate held the other two, and the
|
|
60
|
+
* routing layer could reach neither. A new authored frame belongs here on the
|
|
61
|
+
* day it is written.
|
|
62
|
+
*
|
|
63
|
+
* The two correction frames both QUOTE untrusted text after their label (a
|
|
64
|
+
* validator's error, the model's own flagged values), which is exactly why
|
|
65
|
+
* they are matched by PREFIX and never by anything further in.
|
|
66
|
+
*/
|
|
67
|
+
export const LIBRARY_AUTHORED_PREFIXES = [
|
|
68
|
+
DROP_NOTICE_PREFIX,
|
|
69
|
+
COMPACTED_FRAME_PREFIX,
|
|
70
|
+
SCHEMA_CHECK_FRAME_PREFIX,
|
|
71
|
+
EVIDENCE_CHECK_FRAME_PREFIX,
|
|
72
|
+
];
|
|
73
|
+
/** True when this user-role message opens with a frame this library authored. */
|
|
74
|
+
export function isLibraryAuthoredFrame(msg) {
|
|
75
|
+
return (msg !== undefined &&
|
|
76
|
+
msg.role === 'user' &&
|
|
77
|
+
LIBRARY_AUTHORED_PREFIXES.some((prefix) => msg.content.startsWith(prefix)));
|
|
78
|
+
}
|
|
79
|
+
/** True when this message is a notice a previous drop wrote. */
|
|
80
|
+
export function isDropNotice(msg) {
|
|
81
|
+
return msg !== undefined && msg.role === 'user' && msg.content.startsWith(DROP_NOTICE_PREFIX);
|
|
82
|
+
}
|
|
83
|
+
/** True when this message is a frame a previous fold wrote. */
|
|
84
|
+
export function isCompactedSummary(msg) {
|
|
85
|
+
return msg !== undefined && msg.role === 'user' && msg.content.startsWith(COMPACTED_FRAME_PREFIX);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* THE rule: true when this message is something a PERSON said.
|
|
89
|
+
*
|
|
90
|
+
* Deliberately narrow, and narrow in one direction: a message we are not sure
|
|
91
|
+
* about is not credited to a person. The exclusions are the ways this library
|
|
92
|
+
* authors a user turn — a delivery marker its own stage stamps, and the frames
|
|
93
|
+
* in {@link LIBRARY_AUTHORED_PREFIXES} — never a guess at prose.
|
|
94
|
+
*
|
|
95
|
+
* A message from a restored conversation, a hand-built window, or a person
|
|
96
|
+
* typing passes every exclusion and is theirs.
|
|
97
|
+
*/
|
|
98
|
+
export function isSaidByPerson(msg) {
|
|
99
|
+
return (msg !== undefined &&
|
|
100
|
+
msg.role === 'user' &&
|
|
101
|
+
msg.injectedBy === undefined &&
|
|
102
|
+
!isLibraryAuthoredFrame(msg));
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=saidByPerson.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saidByPerson.js","sourceRoot":"","sources":["../../../src/lib/saidByPerson.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAiBH;yDACyD;AACzD,MAAM,CAAC,MAAM,kBAAkB,GAAG,kBAAkB,CAAC;AAErD;6DAC6D;AAC7D,MAAM,CAAC,MAAM,sBAAsB,GAAG,oBAAoB,CAAC;AA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');
|
|
70
70
|
lines.push(` - ${map.id} — cursor: ${cursor} (unchanged) · engagement: PARKED · ` +
|
|
71
71
|
`reason: ${reasonOf(record)} · re-engage: available`);
|
|
72
|
-
|
|
72
|
+
// SAYS WHAT PARKING DOES, NOT WHAT THIS WIRE HOLDS. "…are not being sent
|
|
73
|
+
// right now" was a claim about a request that did not exist yet: this card
|
|
74
|
+
// is composed in the injection-engine pass, and the tools slot that acts on
|
|
75
|
+
// the park (`parkedToolNames`) runs after it. The card cannot see the wire
|
|
76
|
+
// it is describing, so it describes the STATE it is reporting instead —
|
|
77
|
+
// which is the same lesson for the model and is true whenever it is read.
|
|
78
|
+
lines.push(` Parking stops its instructions and its tools from being sent. To bring them ` +
|
|
73
79
|
`back, call read_skill for any of: ${members}. That is allowed even for the ` +
|
|
74
80
|
`skill the cursor is already on — it changes ENGAGEMENT (whether this map is ` +
|
|
75
81
|
`sent to you), not POSITION (where the cursor is). If this map is not what ` +
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parkCard.js","sourceRoot":"","sources":["../../../../src/maps/engagement/parkCard.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAIH,gFAAgF;AAChF,MAAM,MAAM,GAAG,6EAA6E,CAAC;AAE7F;;;;;;GAMG;AACH,SAAS,QAAQ,CAAC,MAA2B;IAC3C,OAAO,MAAM,CAAC,EAAE,KAAK,SAAS;QAC5B,CAAC,CAAC,gDAAgD;QAClD,CAAC,CAAC,2DAA2D,CAAC;AAClE,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CACtB,IAAoB,EACpB,UAAqC;IAErC,IAAI,UAAU,KAAK,SAAS,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,SAAS,CAAC;IAC1E,MAAM,IAAI,GAAG,IAAI,GAAG,CAAqB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAA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 var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
22
22
|
};
|
|
23
23
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
24
|
exports.buildAgentMessageApiChart = exports.LLMCallBuilder = exports.LLMCall = exports.selectCommentaryKey = exports.renderCommentary = exports.extractCommentaryVars = exports.extractAgentName = exports.defaultCommentaryTemplates = exports.CheckInRecorder = exports.minimalEvidenceAssembler = exports.standardEvidenceAssembler = exports.lexicalDriverScorer = exports.isCheckInDecision = exports.checkInDeclined = exports.checkInApproved = exports.ACT_KEYS = exports.actKeyFor = exports.LOOP_MOMENTS = exports.MessageDeniedError = exports.deny = exports.ask = exports.allow = exports.InvalidAskComponentError = exports.assertAskComponent = exports.readAskComponent = exports.PauseAnswerRequiredError = exports.StaleDecisionError = exports.DecisionRequiredError = exports.pauseDemandsDecision = exports.isAskPause = exports.isCheckInPause = exports.isPaused = exports.isPauseRequest = exports.askHuman = exports.pauseHere = exports.makeRunId = exports.RunnerBase = exports.BASELINE_SOURCES = exports.ENGINEERED_SOURCES = exports.isBaselineSource = exports.isEngineeredSource = exports.contextEngineering = exports.COMPOSITION_KEYS = exports.isReservedSubflowSegment = exports.RESERVED_SUBFLOW_PREFIX = exports.milestoneFor = exports.stageRole = exports.isInjectionKey = exports.injectionKeyForSlot = exports.INJECTION_KEYS = void 0;
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.topK = exports.indexDocuments = exports.DEFAULT_CORPUS_IDENTITY = exports.defineRAG = exports.providerFromEnv = exports.Graph = exports.graph = exports.Workflow = exports.workflow = exports.LoopBuilder = exports.Loop = exports.ConditionalBuilder = exports.Conditional = exports.ParallelBuilder = exports.Parallel = exports.SequenceBuilder = exports.Sequence = exports.PRESENT_TOOL_NAME = exports.placedResultKind = exports.isPlacedToolResult = exports.assertToolWants = exports.runArtifactStoreConformance = exports.runArtifactStoreCase = exports.formatArtifactStoreReport = exports.artifactStoreConformance = exports.canStreamArtifacts = exports.canPutArtifactStream = exports.canGetArtifactStream = exports.UnreadableArtifactStoreError = exports.UnreadableArtifactFileError = exports.UnknownParentRefError = exports.unconfiguredArtifacts = exports.sqliteArtifacts = exports.s3Artifacts = exports.mintArtifactRef = exports.isArtifactRef = exports.InvalidArtifactError = exports.inMemoryArtifacts = exports.gcsArtifacts = exports.fileArtifacts = exports.DEFAULT_IN_MEMORY_ARTIFACT_RETENTION = exports.UnserializableRecordingError = exports.chartWalkPutInput = exports.CHART_WALK_ARTIFACT_KIND = exports.recordingPutInput = void 0;
|
|
25
|
+
exports.projectWalk = exports.probeDispatch = exports.PANEL_RENDER_NOTE = exports.DEFAULT_WALK_CAP = exports.DEFAULT_RECORDING_MAX_BYTES = exports.DEFAULT_MAX_ROWS = exports.DECLINED_VERDICT = exports.absenceSignalOf = exports.flowchartAsTool = exports.RunInFlightError = exports.PendingQuestionError = exports.NoConversationError = exports.isContextWindowExceeded = exports.ERR_CONTEXT_WINDOW_EXCEEDED = exports.ContextWindowExceededError = exports.DEFAULT_SESSION_STORAGE_KEY = exports.browserSessionId = exports.RunCheckpointError = exports.ConversationMismatchError = exports.canResume = exports.UnsupportedValuesError = exports.EVIDENCE_CHECK_FRAME_PREFIX = exports.isSchemaCheckMessage = exports.SCHEMA_TOOL_NAME = exports.SCHEMA_CHECK_FRAME_PREFIX = exports.InvalidRunInputError = exports.applyOutputSchema = exports.OutputSchemaError = exports.PRIOR_TURN_EVIDENCE_CEILING = exports.assertResultColumns = exports.COLUMN_TYPES = exports.readRowset = exports.COLUMN_TYPE_CEILING = exports.EMPTY_LOOKUP_CEILING = exports.isTruncatedToolResult = exports.LIBRARY_AUTHORED_PREFIXES = exports.isSaidByPerson = exports.isLibraryAuthoredFrame = exports.tokenBudget = exports.summarizeOldest = exports.slidingWindow = exports.isDropNotice = exports.isCompactedSummary = exports.foldedSpanFor = exports.foldedMessages = exports.DROP_NOTICE_PREFIX = exports.COMPACTED_FRAME_PREFIX = exports.CompactionUnmeasurableError = exports.AgentBuilder = exports.Agent = void 0;
|
|
26
|
+
exports.ArtifactIntegrityError = exports.ARTIFACT_REF_PREFIX = exports.formatToolContractCheckup = exports.toolContractCheckup = exports.TOOL_SESSIONS = exports.toolSessionsOf = exports.codeRunsOf = exports.codeShape = exports.codeRunnerTool = exports.TOOL_TEARDOWN_TIMEOUT_MS = exports.ToolTeardownTimeoutError = exports.hashSessionKey = exports.toolSessionKey = exports.semanticsForModel = exports.SEMANTICS_NOTE = exports.SEMANTICS_MARKER = exports.semantic = exports.RESULT_CLASSES = exports.readSemantics = exports.isCounterLookingAggregation = exports.explainSemantics = exports.COUNTER_AGGREGATION_WORDS = exports.composeNotCovered = exports.readCoverageResult = exports.readCoverageLedger = exports.readAbsence = exports.COVERAGE_NOTE = exports.COVERAGE_MARKER = exports.COVERAGE_BLOCK_HEADING = exports.coverage = exports.absent = exports.ABSENCE_NOTE = exports.ABSENCE_MARKER = exports.TOOL_RESULT_STATUSES = exports.readToolResultEnvelope = exports.explainStatusOnlyNearMiss = exports.warnIfInvalidToolName = exports.assertGates = exports.assertComposedOf = exports.assertResultKind = exports.assertResultClass = exports.assertResultCeiling = exports.assertValidToolName = exports.defineTool = exports.verdictRowsOf = exports.VERDICT_RENDER_NOTE = exports.RunbookAbsenceSignal = exports.runbookAsTool = exports.renderVerdictTable = exports.recordingDispatch = void 0;
|
|
27
|
+
exports.topK = exports.indexDocuments = exports.DEFAULT_CORPUS_IDENTITY = exports.defineRAG = exports.providerFromEnv = exports.Graph = exports.graph = exports.Workflow = exports.workflow = exports.LoopBuilder = exports.Loop = exports.ConditionalBuilder = exports.Conditional = exports.ParallelBuilder = exports.Parallel = exports.SequenceBuilder = exports.Sequence = exports.PRESENT_TOOL_NAME = exports.placedResultKind = exports.isPlacedToolResult = exports.assertToolWants = exports.runArtifactStoreConformance = exports.runArtifactStoreCase = exports.formatArtifactStoreReport = exports.artifactStoreConformance = exports.canStreamArtifacts = exports.canPutArtifactStream = exports.canGetArtifactStream = exports.UnreadableArtifactStoreError = exports.UnreadableArtifactFileError = exports.UnknownParentRefError = exports.unconfiguredArtifacts = exports.sqliteArtifacts = exports.s3Artifacts = exports.mintArtifactRef = exports.isArtifactRef = exports.InvalidArtifactError = exports.inMemoryArtifacts = exports.gcsArtifacts = exports.fileArtifacts = exports.DEFAULT_IN_MEMORY_ARTIFACT_RETENTION = exports.UnserializableRecordingError = exports.chartWalkPutInput = exports.CHART_WALK_ARTIFACT_KIND = exports.recordingPutInput = exports.RECORDING_MEDIA_TYPE = exports.RECORDING_ARTIFACT_KIND = exports.bindArtifacts = void 0;
|
|
28
28
|
// Side-effect imports — auto-register v2.6+ cache strategies in the
|
|
29
29
|
// strategy registry. Without these, only the wildcard NoOp is
|
|
30
30
|
// registered and `Agent.create({ provider: browserAnthropic({...}) })`
|
|
@@ -224,6 +224,17 @@ Object.defineProperty(exports, "isDropNotice", { enumerable: true, get: function
|
|
|
224
224
|
Object.defineProperty(exports, "slidingWindow", { enumerable: true, get: function () { return index_js_2.slidingWindow; } });
|
|
225
225
|
Object.defineProperty(exports, "summarizeOldest", { enumerable: true, get: function () { return index_js_2.summarizeOldest; } });
|
|
226
226
|
Object.defineProperty(exports, "tokenBudget", { enumerable: true, get: function () { return index_js_2.tokenBudget; } });
|
|
227
|
+
// Which `role: 'user'` message a PERSON wrote (9.84.0), and the registry of
|
|
228
|
+
// openings it is decided against. Five messages in a window carry that role
|
|
229
|
+
// without anybody having said them — a compaction frame, a drop notice, the two
|
|
230
|
+
// in-loop corrections, and a message an Injection delivered. This is the one
|
|
231
|
+
// test that tells them apart; the window's refusal engine and
|
|
232
|
+
// `saidByPerson(ctx)` on `agentfootprint/context` both call it, so no reader
|
|
233
|
+
// can hold a different rule.
|
|
234
|
+
var saidByPerson_js_1 = require("./lib/saidByPerson.js");
|
|
235
|
+
Object.defineProperty(exports, "isLibraryAuthoredFrame", { enumerable: true, get: function () { return saidByPerson_js_1.isLibraryAuthoredFrame; } });
|
|
236
|
+
Object.defineProperty(exports, "isSaidByPerson", { enumerable: true, get: function () { return saidByPerson_js_1.isSaidByPerson; } });
|
|
237
|
+
Object.defineProperty(exports, "LIBRARY_AUTHORED_PREFIXES", { enumerable: true, get: function () { return saidByPerson_js_1.LIBRARY_AUTHORED_PREFIXES; } });
|
|
227
238
|
// 9.11.0 — the opt-in tool-result ceiling (`AgentOptions.maxToolResultChars`).
|
|
228
239
|
// The marker is what a consumer reads off `stream.tool_end.result` and off the
|
|
229
240
|
// `role: 'tool'` message, so the shape AND the guard are public; the measuring
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;AAEH,oEAAoE;AACpE,8DAA8D;AAC9D,uEAAuE;AACvE,kEAAkE;AAClE,sEAAsE;AACtE,sDAAsD;AACtD,wDAAsD;AACtD,qDAAmD;AACnD,sDAAoD;AAsCpD,6BAA6B;AAC7B,sDAAoC;AAEpC,yEAAyE;AACzE,uDAAuD;AACvD,mDA0B0B;AAzBxB,gHAAA,cAAc,OAAA;AACd,qHAAA,mBAAmB,OAAA;AACnB,gHAAA,cAAc,OAAA;AAEd,yEAAyE;AACzE,wEAAwE;AACxE,yEAAyE;AACzE,gBAAgB;AAChB,2GAAA,SAAS,OAAA;AAET,2EAA2E;AAC3E,6EAA6E;AAC7E,6EAA6E;AAC7E,6DAA6D;AAC7D,8GAAA,YAAY,OAAA;AAGZ,8EAA8E;AAC9E,6EAA6E;AAC7E,4EAA4E;AAC5E,yEAAyE;AACzE,4EAA4E;AAC5E,uCAAuC;AACvC,yHAAA,uBAAuB,OAAA;AACvB,0HAAA,wBAAwB,OAAA;AAE1B,oEAAoE;AACpE,yEAAyE;AACzE,wEAAwE;AACxE,qEAAqE;AACrE,kDAAkD;AAClD,sDAOmC;AANjC,4GAAA,gBAAgB,OAAA;AAWlB,yCAAyC;AACzC,EAAE;AACF,yEAAyE;AACz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ACtE,8CAA8C;AAE9C,wEAAwE;AACxE,sEAAsE;AACtE,sEAAsE;AACtE,gDAO4B;AAN1B,sGAAA,SAAS,OAAA;AACT,oHAAA,uBAAuB,OAAA;AAEvB,2GAAA,cAAc,OAAA;AAKhB,yEAAyE;AACzE,0EAA0E;AAC1E,qEAAqE;AACrE,iEAAiE;AACjE,yDAOqC;AANnC,iGAAA,IAAI,OAAA;AAQN,qEAAqE;AACrE,wEAAwE;AACxE,uEAAuE;AACvE,oEAAoE;AACpE,yDAAyD;AACzD,wEAAwE;AACxE,gDAAgD;AAChD,wEAAwE;AACxE,gEAAgE;AAEhE,wEAAwE;AACxE,wEAAwE;AACxE,uDAAuD;AAEvD,mEAAmE;AACnE,oEAAoE;AACpE,sDAAsD"}
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* factories. See `README.md` in this folder for the full concept.
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.
|
|
11
|
-
exports.skillToolNames = exports.checkSkillContracts = exports.checkSkillContract = void 0;
|
|
10
|
+
exports.decideTier2 = exports.DEFAULT_ROUTING_POLICY = exports.MENU_SIZE = exports.NEAR_TIE_MARGIN = exports.constrainedEnumPick = exports.llmClassifier = exports.validateIntentScores = exports.rankEntries = exports.embeddingScorer = exports.keywordScorer = exports.SKILL_GRAPH_DEFERRED_CONTRACT_KEY = exports.plainGuardCaption = exports.GUARD_HOP_KEYS = exports.SKILL_GRAPH_METADATA_KEY = exports.formatCheckup = exports.decideSkill = exports.defineSkillMap = exports.skillGraph = exports.defineInjection = exports.defineFact = exports.defineSteering = exports.useSkillGraphDevMode = exports.TOOL_RESULT_STATUSES = exports.readSkillDescriptor = exports.listSkillsDescriptor = exports.buildSkipStepTool = exports.buildReadSkillTool = exports.buildListSkillsTool = exports.runbookFromDir = exports.skillsFromDir = exports.SkillRegistry = exports.vocabularyOf = exports.checkArtifactVocabularies = exports.STEPS_HINT_METADATA_KEY = exports.defineStepsHint = exports.skipStepDescriptor = exports.SKIP_STEP_TOOL_NAME = exports.pointerOf = exports.resolveSurfaceMode = exports.defineSkill = exports.MENU_HINT_METADATA_KEY = exports.defineMenuHint = exports.READS_ENTRY_SCORES_METADATA_KEY = exports.defineRelevanceHint = exports.defineInstruction = exports.buildInjectionEngineSubflow = exports.evaluateInjections = exports.saidByPerson = exports.toolResultsOf = exports.projectActiveInjection = void 0;
|
|
11
|
+
exports.skillToolNames = exports.checkSkillContracts = exports.checkSkillContract = exports.menuOutstanding = void 0;
|
|
12
12
|
// Bind the pure core's dev-warn seam to footprintjs's `isDevMode` (9.34.0).
|
|
13
13
|
// Side-effect import, on purpose: the skill-graph core no longer imports the
|
|
14
14
|
// engine, so SOMEONE has to hand it the dev flag, and this barrel is on every
|
|
@@ -25,6 +25,13 @@ Object.defineProperty(exports, "projectActiveInjection", { enumerable: true, get
|
|
|
25
25
|
// a parallel batch, not only the last (`ctx.toolResults ?? [ctx.lastToolResult]`).
|
|
26
26
|
var types_js_2 = require("./types.js");
|
|
27
27
|
Object.defineProperty(exports, "toolResultsOf", { enumerable: true, get: function () { return types_js_2.toolResultsOf; } });
|
|
28
|
+
// The messages a PERSON wrote (9.84.0) — the one reader for a predicate that
|
|
29
|
+
// judges what was said. `ctx.history` also holds the five user-role messages
|
|
30
|
+
// this library writes itself (compaction frame, drop notice, schema-check
|
|
31
|
+
// correction, evidence-check correction, delivered message), and a rule
|
|
32
|
+
// scanning it raw matches our own bookkeeping.
|
|
33
|
+
var types_js_3 = require("./types.js");
|
|
34
|
+
Object.defineProperty(exports, "saidByPerson", { enumerable: true, get: function () { return types_js_3.saidByPerson; } });
|
|
28
35
|
// Engine
|
|
29
36
|
var evaluator_js_1 = require("./evaluator.js");
|
|
30
37
|
Object.defineProperty(exports, "evaluateInjections", { enumerable: true, get: function () { return evaluator_js_1.evaluateInjections; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/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