@twelvehart/orcats 0.0.0-seed.0 → 0.2.3
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/LICENSE +48 -0
- package/NOTICE +5 -0
- package/README.md +399 -0
- package/bin/orcats +4 -0
- package/dist/backends/acp-client.d.ts +74 -0
- package/dist/backends/acp-client.d.ts.map +1 -0
- package/dist/backends/acp-run.d.ts +31 -0
- package/dist/backends/acp-run.d.ts.map +1 -0
- package/dist/backends/claude-run.d.ts +35 -0
- package/dist/backends/claude-run.d.ts.map +1 -0
- package/dist/backends/claude-stream-json.d.ts +15 -0
- package/dist/backends/claude-stream-json.d.ts.map +1 -0
- package/dist/backends/codex-jsonl.d.ts +34 -0
- package/dist/backends/codex-jsonl.d.ts.map +1 -0
- package/dist/backends/codex-run.d.ts +40 -0
- package/dist/backends/codex-run.d.ts.map +1 -0
- package/dist/backends/codex.d.ts +5 -0
- package/dist/backends/codex.d.ts.map +1 -0
- package/dist/backends/conversation-config.d.ts +12 -0
- package/dist/backends/conversation-config.d.ts.map +1 -0
- package/dist/backends/index.d.ts +14 -0
- package/dist/backends/index.d.ts.map +1 -0
- package/dist/backends/opencode-run.d.ts +48 -0
- package/dist/backends/opencode-run.d.ts.map +1 -0
- package/dist/backends/opencode-sse.d.ts +35 -0
- package/dist/backends/opencode-sse.d.ts.map +1 -0
- package/dist/backends/pi-rpc.d.ts +21 -0
- package/dist/backends/pi-rpc.d.ts.map +1 -0
- package/dist/backends/pi-run.d.ts +21 -0
- package/dist/backends/pi-run.d.ts.map +1 -0
- package/dist/backends/select.d.ts +17 -0
- package/dist/backends/select.d.ts.map +1 -0
- package/dist/backends/subprocess-run.d.ts +68 -0
- package/dist/backends/subprocess-run.d.ts.map +1 -0
- package/dist/backends/types.d.ts +17 -0
- package/dist/backends/types.d.ts.map +1 -0
- package/dist/backends/unsupported.d.ts +9 -0
- package/dist/backends/unsupported.d.ts.map +1 -0
- package/dist/baseline/index.d.ts +56 -0
- package/dist/baseline/index.d.ts.map +1 -0
- package/dist/cli/args.d.ts +22 -0
- package/dist/cli/args.d.ts.map +1 -0
- package/dist/cli/embedded.d.ts +7 -0
- package/dist/cli/embedded.d.ts.map +1 -0
- package/dist/cli/main.d.ts +6 -0
- package/dist/cli/main.d.ts.map +1 -0
- package/dist/cli/version.d.ts +2 -0
- package/dist/cli/version.d.ts.map +1 -0
- package/dist/conversation/ask-user.d.ts +17 -0
- package/dist/conversation/ask-user.d.ts.map +1 -0
- package/dist/conversation/conversation.d.ts +46 -0
- package/dist/conversation/conversation.d.ts.map +1 -0
- package/dist/conversation/harness.d.ts +14 -0
- package/dist/conversation/harness.d.ts.map +1 -0
- package/dist/conversation/index.d.ts +5 -0
- package/dist/conversation/index.d.ts.map +1 -0
- package/dist/conversation/queue.d.ts +15 -0
- package/dist/conversation/queue.d.ts.map +1 -0
- package/dist/flow/accessors.d.ts +13 -0
- package/dist/flow/accessors.d.ts.map +1 -0
- package/dist/flow/approvals.d.ts +6 -0
- package/dist/flow/approvals.d.ts.map +1 -0
- package/dist/flow/args.d.ts +4 -0
- package/dist/flow/args.d.ts.map +1 -0
- package/dist/flow/context.d.ts +36 -0
- package/dist/flow/context.d.ts.map +1 -0
- package/dist/flow/index.d.ts +5 -0
- package/dist/flow/index.d.ts.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/loop/builder/index.d.ts +17 -0
- package/dist/loop/builder/index.d.ts.map +1 -0
- package/dist/loop/builder/types.d.ts +97 -0
- package/dist/loop/builder/types.d.ts.map +1 -0
- package/dist/loop/context/compaction.d.ts +38 -0
- package/dist/loop/context/compaction.d.ts.map +1 -0
- package/dist/loop/context/index.d.ts +4 -0
- package/dist/loop/context/index.d.ts.map +1 -0
- package/dist/loop/context/offload.d.ts +34 -0
- package/dist/loop/context/offload.d.ts.map +1 -0
- package/dist/loop/context/types.d.ts +13 -0
- package/dist/loop/context/types.d.ts.map +1 -0
- package/dist/loop/engine/bridge.d.ts +21 -0
- package/dist/loop/engine/bridge.d.ts.map +1 -0
- package/dist/loop/engine/index.d.ts +73 -0
- package/dist/loop/engine/index.d.ts.map +1 -0
- package/dist/loop/execution.d.ts +68 -0
- package/dist/loop/execution.d.ts.map +1 -0
- package/dist/loop/fanout.d.ts +148 -0
- package/dist/loop/fanout.d.ts.map +1 -0
- package/dist/loop/firing.d.ts +54 -0
- package/dist/loop/firing.d.ts.map +1 -0
- package/dist/loop/graph/analyze.d.ts +8 -0
- package/dist/loop/graph/analyze.d.ts.map +1 -0
- package/dist/loop/graph/index.d.ts +3 -0
- package/dist/loop/graph/index.d.ts.map +1 -0
- package/dist/loop/graph/types.d.ts +35 -0
- package/dist/loop/graph/types.d.ts.map +1 -0
- package/dist/loop/index.d.ts +7 -0
- package/dist/loop/index.d.ts.map +1 -0
- package/dist/loop/io/index.d.ts +4 -0
- package/dist/loop/io/index.d.ts.map +1 -0
- package/dist/loop/io/linear.d.ts +142 -0
- package/dist/loop/io/linear.d.ts.map +1 -0
- package/dist/loop/io/sink.d.ts +47 -0
- package/dist/loop/io/sink.d.ts.map +1 -0
- package/dist/loop/io/source.d.ts +64 -0
- package/dist/loop/io/source.d.ts.map +1 -0
- package/dist/loop/serve.d.ts +97 -0
- package/dist/loop/serve.d.ts.map +1 -0
- package/dist/loop/state/index.d.ts +5 -0
- package/dist/loop/state/index.d.ts.map +1 -0
- package/dist/loop/state/manifest.d.ts +36 -0
- package/dist/loop/state/manifest.d.ts.map +1 -0
- package/dist/loop/state/port.d.ts +33 -0
- package/dist/loop/state/port.d.ts.map +1 -0
- package/dist/loop/state/snapshot.d.ts +15 -0
- package/dist/loop/state/snapshot.d.ts.map +1 -0
- package/dist/loop/state/sqlite.d.ts +31 -0
- package/dist/loop/state/sqlite.d.ts.map +1 -0
- package/dist/loop/termination-contract.d.ts +28 -0
- package/dist/loop/termination-contract.d.ts.map +1 -0
- package/dist/loop/termination.d.ts +33 -0
- package/dist/loop/termination.d.ts.map +1 -0
- package/dist/model/backend-config.d.ts +30 -0
- package/dist/model/backend-config.d.ts.map +1 -0
- package/dist/model/brand.d.ts +9 -0
- package/dist/model/brand.d.ts.map +1 -0
- package/dist/model/errors.d.ts +11 -0
- package/dist/model/errors.d.ts.map +1 -0
- package/dist/model/index.d.ts +8 -0
- package/dist/model/index.d.ts.map +1 -0
- package/dist/model/json-schema.d.ts +4 -0
- package/dist/model/json-schema.d.ts.map +1 -0
- package/dist/model/result.d.ts +3 -0
- package/dist/model/result.d.ts.map +1 -0
- package/dist/model/schemas.d.ts +435 -0
- package/dist/model/schemas.d.ts.map +1 -0
- package/dist/model/structured.d.ts +9 -0
- package/dist/model/structured.d.ts.map +1 -0
- package/dist/monitor/index.d.ts +139 -0
- package/dist/monitor/index.d.ts.map +1 -0
- package/dist/plan/index.d.ts +3 -0
- package/dist/plan/index.d.ts.map +1 -0
- package/dist/plan/persistent.d.ts +23 -0
- package/dist/plan/persistent.d.ts.map +1 -0
- package/dist/plan/verdict.d.ts +9 -0
- package/dist/plan/verdict.d.ts.map +1 -0
- package/dist/review/index.d.ts +4 -0
- package/dist/review/index.d.ts.map +1 -0
- package/dist/review/loop.d.ts +117 -0
- package/dist/review/loop.d.ts.map +1 -0
- package/dist/review/reviewers.d.ts +13 -0
- package/dist/review/reviewers.d.ts.map +1 -0
- package/dist/review/tool.d.ts +20 -0
- package/dist/review/tool.d.ts.map +1 -0
- package/dist/run-output/index.d.ts +112 -0
- package/dist/run-output/index.d.ts.map +1 -0
- package/dist/runner/index.d.ts +2 -0
- package/dist/runner/index.d.ts.map +1 -0
- package/dist/runner/typecheck.d.ts +23 -0
- package/dist/runner/typecheck.d.ts.map +1 -0
- package/dist/test-utils/fakes.d.ts +76 -0
- package/dist/test-utils/fakes.d.ts.map +1 -0
- package/dist/test-utils/fixtures.d.ts +4 -0
- package/dist/test-utils/fixtures.d.ts.map +1 -0
- package/dist/test-utils/index.d.ts +4 -0
- package/dist/test-utils/index.d.ts.map +1 -0
- package/dist/test-utils/tier2.d.ts +8 -0
- package/dist/test-utils/tier2.d.ts.map +1 -0
- package/dist/tools/fs.d.ts +11 -0
- package/dist/tools/fs.d.ts.map +1 -0
- package/dist/tools/git.d.ts +10 -0
- package/dist/tools/git.d.ts.map +1 -0
- package/dist/tools/github.d.ts +13 -0
- package/dist/tools/github.d.ts.map +1 -0
- package/dist/tools/index.d.ts +7 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/linear.d.ts +117 -0
- package/dist/tools/linear.d.ts.map +1 -0
- package/dist/tools/process.d.ts +40 -0
- package/dist/tools/process.d.ts.map +1 -0
- package/dist/tools/terminal.d.ts +23 -0
- package/dist/tools/terminal.d.ts.map +1 -0
- package/package.json +89 -9
- package/src/backends/acp-client.ts +324 -0
- package/src/backends/acp-run.ts +636 -0
- package/src/backends/claude-run.ts +226 -0
- package/src/backends/claude-stream-json.ts +273 -0
- package/src/backends/codex-jsonl.ts +339 -0
- package/src/backends/codex-run.ts +177 -0
- package/src/backends/codex.ts +84 -0
- package/src/backends/conversation-config.ts +26 -0
- package/src/backends/index.ts +13 -0
- package/src/backends/opencode-run.ts +432 -0
- package/src/backends/opencode-sse.ts +360 -0
- package/src/backends/pi-rpc.ts +242 -0
- package/src/backends/pi-run.ts +154 -0
- package/src/backends/select.ts +77 -0
- package/src/backends/subprocess-run.ts +305 -0
- package/src/backends/types.ts +29 -0
- package/src/backends/unsupported.ts +48 -0
- package/src/baseline/index.ts +437 -0
- package/src/cli/args.ts +109 -0
- package/src/cli/embedded.ts +206 -0
- package/src/cli/main.ts +332 -0
- package/src/cli/version.ts +1 -0
- package/src/conversation/ask-user.ts +105 -0
- package/src/conversation/conversation.ts +109 -0
- package/src/conversation/harness.ts +39 -0
- package/src/conversation/index.ts +4 -0
- package/src/conversation/queue.ts +86 -0
- package/src/flow/accessors.ts +43 -0
- package/src/flow/approvals.ts +10 -0
- package/src/flow/args.ts +26 -0
- package/src/flow/context.ts +106 -0
- package/src/flow/index.ts +4 -0
- package/src/index.ts +17 -0
- package/src/loop/builder/index.ts +346 -0
- package/src/loop/builder/types.ts +131 -0
- package/src/loop/context/compaction.ts +175 -0
- package/src/loop/context/index.ts +3 -0
- package/src/loop/context/offload.ts +79 -0
- package/src/loop/context/types.ts +17 -0
- package/src/loop/engine/bridge.ts +61 -0
- package/src/loop/engine/index.ts +166 -0
- package/src/loop/execution.ts +453 -0
- package/src/loop/fanout.ts +444 -0
- package/src/loop/firing.ts +188 -0
- package/src/loop/graph/analyze.ts +128 -0
- package/src/loop/graph/index.ts +2 -0
- package/src/loop/graph/types.ts +45 -0
- package/src/loop/index.ts +11 -0
- package/src/loop/io/index.ts +3 -0
- package/src/loop/io/linear.ts +714 -0
- package/src/loop/io/sink.ts +170 -0
- package/src/loop/io/source.ts +255 -0
- package/src/loop/serve.ts +307 -0
- package/src/loop/state/index.ts +4 -0
- package/src/loop/state/manifest.ts +56 -0
- package/src/loop/state/port.ts +43 -0
- package/src/loop/state/snapshot.ts +129 -0
- package/src/loop/state/sqlite.ts +265 -0
- package/src/loop/termination-contract.ts +89 -0
- package/src/loop/termination.ts +156 -0
- package/src/model/backend-config.ts +34 -0
- package/src/model/brand.ts +11 -0
- package/src/model/errors.ts +28 -0
- package/src/model/index.ts +7 -0
- package/src/model/json-schema.ts +14 -0
- package/src/model/result.ts +28 -0
- package/src/model/schemas.ts +218 -0
- package/src/model/structured.ts +26 -0
- package/src/monitor/index.ts +367 -0
- package/src/plan/index.ts +2 -0
- package/src/plan/persistent.ts +98 -0
- package/src/plan/verdict.ts +3 -0
- package/src/review/index.ts +3 -0
- package/src/review/loop.ts +365 -0
- package/src/review/reviewers.ts +92 -0
- package/src/review/tool.ts +41 -0
- package/src/run-output/index.ts +319 -0
- package/src/runner/index.ts +1 -0
- package/src/runner/typecheck.ts +72 -0
- package/src/test-utils/fakes.ts +260 -0
- package/src/test-utils/fixtures.ts +33 -0
- package/src/test-utils/index.ts +3 -0
- package/src/test-utils/tier2.ts +12 -0
- package/src/tools/fs.ts +44 -0
- package/src/tools/git.ts +34 -0
- package/src/tools/github.ts +25 -0
- package/src/tools/index.ts +6 -0
- package/src/tools/linear.ts +428 -0
- package/src/tools/process.ts +156 -0
- package/src/tools/terminal.ts +116 -0
|
@@ -0,0 +1,435 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const BackendTagSchema: z.ZodEnum<{
|
|
3
|
+
claude: "claude";
|
|
4
|
+
codex: "codex";
|
|
5
|
+
opencode: "opencode";
|
|
6
|
+
pi: "pi";
|
|
7
|
+
}>;
|
|
8
|
+
export declare const UsageSchema: z.ZodObject<{
|
|
9
|
+
input: z.ZodNumber;
|
|
10
|
+
output: z.ZodNumber;
|
|
11
|
+
reasoning: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export declare const AssistantTextDeltaSchema: z.ZodObject<{
|
|
14
|
+
type: z.ZodLiteral<"assistant_text_delta">;
|
|
15
|
+
text: z.ZodString;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
export declare const AssistantTurnEndSchema: z.ZodObject<{
|
|
18
|
+
type: z.ZodLiteral<"assistant_turn_end">;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
export declare const AssistantThinkingDeltaSchema: z.ZodObject<{
|
|
21
|
+
type: z.ZodLiteral<"assistant_thinking_delta">;
|
|
22
|
+
text: z.ZodString;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
export declare const AssistantToolCallSchema: z.ZodObject<{
|
|
25
|
+
type: z.ZodLiteral<"assistant_tool_call">;
|
|
26
|
+
id: z.ZodString;
|
|
27
|
+
name: z.ZodString;
|
|
28
|
+
input: z.ZodUnknown;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
export declare const ToolResultSchema: z.ZodObject<{
|
|
31
|
+
type: z.ZodLiteral<"tool_result">;
|
|
32
|
+
toolCallId: z.ZodString;
|
|
33
|
+
output: z.ZodUnknown;
|
|
34
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
export declare const ConversationErrorSchema: z.ZodObject<{
|
|
37
|
+
type: z.ZodLiteral<"error">;
|
|
38
|
+
code: z.ZodOptional<z.ZodString>;
|
|
39
|
+
message: z.ZodString;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export declare const UserPromptSchema: z.ZodObject<{
|
|
42
|
+
type: z.ZodLiteral<"user_prompt">;
|
|
43
|
+
text: z.ZodString;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
export declare const UserQuestionSchema: z.ZodObject<{
|
|
46
|
+
type: z.ZodLiteral<"user_question">;
|
|
47
|
+
question: z.ZodString;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
export declare const ApproveToolSchema: z.ZodObject<{
|
|
50
|
+
type: z.ZodLiteral<"approve_tool">;
|
|
51
|
+
toolCallId: z.ZodString;
|
|
52
|
+
name: z.ZodString;
|
|
53
|
+
input: z.ZodUnknown;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
export declare const ConversationEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
56
|
+
type: z.ZodLiteral<"assistant_text_delta">;
|
|
57
|
+
text: z.ZodString;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
type: z.ZodLiteral<"assistant_turn_end">;
|
|
60
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
+
type: z.ZodLiteral<"assistant_thinking_delta">;
|
|
62
|
+
text: z.ZodString;
|
|
63
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
+
type: z.ZodLiteral<"assistant_tool_call">;
|
|
65
|
+
id: z.ZodString;
|
|
66
|
+
name: z.ZodString;
|
|
67
|
+
input: z.ZodUnknown;
|
|
68
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
+
type: z.ZodLiteral<"tool_result">;
|
|
70
|
+
toolCallId: z.ZodString;
|
|
71
|
+
output: z.ZodUnknown;
|
|
72
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
73
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
+
type: z.ZodLiteral<"error">;
|
|
75
|
+
code: z.ZodOptional<z.ZodString>;
|
|
76
|
+
message: z.ZodString;
|
|
77
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
78
|
+
type: z.ZodLiteral<"user_prompt">;
|
|
79
|
+
text: z.ZodString;
|
|
80
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
81
|
+
type: z.ZodLiteral<"user_question">;
|
|
82
|
+
question: z.ZodString;
|
|
83
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
84
|
+
type: z.ZodLiteral<"approve_tool">;
|
|
85
|
+
toolCallId: z.ZodString;
|
|
86
|
+
name: z.ZodString;
|
|
87
|
+
input: z.ZodUnknown;
|
|
88
|
+
}, z.core.$strip>], "type">;
|
|
89
|
+
export declare const StructuredResultEventSchema: z.ZodObject<{
|
|
90
|
+
type: z.ZodLiteral<"structured_result">;
|
|
91
|
+
raw: z.ZodUnknown;
|
|
92
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
93
|
+
}, z.core.$strip>;
|
|
94
|
+
export declare const ToolUseEventSchema: z.ZodObject<{
|
|
95
|
+
type: z.ZodLiteral<"tool_use">;
|
|
96
|
+
name: z.ZodString;
|
|
97
|
+
input: z.ZodUnknown;
|
|
98
|
+
}, z.core.$strip>;
|
|
99
|
+
export declare const AssistantMessageEventSchema: z.ZodObject<{
|
|
100
|
+
type: z.ZodLiteral<"assistant_message">;
|
|
101
|
+
text: z.ZodString;
|
|
102
|
+
}, z.core.$strip>;
|
|
103
|
+
export declare const TokensUsedEventSchema: z.ZodObject<{
|
|
104
|
+
type: z.ZodLiteral<"tokens_used">;
|
|
105
|
+
usage: z.ZodObject<{
|
|
106
|
+
input: z.ZodNumber;
|
|
107
|
+
output: z.ZodNumber;
|
|
108
|
+
reasoning: z.ZodOptional<z.ZodNumber>;
|
|
109
|
+
}, z.core.$strip>;
|
|
110
|
+
}, z.core.$strip>;
|
|
111
|
+
export declare const StepEventSchema: z.ZodObject<{
|
|
112
|
+
type: z.ZodLiteral<"step">;
|
|
113
|
+
name: z.ZodString;
|
|
114
|
+
status: z.ZodEnum<{
|
|
115
|
+
started: "started";
|
|
116
|
+
completed: "completed";
|
|
117
|
+
failed: "failed";
|
|
118
|
+
}>;
|
|
119
|
+
}, z.core.$strip>;
|
|
120
|
+
export declare const OrcaEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
121
|
+
type: z.ZodLiteral<"user_prompt">;
|
|
122
|
+
text: z.ZodString;
|
|
123
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
124
|
+
type: z.ZodLiteral<"tool_use">;
|
|
125
|
+
name: z.ZodString;
|
|
126
|
+
input: z.ZodUnknown;
|
|
127
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
128
|
+
type: z.ZodLiteral<"assistant_message">;
|
|
129
|
+
text: z.ZodString;
|
|
130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
131
|
+
type: z.ZodLiteral<"tokens_used">;
|
|
132
|
+
usage: z.ZodObject<{
|
|
133
|
+
input: z.ZodNumber;
|
|
134
|
+
output: z.ZodNumber;
|
|
135
|
+
reasoning: z.ZodOptional<z.ZodNumber>;
|
|
136
|
+
}, z.core.$strip>;
|
|
137
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
138
|
+
type: z.ZodLiteral<"structured_result">;
|
|
139
|
+
raw: z.ZodUnknown;
|
|
140
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
141
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
142
|
+
type: z.ZodLiteral<"step">;
|
|
143
|
+
name: z.ZodString;
|
|
144
|
+
status: z.ZodEnum<{
|
|
145
|
+
started: "started";
|
|
146
|
+
completed: "completed";
|
|
147
|
+
failed: "failed";
|
|
148
|
+
}>;
|
|
149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
150
|
+
type: z.ZodLiteral<"error">;
|
|
151
|
+
code: z.ZodOptional<z.ZodString>;
|
|
152
|
+
message: z.ZodString;
|
|
153
|
+
}, z.core.$strip>], "type">;
|
|
154
|
+
export declare const LlmResultSchema: z.ZodObject<{
|
|
155
|
+
backend: z.ZodEnum<{
|
|
156
|
+
claude: "claude";
|
|
157
|
+
codex: "codex";
|
|
158
|
+
opencode: "opencode";
|
|
159
|
+
pi: "pi";
|
|
160
|
+
}>;
|
|
161
|
+
sessionId: z.ZodString;
|
|
162
|
+
output: z.ZodString;
|
|
163
|
+
structured: z.ZodOptional<z.ZodUnknown>;
|
|
164
|
+
usage: z.ZodOptional<z.ZodObject<{
|
|
165
|
+
input: z.ZodNumber;
|
|
166
|
+
output: z.ZodNumber;
|
|
167
|
+
reasoning: z.ZodOptional<z.ZodNumber>;
|
|
168
|
+
}, z.core.$strip>>;
|
|
169
|
+
}, z.core.$strip>;
|
|
170
|
+
export declare const NothingToCommitErrorSchema: z.ZodObject<{
|
|
171
|
+
_tag: z.ZodLiteral<"NothingToCommit">;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
export declare const BranchAlreadyExistsErrorSchema: z.ZodObject<{
|
|
174
|
+
_tag: z.ZodLiteral<"BranchAlreadyExists">;
|
|
175
|
+
branch: z.ZodString;
|
|
176
|
+
}, z.core.$strip>;
|
|
177
|
+
export declare const PushRejectedErrorSchema: z.ZodObject<{
|
|
178
|
+
_tag: z.ZodLiteral<"PushRejected">;
|
|
179
|
+
remote: z.ZodOptional<z.ZodString>;
|
|
180
|
+
stderr: z.ZodString;
|
|
181
|
+
}, z.core.$strip>;
|
|
182
|
+
export declare const CommandFailedErrorSchema: z.ZodObject<{
|
|
183
|
+
_tag: z.ZodLiteral<"CommandFailed">;
|
|
184
|
+
command: z.ZodString;
|
|
185
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
186
|
+
stdout: z.ZodString;
|
|
187
|
+
stderr: z.ZodString;
|
|
188
|
+
}, z.core.$strip>;
|
|
189
|
+
export declare const StructuredOutputValidationFailedErrorSchema: z.ZodObject<{
|
|
190
|
+
_tag: z.ZodLiteral<"StructuredOutputValidationFailed">;
|
|
191
|
+
issues: z.ZodArray<z.ZodString>;
|
|
192
|
+
raw: z.ZodUnknown;
|
|
193
|
+
}, z.core.$strip>;
|
|
194
|
+
export declare const UnsupportedFeatureErrorSchema: z.ZodObject<{
|
|
195
|
+
_tag: z.ZodLiteral<"UnsupportedFeature">;
|
|
196
|
+
feature: z.ZodString;
|
|
197
|
+
reason: z.ZodString;
|
|
198
|
+
}, z.core.$strip>;
|
|
199
|
+
export declare const BackendFailedErrorSchema: z.ZodObject<{
|
|
200
|
+
_tag: z.ZodLiteral<"BackendFailed">;
|
|
201
|
+
backend: z.ZodEnum<{
|
|
202
|
+
claude: "claude";
|
|
203
|
+
codex: "codex";
|
|
204
|
+
opencode: "opencode";
|
|
205
|
+
pi: "pi";
|
|
206
|
+
}>;
|
|
207
|
+
message: z.ZodString;
|
|
208
|
+
}, z.core.$strip>;
|
|
209
|
+
export declare const TypecheckFailedErrorSchema: z.ZodObject<{
|
|
210
|
+
_tag: z.ZodLiteral<"TypecheckFailed">;
|
|
211
|
+
stdout: z.ZodString;
|
|
212
|
+
stderr: z.ZodString;
|
|
213
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
214
|
+
}, z.core.$strip>;
|
|
215
|
+
export declare const FileSystemErrorSchema: z.ZodObject<{
|
|
216
|
+
_tag: z.ZodLiteral<"FileSystemError">;
|
|
217
|
+
path: z.ZodString;
|
|
218
|
+
message: z.ZodString;
|
|
219
|
+
}, z.core.$strip>;
|
|
220
|
+
export declare const IoFailedErrorSchema: z.ZodObject<{
|
|
221
|
+
_tag: z.ZodLiteral<"IoFailed">;
|
|
222
|
+
seam: z.ZodEnum<{
|
|
223
|
+
source: "source";
|
|
224
|
+
sink: "sink";
|
|
225
|
+
tool: "tool";
|
|
226
|
+
}>;
|
|
227
|
+
kind: z.ZodString;
|
|
228
|
+
message: z.ZodString;
|
|
229
|
+
}, z.core.$strip>;
|
|
230
|
+
export declare const RuntimeErrorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
231
|
+
_tag: z.ZodLiteral<"NothingToCommit">;
|
|
232
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
233
|
+
_tag: z.ZodLiteral<"BranchAlreadyExists">;
|
|
234
|
+
branch: z.ZodString;
|
|
235
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
236
|
+
_tag: z.ZodLiteral<"PushRejected">;
|
|
237
|
+
remote: z.ZodOptional<z.ZodString>;
|
|
238
|
+
stderr: z.ZodString;
|
|
239
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
240
|
+
_tag: z.ZodLiteral<"CommandFailed">;
|
|
241
|
+
command: z.ZodString;
|
|
242
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
243
|
+
stdout: z.ZodString;
|
|
244
|
+
stderr: z.ZodString;
|
|
245
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
246
|
+
_tag: z.ZodLiteral<"StructuredOutputValidationFailed">;
|
|
247
|
+
issues: z.ZodArray<z.ZodString>;
|
|
248
|
+
raw: z.ZodUnknown;
|
|
249
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
250
|
+
_tag: z.ZodLiteral<"UnsupportedFeature">;
|
|
251
|
+
feature: z.ZodString;
|
|
252
|
+
reason: z.ZodString;
|
|
253
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
254
|
+
_tag: z.ZodLiteral<"BackendFailed">;
|
|
255
|
+
backend: z.ZodEnum<{
|
|
256
|
+
claude: "claude";
|
|
257
|
+
codex: "codex";
|
|
258
|
+
opencode: "opencode";
|
|
259
|
+
pi: "pi";
|
|
260
|
+
}>;
|
|
261
|
+
message: z.ZodString;
|
|
262
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
263
|
+
_tag: z.ZodLiteral<"TypecheckFailed">;
|
|
264
|
+
stdout: z.ZodString;
|
|
265
|
+
stderr: z.ZodString;
|
|
266
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
267
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
268
|
+
_tag: z.ZodLiteral<"FileSystemError">;
|
|
269
|
+
path: z.ZodString;
|
|
270
|
+
message: z.ZodString;
|
|
271
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
272
|
+
_tag: z.ZodLiteral<"IoFailed">;
|
|
273
|
+
seam: z.ZodEnum<{
|
|
274
|
+
source: "source";
|
|
275
|
+
sink: "sink";
|
|
276
|
+
tool: "tool";
|
|
277
|
+
}>;
|
|
278
|
+
kind: z.ZodString;
|
|
279
|
+
message: z.ZodString;
|
|
280
|
+
}, z.core.$strip>], "_tag">;
|
|
281
|
+
export type BackendTag = z.infer<typeof BackendTagSchema>;
|
|
282
|
+
export type Usage = z.infer<typeof UsageSchema>;
|
|
283
|
+
export type ConversationEvent = z.infer<typeof ConversationEventSchema>;
|
|
284
|
+
export type OrcaEvent = z.infer<typeof OrcaEventSchema>;
|
|
285
|
+
export type LlmResult = z.infer<typeof LlmResultSchema>;
|
|
286
|
+
export type RuntimeError = z.infer<typeof RuntimeErrorSchema>;
|
|
287
|
+
export declare const CanonicalSchemas: {
|
|
288
|
+
readonly BackendTag: z.ZodEnum<{
|
|
289
|
+
claude: "claude";
|
|
290
|
+
codex: "codex";
|
|
291
|
+
opencode: "opencode";
|
|
292
|
+
pi: "pi";
|
|
293
|
+
}>;
|
|
294
|
+
readonly Usage: z.ZodObject<{
|
|
295
|
+
input: z.ZodNumber;
|
|
296
|
+
output: z.ZodNumber;
|
|
297
|
+
reasoning: z.ZodOptional<z.ZodNumber>;
|
|
298
|
+
}, z.core.$strip>;
|
|
299
|
+
readonly ConversationEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
300
|
+
type: z.ZodLiteral<"assistant_text_delta">;
|
|
301
|
+
text: z.ZodString;
|
|
302
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
303
|
+
type: z.ZodLiteral<"assistant_turn_end">;
|
|
304
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
305
|
+
type: z.ZodLiteral<"assistant_thinking_delta">;
|
|
306
|
+
text: z.ZodString;
|
|
307
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
308
|
+
type: z.ZodLiteral<"assistant_tool_call">;
|
|
309
|
+
id: z.ZodString;
|
|
310
|
+
name: z.ZodString;
|
|
311
|
+
input: z.ZodUnknown;
|
|
312
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
313
|
+
type: z.ZodLiteral<"tool_result">;
|
|
314
|
+
toolCallId: z.ZodString;
|
|
315
|
+
output: z.ZodUnknown;
|
|
316
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
317
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
318
|
+
type: z.ZodLiteral<"error">;
|
|
319
|
+
code: z.ZodOptional<z.ZodString>;
|
|
320
|
+
message: z.ZodString;
|
|
321
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
322
|
+
type: z.ZodLiteral<"user_prompt">;
|
|
323
|
+
text: z.ZodString;
|
|
324
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
325
|
+
type: z.ZodLiteral<"user_question">;
|
|
326
|
+
question: z.ZodString;
|
|
327
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
328
|
+
type: z.ZodLiteral<"approve_tool">;
|
|
329
|
+
toolCallId: z.ZodString;
|
|
330
|
+
name: z.ZodString;
|
|
331
|
+
input: z.ZodUnknown;
|
|
332
|
+
}, z.core.$strip>], "type">;
|
|
333
|
+
readonly OrcaEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
334
|
+
type: z.ZodLiteral<"user_prompt">;
|
|
335
|
+
text: z.ZodString;
|
|
336
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
337
|
+
type: z.ZodLiteral<"tool_use">;
|
|
338
|
+
name: z.ZodString;
|
|
339
|
+
input: z.ZodUnknown;
|
|
340
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
341
|
+
type: z.ZodLiteral<"assistant_message">;
|
|
342
|
+
text: z.ZodString;
|
|
343
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
344
|
+
type: z.ZodLiteral<"tokens_used">;
|
|
345
|
+
usage: z.ZodObject<{
|
|
346
|
+
input: z.ZodNumber;
|
|
347
|
+
output: z.ZodNumber;
|
|
348
|
+
reasoning: z.ZodOptional<z.ZodNumber>;
|
|
349
|
+
}, z.core.$strip>;
|
|
350
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
351
|
+
type: z.ZodLiteral<"structured_result">;
|
|
352
|
+
raw: z.ZodUnknown;
|
|
353
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
354
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
355
|
+
type: z.ZodLiteral<"step">;
|
|
356
|
+
name: z.ZodString;
|
|
357
|
+
status: z.ZodEnum<{
|
|
358
|
+
started: "started";
|
|
359
|
+
completed: "completed";
|
|
360
|
+
failed: "failed";
|
|
361
|
+
}>;
|
|
362
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
363
|
+
type: z.ZodLiteral<"error">;
|
|
364
|
+
code: z.ZodOptional<z.ZodString>;
|
|
365
|
+
message: z.ZodString;
|
|
366
|
+
}, z.core.$strip>], "type">;
|
|
367
|
+
readonly LlmResult: z.ZodObject<{
|
|
368
|
+
backend: z.ZodEnum<{
|
|
369
|
+
claude: "claude";
|
|
370
|
+
codex: "codex";
|
|
371
|
+
opencode: "opencode";
|
|
372
|
+
pi: "pi";
|
|
373
|
+
}>;
|
|
374
|
+
sessionId: z.ZodString;
|
|
375
|
+
output: z.ZodString;
|
|
376
|
+
structured: z.ZodOptional<z.ZodUnknown>;
|
|
377
|
+
usage: z.ZodOptional<z.ZodObject<{
|
|
378
|
+
input: z.ZodNumber;
|
|
379
|
+
output: z.ZodNumber;
|
|
380
|
+
reasoning: z.ZodOptional<z.ZodNumber>;
|
|
381
|
+
}, z.core.$strip>>;
|
|
382
|
+
}, z.core.$strip>;
|
|
383
|
+
readonly RuntimeError: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
384
|
+
_tag: z.ZodLiteral<"NothingToCommit">;
|
|
385
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
386
|
+
_tag: z.ZodLiteral<"BranchAlreadyExists">;
|
|
387
|
+
branch: z.ZodString;
|
|
388
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
389
|
+
_tag: z.ZodLiteral<"PushRejected">;
|
|
390
|
+
remote: z.ZodOptional<z.ZodString>;
|
|
391
|
+
stderr: z.ZodString;
|
|
392
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
393
|
+
_tag: z.ZodLiteral<"CommandFailed">;
|
|
394
|
+
command: z.ZodString;
|
|
395
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
396
|
+
stdout: z.ZodString;
|
|
397
|
+
stderr: z.ZodString;
|
|
398
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
399
|
+
_tag: z.ZodLiteral<"StructuredOutputValidationFailed">;
|
|
400
|
+
issues: z.ZodArray<z.ZodString>;
|
|
401
|
+
raw: z.ZodUnknown;
|
|
402
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
403
|
+
_tag: z.ZodLiteral<"UnsupportedFeature">;
|
|
404
|
+
feature: z.ZodString;
|
|
405
|
+
reason: z.ZodString;
|
|
406
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
407
|
+
_tag: z.ZodLiteral<"BackendFailed">;
|
|
408
|
+
backend: z.ZodEnum<{
|
|
409
|
+
claude: "claude";
|
|
410
|
+
codex: "codex";
|
|
411
|
+
opencode: "opencode";
|
|
412
|
+
pi: "pi";
|
|
413
|
+
}>;
|
|
414
|
+
message: z.ZodString;
|
|
415
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
416
|
+
_tag: z.ZodLiteral<"TypecheckFailed">;
|
|
417
|
+
stdout: z.ZodString;
|
|
418
|
+
stderr: z.ZodString;
|
|
419
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
420
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
421
|
+
_tag: z.ZodLiteral<"FileSystemError">;
|
|
422
|
+
path: z.ZodString;
|
|
423
|
+
message: z.ZodString;
|
|
424
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
425
|
+
_tag: z.ZodLiteral<"IoFailed">;
|
|
426
|
+
seam: z.ZodEnum<{
|
|
427
|
+
source: "source";
|
|
428
|
+
sink: "sink";
|
|
429
|
+
tool: "tool";
|
|
430
|
+
}>;
|
|
431
|
+
kind: z.ZodString;
|
|
432
|
+
message: z.ZodString;
|
|
433
|
+
}, z.core.$strip>], "_tag">;
|
|
434
|
+
};
|
|
435
|
+
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/model/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,gBAAgB;;;;;EAK3B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;iBAItB,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;iBAGnC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;iBAEjC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;iBAGvC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;iBAKlC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;iBAK3B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;iBAIlC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;iBAG3B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;iBAG7B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;iBAK5B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAUlC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;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AAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOnB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type Result } from "neverthrow";
|
|
2
|
+
import type { ZodType } from "zod";
|
|
3
|
+
import type { RuntimeError } from "./schemas.ts";
|
|
4
|
+
export interface StructuredOutput<T> {
|
|
5
|
+
readonly raw: unknown;
|
|
6
|
+
readonly value: T;
|
|
7
|
+
}
|
|
8
|
+
export declare function parseStructuredOutput<T>(schema: ZodType<T>, raw: unknown): Result<StructuredOutput<T>, RuntimeError>;
|
|
9
|
+
//# sourceMappingURL=structured.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"structured.d.ts","sourceRoot":"","sources":["../../src/model/structured.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,MAAM,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAEnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,WAAW,gBAAgB,CAAC,CAAC;IACjC,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC;CACnB;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EACrC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAClB,GAAG,EAAE,OAAO,GACX,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAY3C"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import type { Usage } from "../model/index.ts";
|
|
2
|
+
import { type TokenUsageSummary } from "../loop/termination.ts";
|
|
3
|
+
import type { LoopStopReason } from "../loop/builder/types.ts";
|
|
4
|
+
import type { LoopContextPressure } from "../loop/execution.ts";
|
|
5
|
+
import { type RunReporter } from "../run-output/index.ts";
|
|
6
|
+
export type StageStatus = "completed" | "failed";
|
|
7
|
+
/** Discriminated cleanup verdict. `clean`/`repaired` are safe improvements
|
|
8
|
+
* (pass); `regressed`/`guard-reject` are reverted changes (fail); `declined`
|
|
9
|
+
* is a neutral no-op; `precondition-skip` is excluded from the backend's
|
|
10
|
+
* denominator because the file's gate was already red before the agent ran. */
|
|
11
|
+
export type OutcomeVerdict = "clean" | "repaired" | "regressed" | "guard-reject" | "declined" | "precondition-skip";
|
|
12
|
+
/** Why a `regressed` change could not be made to pass the gate. */
|
|
13
|
+
export type RegressedReason = "stuck" | "timeout" | "ceiling";
|
|
14
|
+
export interface StageLog {
|
|
15
|
+
readonly name: string;
|
|
16
|
+
readonly startedAt: string;
|
|
17
|
+
readonly durationMs: number;
|
|
18
|
+
readonly status: StageStatus;
|
|
19
|
+
}
|
|
20
|
+
export interface CommandLog {
|
|
21
|
+
readonly command: string;
|
|
22
|
+
readonly status: "passed" | "failed";
|
|
23
|
+
readonly stdout: string;
|
|
24
|
+
readonly stderr: string;
|
|
25
|
+
readonly exitCode: number | null;
|
|
26
|
+
readonly durationMs: number;
|
|
27
|
+
}
|
|
28
|
+
export interface OutcomeLog {
|
|
29
|
+
readonly file: string;
|
|
30
|
+
readonly verdict: OutcomeVerdict;
|
|
31
|
+
readonly durationMs: number;
|
|
32
|
+
readonly smellsRemoved: readonly string[];
|
|
33
|
+
readonly changedPaths?: readonly string[];
|
|
34
|
+
readonly validation?: readonly CommandLog[];
|
|
35
|
+
readonly reason?: string;
|
|
36
|
+
/** Repair iterations to reach green: 0 for `clean`, K for `repaired`. */
|
|
37
|
+
readonly iterations?: number;
|
|
38
|
+
/** Set only when `verdict === "regressed"`. */
|
|
39
|
+
readonly regressedReason?: RegressedReason;
|
|
40
|
+
/** Total agent tokens spent on this file (initial edit + repairs). */
|
|
41
|
+
readonly tokens?: number;
|
|
42
|
+
readonly usage?: Usage;
|
|
43
|
+
readonly snapshotPath?: string;
|
|
44
|
+
}
|
|
45
|
+
export interface FailureLog {
|
|
46
|
+
readonly file: string;
|
|
47
|
+
readonly error: unknown;
|
|
48
|
+
readonly durationMs: number;
|
|
49
|
+
readonly category?: string;
|
|
50
|
+
}
|
|
51
|
+
export interface WorkflowRunSummary {
|
|
52
|
+
/** Safe improvements: `clean` + `repaired`. */
|
|
53
|
+
readonly pass: number;
|
|
54
|
+
/** Reverted changes (`regressed` + `guard-reject`) plus thrown failures. */
|
|
55
|
+
readonly fail: number;
|
|
56
|
+
/** Neutral no-ops: `declined`. */
|
|
57
|
+
readonly skip: number;
|
|
58
|
+
/** Files whose gate was already red before the agent — excluded from the
|
|
59
|
+
* pass-rate denominator (`pass + fail + skip`). */
|
|
60
|
+
readonly preconditionSkip: number;
|
|
61
|
+
readonly durationMs: number;
|
|
62
|
+
}
|
|
63
|
+
/** Stop status known at a cycle. `running` = no terminal reason yet — the incipient-runaway
|
|
64
|
+
* window where a flat `delta` with rising `cumulativeUsage` is visible before a guard fires. */
|
|
65
|
+
export type CycleStopStatus = LoopStopReason | "running";
|
|
66
|
+
/** One branch of a fan-out cycle. Missing backend usage is `unknown`, not zero. */
|
|
67
|
+
export interface BranchProgress {
|
|
68
|
+
readonly id: string;
|
|
69
|
+
readonly status: StageStatus;
|
|
70
|
+
readonly usage: Usage | "unknown";
|
|
71
|
+
}
|
|
72
|
+
/** A completed cycle's progress record, appended to the run log. */
|
|
73
|
+
export interface CycleProgress {
|
|
74
|
+
readonly iteration: number;
|
|
75
|
+
readonly measure: number;
|
|
76
|
+
/** Change in `measure` vs the prior recorded cycle (`0` for the first). */
|
|
77
|
+
readonly delta: number;
|
|
78
|
+
readonly stopReasonSoFar: CycleStopStatus;
|
|
79
|
+
/** Present only for a fan-out cycle. */
|
|
80
|
+
readonly branches?: readonly BranchProgress[];
|
|
81
|
+
/** Cumulative reported usage across cycles; `unknown` (not zero) once any cycle reports none. */
|
|
82
|
+
readonly cumulativeUsage: TokenUsageSummary;
|
|
83
|
+
/** Context pressure evidence from loop execution when offload or compaction ran. */
|
|
84
|
+
readonly contextPressure?: LoopContextPressure;
|
|
85
|
+
}
|
|
86
|
+
/** A single branch of a fan-out cycle as observed by the caller; `usage` omitted ⇒ `unknown`. */
|
|
87
|
+
export interface BranchObservation {
|
|
88
|
+
readonly id: string;
|
|
89
|
+
readonly status: StageStatus;
|
|
90
|
+
readonly usage?: Usage;
|
|
91
|
+
}
|
|
92
|
+
/** Caller input for {@link WorkflowMonitor.recordCycle}; `delta` and `cumulativeUsage` are derived. */
|
|
93
|
+
export interface CycleObservation {
|
|
94
|
+
readonly iteration: number;
|
|
95
|
+
/** Current measure from the manifest projection / loop variant. */
|
|
96
|
+
readonly measure: number;
|
|
97
|
+
/** Total backend usage reported this cycle (non-fanout); omit ⇒ cumulative becomes `unknown`. */
|
|
98
|
+
readonly usage?: Usage;
|
|
99
|
+
/** Per-branch records for a fan-out cycle; when present, cumulative usage folds each branch. */
|
|
100
|
+
readonly branches?: readonly BranchObservation[];
|
|
101
|
+
/** Terminal stop reason for the loop-ending cycle. Defaults to a value derived from the variant:
|
|
102
|
+
* `converged` when `measure <= floor`, else `running`. */
|
|
103
|
+
readonly stopReason?: LoopStopReason;
|
|
104
|
+
/** Convergence floor for the derived stop status; default `0` (the loop builder's floor). */
|
|
105
|
+
readonly floor?: number;
|
|
106
|
+
/** Context pressure evidence emitted by loop execution for this cycle. */
|
|
107
|
+
readonly contextPressure?: LoopContextPressure;
|
|
108
|
+
}
|
|
109
|
+
export interface WorkflowRunLog {
|
|
110
|
+
readonly runId: string;
|
|
111
|
+
readonly startedAt: string;
|
|
112
|
+
readonly backend: string;
|
|
113
|
+
readonly stages: readonly StageLog[];
|
|
114
|
+
readonly outcomes: readonly OutcomeLog[];
|
|
115
|
+
readonly failures: readonly FailureLog[];
|
|
116
|
+
readonly summary: WorkflowRunSummary;
|
|
117
|
+
/** Per-cycle progress stream; empty for a non-loop run. */
|
|
118
|
+
readonly progress: readonly CycleProgress[];
|
|
119
|
+
}
|
|
120
|
+
export interface WorkflowMonitorOptions {
|
|
121
|
+
readonly writeStatus?: (line: string) => void;
|
|
122
|
+
readonly reporter?: RunReporter;
|
|
123
|
+
readonly statusIntervalMs?: number;
|
|
124
|
+
}
|
|
125
|
+
export declare class WorkflowMonitor {
|
|
126
|
+
#private;
|
|
127
|
+
constructor(backend: string, options?: WorkflowMonitorOptions);
|
|
128
|
+
get runId(): string;
|
|
129
|
+
stage<T>(name: string, fn: () => Promise<T>): Promise<T>;
|
|
130
|
+
recordOutcome(log: OutcomeLog): void;
|
|
131
|
+
recordFailure(log: FailureLog): void;
|
|
132
|
+
/** Append a per-cycle progress record. `delta` is derived against the prior cycle's `measure`
|
|
133
|
+
* and `cumulativeUsage` is folded with the L02 token counter, so both stay consistent with the
|
|
134
|
+
* termination variant and a usage-less cycle reports `unknown` rather than zero. */
|
|
135
|
+
recordCycle(observation: CycleObservation): void;
|
|
136
|
+
toJson(): WorkflowRunLog;
|
|
137
|
+
writeLog(logDir: string): Promise<void>;
|
|
138
|
+
}
|
|
139
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/monitor/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAsB,KAAK,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AACpF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MA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CAAC;IACzC,QAAQ,CAAC,QAAQ,EAAE,SAAS,UAAU,EAAE,CAAC;IACzC,QAAQ,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACrC,2DAA2D;IAC3D,QAAQ,CAAC,QAAQ,EAAE,SAAS,aAAa,EAAE,CAAC;CAC7C;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,QAAQ,CAAC,QAAQ,CAAC,EAAE,WAAW,CAAC;IAChC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CACpC;AAID,qBAAa,eAAe;;gBAad,OAAO,EAAE,MAAM,EAAE,OAAO,GAAE,sBAA2B;IASjE,IAAI,KAAK,IAAI,MAAM,CAElB;IAEK,KAAK,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAuB9D,aAAa,CAAC,GAAG,EAAE,UAAU,GAAG,IAAI;IAWpC,aAAa,CAAC,GAAG,EAAE,UAAU,GAAG,IAAI;IAWpC;;wFAEoF;IACpF,WAAW,CAAC,WAAW,EAAE,gBAAgB,GAAG,IAAI;IAyChD,MAAM,IAAI,cAAc;IAmBlB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAyB9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plan/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type Result } from "neverthrow";
|
|
2
|
+
import type { RuntimeError } from "../model/index.ts";
|
|
3
|
+
import { type FsTool } from "../tools/index.ts";
|
|
4
|
+
export interface PlanTask {
|
|
5
|
+
readonly id: string;
|
|
6
|
+
readonly description: string;
|
|
7
|
+
}
|
|
8
|
+
export interface PlanLoopResult {
|
|
9
|
+
readonly completed: readonly string[];
|
|
10
|
+
}
|
|
11
|
+
export declare function planHash(input: string): string;
|
|
12
|
+
export declare function defaultPlanPath(root: string, input: string): string;
|
|
13
|
+
export declare function writePlan(root: string, input: string, content: string, fsTool?: FsTool): Promise<Result<string, RuntimeError>>;
|
|
14
|
+
export declare function recoverPlan(path: string, fsTool?: FsTool): Promise<Result<string, RuntimeError>>;
|
|
15
|
+
/** Sequential-task `.until()` strategy over loop execution (design D7):
|
|
16
|
+
* drive the pending-task count to zero, implementing one task per cycle and
|
|
17
|
+
* stopping at the first typed failure. */
|
|
18
|
+
export declare function sequentialTaskStrategy(tasks: readonly PlanTask[], implement: (task: PlanTask) => Promise<Result<void, RuntimeError>>): Promise<Result<PlanLoopResult, RuntimeError>>;
|
|
19
|
+
/** Deprecated compatibility wrapper kept for one release (design D7): delegates to
|
|
20
|
+
* `sequentialTaskStrategy` and emits a runtime DeprecationWarning. Not tagged
|
|
21
|
+
* `@deprecated` so existing callers still using it for this release stay lint-clean. */
|
|
22
|
+
export declare function implementTaskLoop(tasks: readonly PlanTask[], implement: (task: PlanTask) => Promise<Result<void, RuntimeError>>): Promise<Result<PlanLoopResult, RuntimeError>>;
|
|
23
|
+
//# sourceMappingURL=persistent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"persistent.d.ts","sourceRoot":"","sources":["../../src/plan/persistent.ts"],"names":[],"mappings":"AAEA,OAAO,EAAW,KAAK,MAAM,EAAE,MAAM,YAAY,CAAC;AAElD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAgB,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE9D,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,WAAW,EAAE,MA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AQ,CAAC,IAAI,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAA;CAAE,GAC/C;IAAE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,GAAG,QAAQ,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/review/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC"}
|