@yolk-sdk/agent 0.1.0-canary.103 → 0.1.0-canary.104
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 +44 -42
- package/dist/classification/errors.d.mts +1 -1
- package/dist/classification/errors.mjs +1 -1
- package/dist/client/state.d.mts +48 -48
- package/dist/client/state.d.mts.map +1 -1
- package/dist/client/transport.d.mts +1 -1
- package/dist/client/transport.mjs +1 -1
- package/dist/compaction/retry.d.mts +30 -30
- package/dist/compaction/retry.d.mts.map +1 -1
- package/dist/compaction/window.d.mts +39 -39
- package/dist/compaction/window.d.mts.map +1 -1
- package/dist/loop/error.d.mts +1 -1
- package/dist/loop/error.mjs +1 -1
- package/dist/loop/llm-event.d.mts +1 -1
- package/dist/loop/llm-event.mjs +1 -1
- package/dist/loop/run.d.mts +14 -1
- package/dist/loop/run.d.mts.map +1 -1
- package/dist/loop/run.mjs +39 -2
- package/dist/loop/run.mjs.map +1 -1
- package/dist/protocol/change-preview.d.mts +475 -0
- package/dist/protocol/change-preview.d.mts.map +1 -0
- package/dist/protocol/change-preview.mjs +164 -0
- package/dist/protocol/change-preview.mjs.map +1 -0
- package/dist/protocol/index.d.mts +2 -1
- package/dist/protocol/index.d.mts.map +1 -1
- package/dist/protocol/index.mjs +2 -1
- package/dist/protocol/tool.d.mts +131 -0
- package/dist/protocol/tool.d.mts.map +1 -1
- package/dist/protocol/tool.mjs +11 -1
- package/dist/protocol/tool.mjs.map +1 -1
- package/dist/providers/anthropic/conformance/cases.mjs +1 -1
- package/dist/providers/anthropic-messages-provider-internal.mjs +1 -1
- package/dist/providers/anthropic-provider-internal.mjs +1 -1
- package/dist/providers/openai/conformance/responses-cases-internal.mjs +1 -1
- package/dist/providers/openai/provider.d.mts +1 -1
- package/dist/providers/openai/provider.mjs +1 -1
- package/dist/providers/openai/realtime/client-codec.mjs +1 -1
- package/dist/providers/openai/realtime/session-config.d.mts +1 -1
- package/dist/providers/openai/realtime/session-config.mjs +1 -1
- package/dist/providers/openai-responses-provider-internal.d.mts +1 -1
- package/dist/providers/openai-responses-provider-internal.mjs +1 -1
- package/dist/providers/opencode/conformance/cases.mjs +1 -1
- package/dist/providers/vercel/ai-gateway-classifier.mjs +1 -1
- package/dist/react/chat-actions.d.mts +26 -26
- package/dist/react/chat-actions.d.mts.map +1 -1
- package/dist/react/chat-items.d.mts +73 -73
- package/dist/react/chat-items.d.mts.map +1 -1
- package/dist/react/chat-items.mjs +1 -1
- package/dist/react/chat-messages.d.mts +75 -75
- package/dist/react/chat-messages.d.mts.map +1 -1
- package/dist/react/chat-session-events.d.mts +1 -1
- package/dist/react/chat-session-events.mjs +1 -1
- package/dist/runtime/error.d.mts +1 -1
- package/dist/runtime/error.mjs +1 -1
- package/dist/runtime/run-runtime.d.mts +3 -2
- package/dist/runtime/run-runtime.d.mts.map +1 -1
- package/dist/runtime/run-runtime.mjs +1 -0
- package/dist/runtime/run-runtime.mjs.map +1 -1
- package/dist/runtime/session-event-store.d.mts +1 -1
- package/dist/runtime/session-event-store.mjs +1 -1
- package/dist/skillset/merge.d.mts +2 -2
- package/dist/tools/arguments.d.mts +1 -1
- package/dist/tools/arguments.mjs +1 -1
- package/dist/tools/background.d.mts +1 -1
- package/dist/tools/background.mjs +1 -1
- package/dist/tools/change-preview.d.mts +83 -0
- package/dist/tools/change-preview.d.mts.map +1 -0
- package/dist/tools/change-preview.mjs +374 -0
- package/dist/tools/change-preview.mjs.map +1 -0
- package/dist/tools/index.d.mts +5 -3
- package/dist/tools/index.mjs +4 -2
- package/dist/tools/input.d.mts +1 -1
- package/dist/tools/input.mjs +1 -1
- package/dist/tools/interaction.d.mts +1 -1
- package/dist/tools/interaction.mjs +1 -1
- package/dist/tools/ledger.d.mts +1 -1
- package/dist/tools/ledger.mjs +1 -1
- package/dist/tools/plan-review.d.mts +4 -3
- package/dist/tools/plan-review.d.mts.map +1 -1
- package/dist/tools/plan-review.mjs +5 -4
- package/dist/tools/plan-review.mjs.map +1 -1
- package/dist/tools/plan-runtime.d.mts +3 -2
- package/dist/tools/plan-runtime.d.mts.map +1 -1
- package/dist/tools/plan-runtime.mjs +24 -26
- package/dist/tools/plan-runtime.mjs.map +1 -1
- package/dist/tools/plan.d.mts +290 -24
- package/dist/tools/plan.d.mts.map +1 -1
- package/dist/tools/plan.mjs +36 -17
- package/dist/tools/plan.mjs.map +1 -1
- package/dist/tools/registry.d.mts +40 -7
- package/dist/tools/registry.d.mts.map +1 -1
- package/dist/tools/registry.mjs +50 -12
- package/dist/tools/registry.mjs.map +1 -1
- package/dist/tools/subagent.mjs +1 -1
- package/dist/voice/projection.d.mts +1 -1
- package/dist/voice/projection.mjs +1 -1
- package/dist/voice/protocol.d.mts +1 -1
- package/dist/voice/protocol.mjs +1 -1
- package/dist/voice/session-log.d.mts +1 -1
- package/dist/voice/session-log.mjs +1 -1
- package/dist/voice/speech.d.mts +1 -1
- package/dist/voice/speech.mjs +1 -1
- package/dist/voice/tool-bridge.mjs +1 -1
- package/dist/voice/tool-server.mjs +1 -1
- package/package.json +2 -2
- package/src/loop/run.ts +94 -1
- package/src/protocol/change-preview.ts +216 -0
- package/src/protocol/index.ts +21 -0
- package/src/protocol/tool.ts +11 -1
- package/src/runtime/run-runtime.ts +4 -0
- package/src/tools/README.md +18 -3
- package/src/tools/change-preview.ts +699 -0
- package/src/tools/index.ts +34 -1
- package/src/tools/plan-review.ts +4 -3
- package/src/tools/plan-runtime.ts +30 -42
- package/src/tools/plan.ts +30 -32
- package/src/tools/registry.ts +139 -22
package/README.md
CHANGED
|
@@ -20,47 +20,47 @@ Published package metadata requires Node.js 22+.
|
|
|
20
20
|
|
|
21
21
|
## Subpaths
|
|
22
22
|
|
|
23
|
-
| Subpath | Purpose
|
|
24
|
-
| -------------------------------------------------------- |
|
|
25
|
-
| `@yolk-sdk/agent/protocol` | Wire messages, events, content, usage, tool schemas
|
|
26
|
-
| `@yolk-sdk/agent/loop` | Stateless LLM/tool loop
|
|
27
|
-
| `@yolk-sdk/agent/loop/testing` | Faux provider and tool executor test helpers
|
|
28
|
-
| `@yolk-sdk/agent/runtime` | Transcript or append-backed runtime orchestration
|
|
29
|
-
| `@yolk-sdk/agent/client` | HTTP/NDJSON transport, HITL resume, retry/error state helpers
|
|
30
|
-
| `@yolk-sdk/agent/compaction` | Host-owned compaction budgets, checkpoints, formatting, retry
|
|
31
|
-
| `@yolk-sdk/agent/classification` | Classifier model contract: typed questions, answers, usage, errors
|
|
32
|
-
| `@yolk-sdk/agent/tools` | Tool registry, typed inputs, interactions, subagents/questions, durable tool ledger, staged tool plans |
|
|
33
|
-
| `@yolk-sdk/agent/react` | Headless React chat hook, reducer, selectors, and render model
|
|
34
|
-
| `@yolk-sdk/agent/oauth` | Provider-neutral OAuth token and broker contracts
|
|
35
|
-
| `@yolk-sdk/agent/providers/openai` | OpenAI/Codex OAuth and broker helpers
|
|
36
|
-
| `@yolk-sdk/agent/providers/openai/codex` | OpenAI Codex request and auth helpers
|
|
37
|
-
| `@yolk-sdk/agent/providers/openai/codex-usage` | Codex subscription-allowance snapshots
|
|
38
|
-
| `@yolk-sdk/agent/providers/openai/codex-provider` | Codex LLM provider factory
|
|
39
|
-
| `@yolk-sdk/agent/providers/openai/provider` | OpenAI-compatible LLM provider factory
|
|
40
|
-
| `@yolk-sdk/agent/providers/openai/conformance` | Synthetic OpenAI chat, Codex Responses, and Codex usage fixtures and conformance cases
|
|
41
|
-
| `@yolk-sdk/agent/providers/openai/realtime` | OpenAI Realtime session config and event codecs
|
|
42
|
-
| `@yolk-sdk/agent/providers/openai/speech` | OpenAI text-to-speech and transcription adapters
|
|
43
|
-
| `@yolk-sdk/agent/providers/vercel/ai-gateway-provider` | Vercel AI Gateway Chat Completions provider factory
|
|
44
|
-
| `@yolk-sdk/agent/providers/vercel/ai-gateway-classifier` | Vercel AI Gateway classifier (`POST /v1/evaluate`) layer
|
|
45
|
-
| `@yolk-sdk/agent/providers/vercel/conformance` | Verified Gateway chat fixtures, synthetic classifier fixtures, and conformance cases
|
|
46
|
-
| `@yolk-sdk/agent/providers/opencode/go-provider` | OpenCode Go Chat Completions, Messages, and Responses provider
|
|
47
|
-
| `@yolk-sdk/agent/providers/opencode/usage` | OpenCode Go subscription-allowance snapshots
|
|
48
|
-
| `@yolk-sdk/agent/providers/opencode/conformance` | Synthetic OpenCode Go (per protocol, commentary replay, usage) fixtures and conformance cases
|
|
49
|
-
| `@yolk-sdk/agent/providers/anthropic` | Anthropic/Claude OAuth and broker helpers
|
|
50
|
-
| `@yolk-sdk/agent/providers/anthropic/claude` | Claude request and auth helpers
|
|
51
|
-
| `@yolk-sdk/agent/providers/anthropic/usage` | Claude subscription-allowance snapshots
|
|
52
|
-
| `@yolk-sdk/agent/providers/anthropic/claude-provider` | Claude LLM provider factory
|
|
53
|
-
| `@yolk-sdk/agent/providers/anthropic/conformance` | Synthetic Anthropic Messages and Claude usage fixtures and conformance cases
|
|
54
|
-
| `@yolk-sdk/agent/providers/xai` | Grok subscription OAuth and token broker helpers
|
|
55
|
-
| `@yolk-sdk/agent/providers/xai/grok` | Grok subscription request and auth helpers
|
|
56
|
-
| `@yolk-sdk/agent/providers/xai/grok-provider` | Grok subscription LLM provider factory
|
|
57
|
-
| `@yolk-sdk/agent/providers/xai/usage` | Grok subscription-allowance snapshots
|
|
58
|
-
| `@yolk-sdk/agent/providers/xai/conformance` | Synthetic Grok Responses and Grok usage fixtures and conformance cases
|
|
59
|
-
| `@yolk-sdk/agent/providers/subscription-usage` | Shared allowance snapshot and safe error schemas
|
|
60
|
-
| `@yolk-sdk/agent/skillset` | Portable skill and slash-command parsing/catalogs
|
|
61
|
-
| `@yolk-sdk/agent/voice` | Voice protocol, controller, tool handler, projection, speech
|
|
62
|
-
| `@yolk-sdk/agent/voice/browser` | Browser WebRTC voice transport
|
|
63
|
-
| `@yolk-sdk/agent/voice/react` | Headless browser voice React hook
|
|
23
|
+
| Subpath | Purpose |
|
|
24
|
+
| -------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
|
|
25
|
+
| `@yolk-sdk/agent/protocol` | Wire messages, events, content, usage, tool schemas |
|
|
26
|
+
| `@yolk-sdk/agent/loop` | Stateless LLM/tool loop |
|
|
27
|
+
| `@yolk-sdk/agent/loop/testing` | Faux provider and tool executor test helpers |
|
|
28
|
+
| `@yolk-sdk/agent/runtime` | Transcript or append-backed runtime orchestration |
|
|
29
|
+
| `@yolk-sdk/agent/client` | HTTP/NDJSON transport, HITL resume, retry/error state helpers |
|
|
30
|
+
| `@yolk-sdk/agent/compaction` | Host-owned compaction budgets, checkpoints, formatting, retry |
|
|
31
|
+
| `@yolk-sdk/agent/classification` | Classifier model contract: typed questions, answers, usage, errors |
|
|
32
|
+
| `@yolk-sdk/agent/tools` | Tool registry, typed inputs, interactions, subagents/questions, durable tool ledger, staged tool plans, tool change previews |
|
|
33
|
+
| `@yolk-sdk/agent/react` | Headless React chat hook, reducer, selectors, and render model |
|
|
34
|
+
| `@yolk-sdk/agent/oauth` | Provider-neutral OAuth token and broker contracts |
|
|
35
|
+
| `@yolk-sdk/agent/providers/openai` | OpenAI/Codex OAuth and broker helpers |
|
|
36
|
+
| `@yolk-sdk/agent/providers/openai/codex` | OpenAI Codex request and auth helpers |
|
|
37
|
+
| `@yolk-sdk/agent/providers/openai/codex-usage` | Codex subscription-allowance snapshots |
|
|
38
|
+
| `@yolk-sdk/agent/providers/openai/codex-provider` | Codex LLM provider factory |
|
|
39
|
+
| `@yolk-sdk/agent/providers/openai/provider` | OpenAI-compatible LLM provider factory |
|
|
40
|
+
| `@yolk-sdk/agent/providers/openai/conformance` | Synthetic OpenAI chat, Codex Responses, and Codex usage fixtures and conformance cases |
|
|
41
|
+
| `@yolk-sdk/agent/providers/openai/realtime` | OpenAI Realtime session config and event codecs |
|
|
42
|
+
| `@yolk-sdk/agent/providers/openai/speech` | OpenAI text-to-speech and transcription adapters |
|
|
43
|
+
| `@yolk-sdk/agent/providers/vercel/ai-gateway-provider` | Vercel AI Gateway Chat Completions provider factory |
|
|
44
|
+
| `@yolk-sdk/agent/providers/vercel/ai-gateway-classifier` | Vercel AI Gateway classifier (`POST /v1/evaluate`) layer |
|
|
45
|
+
| `@yolk-sdk/agent/providers/vercel/conformance` | Verified Gateway chat fixtures, synthetic classifier fixtures, and conformance cases |
|
|
46
|
+
| `@yolk-sdk/agent/providers/opencode/go-provider` | OpenCode Go Chat Completions, Messages, and Responses provider |
|
|
47
|
+
| `@yolk-sdk/agent/providers/opencode/usage` | OpenCode Go subscription-allowance snapshots |
|
|
48
|
+
| `@yolk-sdk/agent/providers/opencode/conformance` | Synthetic OpenCode Go (per protocol, commentary replay, usage) fixtures and conformance cases |
|
|
49
|
+
| `@yolk-sdk/agent/providers/anthropic` | Anthropic/Claude OAuth and broker helpers |
|
|
50
|
+
| `@yolk-sdk/agent/providers/anthropic/claude` | Claude request and auth helpers |
|
|
51
|
+
| `@yolk-sdk/agent/providers/anthropic/usage` | Claude subscription-allowance snapshots |
|
|
52
|
+
| `@yolk-sdk/agent/providers/anthropic/claude-provider` | Claude LLM provider factory |
|
|
53
|
+
| `@yolk-sdk/agent/providers/anthropic/conformance` | Synthetic Anthropic Messages and Claude usage fixtures and conformance cases |
|
|
54
|
+
| `@yolk-sdk/agent/providers/xai` | Grok subscription OAuth and token broker helpers |
|
|
55
|
+
| `@yolk-sdk/agent/providers/xai/grok` | Grok subscription request and auth helpers |
|
|
56
|
+
| `@yolk-sdk/agent/providers/xai/grok-provider` | Grok subscription LLM provider factory |
|
|
57
|
+
| `@yolk-sdk/agent/providers/xai/usage` | Grok subscription-allowance snapshots |
|
|
58
|
+
| `@yolk-sdk/agent/providers/xai/conformance` | Synthetic Grok Responses and Grok usage fixtures and conformance cases |
|
|
59
|
+
| `@yolk-sdk/agent/providers/subscription-usage` | Shared allowance snapshot and safe error schemas |
|
|
60
|
+
| `@yolk-sdk/agent/skillset` | Portable skill and slash-command parsing/catalogs |
|
|
61
|
+
| `@yolk-sdk/agent/voice` | Voice protocol, controller, tool handler, projection, speech |
|
|
62
|
+
| `@yolk-sdk/agent/voice/browser` | Browser WebRTC voice transport |
|
|
63
|
+
| `@yolk-sdk/agent/voice/react` | Headless browser voice React hook |
|
|
64
64
|
|
|
65
65
|
## Imports
|
|
66
66
|
|
|
@@ -680,6 +680,7 @@ HITL is protocol-level, not UI-level:
|
|
|
680
680
|
`submitToolApprovalResponse` / `submitQuestionResponse`, or using client stream helpers like
|
|
681
681
|
`streamToolApprovalResponseEventStream`.
|
|
682
682
|
- Denials become model-visible `ToolResult` messages with `isError = true`.
|
|
683
|
+
- Give approval-gated tools a `changePreview` hook (`makeTool({ approval, changePreview })`) and pass `resolveTools(...).approvalPreviews` as `approvalPreviews` to loop/runtime configs: pending `ToolApprovalRequest`s then carry a tool-agnostic before → after `preview` (`ToolChangePreview`) or `previewError`. Previews are display only and never block the approval. See [ADR 0006](https://github.com/magoz/yolk-sdk/blob/main/docs/adr/0006-tool-change-previews.md).
|
|
683
684
|
- Use `makeQuestionToolModule` to expose the package-owned `question` tool; answers resume as structured tool results and model-visible text with selected labels. The loop intercepts questions only when the tool is enabled in `tools`; omitted questions return an unavailable result without HITL or executor dispatch, even if a provider emits one.
|
|
684
685
|
- Use `makeInputTool({ name, description, response, renderer })` for custom typed input. Apps own the response Effect schema and renderer; the SDK carries JSON data only. Pass `resolveTools(...).inputs` alongside `tools` to loop/runtime configs. The original `callParameters` and `response` schemas validate server-side, including refinements; display JSON Schema is not the validator. Invalid calls fail before prompting; invalid submissions remain pending for correction. The first valid submission or cancellation settles the request and cannot be overwritten by stale responses.
|
|
685
686
|
- Resume custom inputs with `submitInputResponse`, `streamInputResponseEventStream`, or WebSocket `InputResponseInput`. Echo request/call IDs; do not reconstruct them. Input collection is not authorization: a draft composer never grants permission to send. Input tools cannot carry approval/background policy or execute directly.
|
|
@@ -969,7 +970,8 @@ normal execute path and ledger. Enable it with
|
|
|
969
970
|
`resolveTools(modules, context, { interactionHost, plans: { store, planId? } })` and one review tool.
|
|
970
971
|
Applied calls bypass `beforeNestedCall` and `ToolExecutor` decorators: wire your per-call authorizer
|
|
971
972
|
as `makePlanReviewTool({ beforeCall })`. With a ledger, a redelivered review waits for an in-flight
|
|
972
|
-
apply and returns its real outcome. `previewStoredToolPlan` pages
|
|
973
|
+
apply and returns its real outcome. `previewStoredToolPlan` pages each staged call's arguments
|
|
974
|
+
with the tool's change preview (the same `changePreview` hook approvals use) for review screens;
|
|
973
975
|
`ToolPlanOutcome` and `ToolPlanPreviewPage` are Effect Schemas. See
|
|
974
976
|
[ADR 0005](https://github.com/magoz/yolk-sdk/blob/main/docs/adr/0005-staged-tool-plans.md).
|
|
975
977
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClassificationUsage } from "./schema.mjs";
|
|
2
|
-
import * as Schema from "effect/Schema";
|
|
3
2
|
import { ProviderErrorInfo } from "@yolk-sdk/agent/protocol";
|
|
3
|
+
import * as Schema from "effect/Schema";
|
|
4
4
|
//#region src/classification/errors.ts
|
|
5
5
|
/**
|
|
6
6
|
* Why an answer does not fit its question:
|
package/dist/client/state.d.mts
CHANGED
|
@@ -80,6 +80,21 @@ type AgentToolRun = {
|
|
|
80
80
|
readonly result: ToolResult;
|
|
81
81
|
};
|
|
82
82
|
declare const AgentToolRun: {
|
|
83
|
+
readonly InputStreaming: Data.TaggedEnum.ConstructorFrom<{
|
|
84
|
+
readonly _tag: "InputStreaming";
|
|
85
|
+
readonly id: string;
|
|
86
|
+
readonly name?: string;
|
|
87
|
+
readonly input: string;
|
|
88
|
+
}, "_tag">;
|
|
89
|
+
readonly InputReady: Data.TaggedEnum.ConstructorFrom<{
|
|
90
|
+
readonly _tag: "InputReady";
|
|
91
|
+
readonly call: ToolCall;
|
|
92
|
+
}, "_tag">;
|
|
93
|
+
readonly ApprovalRequested: Data.TaggedEnum.ConstructorFrom<{
|
|
94
|
+
readonly _tag: "ApprovalRequested";
|
|
95
|
+
readonly call: ToolCall;
|
|
96
|
+
readonly request?: ToolApprovalRequest;
|
|
97
|
+
}, "_tag">;
|
|
83
98
|
readonly Denied: Data.TaggedEnum.ConstructorFrom<{
|
|
84
99
|
readonly _tag: "Denied";
|
|
85
100
|
readonly toolCallId: string;
|
|
@@ -127,21 +142,6 @@ declare const AgentToolRun: {
|
|
|
127
142
|
readonly response: InteractionResponse;
|
|
128
143
|
readonly request?: InteractionRequest;
|
|
129
144
|
}, "_tag">;
|
|
130
|
-
readonly InputStreaming: Data.TaggedEnum.ConstructorFrom<{
|
|
131
|
-
readonly _tag: "InputStreaming";
|
|
132
|
-
readonly id: string;
|
|
133
|
-
readonly name?: string;
|
|
134
|
-
readonly input: string;
|
|
135
|
-
}, "_tag">;
|
|
136
|
-
readonly InputReady: Data.TaggedEnum.ConstructorFrom<{
|
|
137
|
-
readonly _tag: "InputReady";
|
|
138
|
-
readonly call: ToolCall;
|
|
139
|
-
}, "_tag">;
|
|
140
|
-
readonly ApprovalRequested: Data.TaggedEnum.ConstructorFrom<{
|
|
141
|
-
readonly _tag: "ApprovalRequested";
|
|
142
|
-
readonly call: ToolCall;
|
|
143
|
-
readonly request?: ToolApprovalRequest;
|
|
144
|
-
}, "_tag">;
|
|
145
145
|
readonly Executing: Data.TaggedEnum.ConstructorFrom<{
|
|
146
146
|
readonly _tag: "Executing";
|
|
147
147
|
readonly call: ToolCall;
|
|
@@ -173,7 +173,7 @@ declare const AgentToolRun: {
|
|
|
173
173
|
readonly call: ToolCall;
|
|
174
174
|
readonly result: ToolResult;
|
|
175
175
|
}, "_tag">;
|
|
176
|
-
readonly $is: <Tag extends "
|
|
176
|
+
readonly $is: <Tag extends "InputStreaming" | "InputReady" | "ApprovalRequested" | "Denied" | "QuestionRequested" | "QuestionAnswered" | "QuestionCancelled" | "InputRequested" | "InputSubmitted" | "InputCancelled" | "InteractionRequested" | "InteractionSubmitted" | "InteractionCancelled" | "Executing" | "Completed" | "Accepted" | "Errored" | "ProviderCompleted">(tag: Tag) => (u: unknown) => u is Extract<{
|
|
177
177
|
readonly _tag: "InputStreaming";
|
|
178
178
|
readonly id: string;
|
|
179
179
|
readonly name?: string;
|
|
@@ -287,6 +287,21 @@ declare const AgentToolRun: {
|
|
|
287
287
|
}>;
|
|
288
288
|
readonly $match: {
|
|
289
289
|
<Cases extends {
|
|
290
|
+
readonly InputStreaming: (args: {
|
|
291
|
+
readonly _tag: "InputStreaming";
|
|
292
|
+
readonly id: string;
|
|
293
|
+
readonly name?: string;
|
|
294
|
+
readonly input: string;
|
|
295
|
+
}) => any;
|
|
296
|
+
readonly InputReady: (args: {
|
|
297
|
+
readonly _tag: "InputReady";
|
|
298
|
+
readonly call: ToolCall;
|
|
299
|
+
}) => any;
|
|
300
|
+
readonly ApprovalRequested: (args: {
|
|
301
|
+
readonly _tag: "ApprovalRequested";
|
|
302
|
+
readonly call: ToolCall;
|
|
303
|
+
readonly request?: ToolApprovalRequest;
|
|
304
|
+
}) => any;
|
|
290
305
|
readonly Denied: (args: {
|
|
291
306
|
readonly _tag: "Denied";
|
|
292
307
|
readonly toolCallId: string;
|
|
@@ -334,21 +349,6 @@ declare const AgentToolRun: {
|
|
|
334
349
|
readonly response: InteractionResponse;
|
|
335
350
|
readonly request?: InteractionRequest;
|
|
336
351
|
}) => any;
|
|
337
|
-
readonly InputStreaming: (args: {
|
|
338
|
-
readonly _tag: "InputStreaming";
|
|
339
|
-
readonly id: string;
|
|
340
|
-
readonly name?: string;
|
|
341
|
-
readonly input: string;
|
|
342
|
-
}) => any;
|
|
343
|
-
readonly InputReady: (args: {
|
|
344
|
-
readonly _tag: "InputReady";
|
|
345
|
-
readonly call: ToolCall;
|
|
346
|
-
}) => any;
|
|
347
|
-
readonly ApprovalRequested: (args: {
|
|
348
|
-
readonly _tag: "ApprovalRequested";
|
|
349
|
-
readonly call: ToolCall;
|
|
350
|
-
readonly request?: ToolApprovalRequest;
|
|
351
|
-
}) => any;
|
|
352
352
|
readonly Executing: (args: {
|
|
353
353
|
readonly _tag: "Executing";
|
|
354
354
|
readonly call: ToolCall;
|
|
@@ -380,8 +380,23 @@ declare const AgentToolRun: {
|
|
|
380
380
|
readonly call: ToolCall;
|
|
381
381
|
readonly result: ToolResult;
|
|
382
382
|
}) => any;
|
|
383
|
-
}>(cases: Cases): (value: AgentToolRun) => import("effect/Unify").Unify<ReturnType<Cases["
|
|
383
|
+
}>(cases: Cases): (value: AgentToolRun) => import("effect/Unify").Unify<ReturnType<Cases["InputStreaming" | "InputReady" | "ApprovalRequested" | "Denied" | "QuestionRequested" | "QuestionAnswered" | "QuestionCancelled" | "InputRequested" | "InputSubmitted" | "InputCancelled" | "InteractionRequested" | "InteractionSubmitted" | "InteractionCancelled" | "Executing" | "Completed" | "Accepted" | "Errored" | "ProviderCompleted"]>>;
|
|
384
384
|
<Cases extends {
|
|
385
|
+
readonly InputStreaming: (args: {
|
|
386
|
+
readonly _tag: "InputStreaming";
|
|
387
|
+
readonly id: string;
|
|
388
|
+
readonly name?: string;
|
|
389
|
+
readonly input: string;
|
|
390
|
+
}) => any;
|
|
391
|
+
readonly InputReady: (args: {
|
|
392
|
+
readonly _tag: "InputReady";
|
|
393
|
+
readonly call: ToolCall;
|
|
394
|
+
}) => any;
|
|
395
|
+
readonly ApprovalRequested: (args: {
|
|
396
|
+
readonly _tag: "ApprovalRequested";
|
|
397
|
+
readonly call: ToolCall;
|
|
398
|
+
readonly request?: ToolApprovalRequest;
|
|
399
|
+
}) => any;
|
|
385
400
|
readonly Denied: (args: {
|
|
386
401
|
readonly _tag: "Denied";
|
|
387
402
|
readonly toolCallId: string;
|
|
@@ -429,21 +444,6 @@ declare const AgentToolRun: {
|
|
|
429
444
|
readonly response: InteractionResponse;
|
|
430
445
|
readonly request?: InteractionRequest;
|
|
431
446
|
}) => any;
|
|
432
|
-
readonly InputStreaming: (args: {
|
|
433
|
-
readonly _tag: "InputStreaming";
|
|
434
|
-
readonly id: string;
|
|
435
|
-
readonly name?: string;
|
|
436
|
-
readonly input: string;
|
|
437
|
-
}) => any;
|
|
438
|
-
readonly InputReady: (args: {
|
|
439
|
-
readonly _tag: "InputReady";
|
|
440
|
-
readonly call: ToolCall;
|
|
441
|
-
}) => any;
|
|
442
|
-
readonly ApprovalRequested: (args: {
|
|
443
|
-
readonly _tag: "ApprovalRequested";
|
|
444
|
-
readonly call: ToolCall;
|
|
445
|
-
readonly request?: ToolApprovalRequest;
|
|
446
|
-
}) => any;
|
|
447
447
|
readonly Executing: (args: {
|
|
448
448
|
readonly _tag: "Executing";
|
|
449
449
|
readonly call: ToolCall;
|
|
@@ -475,7 +475,7 @@ declare const AgentToolRun: {
|
|
|
475
475
|
readonly call: ToolCall;
|
|
476
476
|
readonly result: ToolResult;
|
|
477
477
|
}) => any;
|
|
478
|
-
}>(value: AgentToolRun, cases: Cases): import("effect/Unify").Unify<ReturnType<Cases["
|
|
478
|
+
}>(value: AgentToolRun, cases: Cases): import("effect/Unify").Unify<ReturnType<Cases["InputStreaming" | "InputReady" | "ApprovalRequested" | "Denied" | "QuestionRequested" | "QuestionAnswered" | "QuestionCancelled" | "InputRequested" | "InputSubmitted" | "InputCancelled" | "InteractionRequested" | "InteractionSubmitted" | "InteractionCancelled" | "Executing" | "Completed" | "Accepted" | "Errored" | "ProviderCompleted"]>>;
|
|
479
479
|
};
|
|
480
480
|
};
|
|
481
481
|
type AgentClientState = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.mts","names":[],"sources":["../../src/client/state.ts"],"mappings":";;;;KAoBY,cAAA;AAAA,KAEA,YAAA;EAAA,SAEG,IAAA;EAAA,SACA,EAAA;EAAA,SACA,IAAA;EAAA,SACA,KAAA;AAAA;EAAA,SAEA,IAAA;EAAA,SAA6B,IAAA,EAAM,QAAA;AAAA;EAAA,SAEnC,IAAA;EAAA,SACA,IAAA,EAAM,QAAA;EAAA,SACN,OAAA,GAAU,mBAAA;AAAA;EAAA,SAEV,IAAA;EAAA,SAAyB,UAAA;EAAA,SAA6B,MAAA;AAAA;EAAA,SACtD,IAAA;EAAA,SAAoC,OAAA,EA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AA,GACX,QAAA,EAAU,aAAA,CAAc,WAAA,MACvB,aAAA,CAAc,YAAA;AAAA,cAwNJ,kBAAA,GACX,QAAA,EAAU,aAAA,CAAc,YAAA,GACxB,OAAA,EAAS,YAAA,KACR,eAAA;AAAA,cAUU,eAAA,GAAmB,KAAA,EAAO,gBAAA,EAAkB,KAAA,EAAO,UAAA,KAAa,gBAAA;AAAA,cAMhE,0BAAA,GACX,KAAA,EAAO,gBAAA,EACP,KAAA,EAAO,UAAA,EACP,OAAA,GAAS,sBAAA,KACR,gBAAA;AAAA,cA2SU,sBAAA,GACX,KAAA,EAAO,gBAAA,EACP,OAAA,EAAS,WAAA,KACR,gBAAA;AAAA,cAcU,cAAA,GACX,KAAA,EAAO,gBAAA,EACP,OAAA,WACA,SAAA,GAAW,UAAA,YACV,gBAAA;AAAA,cASU,gBAAA,GAAoB,KAAA,EAAO,gBAAA,KAAmB,gBAOzD;AAAA,cAEW,iBAAA,GACX,MAAA,EAAQ,aAAA,CAAc,UAAA,GACtB,YAAA,GAAc,gBAAA,EACd,OAAA,GAAS,sBAAA,KAA2B,gBAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AgentTranscript } from "./state.mjs";
|
|
2
2
|
import { Cause, Effect, Layer, Stream } from "effect";
|
|
3
|
-
import * as Schema$1 from "effect/Schema";
|
|
4
3
|
import { AgentEvent, AgentReasoningEffort, HitlResponse, InputResponse, InteractionResponse, QuestionResponse, ToolApprovalResponse } from "@yolk-sdk/agent/protocol";
|
|
4
|
+
import * as Schema$1 from "effect/Schema";
|
|
5
5
|
import { HttpClient } from "effect/http";
|
|
6
6
|
|
|
7
7
|
//#region src/client/transport.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Cause, Channel, Data, Effect, Exit, Match, Predicate, Pull, Queue, Ref, Result, Scope, Stream } from "effect";
|
|
2
|
-
import * as Schema$1 from "effect/Schema";
|
|
3
2
|
import { AgentEvent, AgentWebSocketServerMessage, InputResponseInput, InteractionResponseInput, QuestionResponseInput, ToolApprovalResponseInput, UserInput, isTerminalAgentEvent } from "@yolk-sdk/agent/protocol";
|
|
3
|
+
import * as Schema$1 from "effect/Schema";
|
|
4
4
|
import { FetchHttpClient, HttpClient, HttpClientRequest } from "effect/http";
|
|
5
5
|
//#region src/client/transport.ts
|
|
6
6
|
var AgentTransportError = class extends Schema$1.TaggedError()("AgentTransportError", {
|
|
@@ -12,58 +12,58 @@ type ContextOverflowRetryCompactionResult = Data.TaggedEnum<{
|
|
|
12
12
|
};
|
|
13
13
|
}>;
|
|
14
14
|
declare const ContextOverflowRetryCompactionResult: {
|
|
15
|
-
readonly Skipped: Data.TaggedEnum.ConstructorFrom<{
|
|
16
|
-
readonly _tag: "Skipped";
|
|
17
|
-
readonly messages: ReadonlyArray<AgentMessage>;
|
|
18
|
-
}, "_tag">;
|
|
19
15
|
readonly Compacted: Data.TaggedEnum.ConstructorFrom<{
|
|
20
16
|
readonly _tag: "Compacted";
|
|
21
17
|
readonly messages: ReadonlyArray<AgentMessage>;
|
|
22
18
|
}, "_tag">;
|
|
23
|
-
readonly
|
|
19
|
+
readonly Skipped: Data.TaggedEnum.ConstructorFrom<{
|
|
24
20
|
readonly _tag: "Skipped";
|
|
25
21
|
readonly messages: ReadonlyArray<AgentMessage>;
|
|
22
|
+
}, "_tag">;
|
|
23
|
+
readonly $is: <Tag extends "Compacted" | "Skipped">(tag: Tag) => (u: unknown) => u is Extract<{
|
|
24
|
+
readonly _tag: "Compacted";
|
|
25
|
+
readonly messages: ReadonlyArray<AgentMessage>;
|
|
26
26
|
}, {
|
|
27
27
|
readonly _tag: Tag;
|
|
28
28
|
}> | Extract<{
|
|
29
|
-
readonly _tag: "
|
|
29
|
+
readonly _tag: "Skipped";
|
|
30
30
|
readonly messages: ReadonlyArray<AgentMessage>;
|
|
31
31
|
}, {
|
|
32
32
|
readonly _tag: Tag;
|
|
33
33
|
}>;
|
|
34
34
|
readonly $match: {
|
|
35
35
|
<Cases extends {
|
|
36
|
-
readonly Skipped: (args: {
|
|
37
|
-
readonly _tag: "Skipped";
|
|
38
|
-
readonly messages: ReadonlyArray<AgentMessage>;
|
|
39
|
-
}) => any;
|
|
40
36
|
readonly Compacted: (args: {
|
|
41
37
|
readonly _tag: "Compacted";
|
|
42
38
|
readonly messages: ReadonlyArray<AgentMessage>;
|
|
43
39
|
}) => any;
|
|
40
|
+
readonly Skipped: (args: {
|
|
41
|
+
readonly _tag: "Skipped";
|
|
42
|
+
readonly messages: ReadonlyArray<AgentMessage>;
|
|
43
|
+
}) => any;
|
|
44
44
|
}>(cases: Cases): (value: {
|
|
45
|
-
readonly _tag: "
|
|
45
|
+
readonly _tag: "Compacted";
|
|
46
46
|
readonly messages: ReadonlyArray<AgentMessage>;
|
|
47
47
|
} | {
|
|
48
|
-
readonly _tag: "
|
|
48
|
+
readonly _tag: "Skipped";
|
|
49
49
|
readonly messages: ReadonlyArray<AgentMessage>;
|
|
50
|
-
}) => import("effect/Unify").Unify<ReturnType<Cases["
|
|
50
|
+
}) => import("effect/Unify").Unify<ReturnType<Cases["Compacted" | "Skipped"]>>;
|
|
51
51
|
<Cases extends {
|
|
52
|
-
readonly Skipped: (args: {
|
|
53
|
-
readonly _tag: "Skipped";
|
|
54
|
-
readonly messages: ReadonlyArray<AgentMessage>;
|
|
55
|
-
}) => any;
|
|
56
52
|
readonly Compacted: (args: {
|
|
57
53
|
readonly _tag: "Compacted";
|
|
58
54
|
readonly messages: ReadonlyArray<AgentMessage>;
|
|
59
55
|
}) => any;
|
|
56
|
+
readonly Skipped: (args: {
|
|
57
|
+
readonly _tag: "Skipped";
|
|
58
|
+
readonly messages: ReadonlyArray<AgentMessage>;
|
|
59
|
+
}) => any;
|
|
60
60
|
}>(value: {
|
|
61
|
-
readonly _tag: "
|
|
61
|
+
readonly _tag: "Compacted";
|
|
62
62
|
readonly messages: ReadonlyArray<AgentMessage>;
|
|
63
63
|
} | {
|
|
64
|
-
readonly _tag: "
|
|
64
|
+
readonly _tag: "Skipped";
|
|
65
65
|
readonly messages: ReadonlyArray<AgentMessage>;
|
|
66
|
-
}, cases: Cases): import("effect/Unify").Unify<ReturnType<Cases["
|
|
66
|
+
}, cases: Cases): import("effect/Unify").Unify<ReturnType<Cases["Compacted" | "Skipped"]>>;
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
type OverflowCompactionDecision = {
|
|
@@ -73,14 +73,14 @@ type OverflowCompactionDecision = {
|
|
|
73
73
|
readonly _tag: 'Skipped';
|
|
74
74
|
};
|
|
75
75
|
declare const OverflowCompactionDecision: {
|
|
76
|
-
readonly Skipped: Data.TaggedEnum.ConstructorFrom<{
|
|
77
|
-
readonly _tag: "Skipped";
|
|
78
|
-
}, "_tag">;
|
|
79
76
|
readonly Compacted: Data.TaggedEnum.ConstructorFrom<{
|
|
80
77
|
readonly _tag: "Compacted";
|
|
81
78
|
readonly messages: ReadonlyArray<AgentMessage>;
|
|
82
79
|
}, "_tag">;
|
|
83
|
-
readonly
|
|
80
|
+
readonly Skipped: Data.TaggedEnum.ConstructorFrom<{
|
|
81
|
+
readonly _tag: "Skipped";
|
|
82
|
+
}, "_tag">;
|
|
83
|
+
readonly $is: <Tag extends "Compacted" | "Skipped">(tag: Tag) => (u: unknown) => u is Extract<{
|
|
84
84
|
readonly _tag: "Compacted";
|
|
85
85
|
readonly messages: ReadonlyArray<AgentMessage>;
|
|
86
86
|
}, {
|
|
@@ -92,23 +92,23 @@ declare const OverflowCompactionDecision: {
|
|
|
92
92
|
}>;
|
|
93
93
|
readonly $match: {
|
|
94
94
|
<Cases extends {
|
|
95
|
-
readonly Skipped: (args: {
|
|
96
|
-
readonly _tag: "Skipped";
|
|
97
|
-
}) => any;
|
|
98
95
|
readonly Compacted: (args: {
|
|
99
96
|
readonly _tag: "Compacted";
|
|
100
97
|
readonly messages: ReadonlyArray<AgentMessage>;
|
|
101
98
|
}) => any;
|
|
102
|
-
}>(cases: Cases): (value: OverflowCompactionDecision) => import("effect/Unify").Unify<ReturnType<Cases["Skipped" | "Compacted"]>>;
|
|
103
|
-
<Cases extends {
|
|
104
99
|
readonly Skipped: (args: {
|
|
105
100
|
readonly _tag: "Skipped";
|
|
106
101
|
}) => any;
|
|
102
|
+
}>(cases: Cases): (value: OverflowCompactionDecision) => import("effect/Unify").Unify<ReturnType<Cases["Compacted" | "Skipped"]>>;
|
|
103
|
+
<Cases extends {
|
|
107
104
|
readonly Compacted: (args: {
|
|
108
105
|
readonly _tag: "Compacted";
|
|
109
106
|
readonly messages: ReadonlyArray<AgentMessage>;
|
|
110
107
|
}) => any;
|
|
111
|
-
|
|
108
|
+
readonly Skipped: (args: {
|
|
109
|
+
readonly _tag: "Skipped";
|
|
110
|
+
}) => any;
|
|
111
|
+
}>(value: OverflowCompactionDecision, cases: Cases): import("effect/Unify").Unify<ReturnType<Cases["Compacted" | "Skipped"]>>;
|
|
112
112
|
};
|
|
113
113
|
};
|
|
114
114
|
type ContextOverflowRetryCompactor = (messages: ReadonlyArray<AgentMessage>) => Effect.Effect<ContextOverflowRetryCompactionResult, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retry.d.mts","names":[],"sources":["../../src/compaction/retry.ts"],"mappings":";;;;;KASY,oCAAA,GAAuC,IAAA,CAAK,UAAA;EACtD,SAAA;IAAA,SACW,QAAA,EAAU,aAAA,CAAc,YAAA;EAAA;EAEnC,OAAA;IAAA,SACW,QAAA,EAAU,aAAA,CAAc,YAAA;EAAA;AAAA;AAAA,cAIxB,oCAAA;EAAA;;
|
|
1
|
+
{"version":3,"file":"retry.d.mts","names":[],"sources":["../../src/compaction/retry.ts"],"mappings":";;;;;KASY,oCAAA,GAAuC,IAAA,CAAK,UAAA;EACtD,SAAA;IAAA,SACW,QAAA,EAAU,aAAA,CAAc,YAAA;EAAA;EAEnC,OAAA;IAAA,SACW,QAAA,EAAU,aAAA,CAAc,YAAA;EAAA;AAAA;AAAA,cAIxB,oCAAA;EAAA;;uBAPU,aAAA,CAAc,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AA;EAAA,SAC9B,OAAA;EAAA,SACA,aAAA;AAAA;AAAA,cAkBE,uBAAA,SAAiC,KAAA;EAAA,SACnC,OAAA,GACP,QAAA,EAAU,aAAA,CAAc,YAAA,MACrB,MAAA,CAAO,MAAA,CAAO,uBAAA,EAAyB,CAAA,EAAG,CAAA;EAAA,SACtC,QAAA,EAAU,aAAA,CAAc,YAAA;EAAA,SACxB,OAAA;EAAA,SACA,aAAA;AAAA,MACP,MAAA,CAAO,MAAA,CAAO,0BAAA,EAA4B,CAAA,EAAG,CAAA;AAAA,cAuEpC,gCAAA,GAAoC,KAAA,EAAO,iCAAA,KAAiC,MAAA,CAAA,MAAA;EAAA"}
|
|
@@ -57,13 +57,6 @@ type CompletedCompactionResult = Extract<CompactionResult, {
|
|
|
57
57
|
readonly _tag: 'Compacted';
|
|
58
58
|
}>;
|
|
59
59
|
declare const CompactionResult: {
|
|
60
|
-
readonly Skipped: Data.TaggedEnum.ConstructorFrom<{
|
|
61
|
-
readonly _tag: "Skipped";
|
|
62
|
-
readonly reason: CompactionSkipReason;
|
|
63
|
-
readonly messages: ReadonlyArray<AgentMessage>;
|
|
64
|
-
readonly events: ReadonlyArray<AgentEvent>;
|
|
65
|
-
readonly beforeTokens: number;
|
|
66
|
-
}, "_tag">;
|
|
67
60
|
readonly Compacted: Data.TaggedEnum.ConstructorFrom<{
|
|
68
61
|
readonly _tag: "Compacted";
|
|
69
62
|
readonly strategy: string;
|
|
@@ -75,15 +68,14 @@ declare const CompactionResult: {
|
|
|
75
68
|
readonly recentMessages: ReadonlyArray<AgentMessage>;
|
|
76
69
|
readonly summaryMessage: AgentMessage;
|
|
77
70
|
}, "_tag">;
|
|
78
|
-
readonly
|
|
71
|
+
readonly Skipped: Data.TaggedEnum.ConstructorFrom<{
|
|
79
72
|
readonly _tag: "Skipped";
|
|
80
73
|
readonly reason: CompactionSkipReason;
|
|
81
74
|
readonly messages: ReadonlyArray<AgentMessage>;
|
|
82
75
|
readonly events: ReadonlyArray<AgentEvent>;
|
|
83
76
|
readonly beforeTokens: number;
|
|
84
|
-
},
|
|
85
|
-
|
|
86
|
-
}> | Extract<{
|
|
77
|
+
}, "_tag">;
|
|
78
|
+
readonly $is: <Tag extends "Compacted" | "Skipped">(tag: Tag) => (u: unknown) => u is Extract<{
|
|
87
79
|
readonly _tag: "Compacted";
|
|
88
80
|
readonly strategy: string;
|
|
89
81
|
readonly messages: ReadonlyArray<AgentMessage>;
|
|
@@ -95,16 +87,17 @@ declare const CompactionResult: {
|
|
|
95
87
|
readonly summaryMessage: AgentMessage;
|
|
96
88
|
}, {
|
|
97
89
|
readonly _tag: Tag;
|
|
90
|
+
}> | Extract<{
|
|
91
|
+
readonly _tag: "Skipped";
|
|
92
|
+
readonly reason: CompactionSkipReason;
|
|
93
|
+
readonly messages: ReadonlyArray<AgentMessage>;
|
|
94
|
+
readonly events: ReadonlyArray<AgentEvent>;
|
|
95
|
+
readonly beforeTokens: number;
|
|
96
|
+
}, {
|
|
97
|
+
readonly _tag: Tag;
|
|
98
98
|
}>;
|
|
99
99
|
readonly $match: {
|
|
100
100
|
<Cases extends {
|
|
101
|
-
readonly Skipped: (args: {
|
|
102
|
-
readonly _tag: "Skipped";
|
|
103
|
-
readonly reason: CompactionSkipReason;
|
|
104
|
-
readonly messages: ReadonlyArray<AgentMessage>;
|
|
105
|
-
readonly events: ReadonlyArray<AgentEvent>;
|
|
106
|
-
readonly beforeTokens: number;
|
|
107
|
-
}) => any;
|
|
108
101
|
readonly Compacted: (args: {
|
|
109
102
|
readonly _tag: "Compacted";
|
|
110
103
|
readonly strategy: string;
|
|
@@ -116,13 +109,14 @@ declare const CompactionResult: {
|
|
|
116
109
|
readonly recentMessages: ReadonlyArray<AgentMessage>;
|
|
117
110
|
readonly summaryMessage: AgentMessage;
|
|
118
111
|
}) => any;
|
|
112
|
+
readonly Skipped: (args: {
|
|
113
|
+
readonly _tag: "Skipped";
|
|
114
|
+
readonly reason: CompactionSkipReason;
|
|
115
|
+
readonly messages: ReadonlyArray<AgentMessage>;
|
|
116
|
+
readonly events: ReadonlyArray<AgentEvent>;
|
|
117
|
+
readonly beforeTokens: number;
|
|
118
|
+
}) => any;
|
|
119
119
|
}>(cases: Cases): (value: {
|
|
120
|
-
readonly _tag: "Skipped";
|
|
121
|
-
readonly reason: CompactionSkipReason;
|
|
122
|
-
readonly messages: ReadonlyArray<AgentMessage>;
|
|
123
|
-
readonly events: ReadonlyArray<AgentEvent>;
|
|
124
|
-
readonly beforeTokens: number;
|
|
125
|
-
} | {
|
|
126
120
|
readonly _tag: "Compacted";
|
|
127
121
|
readonly strategy: string;
|
|
128
122
|
readonly messages: ReadonlyArray<AgentMessage>;
|
|
@@ -132,15 +126,14 @@ declare const CompactionResult: {
|
|
|
132
126
|
readonly compactedMessages: ReadonlyArray<AgentMessage>;
|
|
133
127
|
readonly recentMessages: ReadonlyArray<AgentMessage>;
|
|
134
128
|
readonly summaryMessage: AgentMessage;
|
|
135
|
-
}
|
|
129
|
+
} | {
|
|
130
|
+
readonly _tag: "Skipped";
|
|
131
|
+
readonly reason: CompactionSkipReason;
|
|
132
|
+
readonly messages: ReadonlyArray<AgentMessage>;
|
|
133
|
+
readonly events: ReadonlyArray<AgentEvent>;
|
|
134
|
+
readonly beforeTokens: number;
|
|
135
|
+
}) => import("effect/Unify").Unify<ReturnType<Cases["Compacted" | "Skipped"]>>;
|
|
136
136
|
<Cases extends {
|
|
137
|
-
readonly Skipped: (args: {
|
|
138
|
-
readonly _tag: "Skipped";
|
|
139
|
-
readonly reason: CompactionSkipReason;
|
|
140
|
-
readonly messages: ReadonlyArray<AgentMessage>;
|
|
141
|
-
readonly events: ReadonlyArray<AgentEvent>;
|
|
142
|
-
readonly beforeTokens: number;
|
|
143
|
-
}) => any;
|
|
144
137
|
readonly Compacted: (args: {
|
|
145
138
|
readonly _tag: "Compacted";
|
|
146
139
|
readonly strategy: string;
|
|
@@ -152,13 +145,14 @@ declare const CompactionResult: {
|
|
|
152
145
|
readonly recentMessages: ReadonlyArray<AgentMessage>;
|
|
153
146
|
readonly summaryMessage: AgentMessage;
|
|
154
147
|
}) => any;
|
|
148
|
+
readonly Skipped: (args: {
|
|
149
|
+
readonly _tag: "Skipped";
|
|
150
|
+
readonly reason: CompactionSkipReason;
|
|
151
|
+
readonly messages: ReadonlyArray<AgentMessage>;
|
|
152
|
+
readonly events: ReadonlyArray<AgentEvent>;
|
|
153
|
+
readonly beforeTokens: number;
|
|
154
|
+
}) => any;
|
|
155
155
|
}>(value: {
|
|
156
|
-
readonly _tag: "Skipped";
|
|
157
|
-
readonly reason: CompactionSkipReason;
|
|
158
|
-
readonly messages: ReadonlyArray<AgentMessage>;
|
|
159
|
-
readonly events: ReadonlyArray<AgentEvent>;
|
|
160
|
-
readonly beforeTokens: number;
|
|
161
|
-
} | {
|
|
162
156
|
readonly _tag: "Compacted";
|
|
163
157
|
readonly strategy: string;
|
|
164
158
|
readonly messages: ReadonlyArray<AgentMessage>;
|
|
@@ -168,7 +162,13 @@ declare const CompactionResult: {
|
|
|
168
162
|
readonly compactedMessages: ReadonlyArray<AgentMessage>;
|
|
169
163
|
readonly recentMessages: ReadonlyArray<AgentMessage>;
|
|
170
164
|
readonly summaryMessage: AgentMessage;
|
|
171
|
-
}
|
|
165
|
+
} | {
|
|
166
|
+
readonly _tag: "Skipped";
|
|
167
|
+
readonly reason: CompactionSkipReason;
|
|
168
|
+
readonly messages: ReadonlyArray<AgentMessage>;
|
|
169
|
+
readonly events: ReadonlyArray<AgentEvent>;
|
|
170
|
+
readonly beforeTokens: number;
|
|
171
|
+
}, cases: Cases): import("effect/Unify").Unify<ReturnType<Cases["Compacted" | "Skipped"]>>;
|
|
172
172
|
};
|
|
173
173
|
};
|
|
174
174
|
type ApplyCompactionPlanOptions = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"window.d.mts","names":[],"sources":["../../src/compaction/window.ts"],"mappings":";;;;;cASa,iCAAA;AAAA,cAEA,gCAAA;AAAA,KAED,oBAA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