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

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 (115) 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/{PreparedInputAdmission-C4HbjHgl.d.mts → PreparedInputAdmission-QzFbW2LQ.d.mts} +4 -4
  7. package/dist/Records-C9cezOEf.mjs +799 -0
  8. package/dist/Records-C9cezOEf.mjs.map +1 -0
  9. package/dist/{Records-BAGkekt8.d.mts → Records-vFp_ZQ9Y.d.mts} +21 -3
  10. package/dist/{RunJournal-Cgg1kNvc.mjs → RunJournal-lwbrh2hZ.mjs} +2 -2
  11. package/dist/{RunJournal-Cgg1kNvc.mjs.map → RunJournal-lwbrh2hZ.mjs.map} +1 -1
  12. package/dist/{Schedule-H3SEYX9g.d.mts → Schedule-BkZvKyMw.d.mts} +2 -2
  13. package/dist/{Scheduling-C9aIP8zT.mjs → Scheduling-D0QqOoeT.mjs} +2 -2
  14. package/dist/{Scheduling-C9aIP8zT.mjs.map → Scheduling-D0QqOoeT.mjs.map} +1 -1
  15. package/dist/{Subagent-U5qXOFE8.mjs → Subagent-CnTzCy8k.mjs} +2 -2
  16. package/dist/{Subagent-U5qXOFE8.mjs.map → Subagent-CnTzCy8k.mjs.map} +1 -1
  17. package/dist/{Subscription-BEP8oQO5.d.mts → Subscription-CKQ0KDHN.d.mts} +3 -3
  18. package/dist/{SubscriptionInput-vAAOBrK7.d.mts → SubscriptionInput-Cth8F_7b.d.mts} +3 -3
  19. package/dist/capabilities/Subagent.mjs +1 -1
  20. package/dist/capabilities/WebSearch.d.mts +3 -3
  21. package/dist/capabilities/WebSearch.mjs +9 -6
  22. package/dist/capabilities/WebSearch.mjs.map +1 -1
  23. package/dist/durable/ActivityStore.d.mts +1 -1
  24. package/dist/durable/ActivityStore.mjs +1 -1
  25. package/dist/durable/Admin.d.mts +1 -1
  26. package/dist/durable/Admin.mjs +1 -1
  27. package/dist/durable/AgentRegistration.d.mts +1 -1
  28. package/dist/durable/Certification.d.mts +1 -1
  29. package/dist/durable/CommittedActivity.d.mts +1 -1
  30. package/dist/durable/CommittedActivity.mjs +1 -1
  31. package/dist/durable/Digest.d.mts +1 -1
  32. package/dist/durable/Digest.mjs +1 -1
  33. package/dist/durable/DurableAgentRuntime.d.mts +1 -1
  34. package/dist/durable/DurableAgentRuntime.mjs +1 -1
  35. package/dist/durable/EventSource.d.mts +1 -1
  36. package/dist/durable/EventSource.mjs +1 -1
  37. package/dist/durable/GitHubWorkflowSource.d.mts +48 -6
  38. package/dist/durable/GitHubWorkflowSource.mjs +13 -13
  39. package/dist/durable/GitHubWorkflowSource.mjs.map +1 -1
  40. package/dist/durable/MessageDelivery.d.mts +22 -22
  41. package/dist/durable/MessageDelivery.mjs +1 -1
  42. package/dist/durable/MessageDeliveryStoreConformance.d.mts +39 -39
  43. package/dist/durable/MessageDeliveryStoreConformance.mjs +1 -1
  44. package/dist/durable/PersistentHistory.d.mts +1 -1
  45. package/dist/durable/PersistentHistory.mjs +2 -2
  46. package/dist/durable/PreparedInputAdmission.d.mts +1 -1
  47. package/dist/durable/Records.d.mts +1 -1
  48. package/dist/durable/Records.mjs +2 -795
  49. package/dist/durable/Recovery.d.mts +1 -1
  50. package/dist/durable/Recovery.mjs +1 -1
  51. package/dist/durable/RunJournal.d.mts +1 -1
  52. package/dist/durable/RunJournal.mjs +1 -1
  53. package/dist/durable/Schedule.d.mts +1 -1
  54. package/dist/durable/Schedule.mjs +1 -1
  55. package/dist/durable/ScheduleStoreConformance.d.mts +1 -1
  56. package/dist/durable/ScheduleStoreConformance.mjs +1 -1
  57. package/dist/durable/ScheduleTransition.d.mts +1 -1
  58. package/dist/durable/ScheduleTransition.mjs +1 -1
  59. package/dist/durable/Scheduling.d.mts +2 -2
  60. package/dist/durable/Scheduling.mjs +1 -1
  61. package/dist/durable/SqlStorageV2Upgrade.d.mts +2 -2
  62. package/dist/durable/SqlStorageV2Upgrade.mjs +1 -1
  63. package/dist/durable/SqlSubscriptionStore.d.mts +2 -2
  64. package/dist/durable/SqlSubscriptionStore.mjs +1 -1
  65. package/dist/durable/SubmissionLedger.d.mts +1 -1
  66. package/dist/durable/SubmissionLedger.mjs +1 -1
  67. package/dist/durable/SubmissionLedgerConformance.d.mts +1 -1
  68. package/dist/durable/SubmissionLedgerConformance.mjs +1 -1
  69. package/dist/durable/SubmissionStatus.d.mts +1 -1
  70. package/dist/durable/Subscription.d.mts +1 -1
  71. package/dist/durable/Subscription.mjs +1 -1
  72. package/dist/durable/SubscriptionInput.d.mts +1 -1
  73. package/dist/durable/SubscriptionInput.mjs +1 -1
  74. package/dist/durable/SubscriptionStoreConformance.d.mts +1 -1
  75. package/dist/durable/SubscriptionStoreConformance.mjs +1 -1
  76. package/dist/durable/SubscriptionTools.d.mts +3 -3
  77. package/dist/durable/SubscriptionTransition.d.mts +1 -1
  78. package/dist/durable/SubscriptionTransition.mjs +1 -1
  79. package/dist/durable/Subscriptions.d.mts +5 -5
  80. package/dist/durable/Subscriptions.mjs +1 -1
  81. package/dist/durable/ThreadContextHistory.d.mts +1 -1
  82. package/dist/durable/ThreadContextHistory.mjs +1 -1
  83. package/dist/durable/ThreadContextHistoryProjection.d.mts +1 -1
  84. package/dist/durable/ThreadContextHistoryProjection.mjs +1 -1
  85. package/dist/durable/ThreadInvariants.d.mts +1 -1
  86. package/dist/durable/ThreadInvariants.mjs +1 -1
  87. package/dist/durable/ThreadProjection.d.mts +1 -1
  88. package/dist/durable/ThreadProjection.mjs +1 -1
  89. package/dist/durable/ThreadProjectionMaintenance.d.mts +1 -1
  90. package/dist/durable/ThreadStore.d.mts +1 -1
  91. package/dist/durable/ThreadStore.mjs +1 -1
  92. package/dist/durable/ThreadStoreConformance.d.mts +1 -1
  93. package/dist/durable/ThreadStoreConformance.mjs +1 -1
  94. package/dist/durable/ToolReconciler.mjs +1 -1
  95. package/dist/durable/WorkerHost.d.mts +1 -1
  96. package/dist/engine/AgentRuntime.mjs +1 -1
  97. package/dist/index.d.mts +6 -6
  98. package/dist/index.mjs +6 -6
  99. package/dist/sandbox/InteractiveBrowser.mjs +2 -2
  100. package/dist/sandbox/InteractiveBrowser.mjs.map +1 -1
  101. package/dist/sandbox/PageCapture.mjs +4 -4
  102. package/dist/sandbox/PageCapture.mjs.map +1 -1
  103. package/dist/sandbox/ProtectedBrowser.mjs +1 -1
  104. package/dist/sandbox/ProtectedBrowser.mjs.map +1 -1
  105. package/package.json +1 -1
  106. package/src/capabilities/WebSearch.ts +23 -17
  107. package/src/core/internal/strict-schema.ts +14 -0
  108. package/src/durable/GitHubWorkflowSource.ts +32 -38
  109. package/src/durable/Records.ts +8 -4
  110. package/src/engine/internal/primitive-delta.ts +1 -1
  111. package/src/sandbox/InteractiveBrowser.ts +2 -2
  112. package/src/sandbox/PageCapture.ts +6 -7
  113. package/src/sandbox/ProtectedBrowser.ts +1 -1
  114. package/dist/AgentRuntime-CHipL2jG.mjs.map +0 -1
  115. package/dist/durable/Records.mjs.map +0 -1
