@yielded/agent 0.1.0-beta.171 → 0.1.0-beta.172
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/{Admin-BmALDmj8.d.mts → Admin-BX9ns28E.d.mts} +2 -2
- package/dist/{DurableAgentRuntime-CQGiSnCa.mjs → DurableAgentRuntime-BAmSkWYr.mjs} +10 -9
- package/dist/DurableAgentRuntime-BAmSkWYr.mjs.map +1 -0
- package/dist/{EventSource-CVXzC_8E.d.mts → EventSource-BwliwQz9.d.mts} +2 -2
- package/dist/{MessageDelivery-BGKWdjUu.d.mts → MessageDelivery-CeSDfHZa.d.mts} +4 -4
- package/dist/{PreparedInputAdmission-C1xt29pl.d.mts → PreparedInputAdmission-CxSJSiTl.d.mts} +3 -3
- package/dist/{RecordFormat-BphUsB6Q.d.mts → RecordFormat-BNiLpe43.d.mts} +9 -3
- package/dist/{RunContinuation-CNWMmymY.mjs → RunContinuation-DHYNAQFi.mjs} +2 -2
- package/dist/{RunContinuation-CNWMmymY.mjs.map → RunContinuation-DHYNAQFi.mjs.map} +1 -1
- package/dist/{RunContinuation-B7a2dK8k.d.mts → RunContinuation-FHM7XPjq.d.mts} +3 -3
- package/dist/{RunStorage-FFaYE4-2.mjs → RunStorage-uqPxps09.mjs} +2 -2
- package/dist/{RunStorage-FFaYE4-2.mjs.map → RunStorage-uqPxps09.mjs.map} +1 -1
- package/dist/{Subscription-CQqYNUqy.d.mts → Subscription-DONig54Q.d.mts} +2 -2
- package/dist/{SubscriptionInput-BibUlnWP.d.mts → SubscriptionInput-mJIRxWJM.d.mts} +2 -2
- package/dist/{ThreadImport-mLZiwu30.d.mts → ThreadImport-CoQTZywm.d.mts} +42 -42
- package/dist/{ThreadImport-BsOXD7qr.mjs → ThreadImport-DckUMEqJ.mjs} +4 -4
- package/dist/{ThreadImport-BsOXD7qr.mjs.map → ThreadImport-DckUMEqJ.mjs.map} +1 -1
- package/dist/{ThreadStore-B5sew3ir.mjs → ThreadStore-CEekRa80.mjs} +2 -2
- package/dist/ThreadStore-CEekRa80.mjs.map +1 -0
- package/dist/{ThreadTransfer-DeO03GBg.mjs → ThreadTransfer-B4gTQLIl.mjs} +3 -5
- package/dist/ThreadTransfer-B4gTQLIl.mjs.map +1 -0
- package/dist/{WorkerAdmission-C1TxLQPT.mjs → WorkerAdmission-DFVbbVh2.mjs} +2 -2
- package/dist/{WorkerAdmission-C1TxLQPT.mjs.map → WorkerAdmission-DFVbbVh2.mjs.map} +1 -1
- package/dist/durable/Admin.d.mts +1 -1
- package/dist/durable/AgentRegistration.d.mts +1 -1
- package/dist/durable/Certification.d.mts +1 -1
- package/dist/durable/CommittedActivity.d.mts +1 -1
- package/dist/durable/CommittedActivity.mjs +1 -1
- package/dist/durable/DurableAgentRuntime.d.mts +1 -1
- package/dist/durable/DurableAgentRuntime.mjs +2 -2
- package/dist/durable/EventSource.d.mts +1 -1
- package/dist/durable/GitHubWorkflowSource.d.mts +3 -3
- package/dist/durable/LifecyclePublication.d.mts +1 -1
- package/dist/durable/LifecyclePublication.mjs +1 -1
- package/dist/durable/MessageDelivery.d.mts +1 -1
- package/dist/durable/MessageDeliveryStoreConformance.d.mts +2 -2
- package/dist/durable/PersistentHistory.d.mts +1 -1
- package/dist/durable/PersistentHistory.mjs +2 -2
- package/dist/durable/PreparedInputAdmission.d.mts +1 -1
- package/dist/durable/RecordFormat.d.mts +2 -2
- package/dist/durable/RecordFormat.mjs +14 -2
- package/dist/durable/RecordFormat.mjs.map +1 -1
- package/dist/durable/Recovery.d.mts +1 -1
- package/dist/durable/RunContinuation.d.mts +2 -2
- package/dist/durable/RunContinuation.mjs +2 -2
- package/dist/durable/RunJournal.d.mts +1 -1
- package/dist/durable/RunStorage.d.mts +1 -1
- package/dist/durable/RunStorage.mjs +1 -1
- package/dist/durable/Scheduling.d.mts +1 -1
- package/dist/durable/SettlementPublisher.d.mts +1 -1
- package/dist/durable/SettlementPublisher.mjs +1 -1
- package/dist/durable/SubmissionLedger.d.mts +1 -1
- package/dist/durable/SubmissionLedgerConformance.d.mts +1 -1
- package/dist/durable/SubmissionLedgerConformance.mjs +2 -2
- package/dist/durable/SubmissionStatus.d.mts +1 -1
- package/dist/durable/Subscription.d.mts +1 -1
- package/dist/durable/SubscriptionInput.d.mts +1 -1
- package/dist/durable/SubscriptionStoreConformance.d.mts +1 -1
- package/dist/durable/SubscriptionTools.d.mts +2 -2
- package/dist/durable/SubscriptionTransition.d.mts +1 -1
- package/dist/durable/Subscriptions.d.mts +5 -5
- package/dist/durable/ThreadArchiveRange.d.mts +1 -1
- package/dist/durable/ThreadContextHistory.d.mts +1 -1
- package/dist/durable/ThreadContextHistory.mjs +1 -1
- package/dist/durable/ThreadImport.d.mts +1 -1
- package/dist/durable/ThreadImport.mjs +1 -1
- package/dist/durable/ThreadInvariants.d.mts +3 -3
- package/dist/durable/ThreadInvariants.mjs +3 -3
- package/dist/durable/ThreadProjectionMaintenance.d.mts +1 -1
- package/dist/durable/ThreadReader.d.mts +1 -1
- package/dist/durable/ThreadReader.mjs +1 -1
- package/dist/durable/ThreadStore.d.mts +1 -1
- package/dist/durable/ThreadStore.mjs +1 -1
- package/dist/durable/ThreadStoreConformance.d.mts +1 -1
- package/dist/durable/ThreadStoreConformance.mjs +2 -2
- package/dist/durable/ThreadTransfer.d.mts +1 -1
- package/dist/durable/ThreadTransfer.mjs +1 -1
- package/dist/durable/ThreadWork.d.mts +1 -1
- package/dist/durable/ThreadWork.mjs +2 -2
- package/dist/durable/WorkerAdmission.d.mts +1 -1
- package/dist/durable/WorkerAdmission.mjs +1 -1
- package/dist/durable/WorkerHost.d.mts +1 -1
- package/dist/index.d.mts +9 -9
- package/dist/index.mjs +6 -6
- package/dist/{run-context-reader-BrbZ8tb7.d.mts → run-context-reader-OcsZr4bk.d.mts} +2 -2
- package/package.json +1 -1
- package/src/durable/DurableAgentRuntime.ts +4 -1
- package/src/durable/RecordFormat.ts +18 -0
- package/src/durable/ThreadStore.ts +1 -1
- package/src/durable/ThreadTransfer.ts +1 -8
- package/src/durable/internal/agent-updates.ts +10 -2
- package/dist/DurableAgentRuntime-CQGiSnCa.mjs.map +0 -1
- package/dist/ThreadStore-B5sew3ir.mjs.map +0 -1
- package/dist/ThreadTransfer-DeO03GBg.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { K as PersistedJson } from "./Records-BTnGRdcf.mjs";
|
|
2
|
-
import { E as SubscriptionSourceError, b as SubscriptionRecord, i as EventSourceVersion, t as AcceptedEvent } from "./Subscription-
|
|
2
|
+
import { E as SubscriptionSourceError, b as SubscriptionRecord, i as EventSourceVersion, t as AcceptedEvent } from "./Subscription-DONig54Q.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-
|
|
51
|
+
//# sourceMappingURL=EventSource-BwliwQz9.d.mts.map
|
|
@@ -5,9 +5,9 @@ import { r as Update } from "./AgentUpdates-DksV4D0A.mjs";
|
|
|
5
5
|
import { a as FailureDiagnostic_d_exports, r as Diagnostic } from "./FailureDiagnostic-DvHruCSJ.mjs";
|
|
6
6
|
import { t as AgentPolicy } from "./AgentPolicy-B4lbCU2T.mjs";
|
|
7
7
|
import { b as DefinitionDigests } from "./Records-BTnGRdcf.mjs";
|
|
8
|
-
import { sn as Settlement, uo as LifecyclePublicationStorage } from "./Admin-
|
|
9
|
-
import { a as PreparedInput } from "./Subscription-
|
|
10
|
-
import { t as PreparedInputAdmission } from "./PreparedInputAdmission-
|
|
8
|
+
import { sn as Settlement, uo as LifecyclePublicationStorage } from "./Admin-BX9ns28E.mjs";
|
|
9
|
+
import { a as PreparedInput } from "./Subscription-DONig54Q.mjs";
|
|
10
|
+
import { t as PreparedInputAdmission } from "./PreparedInputAdmission-CxSJSiTl.mjs";
|
|
11
11
|
import { Context, Crypto, Effect, Layer, Result, Schema } from "effect";
|
|
12
12
|
declare namespace MessageDelivery_d_exports {
|
|
13
13
|
export { MessageDeliveryChange, MessageDeliveryCompletion, MessageDeliveryDriver, MessageDeliveryDriverLimits, MessageDeliveryError, MessageDeliveryFailpoint, MessageDeliveryFailpointError, MessageDeliveryFailure, MessageDeliveryKey, MessageDeliveryPage, MessageDeliveryPageRequest, MessageDeliveryPolicy, MessageDeliveryRecord, MessageDeliveryStore, MessageDeliveryStoreLimits, applyMessageDeliveryChange, defaultMessageDeliveryPolicy, defaultMessageDeliveryStoreLimits, isWorkerUpdateDelivery, messageDeliveryCapacity, messageDeliveryDeadline, messageDeliveryKeyString, messageDeliveryUsesCapacity, peerMessageRetentionDeadline, prepareMessageDelivery, readPending, sameMessageDeliveryIdentity, validateMessageDelivery };
|
|
@@ -950,4 +950,4 @@ declare class MessageDeliveryDriver extends MessageDeliveryDriver_base {
|
|
|
950
950
|
}
|
|
951
951
|
//#endregion
|
|
952
952
|
export { messageDeliveryKeyString as C, readPending as D, prepareMessageDelivery as E, sameMessageDeliveryIdentity as O, messageDeliveryDeadline as S, peerMessageRetentionDeadline as T, applyMessageDeliveryChange as _, MessageDeliveryError as a, isWorkerUpdateDelivery as b, MessageDeliveryFailure as c, MessageDeliveryPageRequest as d, MessageDeliveryPolicy as f, MessageDelivery_d_exports as g, MessageDeliveryStoreLimits as h, MessageDeliveryDriverLimits as i, validateMessageDelivery as k, MessageDeliveryKey as l, MessageDeliveryStore as m, MessageDeliveryCompletion as n, MessageDeliveryFailpoint as o, MessageDeliveryRecord as p, MessageDeliveryDriver as r, MessageDeliveryFailpointError as s, MessageDeliveryChange as t, MessageDeliveryPage as u, defaultMessageDeliveryPolicy as v, messageDeliveryUsesCapacity as w, messageDeliveryCapacity as x, defaultMessageDeliveryStoreLimits as y };
|
|
953
|
-
//# sourceMappingURL=MessageDelivery-
|
|
953
|
+
//# sourceMappingURL=MessageDelivery-CeSDfHZa.d.mts.map
|
package/dist/{PreparedInputAdmission-C1xt29pl.d.mts → PreparedInputAdmission-CxSJSiTl.d.mts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as Receipt } from "./Receipt-BkM21Qiu.mjs";
|
|
2
2
|
import { a as FailureDiagnostic_d_exports, r as Diagnostic } from "./FailureDiagnostic-DvHruCSJ.mjs";
|
|
3
|
-
import { kr as SubmissionStatus } from "./Admin-
|
|
3
|
+
import { kr as SubmissionStatus } from "./Admin-BX9ns28E.mjs";
|
|
4
4
|
import { H as ScheduledInputRefused, V as ScheduledInputFailure, j as ScheduleStorageError } from "./Schedule-CDgTz0vj.mjs";
|
|
5
|
-
import { a as PreparedInput } from "./Subscription-
|
|
5
|
+
import { a as PreparedInput } from "./Subscription-DONig54Q.mjs";
|
|
6
6
|
import { Context, Effect } from "effect";
|
|
7
7
|
declare namespace PreparedInputAdmission_d_exports {
|
|
8
8
|
export { PreparedInputAdmission, admitPreparedInput };
|
|
@@ -39,4 +39,4 @@ declare const admitPreparedInput: <R>(submit: Effect.Effect<Receipt, ScheduledIn
|
|
|
39
39
|
}, ScheduleStorageError, R>;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { PreparedInputAdmission_d_exports as n, admitPreparedInput as r, PreparedInputAdmission as t };
|
|
42
|
-
//# sourceMappingURL=PreparedInputAdmission-
|
|
42
|
+
//# sourceMappingURL=PreparedInputAdmission-CxSJSiTl.d.mts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { $ as RecordEnvelope, At as ToolStepSettled, B as ModelCompleted, Bt as WorkerOriginRecorded, Ct as ToolApprovalDecided, Dt as ToolCallSettled, Et as ToolCallResolved, G as PeerMessagePrepared, H as ModelResponseRecorded, Ht as WorkerReportRefused, It as WorkerInputCompleted, Lt as WorkerInputRefused, Mt as UserInputRecorded, Nt as WorkHandoffCompleted, Ot as ToolCallUnknown, Rt as WorkerInputRequested, St as ThreadCreated, V as ModelResponseInterrupted, Vt as WorkerReportPrepared, Wt as WorkerStopRequested, _t as SubagentRequested, at as RunCompleted, bt as SubmissionSettledRecord, ct as RunDurationExhausted, d as CanonicalRecordEnvelope, ft as RunStartedRecord, gt as SubagentLineageRecorded, ht as SubagentJoined, lt as RunFailed, m as CompactionCreated, ot as RunContextRecorded, r as AgentUpdateEmitted, rt as RepairAnnotated, st as RunContinuation, t as AbortRequested, ut as RunPolicyUsageReserved, vt as SubagentStarted, wt as ToolApprovalRequested, xt as SubtreeBudgetReserved, yt as SubmissionSettled, z as ModelCallAborted } from "./Records-BTnGRdcf.mjs";
|
|
2
2
|
import { Effect, Schema } from "effect";
|
|
3
3
|
declare namespace RecordFormat_d_exports {
|
|
4
|
-
export { ExportBatch, ExportRecord, ExportedRecord, ReadEnvelope, ReadRecord, RecordFormatError, decodeExportRecord };
|
|
4
|
+
export { ExportBatch, ExportRecord, ExportedRecord, ReadEnvelope, ReadRecord, RecordFormatError, decodeExportRecord, decodeExportRecordJson };
|
|
5
5
|
}
|
|
6
6
|
declare const RecordFormatError_base: Schema.Class<RecordFormatError, Schema.TaggedStruct<"RecordFormatError", {
|
|
7
7
|
readonly format: Schema.String;
|
|
@@ -19,6 +19,12 @@ declare const ExportedRecord_base: Schema.Class<ExportedRecord, Schema.Struct<{
|
|
|
19
19
|
}>, RecordEnvelope> & Pick<{}, never>;
|
|
20
20
|
/** An archive owns its wire JSON explicitly; the typed fields are only a read view. */
|
|
21
21
|
declare class ExportedRecord extends ExportedRecord_base {}
|
|
22
|
+
/**
|
|
23
|
+
* Decode stored text directly into its final record, retaining additive wire.
|
|
24
|
+
* Parsing owns the object; the final schema checks the wire bounds and supported fields once.
|
|
25
|
+
* Object-input codecs still validate caller-owned wire when constructing the read view.
|
|
26
|
+
*/
|
|
27
|
+
declare const decodeExportRecordJson: (encoded: string) => Effect.Effect<ExportedRecord, Schema.SchemaError>;
|
|
22
28
|
/** Decode at the archive boundary, retaining unknown additive fields for a lossless backup. */
|
|
23
29
|
declare const decodeExportRecord: (format: string, input: Schema.Json) => Effect.Effect<ExportedRecord, RecordFormatError, never>;
|
|
24
30
|
/**
|
|
@@ -43,5 +49,5 @@ declare const ExportBatch: Schema.Struct<{
|
|
|
43
49
|
readonly records: Schema.NonEmptyArray<Schema.decodeTo<Schema.toType<typeof ExportedRecord>, Schema.declare<Schema.Json, Schema.Json>, never, never>>;
|
|
44
50
|
}>;
|
|
45
51
|
//#endregion
|
|
46
|
-
export { ReadRecord as a, decodeExportRecord as c, ReadEnvelope as i, ExportRecord as n, RecordFormatError as o, ExportedRecord as r, RecordFormat_d_exports as s, ExportBatch as t };
|
|
47
|
-
//# sourceMappingURL=RecordFormat-
|
|
52
|
+
export { ReadRecord as a, decodeExportRecord as c, ReadEnvelope as i, decodeExportRecordJson as l, ExportRecord as n, RecordFormatError as o, ExportedRecord as r, RecordFormat_d_exports as s, ExportBatch as t };
|
|
53
|
+
//# sourceMappingURL=RecordFormat-BNiLpe43.d.mts.map
|
|
@@ -7,7 +7,7 @@ import { G as PromptRecord, J as RUN_TERMINAL_RESERVE_BYTES, O as MAX_RUN_CONTIN
|
|
|
7
7
|
import { i as digestCanonicalJson, r as canonicalJson } from "./Digest-DCuPlhNk.mjs";
|
|
8
8
|
import { submissionAbortRecordId, submissionInputRecordId, submissionSettlementBatchId, submissionSettlementRecordId } from "./durable/SubmissionLedger.mjs";
|
|
9
9
|
import { I as toolCallResultBatchId, Q as toolCallSettledRecordId, g as projectRunJournalStream, j as subagentStartedRecordId, k as subagentRequestedRecordId, t as RunJournalError, v as runCompletedRecordId, x as runIdForSubmission } from "./RunJournal-kfKVxJj7.mjs";
|
|
10
|
-
import { U as ThreadReader, X as ThreadStoreError, _t as isPreContinuationFact, a as CommitBatch, bt as terminalUsageCharge, c as ExecutionUpdate, gt as executionRunIds, ht as canonicalRunIds, mt as recordEncoding, o as ExecutionCheckpoint, ot as getRecord, pt as captureRecord, st as getRunInput, vt as isTerminalBudgetFact, yt as isWorkHandoff } from "./ThreadStore-
|
|
10
|
+
import { U as ThreadReader, X as ThreadStoreError, _t as isPreContinuationFact, a as CommitBatch, bt as terminalUsageCharge, c as ExecutionUpdate, gt as executionRunIds, ht as canonicalRunIds, mt as recordEncoding, o as ExecutionCheckpoint, ot as getRecord, pt as captureRecord, st as getRunInput, vt as isTerminalBudgetFact, yt as isWorkHandoff } from "./ThreadStore-CEekRa80.mjs";
|
|
11
11
|
import { Context, Crypto, DateTime, Effect, Layer, Option, Schema, Semaphore, Stream } from "effect";
|
|
12
12
|
import { Prompt } from "effect/ai";
|
|
13
13
|
//#region src/durable/internal/evidence.ts
|
|
@@ -1000,4 +1000,4 @@ const makeProgressWriter = Effect.fnUntraced(function* (threadId, deploymentId)
|
|
|
1000
1000
|
//#endregion
|
|
1001
1001
|
export { readRunContext as _, canonicalRecordBytes as a, reference as b, prepareProgressAppend as c, resolveExecutionEvidence as d, runEvidence as f, digestRunHistory as g, verifyRunContinuations as h, RunContinuation_exports as i, readContinuation as l, validateSuffix as m, CurrentRunWriter as n, isOperationalRecord as o, validateProgressAppend as p, ProgressAppendReader as r, makeProgressWriter as s, CurrentRunSettlement as t, readRunEvidenceSnapshot as u, validateContextBoundary as v, resolveEvidence as x, RunContextReader as y };
|
|
1002
1002
|
|
|
1003
|
-
//# sourceMappingURL=RunContinuation-
|
|
1003
|
+
//# sourceMappingURL=RunContinuation-DHYNAQFi.mjs.map
|