effect-durable-agent-cloudflare 0.1.0-alpha.29 → 0.1.0-alpha.30
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/durable-object.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as DurableObjectTranscriptObserver, c as TranscriptAlert, s as DurableObjectTranscriptSliceLimits } from "./durable-object-storage-Dec6HWQ9.js";
|
|
2
|
-
import { a as SessionOutcomeInput, d as SessionTranscriptWindowInput, i as SessionGrantRunInput, l as SessionTranscriptSummaryInput, m as edaSessionRpc, n as SessionBlockInput, o as SessionScopedInput, r as SessionCommandInput, s as SessionTranscriptBodyInput, t as SessionBatchInput } from "./rpc-spec-
|
|
2
|
+
import { a as SessionOutcomeInput, d as SessionTranscriptWindowInput, i as SessionGrantRunInput, l as SessionTranscriptSummaryInput, m as edaSessionRpc, n as SessionBlockInput, o as SessionScopedInput, r as SessionCommandInput, s as SessionTranscriptBodyInput, t as SessionBatchInput } from "./rpc-spec-KZe2UdE0.js";
|
|
3
3
|
import { d as EDAWebSocketProjection, i as EDASessionControllerOptions, l as EDATranscriptSocketOptions } from "./session-controller-BZaYmBLr.js";
|
|
4
4
|
import * as Schema from "effect/Schema";
|
|
5
5
|
import { SessionId } from "effect-durable-agent/types/core";
|
|
@@ -388,6 +388,7 @@ declare const encodeEdaRpcSessionSnapshot: (input: {
|
|
|
388
388
|
readonly turnId: string & import("effect/Brand").Brand<"TurnId">;
|
|
389
389
|
} | undefined;
|
|
390
390
|
readonly startedSeq?: (number & import("effect/Brand").Brand<"SequenceNumber">) | undefined;
|
|
391
|
+
readonly attempt?: number | undefined;
|
|
391
392
|
readonly terminal?: {
|
|
392
393
|
readonly _tag: "Completed";
|
|
393
394
|
readonly promptPart?: {
|
|
@@ -1331,6 +1332,7 @@ declare const encodeEdaRpcSessionSnapshot: (input: {
|
|
|
1331
1332
|
readonly turnId: string & import("effect/Brand").Brand<"TurnId">;
|
|
1332
1333
|
} | undefined;
|
|
1333
1334
|
readonly startedSeq?: (number & import("effect/Brand").Brand<"SequenceNumber">) | undefined;
|
|
1335
|
+
readonly attempt?: number | undefined;
|
|
1334
1336
|
readonly terminal?: {
|
|
1335
1337
|
readonly _tag: "Completed";
|
|
1336
1338
|
readonly promptPart?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as DurableObjectTranscriptObserver, c as TranscriptAlert, i as DurableObjectSqlStorage, l as AdoptedLogIncarnation, n as DurableObjectSessionStoreOptions, o as DurableObjectTranscriptOptions, r as DurableObjectSqlCursor, s as DurableObjectTranscriptSliceLimits, t as DurableObjectSessionStorage } from "./durable-object-storage-Dec6HWQ9.js";
|
|
2
|
-
import { a as SessionOutcomeInput, c as SessionTranscriptBodyResult, d as SessionTranscriptWindowInput, f as SessionTranscriptWindowResult, i as SessionGrantRunInput, l as SessionTranscriptSummaryInput, m as edaSessionRpc, n as SessionBlockInput, o as SessionScopedInput, p as TranscriptCompactionSummary, r as SessionCommandInput, s as SessionTranscriptBodyInput, t as SessionBatchInput, u as SessionTranscriptSummaryResult } from "./rpc-spec-
|
|
2
|
+
import { a as SessionOutcomeInput, c as SessionTranscriptBodyResult, d as SessionTranscriptWindowInput, f as SessionTranscriptWindowResult, i as SessionGrantRunInput, l as SessionTranscriptSummaryInput, m as edaSessionRpc, n as SessionBlockInput, o as SessionScopedInput, p as TranscriptCompactionSummary, r as SessionCommandInput, s as SessionTranscriptBodyInput, t as SessionBatchInput, u as SessionTranscriptSummaryResult } from "./rpc-spec-KZe2UdE0.js";
|
|
3
3
|
import { _ as makeEDADurableObjectRuntimeLayer, a as EDASessionEventsInput, c as EDASessionSubmitInput, d as EDAWebSocketProjection, f as EDAWebSocketProjectionId, g as EDASessionDurableObjectStorage, h as EDADurableObjectRuntimeLayerOptions, i as EDASessionControllerOptions, l as EDATranscriptSocketOptions, m as EDAWebSocketProjectionResult, n as EDASessionBlockOnCommandInput, o as EDASessionScopedInput, p as EDAWebSocketProjectionInitial, r as EDASessionController, s as EDASessionSubmitBatchInput, t as EDAPreparedEventWebSocket, u as defaultActiveContentCadenceMs, v as DurableObjectAlarmStorage } from "./session-controller-BZaYmBLr.js";
|
|
4
4
|
import { EDASessionBlockOnCommandRpcInput, EDASessionCommandRpcInput, EDASessionDurableObject, EDASessionDurableObjectOptions, EDASessionEventsRpcInput, EDASessionGrantRunRpcInput, EDASessionRpcSurface, EDASessionRunRequestOutcomeRpcInput, EDASessionScopedRpcInput, EDASessionSubmitBatchRpcInput, EDASessionTranscriptOptions, EDA_WEB_SOCKET_PROJECTION_HEADER, EDA_WEB_SOCKET_STREAM_PARAM, edaRuntimeConfig, encodeEdaRpcCommittedDurableEvent, encodeEdaRpcSessionSnapshot, getEDASessionDurableObjectByName } from "./durable-object.js";
|
|
5
5
|
import { EDAOpenAiModelConfig, makeEDADurableObjectOpenAiModelLayer, makeEDADurableObjectOpenAiModelResolverLayer, makeEDAOpenAiClientLayer } from "./openai.js";
|
|
@@ -3146,6 +3146,7 @@ declare const edaSessionRpc: {
|
|
|
3146
3146
|
readonly schemaVersion: number;
|
|
3147
3147
|
readonly payload: {
|
|
3148
3148
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
3149
|
+
readonly attempt?: number | undefined;
|
|
3149
3150
|
};
|
|
3150
3151
|
} | {
|
|
3151
3152
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -5843,6 +5844,7 @@ declare const edaSessionRpc: {
|
|
|
5843
5844
|
readonly schemaVersion: number;
|
|
5844
5845
|
readonly payload: {
|
|
5845
5846
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
5847
|
+
readonly attempt?: number | undefined;
|
|
5846
5848
|
};
|
|
5847
5849
|
} | {
|
|
5848
5850
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
@@ -7005,6 +7007,7 @@ declare const edaSessionRpc: {
|
|
|
7005
7007
|
readonly turnId: Schema.brand<Schema.String, "TurnId">;
|
|
7006
7008
|
}>]>>;
|
|
7007
7009
|
readonly startedSeq: Schema.optionalKey<Schema.brand<Schema.Int, "SequenceNumber">>;
|
|
7010
|
+
readonly attempt: Schema.optionalKey<Schema.Int>;
|
|
7008
7011
|
readonly terminal: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
7009
7012
|
readonly _tag: Schema.Literal<"Completed">;
|
|
7010
7013
|
readonly promptPart: Schema.optionalKey<Schema.Struct<{
|
|
@@ -8455,4 +8458,4 @@ declare const edaSessionRpc: {
|
|
|
8455
8458
|
};
|
|
8456
8459
|
//#endregion
|
|
8457
8460
|
export { SessionOutcomeInput as a, SessionTranscriptBodyResult as c, SessionTranscriptWindowInput as d, SessionTranscriptWindowResult as f, SessionGrantRunInput as i, SessionTranscriptSummaryInput as l, edaSessionRpc as m, SessionBlockInput as n, SessionScopedInput as o, TranscriptCompactionSummary as p, SessionCommandInput as r, SessionTranscriptBodyInput as s, SessionBatchInput as t, SessionTranscriptSummaryResult as u };
|
|
8458
|
-
//# sourceMappingURL=rpc-spec-
|
|
8461
|
+
//# sourceMappingURL=rpc-spec-KZe2UdE0.d.ts.map
|
package/dist/rpc.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as SessionOutcomeInput, c as SessionTranscriptBodyResult, d as SessionTranscriptWindowInput, f as SessionTranscriptWindowResult, i as SessionGrantRunInput, l as SessionTranscriptSummaryInput, m as edaSessionRpc, n as SessionBlockInput, o as SessionScopedInput, p as TranscriptCompactionSummary, r as SessionCommandInput, s as SessionTranscriptBodyInput, t as SessionBatchInput, u as SessionTranscriptSummaryResult } from "./rpc-spec-
|
|
1
|
+
import { a as SessionOutcomeInput, c as SessionTranscriptBodyResult, d as SessionTranscriptWindowInput, f as SessionTranscriptWindowResult, i as SessionGrantRunInput, l as SessionTranscriptSummaryInput, m as edaSessionRpc, n as SessionBlockInput, o as SessionScopedInput, p as TranscriptCompactionSummary, r as SessionCommandInput, s as SessionTranscriptBodyInput, t as SessionBatchInput, u as SessionTranscriptSummaryResult } from "./rpc-spec-KZe2UdE0.js";
|
|
2
2
|
import { a as encodeEdaRpcDurableEvent, i as encodeEdaRpcCommand, n as decodeEdaRpcCommand, o as encodeEdaRpcSubmittables, r as decodeEdaRpcSubmittables, t as EDARpcSubmittable } from "./rpc-codec-B2aLiNqt.js";
|
|
3
3
|
export { EDARpcSubmittable, SessionBatchInput, SessionBlockInput, SessionCommandInput, SessionGrantRunInput, SessionOutcomeInput, SessionScopedInput, SessionTranscriptBodyInput, SessionTranscriptBodyResult, SessionTranscriptSummaryInput, SessionTranscriptSummaryResult, SessionTranscriptWindowInput, SessionTranscriptWindowResult, TranscriptCompactionSummary, decodeEdaRpcCommand, decodeEdaRpcSubmittables, edaSessionRpc, encodeEdaRpcCommand, encodeEdaRpcDurableEvent, encodeEdaRpcSubmittables };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "effect-durable-agent-cloudflare",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.30",
|
|
4
4
|
"description": "Cloudflare Durable Objects host for effect-durable-agent.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agents",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"tag": "alpha"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"effect-durable-agent": "0.1.0-alpha.
|
|
72
|
+
"effect-durable-agent": "0.1.0-alpha.30"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
75
|
"@effect/ai-anthropic": "4.0.3",
|