@effect-agent/storage-cloudflare 0.1.0-beta.109 → 0.1.0-beta.110

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.
@@ -255,6 +255,14 @@ declare const MessageDeliveryListResult_base: Schema.Class<MessageDeliveryListRe
255
255
  readonly mode: Schema.optionalKey<Schema.Literal<"standard">>;
256
256
  readonly sourceDigests: typeof import("effect-agent/records").DefinitionDigests;
257
257
  readonly destinationDelegationId: Schema.optionalKey<Schema.brand<Schema.NonEmptyString, "@effect-agent/core/DelegationId">>;
258
+ readonly returnAddress: Schema.optionalKey<Schema.Struct<{
259
+ readonly input: Schema.declare<Schema.Json, Schema.Json>;
260
+ readonly principal: Schema.brand<Schema.NonEmptyString, "@effect-agent/thread/Principal">;
261
+ readonly policy: Schema.toCodecJson<typeof import("effect-agent/agent-policy").AgentPolicy>;
262
+ readonly depth: Schema.Natural;
263
+ readonly grant: Schema.optionalKey<typeof import("effect-agent/subagent-contract").SubagentGrant>;
264
+ readonly workerAdmission: Schema.optionalKey<Schema.declare<Schema.Json, Schema.Json>>;
265
+ }>>;
258
266
  }>>;
259
267
  }>;
260
268
  readonly messageId: Schema.brand<Schema.NonEmptyString, "@effect-agent/thread/IdempotencyKey">;
@@ -492,6 +500,18 @@ export declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCa
492
500
  } | undefined;
493
501
  };
494
502
  readonly destinationDelegationId?: string | undefined;
503
+ readonly returnAddress?: {
504
+ readonly input: Schema.Json;
505
+ readonly principal: string;
506
+ readonly policy: Schema.Json;
507
+ readonly depth: number;
508
+ readonly grant?: {
509
+ readonly allowedToolNames: readonly string[];
510
+ readonly maxDepth: number;
511
+ readonly childLifetimes?: readonly ("attached" | "background")[] | undefined;
512
+ } | undefined;
513
+ readonly workerAdmission?: Schema.Json | undefined;
514
+ } | undefined;
495
515
  } | undefined;
496
516
  };
497
517
  readonly messageId: string;
@@ -1246,6 +1266,18 @@ export declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCa
1246
1266
  } | undefined;
1247
1267
  };
1248
1268
  readonly destinationDelegationId?: string | undefined;
1269
+ readonly returnAddress?: {
1270
+ readonly input: Schema.Json;
1271
+ readonly principal: string;
1272
+ readonly policy: Schema.Json;
1273
+ readonly depth: number;
1274
+ readonly grant?: {
1275
+ readonly allowedToolNames: readonly string[];
1276
+ readonly maxDepth: number;
1277
+ readonly childLifetimes?: readonly ("attached" | "background")[] | undefined;
1278
+ } | undefined;
1279
+ readonly workerAdmission?: Schema.Json | undefined;
1280
+ } | undefined;
1249
1281
  } | undefined;
1250
1282
  };
1251
1283
  readonly messageId: string;
@@ -1338,6 +1370,18 @@ export declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCa
1338
1370
  } | undefined;
1339
1371
  };
1340
1372
  readonly destinationDelegationId?: string | undefined;
1373
+ readonly returnAddress?: {
1374
+ readonly input: Schema.Json;
1375
+ readonly principal: string;
1376
+ readonly policy: Schema.Json;
1377
+ readonly depth: number;
1378
+ readonly grant?: {
1379
+ readonly allowedToolNames: readonly string[];
1380
+ readonly maxDepth: number;
1381
+ readonly childLifetimes?: readonly ("attached" | "background")[] | undefined;
1382
+ } | undefined;
1383
+ readonly workerAdmission?: Schema.Json | undefined;
1384
+ } | undefined;
1341
1385
  } | undefined;
1342
1386
  };
1343
1387
  } | {
@@ -2039,6 +2083,18 @@ export declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCa
2039
2083
  } | undefined;
2040
2084
  };
2041
2085
  readonly destinationDelegationId?: string | undefined;