@@ -14,12 +14,12 @@ import { a as PeerMessageCapacity, d as MessageAdmission, f as MessageRef, h as
14
14
  import { SubagentHost } from "./engine/SubagentHost.mjs";
15
15
  import { ThreadHistory } from "./engine/ThreadHistory.mjs";
16
16
  import { n as RunToolVisibility } from "./ToolExposure-9uF_Yo0T.mjs";
17
- import { c as decodeFinalOutput, d as projectCompletionOutput, f as renderInputPrompt, l as encodeRunDisposition, n as AgentChildPending, u as projectCompletionFromToolOutput, y as streamWithUsageAccountingUnknown } from "./AgentRuntime-CHipL2jG.mjs";
17
+ import { c as decodeFinalOutput, d as projectCompletionOutput, f as renderInputPrompt, l as encodeRunDisposition, n as AgentChildPending, u as projectCompletionFromToolOutput, y as streamWithUsageAccountingUnknown } from "./AgentRuntime-BPjQM1Nv.mjs";
18
18
  import { getToolExecutionClass } from "./engine/DurableStep.mjs";
19
19
  import { CompactionError, ContextCompactor } from "./engine/ContextCompactor.mjs";
20
20
  import { RunPolicyUsage } from "./core/RunPolicyUsage.mjs";
21
21
  import { AgentUpdateAcceptance, CurrentToolFailureObserver, ModelUsageAccounting, RunContextPreparation, RunContextPreparationPassthrough, RunToolAuthorization, RunToolScheduling } from "./engine/RunOptions.mjs";
22
- import { AbortRequested, AgentUpdateEmitted, BatchId, CanonicalBatch, CanonicalRecordEnvelope, CanonicalSequence, CompactionCreated, DefinitionDigests, Digest, ModelResponseInterrupted, PeerMessagePrepared, PersistedJson, ProducerEpoch, RecordEnvelope, RecordId, RepairAnnotated, RunPolicyUsageReserved, RunStartedRecord, SettlementFailureDiagnostic, SubagentJoined, SubagentLineageRecorded, SubagentRequested, SubagentStarted, SubmissionSettled, SubmissionSettledRecord, SubtreeBudgetReserved, ThreadCreated, ToolApprovalDecided, ToolApprovalRequested, ToolCallPrepared, ToolCallResolved, ToolCallSettled, ToolCallUnknown, ToolStepSettled, UserInputRecorded, WorkerAdmission, WorkerInputCompleted, WorkerInputRequested, WorkerOrigin, WorkerOriginRecorded, WorkerReportPrepared, WorkerReportRefused, WorkerReportingIntent } from "./durable/Records.mjs";
22
+ import { $ as ToolStepSettled, B as SubagentRequested, E as ProducerEpoch, F as RunStartedRecord, G as ThreadCreated, H as SubmissionSettled, I as SettlementFailureDiagnostic, J as ToolCallPrepared, K as ToolApprovalDecided, O as RecordEnvelope, P as RunPolicyUsageReserved, Q as ToolCallUnknown, R as SubagentJoined, T as PersistedJson, U as SubmissionSettledRecord, V as SubagentStarted, W as SubtreeBudgetReserved, X as ToolCallResolved, Z as ToolCallSettled, at as WorkerOriginRecorded, c as CanonicalRecordEnvelope, ct as WorkerReportingIntent, d as CompactionCreated, et as UserInputRecorded, h as Digest, i as BatchId, it as WorkerOrigin, j as RepairAnnotated, k as RecordId, n as AgentUpdateEmitted, nt as WorkerInputCompleted, o as CanonicalBatch, ot as WorkerReportPrepared, p as DefinitionDigests, q as ToolApprovalRequested, rt as WorkerInputRequested, st as WorkerReportRefused, t as AbortRequested, tt as WorkerAdmission, u as CanonicalSequence, w as PeerMessagePrepared, x as ModelResponseInterrupted, z as SubagentLineageRecorded } from "./Records-C9cezOEf.mjs";
23
23
  import { AbortCommand, AbortIntentRequest, AdmissionPolicyError, AdmissionRequest, ApprovalDecisionCommand, ApprovalPendingSuspension, AttachChildToReservationRequest, BeginChildBudgetReleaseRequest, ChildBudgetReservationRequest, ChildReservationId, ChildSettledNotification, ClaimJoiningRequest, ClaimRequest, LedgerError, MarkInputAppliedRequest, MarkJoinedRequest, MarkReadyRequest, MarkUnknownRequest, OwnershipToken, ParentLinkage, RecoverySnapshotRequest, ReleaseChildBudgetRequest, ReleaseOwnershipRequest, RenewOwnershipRequest, RevertJoiningRequest, Settlement, SettlementFinalization, SettlementReservation, SubmissionLedger, SubmissionLookupById, SubmissionLookupByKey, SuspendRequest, UnknownResolutionCommand, WaitingChild, WaitingForChildSuspension, submissionAbortBatchId, submissionAbortRecordId, submissionInputBatchId, submissionInputRecordId, submissionSettlementBatchId, submissionSettlementId, submissionSettlementRecordId } from "./durable/SubmissionLedger.mjs";
24
24
  import { DeclaredPendingBatchEvidence, OpenDelegationCallEvidence, OpenToolCallEvidence, PendingApprovalEvidence, RecoveryDecision, RecoveryEvidence, classifyRecovery } from "./durable/Recovery.mjs";
25
25
  import { ExplainedEvidence, ExplainedSubmission, ExplainedUnknownCall, IntegrityCheck, IntegrityReport, ObligationEntry, ObligationReport, RecoveryExplanation, RetryRefused, obligationSeverityOf, predictRecoveryDisposition, recoveryDecisionMeaning } from "./durable/Admin.mjs";
@@ -32,7 +32,7 @@ import { PreparedInputAdmission } from "./durable/PreparedInputAdmission.mjs";
32
32
  import { PreparedInput } from "./durable/Subscription.mjs";
33
33
  import { MessageDeliveryDriver, MessageDeliveryFailpoint, MessageDeliveryRecord, MessageDeliveryStore, messageDeliveryCapacity, messageDeliveryUsesCapacity, prepareMessageDelivery } from "./durable/MessageDelivery.mjs";
34
34
  import { n as safeUnknownString, t as inspectForeignDiagnostic } from "./foreign-diagnostic-DBQ1XHKh.mjs";
35
- import { A as toolCallResolutionBatchId, B as turnIdForRun, C as subagentRequestedBatchId, D as toolApprovalDecisionRecordId, E as subagentStartedRecordId, F as toolStepSettledBatchId, H as turnResponseBatch, I as toolStepSettledRecordId, K as makeJournalMetadata, L as turnApprovalsBatchId, M as toolCallResultBatchId, N as toolCallSettledRecordId, O as toolApprovalRequestRecordId, P as toolCallUnknownRecordId, S as subagentLineageRecordId, T as subagentStartedBatchId, V as turnPreparedBatchId, W as turnResultsBatch, _ as runStartedBatchId, a as childThreadIdFor, b as subagentJoinedRecordId, c as markUnknownBatchId, d as modelResponseRecordId, g as runIdForSubmission, h as runCompletedRecordId, i as childIdempotencyKeyFor, j as toolCallResolvedRecordId, k as toolCallPreparedRecordId, l as modelResponseInterruptedBatchId, o as compactionBatchId, p as projectRunJournalStream, r as approvalDecisionBatchId, s as compactionRecordId, t as RunJournalError, u as modelResponseInterruptedRecordId, v as runStartedRecordId, w as subagentRequestedRecordId, x as subagentLineageBatchId, y as subagentJoinBatchId, z as turnCanonicalBatch } from "./RunJournal-Cgg1kNvc.mjs";
35
+ import { A as toolCallResolutionBatchId, B as turnIdForRun, C as subagentRequestedBatchId, D as toolApprovalDecisionRecordId, E as subagentStartedRecordId, F as toolStepSettledBatchId, H as turnResponseBatch, I as toolStepSettledRecordId, K as makeJournalMetadata, L as turnApprovalsBatchId, M as toolCallResultBatchId, N as toolCallSettledRecordId, O as toolApprovalRequestRecordId, P as toolCallUnknownRecordId, S as subagentLineageRecordId, T as subagentStartedBatchId, V as turnPreparedBatchId, W as turnResultsBatch, _ as runStartedBatchId, a as childThreadIdFor, b as subagentJoinedRecordId, c as markUnknownBatchId, d as modelResponseRecordId, g as runIdForSubmission, h as runCompletedRecordId, i as childIdempotencyKeyFor, j as toolCallResolvedRecordId, k as toolCallPreparedRecordId, l as modelResponseInterruptedBatchId, o as compactionBatchId, p as projectRunJournalStream, r as approvalDecisionBatchId, s as compactionRecordId, t as RunJournalError, u as modelResponseInterruptedRecordId, v as runStartedRecordId, w as subagentRequestedRecordId, x as subagentLineageBatchId, y as subagentJoinBatchId, z as turnCanonicalBatch } from "./RunJournal-lwbrh2hZ.mjs";
36
36
  import { WorkerBudgetAuthorizer, WorkerConcurrencyLimit, WorkerConcurrencyResolver, WorkerHostAuthorizer, WorkerHostConfig, WorkerPolicyResolver } from "./durable/WorkerHost.mjs";
37
37
  import { OperationAuthorizationRequest, OperationAuthorizer, OperationDenied } from "./durable/OperationAuthorizer.mjs";
38
38
  import { PendingSubmission, SettledSubmission } from "./durable/SubmissionStatus.mjs";
@@ -6365,4 +6365,4 @@ var DurableAgentRuntime = class DurableAgentRuntime extends Context.Service()("@
6365
6365
  //#endregion
6366
6366
  export { RecoveryReport as a, recoveryRepairRecordId as c, DurableRuntimeConfig as i, threadCreatedBatchId as l, DurableAgentRuntime_exports as n, childReservationIdFor as o, DurableApprovalResolver as r, recoveryRepairBatchId as s, DurableAgentRuntime as t, threadCreatedRecordId as u };
6367
6367
 
6368
- //# sourceMappingURL=DurableAgentRuntime-D7gDKGjH.mjs.map
6368
+ //# sourceMappingURL=DurableAgentRuntime-CdrBuKZY.mjs.map