effect-durable-agent-celld 0.1.0 → 0.2.1
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/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EDASessionController as EDASessionCellController, EDASessionDurableObject, EDASessionDurableObjectOptions, EDASessionDurableObjectOptions as EDASessionCellOptions, EDASessionDurableObjectStorage as EDASessionCellStorage, edaRuntimeConfig, encodeEdaRpcCommand, encodeEdaRpcSubmittables, makeEDADurableObjectOpenAiModelLayer as makeEDACelldOpenAiModelLayer } from "effect-durable-agent-cloudflare";
|
|
1
|
+
import { EDASessionController as EDASessionCellController, EDASessionDurableObject, EDASessionDurableObjectOptions, EDASessionDurableObjectOptions as EDASessionCellOptions, EDASessionDurableObjectStorage as EDASessionCellStorage, decodeDecideOutcome, edaRuntimeConfig, encodeDecideInput, encodeEdaRpcCommand, encodeEdaRpcSubmittables, makeEDADurableObjectOpenAiModelLayer as makeEDACelldOpenAiModelLayer } from "effect-durable-agent-cloudflare";
|
|
2
2
|
//#region src/index.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* One EDA session hosted as a celld cell.
|
|
@@ -13,5 +13,5 @@ declare abstract class EDASessionCell<EnvType extends object = object> extends E
|
|
|
13
13
|
/** Resolve a celld session cell by its stable domain session id. */
|
|
14
14
|
declare const getEDASessionCellByName: <T extends EDASessionCell<object>>(namespace: DurableObjectNamespace<T>, sessionId: string) => DurableObjectStub<T>;
|
|
15
15
|
//#endregion
|
|
16
|
-
export { EDASessionCell, EDASessionCellController, type EDASessionCellOptions, type EDASessionCellStorage, edaRuntimeConfig, encodeEdaRpcCommand, encodeEdaRpcSubmittables, getEDASessionCellByName, makeEDACelldOpenAiModelLayer };
|
|
16
|
+
export { EDASessionCell, EDASessionCellController, type EDASessionCellOptions, type EDASessionCellStorage, decodeDecideOutcome, edaRuntimeConfig, encodeDecideInput, encodeEdaRpcCommand, encodeEdaRpcSubmittables, getEDASessionCellByName, makeEDACelldOpenAiModelLayer };
|
|
17
17
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EDASessionController as EDASessionCellController, EDASessionDurableObject, edaRuntimeConfig, encodeEdaRpcCommand, encodeEdaRpcSubmittables, makeEDADurableObjectOpenAiModelLayer as makeEDACelldOpenAiModelLayer } from "effect-durable-agent-cloudflare";
|
|
1
|
+
import { EDASessionController as EDASessionCellController, EDASessionDurableObject, decodeDecideOutcome, edaRuntimeConfig, encodeDecideInput, encodeEdaRpcCommand, encodeEdaRpcSubmittables, makeEDADurableObjectOpenAiModelLayer as makeEDACelldOpenAiModelLayer } from "effect-durable-agent-cloudflare";
|
|
2
2
|
//#region src/index.ts
|
|
3
3
|
/**
|
|
4
4
|
* One EDA session hosted as a celld cell.
|
|
@@ -15,6 +15,6 @@ var EDASessionCell = class extends EDASessionDurableObject {
|
|
|
15
15
|
/** Resolve a celld session cell by its stable domain session id. */
|
|
16
16
|
const getEDASessionCellByName = (namespace, sessionId) => namespace.getByName(sessionId);
|
|
17
17
|
//#endregion
|
|
18
|
-
export { EDASessionCell, EDASessionCellController, edaRuntimeConfig, encodeEdaRpcCommand, encodeEdaRpcSubmittables, getEDASessionCellByName, makeEDACelldOpenAiModelLayer };
|
|
18
|
+
export { EDASessionCell, EDASessionCellController, decodeDecideOutcome, edaRuntimeConfig, encodeDecideInput, encodeEdaRpcCommand, encodeEdaRpcSubmittables, getEDASessionCellByName, makeEDACelldOpenAiModelLayer };
|
|
19
19
|
|
|
20
20
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import {\n EDASessionDurableObject,\n type EDASessionDurableObjectOptions,\n} from \"effect-durable-agent-cloudflare\";\n\n/**\n * One EDA session hosted as a celld cell.\n *\n * celld implements the Workers Durable Objects contract, so this class shares\n * the production adapter with Cloudflare while keeping deployment choice at a\n * package boundary.\n */\nexport abstract class EDASessionCell<\n EnvType extends object = object,\n> extends EDASessionDurableObject<EnvType> {\n protected constructor(\n ctx: DurableObjectState,\n env: EnvType,\n options: EDASessionDurableObjectOptions,\n ) {\n super(ctx, env, options);\n }\n}\n\n/** Resolve a celld session cell by its stable domain session id. */\nexport const getEDASessionCellByName = <T extends EDASessionCell<object>>(\n namespace: DurableObjectNamespace<T>,\n sessionId: string,\n): DurableObjectStub<T> => namespace.getByName(sessionId);\n\nexport {\n edaRuntimeConfig,\n encodeEdaRpcCommand,\n encodeEdaRpcSubmittables,\n makeEDADurableObjectOpenAiModelLayer as makeEDACelldOpenAiModelLayer,\n EDASessionController as EDASessionCellController,\n type EDASessionDurableObjectOptions as EDASessionCellOptions,\n type EDASessionDurableObjectStorage as EDASessionCellStorage,\n} from \"effect-durable-agent-cloudflare\";\n"],"mappings":";;;;;;;;;AAYA,IAAsB,iBAAtB,cAEU,wBAAiC;CACzC,YACE,KACA,KACA,SACA;EACA,MAAM,KAAK,KAAK,OAAO;CACzB;AACF;;AAGA,MAAa,2BACX,WACA,cACyB,UAAU,UAAU,SAAS"}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import {\n EDASessionDurableObject,\n type EDASessionDurableObjectOptions,\n} from \"effect-durable-agent-cloudflare\";\n\n/**\n * One EDA session hosted as a celld cell.\n *\n * celld implements the Workers Durable Objects contract, so this class shares\n * the production adapter with Cloudflare while keeping deployment choice at a\n * package boundary.\n */\nexport abstract class EDASessionCell<\n EnvType extends object = object,\n> extends EDASessionDurableObject<EnvType> {\n protected constructor(\n ctx: DurableObjectState,\n env: EnvType,\n options: EDASessionDurableObjectOptions,\n ) {\n super(ctx, env, options);\n }\n}\n\n/** Resolve a celld session cell by its stable domain session id. */\nexport const getEDASessionCellByName = <T extends EDASessionCell<object>>(\n namespace: DurableObjectNamespace<T>,\n sessionId: string,\n): DurableObjectStub<T> => namespace.getByName(sessionId);\n\nexport {\n decodeDecideOutcome,\n edaRuntimeConfig,\n encodeDecideInput,\n encodeEdaRpcCommand,\n encodeEdaRpcSubmittables,\n makeEDADurableObjectOpenAiModelLayer as makeEDACelldOpenAiModelLayer,\n EDASessionController as EDASessionCellController,\n type EDASessionDurableObjectOptions as EDASessionCellOptions,\n type EDASessionDurableObjectStorage as EDASessionCellStorage,\n} from \"effect-durable-agent-cloudflare\";\n"],"mappings":";;;;;;;;;AAYA,IAAsB,iBAAtB,cAEU,wBAAiC;CACzC,YACE,KACA,KACA,SACA;EACA,MAAM,KAAK,KAAK,OAAO;CACzB;AACF;;AAGA,MAAa,2BACX,WACA,cACyB,UAAU,UAAU,SAAS"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "effect-durable-agent-celld",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "celld host for effect-durable-agent.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agents",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"tag": "latest"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"effect-durable-agent": "0.1
|
|
45
|
-
"effect-durable-agent-cloudflare": "0.1
|
|
44
|
+
"effect-durable-agent": "0.2.1",
|
|
45
|
+
"effect-durable-agent-cloudflare": "0.2.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@effect/ai-openai": "~4.1.2",
|