@yielded/agent 0.1.0-beta.176 → 0.1.0-beta.177
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/dist/{Admin-DTDihBra.d.mts → Admin-Bpg24yCK.d.mts} +7 -7
- package/dist/{Agent-BiRbr73L.mjs → Agent-B3J0B4l6.mjs} +6 -3
- package/dist/Agent-B3J0B4l6.mjs.map +1 -0
- package/dist/{AgentRuntime-DaDKMasp.mjs → AgentRuntime-DrQfy4cL.mjs} +7 -6
- package/dist/AgentRuntime-DrQfy4cL.mjs.map +1 -0
- package/dist/{AgentRuntime-CHDyRbSf.d.mts → AgentRuntime-Dx5u_FJD.d.mts} +6 -6
- package/dist/{Digest-C3EODOee.mjs → Digest-ft4ku9pj.mjs} +2 -2
- package/dist/{Digest-C3EODOee.mjs.map → Digest-ft4ku9pj.mjs.map} +1 -1
- package/dist/{DurableAgentRuntime-BJbuIqQq.mjs → DurableAgentRuntime-CGW93k81.mjs} +98 -32
- package/dist/DurableAgentRuntime-CGW93k81.mjs.map +1 -0
- package/dist/{DurableStep-DXGn7KQ4.d.mts → DurableStep-CAJnlgfL.d.mts} +5 -4
- package/dist/{EventSource-Cc58uEso.d.mts → EventSource-A6TB7t-f.d.mts} +2 -2
- package/dist/{MessageDelivery-ClHg7c0O.d.mts → MessageDelivery-BkWrcQUd.d.mts} +42 -42
- package/dist/{Messaging-SVu6rWV8.d.mts → Messaging-DpEZMTVE.d.mts} +2 -2
- package/dist/{MessagingHost-CZCyrnvJ.mjs → MessagingHost-BILcuj0V.mjs} +2 -2
- package/dist/{MessagingHost-CZCyrnvJ.mjs.map → MessagingHost-BILcuj0V.mjs.map} +1 -1
- package/dist/{MessagingHost-C6SOAcoG.d.mts → MessagingHost-BKxDskYj.d.mts} +2 -2
- package/dist/{PreparedInputAdmission-CjcX1OP0.d.mts → PreparedInputAdmission-DKIfqRZT.d.mts} +3 -3
- package/dist/{Records-DzL4Kbtw.mjs → Records-CZRedCE7.mjs} +3 -3
- package/dist/{Records-DzL4Kbtw.mjs.map → Records-CZRedCE7.mjs.map} +1 -1
- package/dist/{RunContinuation-DSnUTSSb.d.mts → RunContinuation-Ce2pR8VD.d.mts} +3 -3
- package/dist/{RunContinuation-CWHuciup.mjs → RunContinuation-D42RFqjS.mjs} +5 -5
- package/dist/{RunContinuation-CWHuciup.mjs.map → RunContinuation-D42RFqjS.mjs.map} +1 -1
- package/dist/{RunJournal-DGblbFas.mjs → RunJournal-oJLo-pjS.mjs} +3 -3
- package/dist/{RunJournal-DGblbFas.mjs.map → RunJournal-oJLo-pjS.mjs.map} +1 -1
- package/dist/{RunOptions-Be77lKVZ.d.mts → RunOptions-BANtohGk.d.mts} +3 -3
- package/dist/{RunStorage-BF2YgWkg.mjs → RunStorage-BRGP3Tcu.mjs} +2 -2
- package/dist/{RunStorage-BF2YgWkg.mjs.map → RunStorage-BRGP3Tcu.mjs.map} +1 -1
- package/dist/{Scheduling-07_dsGED.mjs → Scheduling-BebkRVc2.mjs} +3 -3
- package/dist/{Scheduling-07_dsGED.mjs.map → Scheduling-BebkRVc2.mjs.map} +1 -1
- package/dist/{Subagent-xhN_aD1r.d.mts → Subagent-5ulnV6An.d.mts} +9 -9
- package/dist/{Subagent-CexndZSp.mjs → Subagent-C7F7c8Op.mjs} +3 -3
- package/dist/{Subagent-CexndZSp.mjs.map → Subagent-C7F7c8Op.mjs.map} +1 -1
- package/dist/{SubagentHost-D1xBgn9g.d.mts → SubagentHost-CikdGpmk.d.mts} +2 -2
- package/dist/{Subscription-DuC_PcGx.d.mts → Subscription-D5sOrmlI.d.mts} +2 -2
- package/dist/{SubscriptionInput-B1IeAEDi.d.mts → SubscriptionInput-CxSXZUiC.d.mts} +2 -2
- package/dist/{ThreadImport-D_Biid6w.d.mts → ThreadImport-C6IiPJMW.d.mts} +4 -4
- package/dist/{ThreadImport-ZgWxf7bB.mjs → ThreadImport-DUcPj5jC.mjs} +9 -9
- package/dist/{ThreadImport-ZgWxf7bB.mjs.map → ThreadImport-DUcPj5jC.mjs.map} +1 -1
- package/dist/{ThreadStore-BC4V-mY-.mjs → ThreadStore-Cn6FDWX9.mjs} +5 -5
- package/dist/{ThreadStore-BC4V-mY-.mjs.map → ThreadStore-Cn6FDWX9.mjs.map} +1 -1
- package/dist/{ThreadTransfer-S7FnTRHt.mjs → ThreadTransfer-BWnAHIge.mjs} +4 -4
- package/dist/{ThreadTransfer-S7FnTRHt.mjs.map → ThreadTransfer-BWnAHIge.mjs.map} +1 -1
- package/dist/{Worker-CHRaIsWu.d.mts → Worker-CLYgfqhF.d.mts} +7 -5
- package/dist/{Worker-DZjdMjZn.mjs → Worker-CtuUwYOK.mjs} +4 -2
- package/dist/Worker-CtuUwYOK.mjs.map +1 -0
- package/dist/{WorkerAdmission-C47Vy_cK.mjs → WorkerAdmission-cfiK9aRi.mjs} +6 -6
- package/dist/{WorkerAdmission-C47Vy_cK.mjs.map → WorkerAdmission-cfiK9aRi.mjs.map} +1 -1
- package/dist/{agent-registration-a6QYaG3h.mjs → agent-registration-Dt57NAP6.mjs} +5 -5
- package/dist/{agent-registration-a6QYaG3h.mjs.map → agent-registration-Dt57NAP6.mjs.map} +1 -1
- package/dist/capabilities/CodeMode.mjs +1 -1
- package/dist/capabilities/Commands.d.mts +1 -1
- package/dist/capabilities/ContextTools.mjs +1 -1
- package/dist/capabilities/McpClient.mjs +1 -1
- package/dist/capabilities/MemoryNotes.d.mts +1 -1
- package/dist/capabilities/MemoryNotes.mjs +2 -1
- package/dist/capabilities/MemoryNotes.mjs.map +1 -1
- package/dist/capabilities/Messaging.d.mts +1 -1
- package/dist/capabilities/Messaging.mjs +2 -2
- package/dist/capabilities/RunHooks.d.mts +1 -1
- package/dist/capabilities/Subagent.d.mts +2 -2
- package/dist/capabilities/Subagent.mjs +2 -2
- package/dist/capabilities/ToolDiscovery.mjs +1 -1
- package/dist/capabilities/WebCapture.mjs +1 -1
- package/dist/capabilities/WebSearch.mjs +1 -1
- package/dist/core/Agent.mjs +1 -1
- package/dist/core/Worker.d.mts +1 -1
- package/dist/core/Worker.mjs +1 -1
- package/dist/durable/ActivityStore.mjs +1 -1
- package/dist/durable/Admin.d.mts +1 -1
- package/dist/durable/Admin.mjs +1 -1
- package/dist/durable/AgentRegistration.d.mts +1 -1
- package/dist/durable/AgentRegistration.mjs +1 -1
- package/dist/durable/Certification.d.mts +1 -1
- package/dist/durable/CommittedActivity.d.mts +1 -1
- package/dist/durable/CommittedActivity.mjs +3 -3
- package/dist/durable/Digest.mjs +1 -1
- package/dist/durable/DurableAgentRuntime.d.mts +1 -1
- package/dist/durable/DurableAgentRuntime.mjs +2 -2
- package/dist/durable/EventSource.d.mts +1 -1
- package/dist/durable/EventSource.mjs +1 -1
- package/dist/durable/GitHubWorkflowSource.d.mts +3 -3
- package/dist/durable/LifecyclePublication.d.mts +1 -1
- package/dist/durable/LifecyclePublication.mjs +3 -3
- package/dist/durable/MessageDelivery.d.mts +1 -1
- package/dist/durable/MessageDelivery.mjs +3 -3
- package/dist/durable/MessageDeliveryStoreConformance.d.mts +2 -2
- package/dist/durable/MessageDeliveryStoreConformance.mjs +3 -3
- package/dist/durable/PersistentHistory.d.mts +1 -1
- package/dist/durable/PersistentHistory.mjs +4 -4
- package/dist/durable/PreparedInputAdmission.d.mts +1 -1
- package/dist/durable/RecordFormat.mjs +1 -1
- package/dist/durable/Records.mjs +1 -1
- package/dist/durable/Recovery.d.mts +1 -1
- package/dist/durable/Recovery.mjs +1 -1
- package/dist/durable/RunContinuation.d.mts +2 -2
- package/dist/durable/RunContinuation.mjs +3 -3
- package/dist/durable/RunJournal.d.mts +1 -1
- package/dist/durable/RunJournal.mjs +1 -1
- package/dist/durable/RunStorage.d.mts +1 -1
- package/dist/durable/RunStorage.mjs +1 -1
- package/dist/durable/Schedule.mjs +1 -1
- package/dist/durable/ScheduleStoreConformance.mjs +1 -1
- package/dist/durable/ScheduleTransition.mjs +1 -1
- package/dist/durable/Scheduling.d.mts +1 -1
- package/dist/durable/Scheduling.mjs +1 -1
- package/dist/durable/SettlementPublisher.d.mts +1 -1
- package/dist/durable/SettlementPublisher.mjs +3 -3
- package/dist/durable/SubmissionLedger.d.mts +1 -1
- package/dist/durable/SubmissionLedger.mjs +4 -4
- package/dist/durable/SubmissionLedgerConformance.d.mts +1 -1
- package/dist/durable/SubmissionLedgerConformance.mjs +7 -7
- package/dist/durable/SubmissionStatus.d.mts +1 -1
- package/dist/durable/Subscription.d.mts +1 -1
- package/dist/durable/Subscription.mjs +2 -2
- package/dist/durable/SubscriptionInput.d.mts +1 -1
- package/dist/durable/SubscriptionInput.mjs +2 -2
- package/dist/durable/SubscriptionStoreConformance.d.mts +1 -1
- package/dist/durable/SubscriptionStoreConformance.mjs +1 -1
- package/dist/durable/SubscriptionTools.d.mts +3 -3
- package/dist/durable/SubscriptionTools.mjs +2 -1
- package/dist/durable/SubscriptionTools.mjs.map +1 -1
- package/dist/durable/SubscriptionTransition.d.mts +1 -1
- package/dist/durable/SubscriptionTransition.mjs +1 -1
- package/dist/durable/Subscriptions.d.mts +5 -5
- package/dist/durable/Subscriptions.mjs +2 -2
- package/dist/durable/ThreadArchiveRange.d.mts +1 -1
- package/dist/durable/ThreadArchiveRange.mjs +1 -1
- package/dist/durable/ThreadContextHistory.d.mts +1 -1
- package/dist/durable/ThreadContextHistory.mjs +2 -2
- package/dist/durable/ThreadContextHistoryProjection.mjs +1 -1
- package/dist/durable/ThreadImport.d.mts +1 -1
- package/dist/durable/ThreadImport.mjs +1 -1
- package/dist/durable/ThreadInvariants.d.mts +3 -3
- package/dist/durable/ThreadInvariants.mjs +4 -4
- package/dist/durable/ThreadProjection.mjs +1 -1
- package/dist/durable/ThreadProjectionMaintenance.d.mts +1 -1
- package/dist/durable/ThreadReader.d.mts +1 -1
- package/dist/durable/ThreadReader.mjs +1 -1
- package/dist/durable/ThreadStore.d.mts +1 -1
- package/dist/durable/ThreadStore.mjs +2 -2
- package/dist/durable/ThreadStoreConformance.d.mts +1 -1
- package/dist/durable/ThreadStoreConformance.mjs +4 -4
- package/dist/durable/ThreadTransfer.d.mts +1 -1
- package/dist/durable/ThreadTransfer.mjs +1 -1
- package/dist/durable/ThreadWork.d.mts +1 -1
- package/dist/durable/ThreadWork.mjs +5 -5
- package/dist/durable/ToolReconciler.mjs +1 -1
- package/dist/durable/WorkerAdmission.d.mts +1 -1
- package/dist/durable/WorkerAdmission.mjs +1 -1
- package/dist/durable/WorkerHost.d.mts +2 -2
- package/dist/durable/WorkerHost.mjs +1 -1
- package/dist/engine/AgentRuntime.d.mts +1 -1
- package/dist/engine/AgentRuntime.mjs +1 -1
- package/dist/engine/DurableStep.d.mts +2 -2
- package/dist/engine/DurableStep.mjs +1 -11
- package/dist/engine/DurableStep.mjs.map +1 -1
- package/dist/engine/MessagingHost.d.mts +1 -1
- package/dist/engine/MessagingHost.mjs +1 -1
- package/dist/engine/RunOptions.d.mts +1 -1
- package/dist/engine/SubagentHost.d.mts +1 -1
- package/dist/engine/SubagentHost.mjs +1 -1
- package/dist/index.d.mts +16 -16
- package/dist/index.mjs +15 -15
- package/dist/{run-context-reader-DvTEq2RC.d.mts → run-context-reader-BtBPX_nC.d.mts} +2 -2
- package/dist/tool-execution-Ba7tO7Pt.mjs +17 -0
- package/dist/tool-execution-Ba7tO7Pt.mjs.map +1 -0
- package/package.json +1 -1
- package/src/core/Worker.ts +3 -1
- package/src/core/internal/agent-updates.ts +9 -1
- package/src/core/internal/tool-execution.ts +33 -0
- package/src/durable/DurableAgentRuntime.ts +74 -8
- package/src/durable/internal/agent-updates.ts +59 -3
- package/src/durable/internal/worker-host.ts +3 -1
- package/src/engine/DurableStep.ts +5 -31
- package/src/engine/internal/agent-runtime.ts +2 -1
- package/dist/Agent-BiRbr73L.mjs.map +0 -1
- package/dist/AgentRuntime-DaDKMasp.mjs.map +0 -1
- package/dist/DurableAgentRuntime-BJbuIqQq.mjs.map +0 -1
- package/dist/Worker-DZjdMjZn.mjs.map +0 -1
|
@@ -3,9 +3,7 @@ import * as Schema$1 from "effect/Schema";
|
|
|
3
3
|
import * as Context$1 from "effect/Context";
|
|
4
4
|
import { Effect, Option } from "effect";
|
|
5
5
|
import { Tool } from "effect/ai";
|
|
6
|
-
|
|
7
|
-
export { DurableStep, DurableStepError, DurableStepService, PersistedStepResult, RunStepHook, RunStepKey, ToolExecutionClass, ToolExecutionClassValue, getToolExecutionClass };
|
|
8
|
-
}
|
|
6
|
+
//#region src/core/internal/tool-execution.d.ts
|
|
9
7
|
/**
|
|
10
8
|
* Declared external execution class of one Tool, used by the durable runtime
|
|
11
9
|
* to decide which Tool Calls need the prepared/settled uncertainty protocol:
|
|
@@ -30,6 +28,9 @@ type ToolExecutionClassValue = "readonly" | "idempotent" | "uncertain";
|
|
|
30
28
|
declare const ToolExecutionClass: Context$1.Reference<ToolExecutionClassValue>;
|
|
31
29
|
/** Read a Tool's declared execution class, falling back to the fail-closed `"uncertain"` default. */
|
|
32
30
|
declare const getToolExecutionClass: (tool: Tool.Any) => ToolExecutionClassValue;
|
|
31
|
+
declare namespace DurableStep_d_exports {
|
|
32
|
+
export { DurableStep, DurableStepError, DurableStepService, PersistedStepResult, RunStepHook, RunStepKey, ToolExecutionClass, ToolExecutionClassValue, getToolExecutionClass };
|
|
33
|
+
}
|
|
33
34
|
/** Stable identity of one Step within one Tool Call: `(toolCallId, stepName)`. */
|
|
34
35
|
interface RunStepKey {
|
|
35
36
|
readonly toolCallId: ToolCallId;
|
|
@@ -107,4 +108,4 @@ declare const DurableStep_base: Context$1.ServiceClass<DurableStep, "@effect-age
|
|
|
107
108
|
declare class DurableStep extends DurableStep_base {}
|
|
108
109
|
//#endregion
|
|
109
110
|
export { PersistedStepResult as a, ToolExecutionClass as c, DurableStep_d_exports as i, ToolExecutionClassValue as l, DurableStepError as n, RunStepHook as o, DurableStepService as r, RunStepKey as s, DurableStep as t, getToolExecutionClass as u };
|
|
110
|
-
//# sourceMappingURL=DurableStep-
|
|
111
|
+
//# sourceMappingURL=DurableStep-CAJnlgfL.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { K as PersistedJson } from "./Records-BTnGRdcf.mjs";
|
|
2
|
-
import { E as SubscriptionSourceError, b as SubscriptionRecord, i as EventSourceVersion, t as AcceptedEvent } from "./Subscription-
|
|
2
|
+
import { E as SubscriptionSourceError, b as SubscriptionRecord, i as EventSourceVersion, t as AcceptedEvent } from "./Subscription-D5sOrmlI.mjs";
|
|
3
3
|
import { Context, Effect, Schema, Scope } from "effect";
|
|
4
4
|
declare namespace EventSource_d_exports {
|
|
5
5
|
export { EventSource, EventSources, NormalizedEvent, makeEventSource };
|
|
@@ -48,4 +48,4 @@ declare const makeEventSource: <Event extends Schema.Top, Parameters extends Sch
|
|
|
48
48
|
}) => Effect.Effect<EventSource, never, Exclude<R, Scope.Scope> | Exclude<Event["DecodingServices"], Scope.Scope> | Exclude<Event["EncodingServices"], Scope.Scope> | Exclude<Parameters["DecodingServices"], Scope.Scope> | Exclude<Parameters["EncodingServices"], Scope.Scope>>;
|
|
49
49
|
//#endregion
|
|
50
50
|
export { makeEventSource as a, NormalizedEvent as i, EventSource_d_exports as n, EventSources as r, EventSource as t };
|
|
51
|
-
//# sourceMappingURL=EventSource-
|
|
51
|
+
//# sourceMappingURL=EventSource-A6TB7t-f.d.mts.map
|
|
@@ -5,9 +5,9 @@ import { r as Update } from "./AgentUpdates-DksV4D0A.mjs";
|
|
|
5
5
|
import { a as FailureDiagnostic_d_exports, r as Diagnostic } from "./FailureDiagnostic-DvHruCSJ.mjs";
|
|
6
6
|
import { t as AgentPolicy } from "./AgentPolicy-B4lbCU2T.mjs";
|
|
7
7
|
import { b as DefinitionDigests } from "./Records-BTnGRdcf.mjs";
|
|
8
|
-
import { do as LifecyclePublicationStorage, sn as Settlement } from "./Admin-
|
|
9
|
-
import { a as PreparedInput } from "./Subscription-
|
|
10
|
-
import { t as PreparedInputAdmission } from "./PreparedInputAdmission-
|
|
8
|
+
import { do as LifecyclePublicationStorage, sn as Settlement } from "./Admin-Bpg24yCK.mjs";
|
|
9
|
+
import { a as PreparedInput } from "./Subscription-D5sOrmlI.mjs";
|
|
10
|
+
import { t as PreparedInputAdmission } from "./PreparedInputAdmission-DKIfqRZT.mjs";
|
|
11
11
|
import { Context, Crypto, Effect, Layer, Result, Schema } from "effect";
|
|
12
12
|
declare namespace MessageDelivery_d_exports {
|
|
13
13
|
export { MessageDeliveryChange, MessageDeliveryCompletion, MessageDeliveryDriver, MessageDeliveryDriverLimits, MessageDeliveryError, MessageDeliveryFailpoint, MessageDeliveryFailpointError, MessageDeliveryFailure, MessageDeliveryKey, MessageDeliveryPage, MessageDeliveryPageRequest, MessageDeliveryPolicy, MessageDeliveryRecord, MessageDeliveryStore, MessageDeliveryStoreLimits, applyMessageDeliveryChange, defaultMessageDeliveryPolicy, defaultMessageDeliveryStoreLimits, isWorkerUpdateDelivery, messageDeliveryCapacity, messageDeliveryDeadline, messageDeliveryKeyString, messageDeliveryUsesCapacity, peerMessageRetentionDeadline, prepareMessageDelivery, readPending, sameMessageDeliveryIdentity, validateMessageDelivery };
|
|
@@ -633,6 +633,25 @@ declare const readPending: (request: Pick<{
|
|
|
633
633
|
readonly reportKind?: "update" | undefined;
|
|
634
634
|
} | undefined;
|
|
635
635
|
readonly messageAdmission?: {
|
|
636
|
+
readonly schemaVersion: 1;
|
|
637
|
+
readonly message: {
|
|
638
|
+
readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
639
|
+
readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
|
|
640
|
+
};
|
|
641
|
+
readonly peerName: string;
|
|
642
|
+
readonly sender: {
|
|
643
|
+
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
644
|
+
readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
|
|
645
|
+
};
|
|
646
|
+
readonly returnAddress: {
|
|
647
|
+
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
648
|
+
readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
|
|
649
|
+
};
|
|
650
|
+
readonly inReplyTo?: {
|
|
651
|
+
readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
652
|
+
readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
|
|
653
|
+
} | undefined;
|
|
654
|
+
} | {
|
|
636
655
|
readonly _tag: "WorkerCompletion";
|
|
637
656
|
readonly budgetExhausted: boolean;
|
|
638
657
|
readonly schemaVersion: 1;
|
|
@@ -673,25 +692,6 @@ declare const readPending: (request: Pick<{
|
|
|
673
692
|
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
674
693
|
};
|
|
675
694
|
readonly update: Update;
|
|
676
|
-
} | {
|
|
677
|
-
readonly schemaVersion: 1;
|
|
678
|
-
readonly message: {
|
|
679
|
-
readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
680
|
-
readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
|
|
681
|
-
};
|
|
682
|
-
readonly peerName: string;
|
|
683
|
-
readonly sender: {
|
|
684
|
-
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
685
|
-
readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
|
|
686
|
-
};
|
|
687
|
-
readonly returnAddress: {
|
|
688
|
-
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
689
|
-
readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
|
|
690
|
-
};
|
|
691
|
-
readonly inReplyTo?: {
|
|
692
|
-
readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
693
|
-
readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
|
|
694
|
-
} | undefined;
|
|
695
695
|
} | undefined;
|
|
696
696
|
};
|
|
697
697
|
readonly envelopeDigest: string & import("effect/Brand").Brand<"@effect-agent/thread/Digest">;
|
|
@@ -836,6 +836,25 @@ declare const prepareMessageDelivery: (options: {
|
|
|
836
836
|
readonly reportKind?: "update" | undefined;
|
|
837
837
|
} | undefined;
|
|
838
838
|
readonly messageAdmission?: {
|
|
839
|
+
readonly schemaVersion: 1;
|
|
840
|
+
readonly message: {
|
|
841
|
+
readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
842
|
+
readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
|
|
843
|
+
};
|
|
844
|
+
readonly peerName: string;
|
|
845
|
+
readonly sender: {
|
|
846
|
+
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
847
|
+
readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
|
|
848
|
+
};
|
|
849
|
+
readonly returnAddress: {
|
|
850
|
+
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
851
|
+
readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
|
|
852
|
+
};
|
|
853
|
+
readonly inReplyTo?: {
|
|
854
|
+
readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
855
|
+
readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
|
|
856
|
+
} | undefined;
|
|
857
|
+
} | {
|
|
839
858
|
readonly _tag: "WorkerCompletion";
|
|
840
859
|
readonly budgetExhausted: boolean;
|
|
841
860
|
readonly schemaVersion: 1;
|
|
@@ -876,25 +895,6 @@ declare const prepareMessageDelivery: (options: {
|
|
|
876
895
|
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
877
896
|
};
|
|
878
897
|
readonly update: Update;
|
|
879
|
-
} | {
|
|
880
|
-
readonly schemaVersion: 1;
|
|
881
|
-
readonly message: {
|
|
882
|
-
readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
883
|
-
readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
|
|
884
|
-
};
|
|
885
|
-
readonly peerName: string;
|
|
886
|
-
readonly sender: {
|
|
887
|
-
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
888
|
-
readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
|
|
889
|
-
};
|
|
890
|
-
readonly returnAddress: {
|
|
891
|
-
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
892
|
-
readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
|
|
893
|
-
};
|
|
894
|
-
readonly inReplyTo?: {
|
|
895
|
-
readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
896
|
-
readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
|
|
897
|
-
} | undefined;
|
|
898
898
|
} | undefined;
|
|
899
899
|
};
|
|
900
900
|
readonly envelopeDigest: string & import("effect/Brand").Brand<"@effect-agent/thread/Digest">;
|
|
@@ -950,4 +950,4 @@ declare class MessageDeliveryDriver extends MessageDeliveryDriver_base {
|
|
|
950
950
|
}
|
|
951
951
|
//#endregion
|
|
952
952
|
export { messageDeliveryKeyString as C, readPending as D, prepareMessageDelivery as E, sameMessageDeliveryIdentity as O, messageDeliveryDeadline as S, peerMessageRetentionDeadline as T, applyMessageDeliveryChange as _, MessageDeliveryError as a, isWorkerUpdateDelivery as b, MessageDeliveryFailure as c, MessageDeliveryPageRequest as d, MessageDeliveryPolicy as f, MessageDelivery_d_exports as g, MessageDeliveryStoreLimits as h, MessageDeliveryDriverLimits as i, validateMessageDelivery as k, MessageDeliveryKey as l, MessageDeliveryStore as m, MessageDeliveryCompletion as n, MessageDeliveryFailpoint as o, MessageDeliveryRecord as p, MessageDeliveryDriver as r, MessageDeliveryFailpointError as s, MessageDeliveryChange as t, MessageDeliveryPage as u, defaultMessageDeliveryPolicy as v, messageDeliveryUsesCapacity as w, messageDeliveryCapacity as x, defaultMessageDeliveryStoreLimits as y };
|
|
953
|
-
//# sourceMappingURL=MessageDelivery-
|
|
953
|
+
//# sourceMappingURL=MessageDelivery-BkWrcQUd.d.mts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as Receipt, t as IdempotencyKey } from "./Receipt-BkM21Qiu.mjs";
|
|
2
2
|
import { r as AnyDefinition } from "./Agent-B39jRnFv.mjs";
|
|
3
3
|
import { a as MessageAdmission, c as MessageRef, i as MessageAddress, l as MessageStatus, n as InboxPage, o as MessagingError, r as InputMessage, s as PeerName, t as InboxEntry } from "./Messaging-DF_IWnxV.mjs";
|
|
4
|
-
import { t as MessagingHost } from "./MessagingHost-
|
|
4
|
+
import { t as MessagingHost } from "./MessagingHost-BKxDskYj.mjs";
|
|
5
5
|
import { Crypto, Effect, Schema } from "effect";
|
|
6
6
|
import { Tool, Toolkit } from "effect/ai";
|
|
7
7
|
declare namespace Messaging_d_exports {
|
|
@@ -1070,4 +1070,4 @@ declare const retryTool: <const Name extends string, Input extends Schema.Top>(d
|
|
|
1070
1070
|
};
|
|
1071
1071
|
//#endregion
|
|
1072
1072
|
export { inspect as a, reply as c, retryTool as d, send as f, inboxTool as i, replyTool as l, Peer as n, inspectTool as o, sendTool as p, inbox as r, peer as s, Messaging_d_exports as t, retry as u };
|
|
1073
|
-
//# sourceMappingURL=Messaging-
|
|
1073
|
+
//# sourceMappingURL=Messaging-DpEZMTVE.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
import { AgentId, ThreadId } from "./core/Identifiers.mjs";
|
|
3
|
-
import { S as MessageRef, r as FrameworkMessage } from "./Worker-
|
|
3
|
+
import { S as MessageRef, r as FrameworkMessage } from "./Worker-CtuUwYOK.mjs";
|
|
4
4
|
import * as Schema$1 from "effect/Schema";
|
|
5
5
|
import * as Context$1 from "effect/Context";
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -116,4 +116,4 @@ const PeerMessageCapacity = Context$1.Reference("@effect-agent/thread/PeerMessag
|
|
|
116
116
|
//#endregion
|
|
117
117
|
export { PeerMessageCapacity as a, InboxPage as c, MessageAdmission as d, MessagingError as f, PeerDeliveryLifetime as i, InputMessage as l, MessagingHost_exports as n, PeerRoutes as o, PeerName as p, PeerAuthorizer as r, InboxEntry as s, MessagingHost as t, MessageAddress as u };
|
|
118
118
|
|
|
119
|
-
//# sourceMappingURL=MessagingHost-
|
|
119
|
+
//# sourceMappingURL=MessagingHost-BILcuj0V.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessagingHost-
|
|
1
|
+
{"version":3,"file":"MessagingHost-BILcuj0V.mjs","names":["Schema","Context"],"sources":["../src/core/Messaging.ts","../src/engine/MessagingHost.ts"],"sourcesContent":["import * as Schema from \"effect/Schema\";\n\nimport { AgentId, ThreadId } from \"./Identifiers.ts\";\nimport { MessageRef } from \"./internal/message-status.ts\";\nimport { FrameworkMessage } from \"./Worker.ts\";\n\nexport { MessageRef, MessageStatus } from \"./internal/message-status.ts\";\n\n/** Application-chosen fixed route name; it never authorizes a destination by itself. */\nexport const PeerName = Schema.NonEmptyString.check(\n Schema.isMaxLength(64),\n Schema.isPattern(/^[a-zA-Z0-9_-]+$/u),\n);\n\nexport type PeerName = typeof PeerName.Type;\n\nexport const MessageAddress = Schema.Struct({ threadId: ThreadId, agentId: AgentId });\nexport type MessageAddress = typeof MessageAddress.Type;\n\n/** Host-authenticated provenance stored separately from destination-owned application input. */\nexport const MessageAdmission = Schema.Struct({\n schemaVersion: Schema.Literal(1),\n message: MessageRef,\n peerName: PeerName,\n sender: MessageAddress,\n returnAddress: MessageAddress,\n inReplyTo: Schema.optionalKey(MessageRef),\n}).check(\n Schema.makeFilter(\n (value) =>\n value.message.ownerThreadId === value.sender.threadId &&\n value.sender.threadId === value.returnAddress.threadId &&\n value.sender.agentId === value.returnAddress.agentId,\n ),\n);\n\nexport type MessageAdmission = typeof MessageAdmission.Type;\n\nexport const InboxEntry = Schema.Struct({\n sequence: Schema.Natural.check(Schema.isGreaterThan(0)),\n admission: MessageAdmission,\n});\n\nexport type InboxEntry = typeof InboxEntry.Type;\n\nexport const InboxPage = Schema.Struct({\n items: Schema.Array(InboxEntry).check(Schema.isMaxLength(100)),\n next: Schema.NullOr(Schema.Natural),\n});\n\nexport type InboxPage = typeof InboxPage.Type;\n\nexport class MessagingError extends Schema.TaggedError<MessagingError>()(\"MessagingError\", {\n operation: Schema.Literals([\"context\", \"send\", \"reply\", \"inbox\", \"inspect\", \"retry\"]),\n reason: Schema.Literals([\n \"denied\",\n \"unavailable\",\n \"route-unavailable\",\n \"binding-mismatch\",\n \"invalid-input\",\n \"invalid-reference\",\n \"conflict\",\n \"capacity\",\n \"not-found\",\n \"storage\",\n \"corrupt\",\n ]),\n}) {}\n\n/** Canonical input provenance: peer input or a framework-owned completion message. */\nexport const InputMessage = Schema.Union([MessageAdmission, FrameworkMessage]);\nexport type InputMessage = typeof InputMessage.Type;\n","import { Effect } from \"effect\";\nimport * as Context from \"effect/Context\";\n\nimport type { AnyDefinition } from \"../core/Agent.ts\";\nimport type { ThreadId } from \"../core/Identifiers.ts\";\nimport {\n type InboxPage,\n type MessageAddress,\n type MessageRef,\n type MessageStatus,\n MessagingError,\n} from \"../core/Messaging.ts\";\nimport type { IdempotencyKey, Principal } from \"../core/Receipt.ts\";\nimport type { WorkerSource } from \"../core/Worker.ts\";\n\nexport interface PeerTarget {\n readonly name: string;\n readonly target: AnyDefinition;\n}\n\n/** A fixed declaration chooses the route. Caller input never selects a destination Thread. */\nexport interface SendPeerMessage extends PeerTarget {\n readonly encodedInput: unknown;\n readonly idempotencyKey: IdempotencyKey;\n /** Correlation on sends; replies additionally resolve and authorize the recorded return address. */\n readonly inReplyTo?: MessageRef;\n}\n\n/** Trusted per-invocation facet. It carries caller authority without exposing it in Tool schemas. */\nexport class MessagingHost extends Context.Service<\n MessagingHost,\n {\n readonly context: Effect.Effect<WorkerSource, MessagingError>;\n readonly send: (request: SendPeerMessage) => Effect.Effect<MessageStatus, MessagingError>;\n readonly reply: (\n request: SendPeerMessage & { readonly inReplyTo: MessageRef },\n ) => Effect.Effect<MessageStatus, MessagingError>;\n readonly inbox: (\n request: PeerTarget & { readonly after?: number; readonly limit: number },\n ) => Effect.Effect<InboxPage, MessagingError>;\n readonly inspect: (\n request: PeerTarget & { readonly message: MessageRef },\n ) => Effect.Effect<MessageStatus, MessagingError>;\n readonly retry: (\n request: PeerTarget & { readonly message: MessageRef },\n ) => Effect.Effect<MessageStatus, MessagingError>;\n }\n>()(\"@effect-agent/engine/MessagingHost\") {\n static readonly unavailable: MessagingHost[\"Service\"] = {\n context: Effect.suspend(() =>\n MessagingError.make({ operation: \"context\", reason: \"unavailable\" }),\n ),\n send: () => MessagingError.make({ operation: \"send\", reason: \"unavailable\" }),\n reply: () => MessagingError.make({ operation: \"reply\", reason: \"unavailable\" }),\n inbox: () => MessagingError.make({ operation: \"inbox\", reason: \"unavailable\" }),\n inspect: () => MessagingError.make({ operation: \"inspect\", reason: \"unavailable\" }),\n retry: () => MessagingError.make({ operation: \"retry\", reason: \"unavailable\" }),\n };\n\n /** Runtime-owned per-call binding. Unconfigured Runs deny peer operations. */\n static readonly forTool = Context.Reference<\n (source: Extract<WorkerSource, { readonly _tag: \"tool\" }>) => MessagingHost[\"Service\"]\n >(\"@effect-agent/engine/MessagingHost/forTool\", {\n defaultValue: () => () => MessagingHost.unavailable,\n });\n}\n\n/** Separate context, history, send and management grants; incoming messages grant none of them. */\nexport interface PeerAuthorizationRequest {\n readonly source: MessageAddress;\n readonly principal: Principal;\n readonly operation: MessagingError[\"operation\"];\n readonly access: \"context\" | \"read\" | \"send\" | \"control\";\n readonly peerName?: string;\n readonly destination?: MessageAddress;\n}\n\nexport const PeerAuthorizer = Context.Reference<{\n /** Return the stable delivery principal for sends. It is retained with the frozen envelope. */\n readonly authorize: (\n request: PeerAuthorizationRequest,\n ) => Effect.Effect<Principal, MessagingError>;\n}>(\"@effect-agent/thread/PeerAuthorizer\", {\n defaultValue: () => ({\n authorize: (request) => MessagingError.make({ operation: request.operation, reason: \"denied\" }),\n }),\n});\n\n/** Application-owned routing; the target Agent is resolved from the existing exact registrations. */\nexport const PeerRoutes = Context.Reference<{\n readonly resolve: (request: {\n readonly source: MessageAddress;\n readonly principal: Principal;\n readonly peerName: string;\n readonly targetAgentId: MessageAddress[\"agentId\"];\n }) => Effect.Effect<ThreadId, MessagingError>;\n}>(\"@effect-agent/thread/PeerRoutes\", {\n defaultValue: () => ({\n resolve: () => MessagingError.make({ operation: \"send\", reason: \"route-unavailable\" }),\n }),\n});\n\n/**\n * Finite delivery and retained-send window in milliseconds (default one day, maximum seven days).\n * Exhaustion parks outstanding work; terminal sends stop consuming capacity at this deadline.\n */\nexport const PeerDeliveryLifetime = Context.Reference<number>(\n \"@effect-agent/thread/PeerDeliveryLifetime\",\n { defaultValue: () => 86_400_000 },\n);\n\n/**\n * Bound outstanding sends plus terminal sends still inside their delivery window, across all peers\n * and principals in one source Thread (default 256, maximum 1,000). Canonical history and exact\n * idempotent receipts remain retained after expiry without consuming this capacity.\n */\nexport const PeerMessageCapacity = Context.Reference<number>(\n \"@effect-agent/thread/PeerMessageCapacity\",\n { defaultValue: () => 256 },\n);\n"],"mappings":";;;;;;;;AASA,MAAa,WAAWA,SAAO,eAAe,MAC5CA,SAAO,YAAY,EAAE,GACrBA,SAAO,UAAU,mBAAmB,CACtC;AAIA,MAAa,iBAAiBA,SAAO,OAAO;CAAE,UAAU;CAAU,SAAS;AAAQ,CAAC;;AAIpF,MAAa,mBAAmBA,SAAO,OAAO;CAC5C,eAAeA,SAAO,QAAQ,CAAC;CAC/B,SAAS;CACT,UAAU;CACV,QAAQ;CACR,eAAe;CACf,WAAWA,SAAO,YAAY,UAAU;AAC1C,CAAC,CAAC,CAAC,MACDA,SAAO,YACJ,UACC,MAAM,QAAQ,kBAAkB,MAAM,OAAO,YAC7C,MAAM,OAAO,aAAa,MAAM,cAAc,YAC9C,MAAM,OAAO,YAAY,MAAM,cAAc,OACjD,CACF;AAIA,MAAa,aAAaA,SAAO,OAAO;CACtC,UAAUA,SAAO,QAAQ,MAAMA,SAAO,cAAc,CAAC,CAAC;CACtD,WAAW;AACb,CAAC;AAID,MAAa,YAAYA,SAAO,OAAO;CACrC,OAAOA,SAAO,MAAM,UAAU,CAAC,CAAC,MAAMA,SAAO,YAAY,GAAG,CAAC;CAC7D,MAAMA,SAAO,OAAOA,SAAO,OAAO;AACpC,CAAC;AAID,IAAa,iBAAb,cAAoCA,SAAO,YAA4B,CAAC,CAAC,kBAAkB;CACzF,WAAWA,SAAO,SAAS;EAAC;EAAW;EAAQ;EAAS;EAAS;EAAW;CAAO,CAAC;CACpF,QAAQA,SAAO,SAAS;EACtB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;AACH,CAAC,CAAC,CAAC,CAAC;;AAGJ,MAAa,eAAeA,SAAO,MAAM,CAAC,kBAAkB,gBAAgB,CAAC;;;;;;;;;;;ACzC7E,IAAa,gBAAb,MAAa,sBAAsBC,UAAQ,QAkBzC,CAAC,CAAC,oCAAoC,CAAC,CAAC;CACxC,OAAgB,cAAwC;EACtD,SAAS,OAAO,cACd,eAAe,KAAK;GAAE,WAAW;GAAW,QAAQ;EAAc,CAAC,CACrE;EACA,YAAY,eAAe,KAAK;GAAE,WAAW;GAAQ,QAAQ;EAAc,CAAC;EAC5E,aAAa,eAAe,KAAK;GAAE,WAAW;GAAS,QAAQ;EAAc,CAAC;EAC9E,aAAa,eAAe,KAAK;GAAE,WAAW;GAAS,QAAQ;EAAc,CAAC;EAC9E,eAAe,eAAe,KAAK;GAAE,WAAW;GAAW,QAAQ;EAAc,CAAC;EAClF,aAAa,eAAe,KAAK;GAAE,WAAW;GAAS,QAAQ;EAAc,CAAC;CAChF;;CAGA,OAAgB,UAAUA,UAAQ,UAEhC,8CAA8C,EAC9C,0BAA0B,cAAc,YAC1C,CAAC;AACH;AAYA,MAAa,iBAAiBA,UAAQ,UAKnC,uCAAuC,EACxC,qBAAqB,EACnB,YAAY,YAAY,eAAe,KAAK;CAAE,WAAW,QAAQ;CAAW,QAAQ;AAAS,CAAC,EAChG,GACF,CAAC;;AAGD,MAAa,aAAaA,UAAQ,UAO/B,mCAAmC,EACpC,qBAAqB,EACnB,eAAe,eAAe,KAAK;CAAE,WAAW;CAAQ,QAAQ;AAAoB,CAAC,EACvF,GACF,CAAC;;;;;AAMD,MAAa,uBAAuBA,UAAQ,UAC1C,6CACA,EAAE,oBAAoB,MAAW,CACnC;;;;;;AAOA,MAAa,sBAAsBA,UAAQ,UACzC,4CACA,EAAE,oBAAoB,IAAI,CAC5B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { u as ThreadId } from "./Identifiers-CN2s30fF.mjs";
|
|
2
2
|
import { r as Principal, t as IdempotencyKey } from "./Receipt-BkM21Qiu.mjs";
|
|
3
3
|
import { r as AnyDefinition } from "./Agent-B39jRnFv.mjs";
|
|
4
|
-
import { h as WorkerSource } from "./Worker-
|
|
4
|
+
import { h as WorkerSource } from "./Worker-CLYgfqhF.mjs";
|
|
5
5
|
import { c as MessageRef, i as MessageAddress, l as MessageStatus, n as InboxPage, o as MessagingError } from "./Messaging-DF_IWnxV.mjs";
|
|
6
6
|
import * as Context$1 from "effect/Context";
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -79,4 +79,4 @@ declare const PeerDeliveryLifetime: Context$1.Reference<number>;
|
|
|
79
79
|
declare const PeerMessageCapacity: Context$1.Reference<number>;
|
|
80
80
|
//#endregion
|
|
81
81
|
export { PeerDeliveryLifetime as a, PeerTarget as c, PeerAuthorizer as i, SendPeerMessage as l, MessagingHost_d_exports as n, PeerMessageCapacity as o, PeerAuthorizationRequest as r, PeerRoutes as s, MessagingHost as t };
|
|
82
|
-
//# sourceMappingURL=MessagingHost-
|
|
82
|
+
//# sourceMappingURL=MessagingHost-BKxDskYj.d.mts.map
|
package/dist/{PreparedInputAdmission-CjcX1OP0.d.mts → PreparedInputAdmission-DKIfqRZT.d.mts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as Receipt } from "./Receipt-BkM21Qiu.mjs";
|
|
2
2
|
import { a as FailureDiagnostic_d_exports, r as Diagnostic } from "./FailureDiagnostic-DvHruCSJ.mjs";
|
|
3
|
-
import { kr as SubmissionStatus } from "./Admin-
|
|
3
|
+
import { kr as SubmissionStatus } from "./Admin-Bpg24yCK.mjs";
|
|
4
4
|
import { H as ScheduledInputRefused, V as ScheduledInputFailure, j as ScheduleStorageError } from "./Schedule-CDgTz0vj.mjs";
|
|
5
|
-
import { a as PreparedInput } from "./Subscription-
|
|
5
|
+
import { a as PreparedInput } from "./Subscription-D5sOrmlI.mjs";
|
|
6
6
|
import { Context, Effect } from "effect";
|
|
7
7
|
declare namespace PreparedInputAdmission_d_exports {
|
|
8
8
|
export { PreparedInputAdmission, admitPreparedInput };
|
|
@@ -39,4 +39,4 @@ declare const admitPreparedInput: <R>(submit: Effect.Effect<Receipt, ScheduledIn
|
|
|
39
39
|
}, ScheduleStorageError, R>;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { PreparedInputAdmission_d_exports as n, admitPreparedInput as r, PreparedInputAdmission as t };
|
|
42
|
-
//# sourceMappingURL=PreparedInputAdmission-
|
|
42
|
+
//# sourceMappingURL=PreparedInputAdmission-DKIfqRZT.d.mts.map
|
|
@@ -11,8 +11,8 @@ import { DelegationDepth, SubagentBudgetReservation, SubagentGrant, SubagentPare
|
|
|
11
11
|
import { o as Selection, s as Snapshot } from "./ToolExposure-hTJT2ekj.mjs";
|
|
12
12
|
import { ModelCallUsage, RunTotals, RunUsageSummary } from "./core/Usage.mjs";
|
|
13
13
|
import { ExhaustedLimit } from "./core/RunEvent.mjs";
|
|
14
|
-
import { _ as WorkerStop, a as WorkerBudgetScope, f as WorkerRef, h as WorkerSource } from "./Worker-
|
|
15
|
-
import { l as InputMessage } from "./MessagingHost-
|
|
14
|
+
import { _ as WorkerStop, a as WorkerBudgetScope, f as WorkerRef, h as WorkerSource } from "./Worker-CtuUwYOK.mjs";
|
|
15
|
+
import { l as InputMessage } from "./MessagingHost-BILcuj0V.mjs";
|
|
16
16
|
import { ContextHandoff } from "./engine/ContextWindow.mjs";
|
|
17
17
|
import { RunPolicyUsage } from "./core/RunPolicyUsage.mjs";
|
|
18
18
|
import { Effect, Option, Schema, SchemaParser, SchemaTransformation, Struct } from "effect";
|
|
@@ -1130,4 +1130,4 @@ const CURRENT_CANONICAL_SCHEMA_VERSION = 1;
|
|
|
1130
1130
|
//#endregion
|
|
1131
1131
|
export { Records_exports as $, MAX_RUN_EVIDENCE_RECORDS as A, WorkHandoffCompleted as At, ObservationOffset as B, WorkerReportingIntent as Bt, MAX_CANONICAL_RECORD_BYTES as C, ToolCallResolved as Ct, MAX_PERSISTED_JSON_NODES as D, ToolStepSettled as Dt, MAX_PERSISTED_JSON_DEPTH as E, ToolOperation as Et, MAX_TURN_CANONICAL_BYTES as F, WorkerInputRequested as Ft, PromptRecord as G, PeerMessagePrepared as H, ModelCallAborted as I, WorkerOrigin as It, RUN_TERMINAL_RESERVE_BYTES as J, PromptRecordEnvelope as K, ModelCompleted as L, WorkerOriginRecorded as Lt, MAX_RUN_RECOVERY_SUFFIX_RECORDS as M, WorkerContinuation as Mt, MAX_RUN_TERMINAL_BYTES as N, WorkerInputCompleted as Nt, MAX_RUN_CONTINUATION_BYTES as O, ToolUnavailable as Ot, MAX_RUN_TOOL_CALL_IDENTITIES as P, WorkerInputRefused as Pt, RecordJson as Q, ModelResponseInterrupted as R, WorkerReportPrepared as Rt, KnownRecordPayload as S, ToolCallResolution as St, MAX_PERSISTED_JSON_COLLECTION_LENGTH as T, ToolCallUnknown as Tt, PersistedJson as U, PROMPT_EVIDENCE_TAGS as V, WorkerStopRequested as Vt, ProducerId as W, RecordEnvelope as X, RUN_TERMINAL_RESERVE_RECORDS as Y, RecordId as Z, DefinitionDigestInput as _, SubmissionSettledRecord as _t, CURRENT_CANONICAL_SCHEMA_VERSION as a, RunDurationExhausted as at, Digest as b, ToolApprovalDecided as bt, CanonicalBatch as c, RunPosition as ct, CanonicalRecordPayload as d, SettlementOutcome as dt, RepairAnnotated as et, CanonicalSequence as f, SubagentJoined as ft, DeclaredToolCall as g, SubmissionSettled as gt, ContinuationAccounting as h, SubagentStarted as ht, BatchId as i, RunContinuation as it, MAX_RUN_RECOVERY_SUFFIX_BYTES as j, WorkerAdmission as jt, MAX_RUN_EVIDENCE_BYTES as k, UserInputRecorded as kt, CanonicalRecord as l, RunStartedRecord as lt, ContextEvidenceReference as m, SubagentRequested as mt, AgentUpdateEmitted as n, RunCompleted as nt, CURRENT_RECORD_FORMAT as o, RunFailed as ot, CompactionCreated as p, SubagentLineageRecorded as pt, PromptRecordPayload as q, ApprovalDecision as r, RunContextRecorded as rt, CURRENT_RECORD_VERSION as s, RunPolicyUsageReserved as st, AbortRequested as t, ReplayContract as tt, CanonicalRecordEnvelope as u, SettlementFailureDiagnostic as ut, DefinitionDigests as v, SubtreeBudgetReserved as vt, MAX_PERSISTED_JSON_BYTES as w, ToolCallSettled as wt, EvidenceReference as x, ToolApprovalRequested as xt, DeploymentId as y, ThreadCreated as yt, ModelResponseRecorded as z, WorkerReportRefused as zt };
|
|
1132
1132
|
|
|
1133
|
-
//# sourceMappingURL=Records-
|
|
1133
|
+
//# sourceMappingURL=Records-CZRedCE7.mjs.map
|