@supernovae-st/nika 0.120.2 → 0.120.3

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/index.d.cts CHANGED
@@ -540,7 +540,7 @@ interface NikaTraceVerifyOptions {
540
540
  signal?: AbortSignal;
541
541
  }
542
542
  /** The SDK operations whose engine refusal can be returned as a typed error. */
543
- type NikaOperation = 'check' | 'run' | 'attachRun' | 'status' | 'cancel' | 'listWorkflows' | 'workflow' | 'traceVerify' | 'schedule' | 'scheduleStatus';
543
+ type NikaOperation = 'check' | 'run' | 'attachRun' | 'status' | 'cancel' | 'listWorkflows' | 'workflow' | 'traceVerify' | 'schedule' | 'scheduleStatus' | 'compile';
544
544
  /** One engine-owned schedule finding. The vocabulary remains additive. */
545
545
  interface NikaScheduleFinding {
546
546
  code: string;
@@ -698,6 +698,122 @@ interface NikaScheduleApplyResult {
698
698
  changed: boolean;
699
699
  status: NikaScheduleStatus;
700
700
  }
701
+ /**
702
+ * One stateless authoring request. Exactly one shape:
703
+ *
704
+ * - CREATE: `{ intent }` (or the bare-string shorthand), optionally with
705
+ * `answers` to the engine's stable question keys.
706
+ * - EDIT: `{ workflow, change }` — the accepted workflow's SOURCE plus the
707
+ * change request — optionally with `answers`.
708
+ *
709
+ * The two shapes never mix, and there is no session: every call is a fresh
710
+ * request carrying everything the engine needs.
711
+ */
712
+ type NikaCompileRequest = NikaCompileCreateRequest | NikaCompileEditRequest;
713
+ interface NikaCompileCreateRequest {
714
+ /** Intent text, or an exact embedded skeleton name in this foundation. */
715
+ intent: string;
716
+ /**
717
+ * Answers to engine questions, by stable question key (`const.request`),
718
+ * as strict JSON values — never pre-serialized text. The SDK serializes
719
+ * each value exactly once onto the argv `KEY=JSON` channel; a value JSON
720
+ * cannot carry refuses with `NikaConfigurationError` before any spawn.
721
+ */
722
+ answers?: Record<string, unknown>;
723
+ workflow?: never;
724
+ change?: never;
725
+ }
726
+ interface NikaCompileEditRequest {
727
+ /** The accepted workflow's exact source bytes (as a string). */
728
+ workflow: string;
729
+ /**
730
+ * The requested change: free text in the engine's supported edit
731
+ * vocabulary, or one structured constant edit mirroring the engine's
732
+ * `set_constant` operation. The value is a strict JSON value, judged by
733
+ * the same law as `answers`.
734
+ */
735
+ change: string | NikaCompileSetConstant;
736
+ answers?: Record<string, unknown>;
737
+ intent?: never;
738
+ }
739
+ /** One structured constant edit, mirroring the engine's `set_constant`. */
740
+ interface NikaCompileSetConstant {
741
+ set_constant: {
742
+ /** Bare constant name (no `const.` prefix, no path). */
743
+ name: string;
744
+ /** The new literal, as a strict JSON value. */
745
+ value: unknown;
746
+ };
747
+ }
748
+ interface NikaCompileOptions {
749
+ /**
750
+ * Aborts this authoring process only. Compile owns no Run: this never
751
+ * touches `run.cancel()` semantics (client#126), and no workflow effect
752
+ * exists to interrupt.
753
+ */
754
+ signal?: AbortSignal;
755
+ /** Positive integer milliseconds before the compile child or HTTP request is stopped. */
756
+ timeoutMs?: number;
757
+ }
758
+ /** The engine's own completeness words; `ready` is never derived from confidence. */
759
+ type NikaCompileStatus = 'ready' | 'incomplete' | 'refused';
760
+ /** One authoring question, exactly as the engine emitted it. */
761
+ interface NikaCompileQuestion {
762
+ /** Stable semantic hole path (`const.request`), never a session id. */
763
+ key: string;
764
+ label: string;
765
+ type: 'text' | 'literal';
766
+ why: string;
767
+ mandatory: boolean;
768
+ [key: string]: unknown;
769
+ }
770
+ /** One structured authoring finding, exactly as the engine emitted it. */
771
+ interface NikaCompileDiagnostic {
772
+ kind: 'applied' | 'missed' | 'unknown' | 'requiresHuman' | 'refused';
773
+ target: string;
774
+ message: string;
775
+ [key: string]: unknown;
776
+ }
777
+ /** Authoring provenance — not program identity (#1664), not execution Proof. */
778
+ interface NikaCompileProvenance {
779
+ compiler_version: string;
780
+ spec_pin: string;
781
+ skeleton: string | null;
782
+ cognition: 'deterministicOnly';
783
+ [key: string]: unknown;
784
+ }
785
+ /** The candidate's pure Check judgment, with its deliberately limited scope. */
786
+ interface NikaCompilePreview {
787
+ /** `sourceOnly` in this foundation: no environment or admission claim. */
788
+ scope: 'sourceOnly';
789
+ report: NikaCheckResult;
790
+ [key: string]: unknown;
791
+ }
792
+ /**
793
+ * The reviewable authoring result. `candidate` is ordinary `.nika`
794
+ * SOURCE in memory — it is not a `Workflow` handle, and `run()` does not
795
+ * accept raw source: the caller materializes the candidate and `run(path)`
796
+ * re-admits it. The SDK never writes the candidate for you in this slice
797
+ * (no `dest`/`force`), and the engine never executes it.
798
+ *
799
+ * `incomplete` and `refused` are data, not exceptions: the SDK throws only
800
+ * on transport, protocol, compatibility and engine-stamped failures.
801
+ */
802
+ interface NikaCompileOutcome {
803
+ /** The wire generation this payload was validated against. Always 1. */
804
+ compile_version: 1;
805
+ status: NikaCompileStatus;
806
+ /** Exactly `status === 'ready'` — the engine's word, not a client judgment. */
807
+ ready: boolean;
808
+ /** The candidate source; may still carry unfilled holes when not ready. */
809
+ candidate: string | null;
810
+ questions: NikaCompileQuestion[];
811
+ diagnostics: NikaCompileDiagnostic[];
812
+ /** The boundary the candidate requests (from its pure report); never a grant. */
813
+ requested_boundary: Record<string, unknown> | null;
814
+ check_preview: NikaCompilePreview | null;
815
+ provenance: NikaCompileProvenance;
816
+ }
701
817
 
702
818
  declare class NikaError extends Error {
703
819
  constructor(message: string, options?: ErrorOptions);
@@ -833,6 +949,21 @@ declare class Nika {
833
949
  private readonly eventBufferSize;
834
950
  constructor(config?: NikaConfig);
835
951
  check(workflow: string, options?: NikaCheckOptions): Promise<NikaCheckResult>;
952
+ /**
953
+ * Authoring (issue #128): describe work — or name an accepted workflow plus
954
+ * a change — and get the engine's checked candidate back, without running
955
+ * anything. `compile()` never means `run()`: the outcome is data (candidate
956
+ * source, questions, diagnostics, requested boundary, source-only Check
957
+ * preview, provenance), `incomplete`/`refused` resolve instead of throwing,
958
+ * and no workflow effect, approval or Proof exists.
959
+ *
960
+ * The candidate is ordinary `.nika` SOURCE. `run()` consumes a path,
961
+ * so the caller materializes the candidate and `run(path)` re-admits it —
962
+ * the compile preview is a review, never admission. Over `{ url }` this calls
963
+ * the authenticated Serve compile door, gated by its advertised capability;
964
+ * the SDK never compiles locally as a fallback.
965
+ */
966
+ compile(request: string | NikaCompileRequest, options?: NikaCompileOptions): Promise<NikaCompileOutcome>;
836
967
  /**
837
968
  * Resolves with the run's handle once the engine admitted it, and rejects
838
969
  * without one when the engine refused it. The handle owns the lifecycle:
@@ -886,4 +1017,4 @@ declare class Nika {
886
1017
  private session;
887
1018
  }
888
1019
 
889
- export { Nika, type NikaAttachRunOptions, type NikaCancelResult, type NikaCheckFinding, type NikaCheckOptions, type NikaCheckResult, NikaCompatibilityError, type NikaConfig, NikaConfigurationError, type NikaCostQualifier, NikaEngineUnavailable, NikaError, type NikaEvent, NikaEventBufferOverflowError, type NikaEventsOptions, type NikaExecutionCancelledEvent, type NikaExecutionId, type NikaExecutionInterruptedEvent, type NikaExecutionRefusedEvent, type NikaExecutionSettledEvent, type NikaExecutionStartedEvent, type NikaJobId, type NikaJournalEvidence, type NikaLocalConfig, type NikaMachineError, NikaObservationInterrupted, type NikaOperation, NikaOperationError, type NikaOperationFinding, NikaProtocolError, type NikaReceipt, type NikaRemoteConfig, type NikaRun, type NikaRunCause, type NikaRunEvent, type NikaRunEventKind, type NikaRunId, type NikaRunOptions, NikaRunOwnershipError, type NikaRunResult, type NikaRunSealedEvent, type NikaRunSettledEvent, type NikaRunStatus, type NikaScheduleAfterSkip, type NikaScheduleApplyResult, type NikaScheduleClaim, type NikaScheduleDefinition, type NikaScheduleDue, type NikaScheduleFinding, type NikaScheduleLastDecision, type NikaScheduleMissed, type NikaScheduleOptions, type NikaScheduleOverlap, type NikaSchedulePause, type NikaScheduleSlot, type NikaScheduleStatus, type NikaScheduleWhen, type NikaSettlement, type NikaSpend, type NikaTaskCompletedEvent, type NikaTaskScheduledEvent, type NikaTaskStartedEvent, type NikaTaskTally, type NikaTraceVerifyOptions, type NikaTraceVerifyResult, NikaTransportError, type NikaTransportKind, type NikaUnknownEvent, type NikaWorkflowCompletedEvent, type NikaWorkflowFailedEvent, type NikaWorkflowInterruptedEvent, type NikaWorkflowMetadata, type NikaWorkflowStartedEvent, isNikaRunSealedEvent, isNikaRunSettledEvent, isNikaRunSucceeded, isNikaTerminalEvent };
1020
+ export { Nika, type NikaAttachRunOptions, type NikaCancelResult, type NikaCheckFinding, type NikaCheckOptions, type NikaCheckResult, NikaCompatibilityError, type NikaCompileDiagnostic, type NikaCompileOptions, type NikaCompileOutcome, type NikaCompilePreview, type NikaCompileProvenance, type NikaCompileQuestion, type NikaCompileRequest, type NikaCompileSetConstant, type NikaCompileStatus, type NikaConfig, NikaConfigurationError, type NikaCostQualifier, NikaEngineUnavailable, NikaError, type NikaEvent, NikaEventBufferOverflowError, type NikaEventsOptions, type NikaExecutionCancelledEvent, type NikaExecutionId, type NikaExecutionInterruptedEvent, type NikaExecutionRefusedEvent, type NikaExecutionSettledEvent, type NikaExecutionStartedEvent, type NikaJobId, type NikaJournalEvidence, type NikaLocalConfig, type NikaMachineError, NikaObservationInterrupted, type NikaOperation, NikaOperationError, type NikaOperationFinding, NikaProtocolError, type NikaReceipt, type NikaRemoteConfig, type NikaRun, type NikaRunCause, type NikaRunEvent, type NikaRunEventKind, type NikaRunId, type NikaRunOptions, NikaRunOwnershipError, type NikaRunResult, type NikaRunSealedEvent, type NikaRunSettledEvent, type NikaRunStatus, type NikaScheduleAfterSkip, type NikaScheduleApplyResult, type NikaScheduleClaim, type NikaScheduleDefinition, type NikaScheduleDue, type NikaScheduleFinding, type NikaScheduleLastDecision, type NikaScheduleMissed, type NikaScheduleOptions, type NikaScheduleOverlap, type NikaSchedulePause, type NikaScheduleSlot, type NikaScheduleStatus, type NikaScheduleWhen, type NikaSettlement, type NikaSpend, type NikaTaskCompletedEvent, type NikaTaskScheduledEvent, type NikaTaskStartedEvent, type NikaTaskTally, type NikaTraceVerifyOptions, type NikaTraceVerifyResult, NikaTransportError, type NikaTransportKind, type NikaUnknownEvent, type NikaWorkflowCompletedEvent, type NikaWorkflowFailedEvent, type NikaWorkflowInterruptedEvent, type NikaWorkflowMetadata, type NikaWorkflowStartedEvent, isNikaRunSealedEvent, isNikaRunSettledEvent, isNikaRunSucceeded, isNikaTerminalEvent };
package/dist/index.d.ts CHANGED
@@ -540,7 +540,7 @@ interface NikaTraceVerifyOptions {
540
540
  signal?: AbortSignal;
541
541
  }
542
542
  /** The SDK operations whose engine refusal can be returned as a typed error. */
543
- type NikaOperation = 'check' | 'run' | 'attachRun' | 'status' | 'cancel' | 'listWorkflows' | 'workflow' | 'traceVerify' | 'schedule' | 'scheduleStatus';
543
+ type NikaOperation = 'check' | 'run' | 'attachRun' | 'status' | 'cancel' | 'listWorkflows' | 'workflow' | 'traceVerify' | 'schedule' | 'scheduleStatus' | 'compile';
544
544
  /** One engine-owned schedule finding. The vocabulary remains additive. */
545
545
  interface NikaScheduleFinding {
546
546
  code: string;
@@ -698,6 +698,122 @@ interface NikaScheduleApplyResult {
698
698
  changed: boolean;
699
699
  status: NikaScheduleStatus;
700
700
  }
701
+ /**
702
+ * One stateless authoring request. Exactly one shape:
703
+ *
704
+ * - CREATE: `{ intent }` (or the bare-string shorthand), optionally with
705
+ * `answers` to the engine's stable question keys.
706
+ * - EDIT: `{ workflow, change }` — the accepted workflow's SOURCE plus the
707
+ * change request — optionally with `answers`.
708
+ *
709
+ * The two shapes never mix, and there is no session: every call is a fresh
710
+ * request carrying everything the engine needs.
711
+ */
712
+ type NikaCompileRequest = NikaCompileCreateRequest | NikaCompileEditRequest;
713
+ interface NikaCompileCreateRequest {
714
+ /** Intent text, or an exact embedded skeleton name in this foundation. */
715
+ intent: string;
716
+ /**
717
+ * Answers to engine questions, by stable question key (`const.request`),
718
+ * as strict JSON values — never pre-serialized text. The SDK serializes
719
+ * each value exactly once onto the argv `KEY=JSON` channel; a value JSON
720
+ * cannot carry refuses with `NikaConfigurationError` before any spawn.
721
+ */
722
+ answers?: Record<string, unknown>;
723
+ workflow?: never;
724
+ change?: never;
725
+ }
726
+ interface NikaCompileEditRequest {
727
+ /** The accepted workflow's exact source bytes (as a string). */
728
+ workflow: string;
729
+ /**
730
+ * The requested change: free text in the engine's supported edit
731
+ * vocabulary, or one structured constant edit mirroring the engine's
732
+ * `set_constant` operation. The value is a strict JSON value, judged by
733
+ * the same law as `answers`.
734
+ */
735
+ change: string | NikaCompileSetConstant;
736
+ answers?: Record<string, unknown>;
737
+ intent?: never;
738
+ }
739
+ /** One structured constant edit, mirroring the engine's `set_constant`. */
740
+ interface NikaCompileSetConstant {
741
+ set_constant: {
742
+ /** Bare constant name (no `const.` prefix, no path). */
743
+ name: string;
744
+ /** The new literal, as a strict JSON value. */
745
+ value: unknown;
746
+ };
747
+ }
748
+ interface NikaCompileOptions {
749
+ /**
750
+ * Aborts this authoring process only. Compile owns no Run: this never
751
+ * touches `run.cancel()` semantics (client#126), and no workflow effect
752
+ * exists to interrupt.
753
+ */
754
+ signal?: AbortSignal;
755
+ /** Positive integer milliseconds before the compile child or HTTP request is stopped. */
756
+ timeoutMs?: number;
757
+ }
758
+ /** The engine's own completeness words; `ready` is never derived from confidence. */
759
+ type NikaCompileStatus = 'ready' | 'incomplete' | 'refused';
760
+ /** One authoring question, exactly as the engine emitted it. */
761
+ interface NikaCompileQuestion {
762
+ /** Stable semantic hole path (`const.request`), never a session id. */
763
+ key: string;
764
+ label: string;
765
+ type: 'text' | 'literal';
766
+ why: string;
767
+ mandatory: boolean;
768
+ [key: string]: unknown;
769
+ }
770
+ /** One structured authoring finding, exactly as the engine emitted it. */
771
+ interface NikaCompileDiagnostic {
772
+ kind: 'applied' | 'missed' | 'unknown' | 'requiresHuman' | 'refused';
773
+ target: string;
774
+ message: string;
775
+ [key: string]: unknown;
776
+ }
777
+ /** Authoring provenance — not program identity (#1664), not execution Proof. */
778
+ interface NikaCompileProvenance {
779
+ compiler_version: string;
780
+ spec_pin: string;
781
+ skeleton: string | null;
782
+ cognition: 'deterministicOnly';
783
+ [key: string]: unknown;
784
+ }
785
+ /** The candidate's pure Check judgment, with its deliberately limited scope. */
786
+ interface NikaCompilePreview {
787
+ /** `sourceOnly` in this foundation: no environment or admission claim. */
788
+ scope: 'sourceOnly';
789
+ report: NikaCheckResult;
790
+ [key: string]: unknown;
791
+ }
792
+ /**
793
+ * The reviewable authoring result. `candidate` is ordinary `.nika`
794
+ * SOURCE in memory — it is not a `Workflow` handle, and `run()` does not
795
+ * accept raw source: the caller materializes the candidate and `run(path)`
796
+ * re-admits it. The SDK never writes the candidate for you in this slice
797
+ * (no `dest`/`force`), and the engine never executes it.
798
+ *
799
+ * `incomplete` and `refused` are data, not exceptions: the SDK throws only
800
+ * on transport, protocol, compatibility and engine-stamped failures.
801
+ */
802
+ interface NikaCompileOutcome {
803
+ /** The wire generation this payload was validated against. Always 1. */
804
+ compile_version: 1;
805
+ status: NikaCompileStatus;
806
+ /** Exactly `status === 'ready'` — the engine's word, not a client judgment. */
807
+ ready: boolean;
808
+ /** The candidate source; may still carry unfilled holes when not ready. */
809
+ candidate: string | null;
810
+ questions: NikaCompileQuestion[];
811
+ diagnostics: NikaCompileDiagnostic[];
812
+ /** The boundary the candidate requests (from its pure report); never a grant. */
813
+ requested_boundary: Record<string, unknown> | null;
814
+ check_preview: NikaCompilePreview | null;
815
+ provenance: NikaCompileProvenance;
816
+ }
701
817
 
702
818
  declare class NikaError extends Error {
703
819
  constructor(message: string, options?: ErrorOptions);
@@ -833,6 +949,21 @@ declare class Nika {
833
949
  private readonly eventBufferSize;
834
950
  constructor(config?: NikaConfig);
835
951
  check(workflow: string, options?: NikaCheckOptions): Promise<NikaCheckResult>;
952
+ /**
953
+ * Authoring (issue #128): describe work — or name an accepted workflow plus
954
+ * a change — and get the engine's checked candidate back, without running
955
+ * anything. `compile()` never means `run()`: the outcome is data (candidate
956
+ * source, questions, diagnostics, requested boundary, source-only Check
957
+ * preview, provenance), `incomplete`/`refused` resolve instead of throwing,
958
+ * and no workflow effect, approval or Proof exists.
959
+ *
960
+ * The candidate is ordinary `.nika` SOURCE. `run()` consumes a path,
961
+ * so the caller materializes the candidate and `run(path)` re-admits it —
962
+ * the compile preview is a review, never admission. Over `{ url }` this calls
963
+ * the authenticated Serve compile door, gated by its advertised capability;
964
+ * the SDK never compiles locally as a fallback.
965
+ */
966
+ compile(request: string | NikaCompileRequest, options?: NikaCompileOptions): Promise<NikaCompileOutcome>;
836
967
  /**
837
968
  * Resolves with the run's handle once the engine admitted it, and rejects
838
969
  * without one when the engine refused it. The handle owns the lifecycle:
@@ -886,4 +1017,4 @@ declare class Nika {
886
1017
  private session;
887
1018
  }
888
1019
 
889
- export { Nika, type NikaAttachRunOptions, type NikaCancelResult, type NikaCheckFinding, type NikaCheckOptions, type NikaCheckResult, NikaCompatibilityError, type NikaConfig, NikaConfigurationError, type NikaCostQualifier, NikaEngineUnavailable, NikaError, type NikaEvent, NikaEventBufferOverflowError, type NikaEventsOptions, type NikaExecutionCancelledEvent, type NikaExecutionId, type NikaExecutionInterruptedEvent, type NikaExecutionRefusedEvent, type NikaExecutionSettledEvent, type NikaExecutionStartedEvent, type NikaJobId, type NikaJournalEvidence, type NikaLocalConfig, type NikaMachineError, NikaObservationInterrupted, type NikaOperation, NikaOperationError, type NikaOperationFinding, NikaProtocolError, type NikaReceipt, type NikaRemoteConfig, type NikaRun, type NikaRunCause, type NikaRunEvent, type NikaRunEventKind, type NikaRunId, type NikaRunOptions, NikaRunOwnershipError, type NikaRunResult, type NikaRunSealedEvent, type NikaRunSettledEvent, type NikaRunStatus, type NikaScheduleAfterSkip, type NikaScheduleApplyResult, type NikaScheduleClaim, type NikaScheduleDefinition, type NikaScheduleDue, type NikaScheduleFinding, type NikaScheduleLastDecision, type NikaScheduleMissed, type NikaScheduleOptions, type NikaScheduleOverlap, type NikaSchedulePause, type NikaScheduleSlot, type NikaScheduleStatus, type NikaScheduleWhen, type NikaSettlement, type NikaSpend, type NikaTaskCompletedEvent, type NikaTaskScheduledEvent, type NikaTaskStartedEvent, type NikaTaskTally, type NikaTraceVerifyOptions, type NikaTraceVerifyResult, NikaTransportError, type NikaTransportKind, type NikaUnknownEvent, type NikaWorkflowCompletedEvent, type NikaWorkflowFailedEvent, type NikaWorkflowInterruptedEvent, type NikaWorkflowMetadata, type NikaWorkflowStartedEvent, isNikaRunSealedEvent, isNikaRunSettledEvent, isNikaRunSucceeded, isNikaTerminalEvent };
1020
+ export { Nika, type NikaAttachRunOptions, type NikaCancelResult, type NikaCheckFinding, type NikaCheckOptions, type NikaCheckResult, NikaCompatibilityError, type NikaCompileDiagnostic, type NikaCompileOptions, type NikaCompileOutcome, type NikaCompilePreview, type NikaCompileProvenance, type NikaCompileQuestion, type NikaCompileRequest, type NikaCompileSetConstant, type NikaCompileStatus, type NikaConfig, NikaConfigurationError, type NikaCostQualifier, NikaEngineUnavailable, NikaError, type NikaEvent, NikaEventBufferOverflowError, type NikaEventsOptions, type NikaExecutionCancelledEvent, type NikaExecutionId, type NikaExecutionInterruptedEvent, type NikaExecutionRefusedEvent, type NikaExecutionSettledEvent, type NikaExecutionStartedEvent, type NikaJobId, type NikaJournalEvidence, type NikaLocalConfig, type NikaMachineError, NikaObservationInterrupted, type NikaOperation, NikaOperationError, type NikaOperationFinding, NikaProtocolError, type NikaReceipt, type NikaRemoteConfig, type NikaRun, type NikaRunCause, type NikaRunEvent, type NikaRunEventKind, type NikaRunId, type NikaRunOptions, NikaRunOwnershipError, type NikaRunResult, type NikaRunSealedEvent, type NikaRunSettledEvent, type NikaRunStatus, type NikaScheduleAfterSkip, type NikaScheduleApplyResult, type NikaScheduleClaim, type NikaScheduleDefinition, type NikaScheduleDue, type NikaScheduleFinding, type NikaScheduleLastDecision, type NikaScheduleMissed, type NikaScheduleOptions, type NikaScheduleOverlap, type NikaSchedulePause, type NikaScheduleSlot, type NikaScheduleStatus, type NikaScheduleWhen, type NikaSettlement, type NikaSpend, type NikaTaskCompletedEvent, type NikaTaskScheduledEvent, type NikaTaskStartedEvent, type NikaTaskTally, type NikaTraceVerifyOptions, type NikaTraceVerifyResult, NikaTransportError, type NikaTransportKind, type NikaUnknownEvent, type NikaWorkflowCompletedEvent, type NikaWorkflowFailedEvent, type NikaWorkflowInterruptedEvent, type NikaWorkflowMetadata, type NikaWorkflowStartedEvent, isNikaRunSealedEvent, isNikaRunSettledEvent, isNikaRunSucceeded, isNikaTerminalEvent };