@nagi-js/core 0.1.1-rc.19 → 0.1.1-rc.20

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/testing.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as Millis, a$ as Store, aC as StandardSchemaV1 } from './types-DfxwD2MH.js';
1
+ import { T as Millis, b0 as Store, aD as StandardSchemaV1 } from './types-DFSYjJE3.js';
2
2
 
3
3
  declare function passthroughSchema<T>(): StandardSchemaV1<T, T>;
4
4
  interface StoreContractHarness {
@@ -689,6 +689,7 @@ type SnapshotGoneDisposition = {
689
689
  readonly action: "fail";
690
690
  };
691
691
  type SnapshotGonePolicy = (readCount: number) => SnapshotGoneDisposition;
692
+ type DriftPolicy = "freeze" | "synthesize";
692
693
  interface WorkerRunOnceOpts {
693
694
  readonly maxSteps?: number;
694
695
  }
@@ -902,4 +903,4 @@ interface Operator {
902
903
  abort(runId: RunId, opts: OperatorAuditOpts): Promise<void>;
903
904
  }
904
905
 
905
- export { type ParentRef as $, type AttemptNumber as A, type BackoffStrategy as B, type CancelArgs as C, DEFAULT_REAPER_INTERVAL_MS as D, type LogLevel as E, type Fact as F, type GlobalFact as G, type Logger as H, type InferSchemaInput as I, type Json as J, type MatchArmGuard as K, type LeaseReapedFact as L, type MatchArm as M, type MatchArmOtherwise as N, type MatchArmOutput as O, type MatchArmSelectedFact as P, type MatchArmShape as Q, type MatchGuardConfig as R, type Millis as S, type NeedRef as T, type NeedsMap as U, type NeedsOutputs as V, type OnceRecordedFact as W, type Operator as X, type OperatorAuditOpts as Y, type Optional as Z, type ParentLink as _, type Builder as a, type Store as a$, type PrunableStatus as a0, type PruneOpts as a1, type PruneResult as a2, type QueryRunsOpts as a3, type QueryRunsResult as a4, type QueryRunsWhere as a5, type Queue as a6, type QueueDequeueOpts as a7, type QueueEnqueueOpts as a8, type QueueInspectEntry as a9, type SnapshotGoneDisposition as aA, type SnapshotGonePolicy as aB, StandardSchemaV1 as aC, type Step as aD, type StepAbortRequestedFact as aE, type StepCancelCause as aF, type StepCanceledFact as aG, type StepCompleteEvent as aH, type StepCompletedFact as aI, type StepCtx as aJ, type StepErrorEvent as aK, type StepEvent as aL, type StepFailedFact as aM, type StepId as aN, type StepKind as aO, type StepMap as aP, type StepOutput as aQ, type StepResetFact as aR, type StepRetriedFact as aS, type StepRetryEvent as aT, type StepRunStatus as aU, type StepSkippedFact as aV, type StepStartEvent as aW, type StepStartedFact as aX, type StepState as aY, type StepStatus as aZ, type StepView as a_, type QueueMessage as aa, type ReapedLease as ab, type ReaperDecision as ac, type Register as ad, type ReplayMode as ae, type ReplayOpts as af, type Resolved as ag, type ResolvedConcurrency as ah, type ResolvedNeeds as ai, type RetryPolicy as aj, type RowDelta as ak, type RunCancelCause as al, type RunDescription as am, type RunId as an, type RunPhase as ao, type RunState as ap, type RunStatus as aq, type RunSummary as ar, type RunView as as, type SerializedError as at, type SettleSignalResult as au, type SignalBufferedFact as av, type SignalConfig as aw, type SignalReceivedEvent as ax, type SignalReceivedFact as ay, type SkipReason as az, type ClaimToken as b, type StreamEvent as b0, type StreamTransport as b1, type StreamingStepCtx as b2, type StreamingTaskConfig as b3, type StringKeyOf as b4, type SubflowConfig as b5, type SubflowStepOutput as b6, type TaskConfig as b7, type TimedOutSignal as b8, type Tx as b9, type Worker as ba, type WorkerConfig as bb, type WorkerRunOnceOpts as bc, type WorkerRunResult as bd, type WorkerRunUntilEmptyOpts as be, attemptOf as bf, decideExpiredLeaseAction as bg, errorOf as bh, foldRun as bi, isStepTerminal as bj, isTerminalRun as bk, outputOf as bl, resolvedOf as bm, rowDeltaOf as bn, runStatusOf as bo, stepStateOf as bp, stepStatusOf as bq, unwrap as br, type Clock as c, type ConcurrencyMode as d, type FactKind as e, type Flow as f, type FlowCanceledByConcurrencyFact as g, type FlowCanceledByOperatorFact as h, type FlowCanceledExplicitlyFact as i, type FlowCanceledFact as j, type FlowCompleteEvent as k, type FlowCompletedFact as l, type FlowConcurrency as m, type FlowConfig as n, type FlowErrorEvent as o, type FlowEvent as p, type FlowFailedFact as q, type FlowHooks as r, type FlowIdOf as s, type FlowInput as t, type FlowOutput as u, type FlowRefUpdatedFact as v, type FlowStartEvent as w, type FlowStartedFact as x, type InferSchemaOutput as y, type LogEntry as z };
906
+ export { type ParentLink as $, type AttemptNumber as A, type BackoffStrategy as B, type CancelArgs as C, DEFAULT_REAPER_INTERVAL_MS as D, type LogEntry as E, type Fact as F, type GlobalFact as G, type LogLevel as H, type InferSchemaInput as I, type Json as J, type Logger as K, type LeaseReapedFact as L, type MatchArm as M, type MatchArmGuard as N, type MatchArmOtherwise as O, type MatchArmOutput as P, type MatchArmSelectedFact as Q, type MatchArmShape as R, type MatchGuardConfig as S, type Millis as T, type NeedRef as U, type NeedsMap as V, type NeedsOutputs as W, type OnceRecordedFact as X, type Operator as Y, type OperatorAuditOpts as Z, type Optional as _, type Builder as a, type StepView as a$, type ParentRef as a0, type PrunableStatus as a1, type PruneOpts as a2, type PruneResult as a3, type QueryRunsOpts as a4, type QueryRunsResult as a5, type QueryRunsWhere as a6, type Queue as a7, type QueueDequeueOpts as a8, type QueueEnqueueOpts as a9, type SkipReason as aA, type SnapshotGoneDisposition as aB, type SnapshotGonePolicy as aC, StandardSchemaV1 as aD, type Step as aE, type StepAbortRequestedFact as aF, type StepCancelCause as aG, type StepCanceledFact as aH, type StepCompleteEvent as aI, type StepCompletedFact as aJ, type StepCtx as aK, type StepErrorEvent as aL, type StepEvent as aM, type StepFailedFact as aN, type StepId as aO, type StepKind as aP, type StepMap as aQ, type StepOutput as aR, type StepResetFact as aS, type StepRetriedFact as aT, type StepRetryEvent as aU, type StepRunStatus as aV, type StepSkippedFact as aW, type StepStartEvent as aX, type StepStartedFact as aY, type StepState as aZ, type StepStatus as a_, type QueueInspectEntry as aa, type QueueMessage as ab, type ReapedLease as ac, type ReaperDecision as ad, type Register as ae, type ReplayMode as af, type ReplayOpts as ag, type Resolved as ah, type ResolvedConcurrency as ai, type ResolvedNeeds as aj, type RetryPolicy as ak, type RowDelta as al, type RunCancelCause as am, type RunDescription as an, type RunId as ao, type RunPhase as ap, type RunState as aq, type RunStatus as ar, type RunSummary as as, type RunView as at, type SerializedError as au, type SettleSignalResult as av, type SignalBufferedFact as aw, type SignalConfig as ax, type SignalReceivedEvent as ay, type SignalReceivedFact as az, type ClaimToken as b, type Store as b0, type StreamEvent as b1, type StreamTransport as b2, type StreamingStepCtx as b3, type StreamingTaskConfig as b4, type StringKeyOf as b5, type SubflowConfig as b6, type SubflowStepOutput as b7, type TaskConfig as b8, type TimedOutSignal as b9, type Tx as ba, type Worker as bb, type WorkerConfig as bc, type WorkerRunOnceOpts as bd, type WorkerRunResult as be, type WorkerRunUntilEmptyOpts as bf, attemptOf as bg, decideExpiredLeaseAction as bh, errorOf as bi, foldRun as bj, isStepTerminal as bk, isTerminalRun as bl, outputOf as bm, resolvedOf as bn, rowDeltaOf as bo, runStatusOf as bp, stepStateOf as bq, stepStatusOf as br, unwrap as bs, type Clock as c, type ConcurrencyMode as d, type DriftPolicy as e, type FactKind as f, type Flow as g, type FlowCanceledByConcurrencyFact as h, type FlowCanceledByOperatorFact as i, type FlowCanceledExplicitlyFact as j, type FlowCanceledFact as k, type FlowCompleteEvent as l, type FlowCompletedFact as m, type FlowConcurrency as n, type FlowConfig as o, type FlowErrorEvent as p, type FlowEvent as q, type FlowFailedFact as r, type FlowHooks as s, type FlowIdOf as t, type FlowInput as u, type FlowOutput as v, type FlowRefUpdatedFact as w, type FlowStartEvent as x, type FlowStartedFact as y, type InferSchemaOutput as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nagi-js/core",
3
- "version": "0.1.1-rc.19",
3
+ "version": "0.1.1-rc.20",
4
4
  "description": "Type-safe declarative workflow engine. Edge-compliant. Zero runtime deps.",
5
5
  "license": "MIT",
6
6
  "type": "module",