2086
+ readonly returnAddress?: {
2087
+ readonly input: Schema.Json;
2088
+ readonly principal: string;
2089
+ readonly policy: Schema.Json;
2090
+ readonly depth: number;
2091
+ readonly grant?: {
2092
+ readonly allowedToolNames: readonly string[];
2093
+ readonly maxDepth: number;
2094
+ readonly childLifetimes?: readonly ("attached" | "background")[] | undefined;
2095
+ } | undefined;
2096
+ readonly workerAdmission?: Schema.Json | undefined;
2097
+ } | undefined;
2042
2098
  } | undefined;
2043
2099
  };
2044
2100
  readonly messageId: string;
@@ -2131,6 +2187,18 @@ export declare const encodePortRequest: (input: LedgerAdmitCall | LedgerLookupCa
2131
2187
  } | undefined;
2132
2188
  };
2133
2189
  readonly destinationDelegationId?: string | undefined;
2190
+ readonly returnAddress?: {
2191
+ readonly input: Schema.Json;
2192
+ readonly principal: string;
2193
+ readonly policy: Schema.Json;
2194
+ readonly depth: number;
2195
+ readonly grant?: {
2196
+ readonly allowedToolNames: readonly string[];
2197
+ readonly maxDepth: number;
2198
+ readonly childLifetimes?: readonly ("attached" | "background")[] | undefined;
2199
+ } | undefined;
2200
+ readonly workerAdmission?: Schema.Json | undefined;
2201
+ } | undefined;
2134
2202
  } | undefined;
2135
2203
  };
2136
2204
  } | {
@@ -2427,6 +2495,18 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
2427
2495
  } | undefined;
2428
2496
  };
2429
2497
  readonly destinationDelegationId?: string | undefined;
2498
+ readonly returnAddress?: {
2499
+ readonly input: Schema.Json;
2500
+ readonly principal: string;
2501
+ readonly policy: Schema.Json;
2502
+ readonly depth: number;
2503
+ readonly grant?: {
2504
+ readonly allowedToolNames: readonly string[];
2505
+ readonly maxDepth: number;
2506
+ readonly childLifetimes?: readonly ("attached" | "background")[] | undefined;
2507
+ } | undefined;
2508
+ readonly workerAdmission?: Schema.Json | undefined;
2509
+ } | undefined;
2430
2510
  } | undefined;
2431
2511
  };
2432
2512
  readonly messageId: string;
@@ -2650,6 +2730,18 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
2650
2730
  } | undefined;
2651
2731
  };
2652
2732
  readonly destinationDelegationId?: string | undefined;
2733
+ readonly returnAddress?: {
2734
+ readonly input: Schema.Json;
2735
+ readonly principal: string;
2736
+ readonly policy: Schema.Json;
2737
+ readonly depth: number;
2738
+ readonly grant?: {
2739
+ readonly allowedToolNames: readonly string[];
2740
+ readonly maxDepth: number;
2741
+ readonly childLifetimes?: readonly ("attached" | "background")[] | undefined;
2742
+ } | undefined;
2743
+ readonly workerAdmission?: Schema.Json | undefined;
2744
+ } | undefined;
2653
2745
  } | undefined;
2654
2746
  };
2655
2747
  readonly messageId: string;
@@ -3381,6 +3473,18 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
3381
3473
  } | undefined;
3382
3474
  };
3383
3475
  readonly destinationDelegationId?: string | undefined;
3476
+ readonly returnAddress?: {
3477
+ readonly input: Schema.Json;
3478
+ readonly principal: string;
3479
+ readonly policy: Schema.Json;
3480
+ readonly depth: number;
3481
+ readonly grant?: {
3482
+ readonly allowedToolNames: readonly string[];
3483
+ readonly maxDepth: number;
3484
+ readonly childLifetimes?: readonly ("attached" | "background")[] | undefined;
3485
+ } | undefined;
3486
+ readonly workerAdmission?: Schema.Json | undefined;
3487
+ } | undefined;
3384
3488
  } | undefined;
3385
3489
  };
3386
3490
  readonly messageId: string;
@@ -3473,6 +3577,18 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
3473
3577
  } | undefined;
3474
3578
  };
3475
3579
  readonly destinationDelegationId?: string | undefined;
