shellpuppet 0.2.0 → 0.3.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/README.md +83 -18
- package/dist/agents/agy/index.d.ts +2 -0
- package/dist/agents/agy/index.js +11 -0
- package/dist/agents/agy/index.js.map +1 -0
- package/dist/agents/agy/nudge.d.ts +2 -0
- package/dist/agents/agy/nudge.js +29 -0
- package/dist/agents/agy/nudge.js.map +1 -0
- package/dist/agents/agy/reading.d.ts +2 -0
- package/dist/agents/agy/reading.js +28 -0
- package/dist/agents/agy/reading.js.map +1 -0
- package/dist/agents/barNudge.d.ts +9 -0
- package/dist/agents/barNudge.js +21 -0
- package/dist/agents/barNudge.js.map +1 -0
- package/dist/agents/claude/index.d.ts +2 -0
- package/dist/agents/claude/index.js +31 -0
- package/dist/agents/claude/index.js.map +1 -0
- package/dist/agents/claude/nudge.d.ts +2 -0
- package/dist/agents/claude/nudge.js +38 -0
- package/dist/agents/claude/nudge.js.map +1 -0
- package/dist/agents/claude/prompts.d.ts +9 -0
- package/dist/agents/claude/prompts.js +16 -0
- package/dist/agents/claude/prompts.js.map +1 -0
- package/dist/agents/claude/reading.d.ts +2 -0
- package/dist/agents/claude/reading.js +25 -0
- package/dist/agents/claude/reading.js.map +1 -0
- package/dist/agents/codex/index.d.ts +2 -0
- package/dist/agents/codex/index.js +28 -0
- package/dist/agents/codex/index.js.map +1 -0
- package/dist/agents/codex/nudge.d.ts +2 -0
- package/dist/agents/codex/nudge.js +35 -0
- package/dist/agents/codex/nudge.js.map +1 -0
- package/dist/agents/codex/prompts.d.ts +9 -0
- package/dist/agents/codex/prompts.js +14 -0
- package/dist/agents/codex/prompts.js.map +1 -0
- package/dist/agents/codex/reading.d.ts +2 -0
- package/dist/agents/codex/reading.js +22 -0
- package/dist/agents/codex/reading.js.map +1 -0
- package/dist/agents/generic/index.d.ts +3 -0
- package/dist/agents/generic/index.js +9 -0
- package/dist/agents/generic/index.js.map +1 -0
- package/dist/agents/generic/prompts.d.ts +2 -0
- package/dist/agents/generic/prompts.js +10 -0
- package/dist/agents/generic/prompts.js.map +1 -0
- package/dist/agents/grok/actionBox.d.ts +13 -0
- package/dist/agents/grok/actionBox.js +127 -0
- package/dist/agents/grok/actionBox.js.map +1 -0
- package/dist/agents/grok/index.d.ts +2 -0
- package/dist/agents/grok/index.js +20 -0
- package/dist/agents/grok/index.js.map +1 -0
- package/dist/agents/grok/nudge.d.ts +2 -0
- package/dist/agents/grok/nudge.js +76 -0
- package/dist/agents/grok/nudge.js.map +1 -0
- package/dist/agents/grok/prompts.d.ts +4 -0
- package/dist/agents/grok/prompts.js +89 -0
- package/dist/agents/grok/prompts.js.map +1 -0
- package/dist/agents/grok/reading.d.ts +2 -0
- package/dist/agents/grok/reading.js +49 -0
- package/dist/agents/grok/reading.js.map +1 -0
- package/dist/agents/grok/readingRules.d.ts +2 -0
- package/dist/agents/grok/readingRules.js +44 -0
- package/dist/agents/grok/readingRules.js.map +1 -0
- package/dist/agents/index.d.ts +28 -0
- package/dist/agents/index.js +46 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/agents/input.d.ts +2 -0
- package/dist/agents/input.js +9 -0
- package/dist/agents/input.js.map +1 -0
- package/dist/agents/mimo/index.d.ts +2 -0
- package/dist/agents/mimo/index.js +13 -0
- package/dist/agents/mimo/index.js.map +1 -0
- package/dist/agents/mimo/nudge.d.ts +3 -0
- package/dist/agents/mimo/nudge.js +59 -0
- package/dist/agents/mimo/nudge.js.map +1 -0
- package/dist/agents/mimo/prompts.d.ts +2 -0
- package/dist/agents/mimo/prompts.js +40 -0
- package/dist/agents/mimo/prompts.js.map +1 -0
- package/dist/agents/mimo/reading.d.ts +2 -0
- package/dist/agents/mimo/reading.js +31 -0
- package/dist/agents/mimo/reading.js.map +1 -0
- package/dist/agents/mimo/readingRules.d.ts +2 -0
- package/dist/agents/mimo/readingRules.js +79 -0
- package/dist/agents/mimo/readingRules.js.map +1 -0
- package/dist/agents/mimo/stalls.d.ts +2 -0
- package/dist/agents/mimo/stalls.js +81 -0
- package/dist/agents/mimo/stalls.js.map +1 -0
- package/dist/agents/muse/index.d.ts +2 -0
- package/dist/agents/muse/index.js +20 -0
- package/dist/agents/muse/index.js.map +1 -0
- package/dist/agents/muse/input.d.ts +3 -0
- package/dist/agents/muse/input.js +7 -0
- package/dist/agents/muse/input.js.map +1 -0
- package/dist/agents/muse/nudge.d.ts +2 -0
- package/dist/agents/muse/nudge.js +33 -0
- package/dist/agents/muse/nudge.js.map +1 -0
- package/dist/agents/muse/prompts.d.ts +14 -0
- package/dist/agents/muse/prompts.js +132 -0
- package/dist/agents/muse/prompts.js.map +1 -0
- package/dist/agents/muse/reading.d.ts +2 -0
- package/dist/agents/muse/reading.js +33 -0
- package/dist/agents/muse/reading.js.map +1 -0
- package/dist/agents/muse/readingRules.d.ts +2 -0
- package/dist/agents/muse/readingRules.js +49 -0
- package/dist/agents/muse/readingRules.js.map +1 -0
- package/dist/agents/nudgeReading.d.ts +74 -0
- package/dist/agents/nudgeReading.js +262 -0
- package/dist/agents/nudgeReading.js.map +1 -0
- package/dist/agents/opencode/index.d.ts +2 -0
- package/dist/agents/opencode/index.js +21 -0
- package/dist/agents/opencode/index.js.map +1 -0
- package/dist/agents/opencode/nudge.d.ts +6 -0
- package/dist/agents/opencode/nudge.js +187 -0
- package/dist/agents/opencode/nudge.js.map +1 -0
- package/dist/agents/opencode/prompts.d.ts +6 -0
- package/dist/agents/opencode/prompts.js +198 -0
- package/dist/agents/opencode/prompts.js.map +1 -0
- package/dist/agents/opencode/reading.d.ts +2 -0
- package/dist/agents/opencode/reading.js +29 -0
- package/dist/agents/opencode/reading.js.map +1 -0
- package/dist/agents/opencode/stalls.d.ts +3 -0
- package/dist/agents/opencode/stalls.js +14 -0
- package/dist/agents/opencode/stalls.js.map +1 -0
- package/dist/agents/qoder/index.d.ts +2 -0
- package/dist/agents/qoder/index.js +12 -0
- package/dist/agents/qoder/index.js.map +1 -0
- package/dist/agents/qoder/nudge.d.ts +2 -0
- package/dist/agents/qoder/nudge.js +16 -0
- package/dist/agents/qoder/nudge.js.map +1 -0
- package/dist/agents/qoder/prompts.d.ts +2 -0
- package/dist/agents/qoder/prompts.js +6 -0
- package/dist/agents/qoder/prompts.js.map +1 -0
- package/dist/agents/qoder/reading.d.ts +2 -0
- package/dist/agents/qoder/reading.js +41 -0
- package/dist/agents/qoder/reading.js.map +1 -0
- package/dist/agents/types.d.ts +187 -0
- package/dist/agents/types.js +2 -0
- package/dist/agents/types.js.map +1 -0
- package/dist/cli/index.js +255 -33
- package/dist/cli/index.js.map +1 -1
- package/dist/client/http.d.ts +17 -3
- package/dist/client/http.js +232 -35
- package/dist/client/http.js.map +1 -1
- package/dist/core/dialogs.d.ts +2 -4
- package/dist/core/dialogs.js +6 -12
- package/dist/core/dialogs.js.map +1 -1
- package/dist/core/mailbox.d.ts +222 -0
- package/dist/core/mailbox.js +545 -0
- package/dist/core/mailbox.js.map +1 -0
- package/dist/core/manager.d.ts +3 -0
- package/dist/core/manager.js +37 -2
- package/dist/core/manager.js.map +1 -1
- package/dist/core/messageText.d.ts +2 -0
- package/dist/core/messageText.js +6 -0
- package/dist/core/messageText.js.map +1 -0
- package/dist/core/nudge.d.ts +37 -0
- package/dist/core/nudge.js +57 -0
- package/dist/core/nudge.js.map +1 -0
- package/dist/core/promptDetector.d.ts +14 -12
- package/dist/core/promptDetector.js +113 -363
- package/dist/core/promptDetector.js.map +1 -1
- package/dist/core/promptText.d.ts +1 -0
- package/dist/core/promptText.js +4 -0
- package/dist/core/promptText.js.map +1 -0
- package/dist/core/readiness.d.ts +14 -0
- package/dist/core/readiness.js +95 -0
- package/dist/core/readiness.js.map +1 -0
- package/dist/core/reasoning.d.ts +68 -7
- package/dist/core/reasoning.js +572 -325
- package/dist/core/reasoning.js.map +1 -1
- package/dist/core/renderer.d.ts +63 -3
- package/dist/core/renderer.js +368 -42
- package/dist/core/renderer.js.map +1 -1
- package/dist/core/selection.d.ts +1 -1
- package/dist/core/selection.js +3 -3
- package/dist/core/selection.js.map +1 -1
- package/dist/core/session.d.ts +166 -14
- package/dist/core/session.js +1000 -86
- package/dist/core/session.js.map +1 -1
- package/dist/core/types.d.ts +60 -4
- package/dist/core/types.js +41 -0
- package/dist/core/types.js.map +1 -1
- package/dist/core/waiter.d.ts +9 -2
- package/dist/core/waiter.js +35 -10
- package/dist/core/waiter.js.map +1 -1
- package/dist/daemon/audit.d.ts +1 -1
- package/dist/daemon/audit.js +2 -1
- package/dist/daemon/audit.js.map +1 -1
- package/dist/daemon/config.d.ts +42 -0
- package/dist/daemon/config.js +159 -4
- package/dist/daemon/config.js.map +1 -1
- package/dist/daemon/folderPicker.js +21 -2
- package/dist/daemon/folderPicker.js.map +1 -1
- package/dist/daemon/homeOwner.d.ts +15 -0
- package/dist/daemon/homeOwner.js +106 -0
- package/dist/daemon/homeOwner.js.map +1 -0
- package/dist/daemon/index.js +10 -6
- package/dist/daemon/index.js.map +1 -1
- package/dist/daemon/launchProfiles.d.ts +5 -0
- package/dist/daemon/launchProfiles.js +42 -40
- package/dist/daemon/launchProfiles.js.map +1 -1
- package/dist/daemon/liveness.d.ts +1 -1
- package/dist/daemon/liveness.js +2 -2
- package/dist/daemon/liveness.js.map +1 -1
- package/dist/daemon/nudgeScheduler.d.ts +21 -0
- package/dist/daemon/nudgeScheduler.js +61 -0
- package/dist/daemon/nudgeScheduler.js.map +1 -0
- package/dist/daemon/paths.d.ts +22 -16
- package/dist/daemon/paths.js +137 -49
- package/dist/daemon/paths.js.map +1 -1
- package/dist/daemon/restartHold.d.ts +16 -0
- package/dist/daemon/restartHold.js +126 -0
- package/dist/daemon/restartHold.js.map +1 -0
- package/dist/daemon/restartSource.d.ts +7 -0
- package/dist/daemon/restartSource.js +89 -0
- package/dist/daemon/restartSource.js.map +1 -0
- package/dist/daemon/screenshot.d.ts +4 -1
- package/dist/daemon/screenshot.js +45 -7
- package/dist/daemon/screenshot.js.map +1 -1
- package/dist/daemon/server.d.ts +71 -13
- package/dist/daemon/server.js +1601 -296
- package/dist/daemon/server.js.map +1 -1
- package/dist/daemon/sessionFeed.js +4 -1
- package/dist/daemon/sessionFeed.js.map +1 -1
- package/dist/mcp/config.js +2 -1
- package/dist/mcp/config.js.map +1 -1
- package/dist/mcp/index.js +12 -2
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/tools.d.ts +21 -1
- package/dist/mcp/tools.js +213 -28
- package/dist/mcp/tools.js.map +1 -1
- package/dist/viewer/dashboard-folders.js +7 -1
- package/dist/viewer/dashboard-layout.js +6 -52
- package/dist/viewer/dashboard.css +20 -4
- package/dist/viewer/dashboard.html +12 -3
- package/dist/viewer/dashboard.js +550 -378
- package/dist/viewer/pane.js +744 -136
- package/dist/viewer/viewer.css +1 -1
- package/dist/viewer/viewer.js +3 -1
- package/package.json +1 -1
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import type { AgentSignature, CompiledSignature, LineTest } from '../core/reasoning.js';
|
|
2
|
+
import type { DialogSignature } from '../core/dialogs.js';
|
|
3
|
+
import type { DetectedPrompt } from '../core/promptDetector.js';
|
|
4
|
+
import type { CursorPosition } from '../core/types.js';
|
|
5
|
+
import type { CellStyle, StyledLine } from '../core/renderer.js';
|
|
6
|
+
export type ProgramMatch = string;
|
|
7
|
+
export type AgentSource = 'explicit' | 'program' | 'fallback';
|
|
8
|
+
export interface VerifyTiming {
|
|
9
|
+
baseMs: number;
|
|
10
|
+
perCharacterMs: number;
|
|
11
|
+
maxMs: number;
|
|
12
|
+
}
|
|
13
|
+
/** Reserved for a later, explicitly configured safety adapter. */
|
|
14
|
+
export interface SafetyAdapter {
|
|
15
|
+
readonly kind: string;
|
|
16
|
+
}
|
|
17
|
+
export interface PromptLine {
|
|
18
|
+
text: string;
|
|
19
|
+
index: number;
|
|
20
|
+
}
|
|
21
|
+
export interface PromptRows {
|
|
22
|
+
kind: 'rows';
|
|
23
|
+
styledHeading?: RegExp;
|
|
24
|
+
numbered?: RegExp;
|
|
25
|
+
pointer?: RegExp;
|
|
26
|
+
/** A module's input row, which must not seed a pointer chooser. */
|
|
27
|
+
composer?: RegExp;
|
|
28
|
+
footer?: RegExp;
|
|
29
|
+
marker?: RegExp;
|
|
30
|
+
busy?: RegExp;
|
|
31
|
+
keyHint?: RegExp;
|
|
32
|
+
questionPrefix?: RegExp;
|
|
33
|
+
commandStart?: (raw: string[], firstOption: number) => number;
|
|
34
|
+
clackMessage?: (raw: string[], index: number) => string[];
|
|
35
|
+
}
|
|
36
|
+
export type PromptShape = {
|
|
37
|
+
kind: 'dialog';
|
|
38
|
+
signature: DialogSignature;
|
|
39
|
+
} | {
|
|
40
|
+
kind: 'menu';
|
|
41
|
+
order: number;
|
|
42
|
+
detect: (raw: string[], lines: PromptLine[], tail: PromptLine[], busy: (text: string) => boolean, viewportRows?: number, styled?: readonly StyledLine[]) => DetectedPrompt | null;
|
|
43
|
+
} | PromptRows;
|
|
44
|
+
export interface PromptSettler {
|
|
45
|
+
settle(prompt: DetectedPrompt | null, screen: string, now: number, styled?: readonly StyledLine[]): DetectedPrompt | null;
|
|
46
|
+
}
|
|
47
|
+
export interface ReadingContext {
|
|
48
|
+
matches: (line: StyledLine, test: CompiledSignature['composer']) => boolean;
|
|
49
|
+
ink: (line: StyledLine) => CellStyle[];
|
|
50
|
+
ranges: (lines: readonly StyledLine[], signature: CompiledSignature, limit: number) => [number, number][];
|
|
51
|
+
}
|
|
52
|
+
export interface ReadingRules {
|
|
53
|
+
/** Crop only independently framed adjacent UI, before any reading walk. */
|
|
54
|
+
contentRegion?: (lines: readonly StyledLine[]) => readonly StyledLine[];
|
|
55
|
+
/** Rows owned by a live frame, even if its controls were painted on physical wraps. */
|
|
56
|
+
claimPromptRows?: (lines: readonly StyledLine[], prompt: DetectedPrompt | null) => readonly [number, number] | null;
|
|
57
|
+
composer?: (lines: readonly StyledLine[], index: number, signature: CompiledSignature, context: ReadingContext) => boolean;
|
|
58
|
+
busyWithoutComposer?: boolean;
|
|
59
|
+
busy?: (lines: readonly StyledLine[], turnStart: number, chrome: number, signature: CompiledSignature, context: ReadingContext) => boolean;
|
|
60
|
+
pendingComposer?: boolean;
|
|
61
|
+
/** Live answer content, outside tools and quotations; missing turn context is inconclusive. */
|
|
62
|
+
liveContent?: (lines: readonly StyledLine[], turnStart: number, candidate: number, context: ReadingContext) => boolean | 'inconclusive';
|
|
63
|
+
/** Remove a side panel only when the surrounding frame establishes its columns. */
|
|
64
|
+
inputRegion?: (lines: readonly StyledLine[], composer: number) => readonly StyledLine[];
|
|
65
|
+
}
|
|
66
|
+
/** An evidenced error at the end of an idle turn, never a phrase search. */
|
|
67
|
+
export interface StallSignature {
|
|
68
|
+
reason: string;
|
|
69
|
+
/** Fixed product wording. Never supplied by the terminal. */
|
|
70
|
+
description: string;
|
|
71
|
+
/** Complete visible marker row, excluding trailing space, before styled reads. */
|
|
72
|
+
marker: {
|
|
73
|
+
text: string | RegExp;
|
|
74
|
+
fg: string[];
|
|
75
|
+
};
|
|
76
|
+
/** Controls on the completed footer only; group 1 retains its semantic prefix. */
|
|
77
|
+
cosmetic?: RegExp;
|
|
78
|
+
/** Framing shared with the module's answer reader, independent of body text. */
|
|
79
|
+
contentRegion?: ReadingRules['contentRegion'];
|
|
80
|
+
chrome: LineTest[];
|
|
81
|
+
/** Columns whose ink establishes row ownership for cheap invalidation. */
|
|
82
|
+
frameColumns: number[];
|
|
83
|
+
before: LineTest;
|
|
84
|
+
/** Some versions omit the neutral introduction above the coloured error. */
|
|
85
|
+
beforeOptional?: boolean;
|
|
86
|
+
rows: LineTest[];
|
|
87
|
+
/** The general error message may occupy several red-gutter rows. */
|
|
88
|
+
flexibleMessage?: boolean;
|
|
89
|
+
/** A long error can leave only its coloured body visible above the footer. */
|
|
90
|
+
clippedBody?: boolean;
|
|
91
|
+
footer: LineTest;
|
|
92
|
+
composer: LineTest;
|
|
93
|
+
/** Mode row immediately before the closing edge, for partial redraw ownership. */
|
|
94
|
+
composerStatus?: LineTest;
|
|
95
|
+
/** Allowed non-blank rows of the idle composer, including placeholders. */
|
|
96
|
+
idle: LineTest[];
|
|
97
|
+
/** A styled suggestion with the shortcut's opening parenthesis at the inset right edge. */
|
|
98
|
+
idleClipped?: {
|
|
99
|
+
row: LineTest;
|
|
100
|
+
rightInset: number;
|
|
101
|
+
};
|
|
102
|
+
/** Positional rows immediately below the closing edge; later rows are output. */
|
|
103
|
+
bottom: LineTest[];
|
|
104
|
+
/** A live modal banner may interrupt a busy turn without an idle footer. */
|
|
105
|
+
overlay?: {
|
|
106
|
+
message: LineTest;
|
|
107
|
+
background: string;
|
|
108
|
+
centreOffset: number;
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* What a module can tell about typing into the composer it already describes.
|
|
113
|
+
* `queue` is a running turn whose composer is visible and empty, for a program
|
|
114
|
+
* that takes a submitted line while it works (queued or handed to the turn).
|
|
115
|
+
*/
|
|
116
|
+
export type NudgeReadiness = 'ready' | 'busy' | 'queue' | 'draft' | 'unknown';
|
|
117
|
+
/**
|
|
118
|
+
* One visible viewport. Plain rows are enough for a recorded transcript.
|
|
119
|
+
* When styled rows are set, their text is that same viewport: the ink tells
|
|
120
|
+
* the recorded placeholder from a draft. A difference is not judged.
|
|
121
|
+
*/
|
|
122
|
+
export interface NudgeView {
|
|
123
|
+
/** Cursor and optional physical cells from the same viewport as the text. */
|
|
124
|
+
cursor?: CursorPosition;
|
|
125
|
+
untrimmedRow?: (y: number) => StyledLine | undefined;
|
|
126
|
+
rows: readonly string[];
|
|
127
|
+
styled?: readonly StyledLine[];
|
|
128
|
+
/** Exact daemon line allowed in the composer during a delayed submission. */
|
|
129
|
+
expectedDraft?: string;
|
|
130
|
+
/** Require a blank composer or the module's exact known placeholder. */
|
|
131
|
+
exactEmpty?: boolean;
|
|
132
|
+
}
|
|
133
|
+
/** Internal harness data and the few detector walks not yet expressed as data. */
|
|
134
|
+
export interface AgentModule {
|
|
135
|
+
name: string;
|
|
136
|
+
programs: ProgramMatch[];
|
|
137
|
+
reading: AgentSignature;
|
|
138
|
+
prompts: PromptShape[];
|
|
139
|
+
input?: {
|
|
140
|
+
submit?: {
|
|
141
|
+
key: string;
|
|
142
|
+
delayMs?: number;
|
|
143
|
+
matches?: (data: string) => boolean;
|
|
144
|
+
/** Minimum pause for a pasted line, scaled by its length where measured. */
|
|
145
|
+
perCharacterMs?: number;
|
|
146
|
+
/** Quiet time after the draft is visible, before Enter. */
|
|
147
|
+
quietMs?: number;
|
|
148
|
+
/** Time for the composer to settle after Enter. */
|
|
149
|
+
settleMs?: number;
|
|
150
|
+
/** Extra time after the minimum pause to wait for a painted, quiet draft. */
|
|
151
|
+
maxWaitMs?: number;
|
|
152
|
+
/** A composer replacement: group 1 is the placeholder; named group chars is its length, if shown. */
|
|
153
|
+
pastePlaceholder?: RegExp;
|
|
154
|
+
};
|
|
155
|
+
resizeBehindSubmit?: boolean;
|
|
156
|
+
verifyMs?: VerifyTiming;
|
|
157
|
+
};
|
|
158
|
+
readiness?: {
|
|
159
|
+
/** Alternative literal ready signals recorded in agent-profiles.md. */
|
|
160
|
+
readyText?: string[];
|
|
161
|
+
/** A composer whose position matters as well as its text. */
|
|
162
|
+
readyScreen?: (screen: string) => boolean;
|
|
163
|
+
readyQuietMs?: number;
|
|
164
|
+
settleMs?: number;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Whether this program's screen is idle with an empty composer.
|
|
168
|
+
* Absent means the module cannot tell, and the session is never judged ready.
|
|
169
|
+
*/
|
|
170
|
+
nudge?: {
|
|
171
|
+
readiness(view: NudgeView): NudgeReadiness;
|
|
172
|
+
/** The composer and footer text to compare across paints while a turn runs. */
|
|
173
|
+
composerBlock?: (rows: readonly string[], cursor?: CursorPosition) => string;
|
|
174
|
+
/** A separately framed idle pane whose neighbours can repaint without holding up input. */
|
|
175
|
+
idlePane?: (view: NudgeView) => string | undefined;
|
|
176
|
+
};
|
|
177
|
+
/** Conversation id exported to a child tool by this agent, when available. */
|
|
178
|
+
resumeIdMarkers?: readonly string[];
|
|
179
|
+
env?: {
|
|
180
|
+
sessionMarkers: string[];
|
|
181
|
+
};
|
|
182
|
+
safety?: SafetyAdapter;
|
|
183
|
+
stalls?: StallSignature[];
|
|
184
|
+
matchesProgram?: (pattern: ProgramMatch, program: string) => boolean;
|
|
185
|
+
createPromptSettler?: () => PromptSettler;
|
|
186
|
+
readingRules?: ReadingRules;
|
|
187
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/agents/types.ts"],"names":[],"mappings":""}
|