@effect-agent/storage-cloudflare 0.1.0-beta.93 → 0.1.0-beta.95

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.
@@ -545,6 +545,20 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
545
545
  readonly messages?: Schema.Json | undefined;
546
546
  } | {
547
547
  readonly _tag: "ModelResponseRecorded";
548
+ readonly toolParameterRejections?: readonly {
549
+ readonly toolCallId: string;
550
+ readonly parameters: Schema.Json;
551
+ readonly error: {
552
+ readonly _tag: "AiError";
553
+ readonly module: string;
554
+ readonly method: string;
555
+ readonly reason: {
556
+ readonly _tag: "ToolParameterValidationError";
557
+ readonly toolName: string;
558
+ readonly description: string;
559
+ };
560
+ };
561
+ }[] | undefined;
548
562
  readonly toolExposure?: {
549
563
  readonly exposedToolNames: readonly string[];
550
564
  readonly selection?: {
@@ -1254,6 +1268,20 @@ declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCall | Le
1254
1268
  readonly messages?: Schema.Json | undefined;
1255
1269
  } | {
1256
1270
  readonly _tag: "ModelResponseRecorded";
1271
+ readonly toolParameterRejections?: readonly {
1272
+ readonly toolCallId: string;
1273
+ readonly parameters: Schema.Json;
1274
+ readonly error: {
1275
+ readonly _tag: "AiError";
1276
+ readonly module: string;
1277
+ readonly method: string;
1278
+ readonly reason: {
1279
+ readonly _tag: "ToolParameterValidationError";
1280
+ readonly toolName: string;
1281
+ readonly description: string;
1282
+ };
1283
+ };
1284
+ }[] | undefined;
1257
1285
  readonly toolExposure?: {
1258
1286
  readonly exposedToolNames: readonly string[];
1259
1287
  readonly selection?: {
@@ -2434,6 +2462,20 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
2434
2462
  readonly messages?: Schema.Json | undefined;
2435
2463
  } | {
2436
2464
  readonly _tag: "ModelResponseRecorded";
2465
+ readonly toolParameterRejections?: readonly {
2466
+ readonly toolCallId: string;
2467
+ readonly parameters: Schema.Json;
2468
+ readonly error: {
2469
+ readonly _tag: "AiError";
2470
+ readonly module: string;
2471
+ readonly method: string;
2472
+ readonly reason: {
2473
+ readonly _tag: "ToolParameterValidationError";
2474
+ readonly toolName: string;
2475
+ readonly description: string;
2476
+ };
2477
+ };
2478
+ }[] | undefined;
2437
2479
  readonly toolExposure?: {
2438
2480
  readonly exposedToolNames: readonly string[];
2439
2481
  readonly selection?: {
@@ -3165,6 +3207,20 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
3165
3207
  readonly messages?: Schema.Json | undefined;
3166
3208
  } | {
3167
3209
  readonly _tag: "ModelResponseRecorded";
3210
+ readonly toolParameterRejections?: readonly {
3211
+ readonly toolCallId: string;
3212
+ readonly parameters: Schema.Json;
3213
+ readonly error: {
3214
+ readonly _tag: "AiError";
3215
+ readonly module: string;
3216
+ readonly method: string;
3217
+ readonly reason: {
3218
+ readonly _tag: "ToolParameterValidationError";
3219
+ readonly toolName: string;
3220
+ readonly description: string;
3221
+ };
3222
+ };
3223
+ }[] | undefined;
3168
3224
  readonly toolExposure?: {
3169
3225
  readonly exposedToolNames: readonly string[];
3170
3226
  readonly selection?: {
@@ -3750,9 +3806,6 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
3750
3806
  } | {
3751
3807
  readonly _tag: "PortFailed";
3752
3808
  readonly failure: {
3753
- readonly _tag: "PortProtocolError";
3754
- readonly message: string;
3755
- } | {
3756
3809
  readonly _tag: "ThreadNotMaterialized";
3757
3810
  readonly threadId: string;
3758
3811
  } | {
@@ -3760,6 +3813,9 @@ declare const encodePortResponse: (input: PortFailed | PortSucceeded, options?:
3760
3813
  readonly threadId: string;
3761
3814
  readonly actualEpoch: number;
3762
3815
  readonly attemptedEpoch: number;
3816
+ } | {
3817
+ readonly _tag: "PortProtocolError";
3818
+ readonly message: string;
3763
3819
  } | {
3764
3820
  readonly _tag: "AdmissionConflict";
3765
3821
  readonly threadId: string;
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@effect-agent/storage-cloudflare","version":"0.1.0-beta.93","dependencies":{"@effect/platform-browser":"4.0.0-rc.115","@effect/sql-sqlite-do":"4.0.0-rc.115","effect-agent":"0.1.0-beta.93"},"devDependencies":{"@cloudflare/vitest-pool-workers":"0.21.3","@cloudflare/workers-types":"5.20260825.1","@effect-agent/testing":"0.1.0-beta.93","@effect/vitest":"4.0.0-rc.115","effect":"4.0.0-rc.115","typescript":"7.0.2","vite-plus":"0.3.0","vitest":"4.1.11"},"peerDependencies":{"effect":"^4.0.0-rc.115"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./do-memory-store":{"types":"./dist/DoMemoryStore.d.mts","default":"./dist/DoMemoryStore.mjs"},"./do-schedule-store":{"types":"./dist/DoScheduleStore.d.mts","default":"./dist/DoScheduleStore.mjs"},"./do-storage-config":{"types":"./dist/DoStorageConfig.d.mts","default":"./dist/DoStorageConfig.mjs"},"./do-storage-error":{"types":"./dist/DoStorageError.d.mts","default":"./dist/DoStorageError.mjs"},"./do-storage-failpoint":{"types":"./dist/DoStorageFailpoint.d.mts","default":"./dist/DoStorageFailpoint.mjs"},"./do-storage-version":{"types":"./dist/DoStorageVersion.d.mts","default":"./dist/DoStorageVersion.mjs"},"./do-submission-ledger":{"types":"./dist/DoSubmissionLedger.d.mts","default":"./dist/DoSubmissionLedger.mjs"},"./do-subscription-store":{"types":"./dist/DoSubscriptionStore.d.mts","default":"./dist/DoSubscriptionStore.mjs"},"./do-thread-store":{"types":"./dist/DoThreadStore.d.mts","default":"./dist/DoThreadStore.mjs"},"./memory-protocol":{"types":"./dist/MemoryProtocol.d.mts","default":"./dist/MemoryProtocol.mjs"},"./port-protocol":{"types":"./dist/PortProtocol.d.mts","default":"./dist/PortProtocol.mjs"},"./port-routing":{"types":"./dist/PortRouting.d.mts","default":"./dist/PortRouting.mjs"},"./testing/do-storage-failpoint-testing":{"types":"./dist/DoStorageFailpointTesting.d.mts","default":"./dist/DoStorageFailpointTesting.mjs"},"./do-message-delivery-store":{"types":"./dist/DoMessageDeliveryStore.d.mts","default":"./dist/DoMessageDeliveryStore.mjs"}},"description":"Durable Object SQLite storage adapters and the routed port protocol for Effect Agent on Cloudflare.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/danieljvdm/effect-agent.git","directory":"packages/storage-cloudflare"},"files":["dist","src"],"type":"module","sideEffects":[],"publishConfig":{"access":"public"},"scripts":{"build":"vp pack","check":"tsc --noEmit -p tsconfig.json"}}
1
+ {"name":"@effect-agent/storage-cloudflare","version":"0.1.0-beta.95","dependencies":{"@effect/platform-browser":"4.0.0-rc.115","@effect/sql-sqlite-do":"4.0.0-rc.115","effect-agent":"0.1.0-beta.95"},"devDependencies":{"@cloudflare/vitest-pool-workers":"0.21.3","@cloudflare/workers-types":"5.20260825.1","@effect-agent/testing":"0.1.0-beta.95","@effect/vitest":"4.0.0-rc.115","effect":"4.0.0-rc.115","typescript":"7.0.2","vite-plus":"0.3.0","vitest":"4.1.11"},"peerDependencies":{"effect":"^4.0.0-rc.115"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./do-memory-store":{"types":"./dist/DoMemoryStore.d.mts","default":"./dist/DoMemoryStore.mjs"},"./do-schedule-store":{"types":"./dist/DoScheduleStore.d.mts","default":"./dist/DoScheduleStore.mjs"},"./do-storage-config":{"types":"./dist/DoStorageConfig.d.mts","default":"./dist/DoStorageConfig.mjs"},"./do-storage-error":{"types":"./dist/DoStorageError.d.mts","default":"./dist/DoStorageError.mjs"},"./do-storage-failpoint":{"types":"./dist/DoStorageFailpoint.d.mts","default":"./dist/DoStorageFailpoint.mjs"},"./do-storage-version":{"types":"./dist/DoStorageVersion.d.mts","default":"./dist/DoStorageVersion.mjs"},"./do-submission-ledger":{"types":"./dist/DoSubmissionLedger.d.mts","default":"./dist/DoSubmissionLedger.mjs"},"./do-subscription-store":{"types":"./dist/DoSubscriptionStore.d.mts","default":"./dist/DoSubscriptionStore.mjs"},"./do-thread-store":{"types":"./dist/DoThreadStore.d.mts","default":"./dist/DoThreadStore.mjs"},"./memory-protocol":{"types":"./dist/MemoryProtocol.d.mts","default":"./dist/MemoryProtocol.mjs"},"./port-protocol":{"types":"./dist/PortProtocol.d.mts","default":"./dist/PortProtocol.mjs"},"./port-routing":{"types":"./dist/PortRouting.d.mts","default":"./dist/PortRouting.mjs"},"./testing/do-storage-failpoint-testing":{"types":"./dist/DoStorageFailpointTesting.d.mts","default":"./dist/DoStorageFailpointTesting.mjs"},"./do-message-delivery-store":{"types":"./dist/DoMessageDeliveryStore.d.mts","default":"./dist/DoMessageDeliveryStore.mjs"}},"description":"Durable Object SQLite storage adapters and the routed port protocol for Effect Agent on Cloudflare.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/danieljvdm/effect-agent.git","directory":"packages/storage-cloudflare"},"files":["dist","src"],"type":"module","sideEffects":[],"publishConfig":{"access":"public"},"scripts":{"build":"vp pack","check":"tsc --noEmit -p tsconfig.json"}}