effect-agent 0.1.0-beta.91 → 0.1.0-beta.93

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.
Files changed (121) hide show
  1. package/dist/{AgentRuntime-CHipL2jG.mjs → AgentRuntime-BPjQM1Nv.mjs} +2 -2
  2. package/dist/AgentRuntime-BPjQM1Nv.mjs.map +1 -0
  3. package/dist/{DurableAgentRuntime-D7gDKGjH.mjs → DurableAgentRuntime-CdrBuKZY.mjs} +4 -4
  4. package/dist/{DurableAgentRuntime-D7gDKGjH.mjs.map → DurableAgentRuntime-CdrBuKZY.mjs.map} +1 -1
  5. package/dist/{EventSource-OqS_P9ug.d.mts → EventSource-c6GRTCsl.d.mts} +3 -3
  6. package/dist/{Ephemeral.d.mts → InMemory.d.mts} +5 -3
  7. package/dist/{Ephemeral.mjs → InMemory.mjs} +6 -4
  8. package/dist/InMemory.mjs.map +1 -0
  9. package/dist/{PreparedInputAdmission-C4HbjHgl.d.mts → PreparedInputAdmission-QzFbW2LQ.d.mts} +4 -4
  10. package/dist/Records-C9cezOEf.mjs +799 -0
  11. package/dist/Records-C9cezOEf.mjs.map +1 -0
  12. package/dist/{Records-BAGkekt8.d.mts → Records-vFp_ZQ9Y.d.mts} +21 -3
  13. package/dist/{RunJournal-Cgg1kNvc.mjs → RunJournal-lwbrh2hZ.mjs} +2 -2
  14. package/dist/{RunJournal-Cgg1kNvc.mjs.map → RunJournal-lwbrh2hZ.mjs.map} +1 -1
  15. package/dist/{Schedule-H3SEYX9g.d.mts → Schedule-BkZvKyMw.d.mts} +2 -2
  16. package/dist/{Scheduling-C9aIP8zT.mjs → Scheduling-D0QqOoeT.mjs} +2 -2
  17. package/dist/{Scheduling-C9aIP8zT.mjs.map → Scheduling-D0QqOoeT.mjs.map} +1 -1
  18. package/dist/{Subagent-U5qXOFE8.mjs → Subagent-CnTzCy8k.mjs} +2 -2
  19. package/dist/{Subagent-U5qXOFE8.mjs.map → Subagent-CnTzCy8k.mjs.map} +1 -1
  20. package/dist/{Subscription-BEP8oQO5.d.mts → Subscription-CKQ0KDHN.d.mts} +3 -3
  21. package/dist/{SubscriptionInput-vAAOBrK7.d.mts → SubscriptionInput-Cth8F_7b.d.mts} +3 -3
  22. package/dist/capabilities/Subagent.mjs +1 -1
  23. package/dist/capabilities/WebSearch.d.mts +3 -3
  24. package/dist/capabilities/WebSearch.mjs +9 -6
  25. package/dist/capabilities/WebSearch.mjs.map +1 -1
  26. package/dist/durable/ActivityStore.d.mts +1 -1
  27. package/dist/durable/ActivityStore.mjs +1 -1
  28. package/dist/durable/Admin.d.mts +1 -1
  29. package/dist/durable/Admin.mjs +1 -1
  30. package/dist/durable/AgentRegistration.d.mts +1 -1
  31. package/dist/durable/Certification.d.mts +1 -1
  32. package/dist/durable/CommittedActivity.d.mts +1 -1
  33. package/dist/durable/CommittedActivity.mjs +1 -1
  34. package/dist/durable/Digest.d.mts +1 -1
  35. package/dist/durable/Digest.mjs +1 -1
  36. package/dist/durable/DurableAgentRuntime.d.mts +1 -1
  37. package/dist/durable/DurableAgentRuntime.mjs +1 -1
  38. package/dist/durable/EventSource.d.mts +1 -1
  39. package/dist/durable/EventSource.mjs +1 -1
  40. package/dist/durable/GitHubWorkflowSource.d.mts +48 -6
  41. package/dist/durable/GitHubWorkflowSource.mjs +13 -13
  42. package/dist/durable/GitHubWorkflowSource.mjs.map +1 -1
  43. package/dist/durable/MessageDelivery.d.mts +3 -3
  44. package/dist/durable/MessageDelivery.mjs +1 -1
  45. package/dist/durable/MessageDeliveryStoreConformance.d.mts +39 -39
  46. package/dist/durable/MessageDeliveryStoreConformance.mjs +1 -1
  47. package/dist/durable/PersistentHistory.d.mts +1 -1
  48. package/dist/durable/PersistentHistory.mjs +2 -2
  49. package/dist/durable/PreparedInputAdmission.d.mts +1 -1
  50. package/dist/durable/Records.d.mts +1 -1
  51. package/dist/durable/Records.mjs +2 -795
  52. package/dist/durable/Recovery.d.mts +1 -1
  53. package/dist/durable/Recovery.mjs +1 -1
  54. package/dist/durable/RunJournal.d.mts +1 -1
  55. package/dist/durable/RunJournal.mjs +1 -1
  56. package/dist/durable/Schedule.d.mts +1 -1
  57. package/dist/durable/Schedule.mjs +1 -1
  58. package/dist/durable/ScheduleStoreConformance.d.mts +1 -1
  59. package/dist/durable/ScheduleStoreConformance.mjs +1 -1
  60. package/dist/durable/ScheduleTransition.d.mts +1 -1
  61. package/dist/durable/ScheduleTransition.mjs +1 -1
  62. package/dist/durable/Scheduling.d.mts +2 -2
  63. package/dist/durable/Scheduling.mjs +1 -1
  64. package/dist/durable/SqlStorageV2Upgrade.d.mts +2 -2
  65. package/dist/durable/SqlStorageV2Upgrade.mjs +1 -1
  66. package/dist/durable/SqlSubscriptionStore.d.mts +2 -2
  67. package/dist/durable/SqlSubscriptionStore.mjs +1 -1
  68. package/dist/durable/SubmissionLedger.d.mts +1 -1
  69. package/dist/durable/SubmissionLedger.mjs +1 -1
  70. package/dist/durable/SubmissionLedgerConformance.d.mts +1 -1
  71. package/dist/durable/SubmissionLedgerConformance.mjs +1 -1
  72. package/dist/durable/SubmissionStatus.d.mts +1 -1
  73. package/dist/durable/Subscription.d.mts +1 -1
  74. package/dist/durable/Subscription.mjs +1 -1
  75. package/dist/durable/SubscriptionInput.d.mts +1 -1
  76. package/dist/durable/SubscriptionInput.mjs +1 -1
  77. package/dist/durable/SubscriptionStoreConformance.d.mts +1 -1
  78. package/dist/durable/SubscriptionStoreConformance.mjs +1 -1
  79. package/dist/durable/SubscriptionTools.d.mts +3 -3
  80. package/dist/durable/SubscriptionTransition.d.mts +1 -1
  81. package/dist/durable/SubscriptionTransition.mjs +1 -1
  82. package/dist/durable/Subscriptions.d.mts +5 -5
  83. package/dist/durable/Subscriptions.mjs +1 -1
  84. package/dist/durable/ThreadContextHistory.d.mts +1 -1
  85. package/dist/durable/ThreadContextHistory.mjs +1 -1
  86. package/dist/durable/ThreadContextHistoryProjection.d.mts +1 -1
  87. package/dist/durable/ThreadContextHistoryProjection.mjs +1 -1
  88. package/dist/durable/ThreadInvariants.d.mts +1 -1
  89. package/dist/durable/ThreadInvariants.mjs +1 -1
  90. package/dist/durable/ThreadProjection.d.mts +1 -1
  91. package/dist/durable/ThreadProjection.mjs +1 -1
  92. package/dist/durable/ThreadProjectionMaintenance.d.mts +1 -1
  93. package/dist/durable/ThreadStore.d.mts +1 -1
  94. package/dist/durable/ThreadStore.mjs +1 -1
  95. package/dist/durable/ThreadStoreConformance.d.mts +1 -1
  96. package/dist/durable/ThreadStoreConformance.mjs +1 -1
  97. package/dist/durable/ToolReconciler.mjs +1 -1
  98. package/dist/durable/WorkerHost.d.mts +1 -1
  99. package/dist/engine/AgentRuntime.mjs +1 -1
  100. package/dist/index.d.mts +8 -8
  101. package/dist/index.mjs +8 -8
  102. package/dist/sandbox/InteractiveBrowser.mjs +2 -2
  103. package/dist/sandbox/InteractiveBrowser.mjs.map +1 -1
  104. package/dist/sandbox/PageCapture.mjs +4 -4
  105. package/dist/sandbox/PageCapture.mjs.map +1 -1
  106. package/dist/sandbox/ProtectedBrowser.mjs +1 -1
  107. package/dist/sandbox/ProtectedBrowser.mjs.map +1 -1
  108. package/package.json +1 -1
  109. package/src/{Ephemeral.ts → InMemory.ts} +2 -0
  110. package/src/capabilities/WebSearch.ts +23 -17
  111. package/src/core/internal/strict-schema.ts +14 -0
  112. package/src/durable/GitHubWorkflowSource.ts +32 -38
  113. package/src/durable/Records.ts +8 -4
  114. package/src/engine/internal/primitive-delta.ts +1 -1
  115. package/src/index.ts +1 -1
  116. package/src/sandbox/InteractiveBrowser.ts +2 -2
  117. package/src/sandbox/PageCapture.ts +6 -7
  118. package/src/sandbox/ProtectedBrowser.ts +1 -1
  119. package/dist/AgentRuntime-CHipL2jG.mjs.map +0 -1
  120. package/dist/Ephemeral.mjs.map +0 -1
  121. package/dist/durable/Records.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