3580
+ readonly returnAddress?: {
3581
+ readonly input: Schema.Json;
3582
+ readonly principal: string;
3583
+ readonly policy: Schema.Json;
3584
+ readonly depth: number;
3585
+ readonly grant?: {
3586
+ readonly allowedToolNames: readonly string[];
3587
+ readonly maxDepth: number;
3588
+ readonly childLifetimes?: readonly ("attached" | "background")[] | undefined;
3589
+ } | undefined;
3590
+ readonly workerAdmission?: Schema.Json | undefined;
3591
+ } | undefined;
3476
3592
  } | undefined;
3477
3593
  };
3478
3594
  } | {
@@ -4196,6 +4312,18 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
4196
4312
  } | undefined;
4197
4313
  };
4198
4314
  readonly destinationDelegationId?: string | undefined;
4315
+ readonly returnAddress?: {
4316
+ readonly input: Schema.Json;
4317
+ readonly principal: string;
4318
+ readonly policy: Schema.Json;
4319
+ readonly depth: number;
4320
+ readonly grant?: {
4321
+ readonly allowedToolNames: readonly string[];
4322
+ readonly maxDepth: number;
4323
+ readonly childLifetimes?: readonly ("attached" | "background")[] | undefined;
4324
+ } | undefined;
4325
+ readonly workerAdmission?: Schema.Json | undefined;
4326
+ } | undefined;
4199
4327
  } | undefined;
4200
4328
  };
4201
4329
  readonly messageId: string;
@@ -4288,6 +4416,18 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
4288
4416
  } | undefined;
4289
4417
  };
4290
4418
  readonly destinationDelegationId?: string | undefined;
4419
+ readonly returnAddress?: {
4420
+ readonly input: Schema.Json;
4421
+ readonly principal: string;
4422
+ readonly policy: Schema.Json;
4423
+ readonly depth: number;
4424
+ readonly grant?: {
4425
+ readonly allowedToolNames: readonly string[];
4426
+ readonly maxDepth: number;
4427
+ readonly childLifetimes?: readonly ("attached" | "background")[] | undefined;
4428
+ } | undefined;
4429
+ readonly workerAdmission?: Schema.Json | undefined;
4430
+ } | undefined;
4291
4431
  } | undefined;
4292
4432
  };
4293
4433
  } | {
@@ -4516,6 +4656,18 @@ export declare const encodePortResponse: (input: PortFailed | PortSucceeded, opt
4516
4656
  } | undefined;
4517
4657
  };
4518
4658
  readonly destinationDelegationId?: string | undefined;
4659
+ readonly returnAddress?: {
4660
+ readonly input: Schema.Json;
4661
+ readonly principal: string;
4662
+ readonly policy: Schema.Json;
4663
+ readonly depth: number;
4664
+ readonly grant?: {
4665
+ readonly allowedToolNames: readonly string[];
4666
+ readonly maxDepth: number;
4667
+ readonly childLifetimes?: readonly ("attached" | "background")[] | undefined;
4668
+ } | undefined;
4669
+ readonly workerAdmission?: Schema.Json | undefined;
4670
+ } | undefined;
4519
4671
  } | undefined;
4520
4672
  };
4521
4673
  readonly messageId: string;
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@effect-agent/storage-cloudflare","version":"0.1.0-beta.109","dependencies":{"@effect/platform-browser":"4.0.0-rc.115","@effect/sql-sqlite-do":"4.0.0-rc.115","effect-agent":"0.1.0-beta.109"},"devDependencies":{"@cloudflare/vitest-pool-workers":"0.21.3","@cloudflare/workers-types":"5.20260825.1","@effect-agent/testing":"0.1.0-beta.109","@effect/vitest":"4.0.0-rc.115","effect":"4.0.0-rc.115","typescript":"7.0.2","vite-plus":"0.3.2","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.110","dependencies":{"@effect/platform-browser":"4.0.0-rc.115","@effect/sql-sqlite-do":"4.0.0-rc.115","effect-agent":"0.1.0-beta.110"},"devDependencies":{"@cloudflare/vitest-pool-workers":"0.21.3","@cloudflare/workers-types":"5.20260825.1","@effect-agent/testing":"0.1.0-beta.110","@effect/vitest":"4.0.0-rc.115","effect":"4.0.0-rc.115","typescript":"7.0.2","vite-plus":"0.3.2","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"}}