- import { O as PersistedJson } from "./Records-BAGkekt8.mjs";
2
- import { E as SubscriptionSourceError, b as SubscriptionRecord, i as EventSourceVersion, t as AcceptedEvent } from "./Subscription-BEP8oQO5.mjs";
1
+ import { O as PersistedJson } from "./Records-vFp_ZQ9Y.mjs";
2
+ import { E as SubscriptionSourceError, b as SubscriptionRecord, i as EventSourceVersion, t as AcceptedEvent } from "./Subscription-CKQ0KDHN.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-OqS_P9ug.d.mts.map
51
+ //# sourceMappingURL=EventSource-c6GRTCsl.d.mts.map
@@ -2,14 +2,16 @@ import { t as Store } from "./Thread-DOBQ0QUY.mjs";
2
2
  import { SubagentReservations } from "./capabilities/SubagentReservations.mjs";
3
3
  import { t as ThreadHistory } from "./ThreadHistory-tS1KwxHR.mjs";
4
4
  import { Layer } from "effect";
5
- declare namespace Ephemeral_d_exports {
5
+ declare namespace InMemory_d_exports {
6
6
  export { layer };
7
7
  }
8
8
  /**
9
9
  * Run agents and attached subagents with in-memory conversation history.
10
10
  * Provide once around the parent program and all child handler Layers so siblings
11
11
  * share history and one reservation ledger. Reuse a Thread ID to continue a conversation.
12
+ * Conversations can span any number of Runs within the store's capacity limits.
12
13
  * Each independent Layer build owns fresh state; state is released when its Scope closes.
14
+ * Process loss loses history and active execution; this Layer provides no crash recovery.
13
15
  *
14
16
  * Models, tool handlers, and provider clients remain application-supplied. Default
15
17
  * IDs need no Layer; enclosing ID and context-preparation overrides are preserved.
@@ -18,5 +20,5 @@ declare namespace Ephemeral_d_exports {
18
20
  */
19
21
  declare const layer: Layer.Layer<Store | SubagentReservations | ThreadHistory, never, never>;
20
22
  //#endregion
21
- export { layer, Ephemeral_d_exports as t };
22
- //# sourceMappingURL=Ephemeral.d.mts.map
23
+ export { layer, InMemory_d_exports as t };
24
+ //# sourceMappingURL=InMemory.d.mts.map
@@ -2,13 +2,15 @@ import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.mjs";
2
2
  import { layer as layer$1 } from "./engine/ThreadHistory.mjs";
3
3
  import { SubagentReservationsMemoryLive } from "./capabilities/SubagentReservations.mjs";
4
4
  import { Layer } from "effect";
5
- //#region src/Ephemeral.ts
6
- var Ephemeral_exports = /* @__PURE__ */ __exportAll({ layer: () => layer });
5
+ //#region src/InMemory.ts
6
+ var InMemory_exports = /* @__PURE__ */ __exportAll({ layer: () => layer });
7
7
  /**
8
8
  * Run agents and attached subagents with in-memory conversation history.
9
9
  * Provide once around the parent program and all child handler Layers so siblings
10
10
  * share history and one reservation ledger. Reuse a Thread ID to continue a conversation.
11
+ * Conversations can span any number of Runs within the store's capacity limits.
11
12
  * Each independent Layer build owns fresh state; state is released when its Scope closes.
13
+ * Process loss loses history and active execution; this Layer provides no crash recovery.
12
14
  *
13
15
  * Models, tool handlers, and provider clients remain application-supplied. Default
14
16
  * IDs need no Layer; enclosing ID and context-preparation overrides are preserved.
@@ -17,6 +19,6 @@ var Ephemeral_exports = /* @__PURE__ */ __exportAll({ layer: () => layer });
17
19
  */
18
20
  const layer = Layer.merge(layer$1, SubagentReservationsMemoryLive);
19
21
  //#endregion
20
- export { layer, Ephemeral_exports as t };
22
+ export { layer, InMemory_exports as t };
21
23
 
22
- //# sourceMappingURL=Ephemeral.mjs.map
24
+ //# sourceMappingURL=InMemory.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InMemory.mjs","names":["historyLayer"],"sources":["../src/InMemory.ts"],"sourcesContent":["import { Layer } from \"effect\";\n\nimport { SubagentReservationsMemoryLive } from \"./capabilities/SubagentReservations.ts\";\nimport { layer as historyLayer } from \"./engine/ThreadHistory.ts\";\n\n/**\n * Run agents and attached subagents with in-memory conversation history.\n * Provide once around the parent program and all child handler Layers so siblings\n * share history and one reservation ledger. Reuse a Thread ID to continue a conversation.\n * Conversations can span any number of Runs within the store's capacity limits.\n * Each independent Layer build owns fresh state; state is released when its Scope closes.\n * Process loss loses history and active execution; this Layer provides no crash recovery.\n *\n * Models, tool handlers, and provider clients remain application-supplied. Default\n * IDs need no Layer; enclosing ID and context-preparation overrides are preserved.\n * For storage-backed history, provide PersistentHistory.layer and a shared\n * SubagentReservationsMemoryLive instead. Durable hosts own their own assembly.\n */\nexport const layer = Layer.merge(historyLayer, SubagentReservationsMemoryLive);\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAkBA,MAAa,QAAQ,MAAM,MAAMA,SAAc,8BAA8B"}
@@ -1,7 +1,7 @@
1
1
  import { a as Receipt } from "./Receipt-BAHyigAF.mjs";
2
- import { un as SubmissionStatus } from "./Records-BAGkekt8.mjs";
3
- import { H as ScheduledInputRefused, V as ScheduledInputFailure, j as ScheduleStorageError } from "./Schedule-H3SEYX9g.mjs";
4
- import { a as PreparedInput } from "./Subscription-BEP8oQO5.mjs";
2
+ import { un as SubmissionStatus } from "./Records-vFp_ZQ9Y.mjs";
3
+ import { H as ScheduledInputRefused, V as ScheduledInputFailure, j as ScheduleStorageError } from "./Schedule-BkZvKyMw.mjs";
4
+ import { a as PreparedInput } from "./Subscription-CKQ0KDHN.mjs";
5
5
  import { Context, Effect } from "effect";
6
6
  declare namespace PreparedInputAdmission_d_exports {
7
7
  export { PreparedInputAdmission, admitPreparedInput };
@@ -35,4 +35,4 @@ declare const admitPreparedInput: <R>(submit: Effect.Effect<Receipt, ScheduledIn
35
35
  }, ScheduleStorageError, R>;
36
36
  //#endregion
37
37
  export { PreparedInputAdmission_d_exports as n, admitPreparedInput as r, PreparedInputAdmission as t };
38
- //# sourceMappingURL=PreparedInputAdmission-C4HbjHgl.d.mts.map
38
+ //# sourceMappingURL=PreparedInputAdmission-QzFbW2LQ.d.mts.map