@ixo/editor 7.0.0 → 7.2.0

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.
@@ -1,7 +1,7 @@
1
1
  import { aw as TopicSemanticRecordDefinition, ax as TopicActionMetadata, ay as ActionEventDefinition, az as ActionDoneContract, ak as ActionDefinition, aA as OutputSchemaField, aB as ActionRiskTier, aC as ActionSchedulingContract, ab as ActionServices, aD as TopicActionInvocationV1, aE as TopicActionReceiptV2, aF as TopicActionRecord, aG as TopicActionRuntimeProvider, af as TopicActionBridge, ai as TopicActionWriteBackResult, aH as DesignPodService, aI as DesignPodPhaseId, aJ as DesignPodControlId, aK as DesignPodActionProofV1, aL as DesignPodPhaseCommitmentV1, aM as DesignPodArtifactReceiptV1, aN as LegacyDesignPodEvidenceV1, aO as DesignPodProjectIdentityV1, aP as DesignPodControlRevisionV1, al as DesignPodMethodId, aQ as DesignPodReviewRecordV1, aR as DesignPodMethodManifestV1, aS as DesignPodFlowStateV1, aT as DesignPodPhaseDefinitionV1, aj as FlowNodeRuntimeState, aU as RunEventInput, ad as RunEventAppender, F as FlowRuntimeStateManager, aV as RunJsonValue, aW as ActionRunContext, aX as CompletionCheck, w as StoredInvocation, aY as ReadBackTerminalState, ah as ActionResult, aZ as ActionReadBackMetadata, G as UcanService, a9 as IxoEditorType, aa as PendingInvocation, a_ as ActionProofDeclaration, a$ as ReceiptExpectation, b0 as ReceiptStatus, b1 as RunRecordDetails, ac as ActionHandlers, z as UcanDelegationStore, v as StoredDelegation, g as InvocationStore, b2 as RunLifecycleAuthorizer, b3 as UcanVerificationEnv, b4 as FlowMetadata, a7 as FlowNode } from '../types-CYtPUWc7.js';
2
2
  export { b5 as AUTHORITY_RECHECK_MS, b6 as ActionContext, b7 as ActionRunEventInput, b8 as AgentRuntimeService, b9 as AuthorityDecision, ba as BidService, bb as CancelRunParams, bc as CarbonService, bd as ChainFailure, be as ChainFailureCode, bf as ClaimCollectionURI, bg as ClaimService, bh as CloseRunParams, bi as CollectionService, bj as CollectionUsersService, bk as CompileDesignPodReleaseOptions, bl as CompiledDesignPodReleaseV1, bm as CreateDelegationParams, bn as CreateFlowRequestParams, bo as CreateInvocationParams, bp as CreateRootDelegationParams, bq as CredentialIssuanceService, br as DESIGN_POD_CONTROL_IDS, bs as DESIGN_POD_METHODS, bt as DESIGN_POD_PHASE_IDS, bu as DESIGN_POD_TEMPLATE_ID, bv as DESIGN_YOMA_METHOD_V1, bw as DID, D as DelegationChainValidationResult, e as DelegationGrant, bx as DesignPodChecklistItemDefinitionV1, by as DesignPodChecklistRecordV1, bz as DesignPodControlDefinitionV1, bA as DesignPodControlStatus, bB as DesignPodInvocationVerificationRequestV1, bC as DesignPodInvocationVerifier, bD as DesignPodPackageFileV1, bE as DesignPodProtocolRecordV1, bF as DesignPodReleaseRecordV1, bG as DesignPodReviewAssignmentV1, bH as DesignPodReviewRequestV1, ag as DesignPodRuntimeAuthorityV1, bI as DomainVfsService, bJ as EmailService, bK as EntityService, bL as EvalRegisterService, bM as EvaluationRuntimeService, a8 as EvaluationStatus, bN as EvidenceService, bO as ExecutionWithInvocationResult, bP as ExplicitRunRequiredError, bQ as FLOW_REQUESTS_MAP_KEY, bR as FailedListenerRun, bS as FindProofsResult, bT as FinishRunResult, bU as FlowAuthorityIndex, bV as FlowAuthorityIndexOptions, bW as FlowInvocationService, a6 as FlowNodeAuthzExtension, bX as FlowNodeBase, bY as FlowNotMigratedError, bZ as FlowRequestFactsV1, b_ as FlowRequestKind, b$ as FlowRequestRecordV1, c0 as FlowRunLifecycleService, c1 as FundingVerificationService, c2 as GrantVerdict, c3 as HttpService, c4 as InMemoryTopicActionOutboxStore, c5 as IncidentService, c6 as IntegrationsService, c7 as InvocationRequest, c8 as InvocationResult, c9 as InvocationVerdict, ca as LEGACY_RUN_STORAGE_VERSION, cb as LifecycleRunEventInput, cc as LinkedClaim, cd as MULTI_RUN_STORAGE_VERSION, ce as MatrixCredentialService, cf as MigrateFlowParams, cg as MigrateFlowResult, ch as MultiRunMigrationResult, ci as NodeServiceReport, cj as NodeState, ck as NotifyService, cl as OracleService, cm as OutcomeCertificateService, cn as PROFESSIONAL_SERVICE_METHOD_V1, co as RUNS_TERMINAL_MAP_KEY, cp as RUNS_TERMINAL_PENDING_MAP_KEY, cq as RUN_RECORD_AUDIT_TYPE, cr as RUN_STORAGE_VERSION_KEY, cs as ReceiptVerifier, ct as ReceiptVerifierOptions, cu as RecordFlowActionPhaseParams, cv as RubricService, cw as RunDefinitionBlock, cx as RunDefinitionDrift, cy as RunDefinitionSnapshot, cz as RunJsonObject, cA as RunLifecycleAuthorizationDecision, cB as RunLifecycleAuthorizationError, cC as RunLifecycleAuthorizationRequest, cD as RunLifecycleCapability, cE as RunLogEventInput, cF as RunManifest, cG as RunMeta, cH as RunNotMigratedError, cI as RunNotReadyError, cJ as RunRequestProof, cK as RunSnapshot, cL as RunStorageVersion, cM as RunTerminalAuthorizationProof, cN as RunTerminalRecord, cO as RunTerminalReservation, cP as SettlementService, cQ as SignedCapability, cR as StartRunParams, cS as StartRunResult, cT as TerminalRunExecutionError, cU as TopicActionOutboxEntry, cV as TopicActionOutboxStore, cW as TopicActionReceiptSigner, cX as TopicActionReceiptSink, cY as TopicActionReceiptStatus, cZ as TopicActionReceiptVerifier, c_ as TopicActionTerminalStatus, c$ as TopicActionThreadUpdateV1, d0 as TopicActionWriteBackState, ae as TopicExecutionContext, d1 as TopicOperationAppendResult, d2 as TopicRevisionConflictError, d3 as TopicService, U as UcanCapability, H as UcanServiceConfig, J as UcanServiceHandlers, d4 as UcanVerificationHandlers, d5 as UnknownRunError, d6 as UnsignedTopicActionReceiptV2, d7 as VerifiedGrant, d8 as VerifiedUcanInvocation, d9 as VerifyGrantOptions, da as VerifyInvocationOptions, db as YjsTopicActionOutboxStore, dc as YoIdLinkService, dd as YomaOpportunityService, de as adoptLegacyRuntime, df as appendRunRecord, dg as assertRunActionExecutionAllowed, dh as buildRunDefinitionSnapshot, di as buildTopicActionThreadUpdate, dj as cancelRun, dk as capabilityForRequest, dl as clearAllActionState, dm as clearRuntimeForTemplateClone, dn as closeRun, dp as collectPhantomLegacyRun, dq as compileDesignPodRelease, dr as computePendingInvocationId, ds as computeRunDefinitionHash, dt as computeRunSummary, du as countPendingInvocations, dv as createFlowAuthorityIndex, dw as createFlowRequest, Y as createInvocationStore, Z as createMemoryInvocationStore, _ as createMemoryUcanDelegationStore, dx as createReceiptVerifier, dy as createRunId, dz as createRunRuntimeReader, dA as createRunRuntimeReaderWithDoc, dB as createRunScopedRuntimeManager, dC as createRunTerminalAuthorizationProof, dD as createRunUlid, $ as createRuntimeStateManager, a0 as createUcanDelegationStore, a1 as createUcanService, dE as createYDocRuntimeManager, dF as decodeCarBase64, dG as deleteActionState, dH as detectRunDefinitionDrift, dI as digestInputResponse, dJ as digestRequestValue, dK as enableMultiRunStorage, dL as ensureRun, dM as findFailedListenersForSourceRun, dN as getOrCreateBlockPendingMap, dO as getPendingInvocationsMap, dP as getRunActionsMap, dQ as getRunMeta, dR as getRunStorageVersion, dS as getRunsMap, dT as getRunsTerminalMap, dU as getRunsTerminalPendingMap, dV as grantCoversExercise, dW as hasLegacyRuntimeHistory, dX as isBelowTheLineBlock, dY as isLegacyRuntimeAdoptionEnabled, dZ as isRecordInRun, d_ as isRunTerminalOrPending, d$ as lifecycleRequestProof, e0 as listOpenRuns, e1 as listRuns, e2 as migrateFlowToSessions, e3 as queuePendingInvocation, e4 as readActionState, e5 as readActionStates, e6 as readFlowRequest, e7 as readPendingInvocations, e8 as readRunActionStates, e9 as readRunRecords, ea as recordRunDefinitionDrift, eb as removePendingInvocation, ec as replayFailedListenerRun, ed as requestStepRun, ee as resetActionState, ef as resolveActiveRunId, eg as resolveRecordRunId, eh as resolveRunIdForExecution, ei as resolveRunIdForRead, ej as revocationCheckerFor, ek as seedRunFromLegacyRuntime, el as setAdvisoryActiveRunId, em as setMultiRunStorage, en as signedCapabilityCovers, eo as snapshotInputRefs, ep as startRun, eq as subscribeToActionState, er as toRunJsonValue, es as topicActionReceiptSigningPayload, et as topicActionThreadUpdateBody, eu as topicActionThreadUpdateId, ev as topicActionThreadUpdateTransactionId, ew as topicSemanticRecordsDigest, ex as ucanVerificationEnvFrom, ey as usesLegacyRuntimeCompatibility, ez as verifyGrant, eA as verifyInvocation, eB as writeActionState, eC as writeFlowRequest } from '../types-CYtPUWc7.js';
3
3
  import * as Y from 'yjs';
4
- import { Doc, Map } from 'yjs';
4
+ import { Doc, Map as Map$1 } from 'yjs';
5
5
  import { B as BaseUcanFlow, k as FlowAgentExecutor, h as FlowAgentCommand, j as FlowAgentContext, i as FlowAgentCommandResult, ao as FlowAgentBlockerCause, n as FlowAgentPublicNodeState, m as FlowAgentNodeSnapshot, ap as CompiledBlock, C as CompiledFlow, aq as CompiledEdge, s as FlowConnectionBinding } from '../connections-tcxJgB1K.js';
6
6
  export { ar as AcquireFlowAgentLeaseParams, as as ActionBlockLike, at as ActionExecutionCompletionState, au as ActorConstraint, A as AuthorizationResult, av as BuildActionRunInputsParams, aw as BuildActionRunInputsResult, a as BuildFlowAgentContextParams, ax as CompiledFlowNode, b as CompilerRegistry, ay as ConditionRef, az as CreateAgentCommandParams, aA as EvaluateFlowAgentPolicyParams, aB as ExecuteActionBlockParams, aC as ExecuteActionBlockResult, E as ExecuteNodeParams, c as ExecutionContext, d as ExecutionOutcome, F as FLOW_CONNECTIONS_MAP_KEY, e as FLOW_CONNECTION_BINDINGS_MAP_KEY, f as FLOW_PARTICIPANTS_MAP_KEY, g as FlowAgentActor, aD as FlowAgentCommandBase, aE as FlowAgentCommandStatus, aF as FlowAgentCommandType, l as FlowAgentLease, aG as FlowAgentLedgerEvent, aH as FlowAgentLedgerEventType, aI as FlowAgentMaps, aJ as FlowAgentOrchestratorOptions, aK as FlowAgentPolicyDecision, aL as FlowAgentRunPhase, o as FlowAgentService, aM as FlowAgentServiceOptions, p as FlowAgentTickResult, q as FlowCapability, r as FlowConnection, t as FlowConnectionRequirementKey, u as FlowParticipant, v as FlowStrategy, M as MergeResult, N as NodeActionResult, R as ReadFlowOptions, w as ReadFlowResult, aN as RuntimeRef, aO as SeedDesignPodTemplateOptions, S as SetupFlowOptions, y as SetupFlowResult, aP as TTLConstraint, aQ as TriggerResolutionContext, aR as TriggerSpec, z as acquireFlowAgentLease, D as appendAgentLedgerEvent, aS as buildActionRunInputs, G as buildAuthzFromProps, H as buildFlowAgentContext, I as buildFlowNodeFromBlock, aT as canMatches, J as cleanupExpiredFlowAgentLeases, K as compileBaseUcanFlow, aU as computeAgentCommandId, L as createAgentCommand, O as decompileToBaseUcanFlow, P as evaluateFlowAgentPolicy, aV as executeActionBlock, Q as executeNode, T as executeQueuedAgentCommands, U as getActiveEditor, V as getFlowAgentMaps, W as isAuthorized, aW as isCapabilityMatch, aX as isExternalMutation, aY as isRuntimeRef, X as mergeCompiledFlows, Y as planRalphLoopCommands, Z as queueAgentCommand, aZ as readAgentCommands, _ as readAgentLedgerEvents, $ as readCompiledFlowFromYDoc, a0 as readFlow, a_ as readFlowAgentLeases, a1 as readFlowAsBaseUcan, a2 as readFlowConnectionBindings, a3 as readFlowConnections, a4 as readFlowFromEditor, a5 as readFlowParticipants, a6 as readQueuedAgentCommands, a7 as releaseFlowAgentLease, a8 as removeFlowConnection, a9 as removeFlowConnectionBinding, aa as removeFlowParticipant, a$ as requiredCapabilityForCommand, b0 as resolveRuntimeRefs, b1 as resourceMatches, b2 as seedDesignPodTemplateFlow, ab as setActiveEditor, ac as setFlowConnectionAgent, ad as setFlowConnectionOptional, ae as setFlowConnectionRequires, af as setFlowParticipantPowerLevel, ag as setFlowParticipantRequirements, b3 as setFlowParticipantSteps, ah as setupFlowFromBaseUcan, ai as tickFlowAgent, b4 as updateAgentCommand, aj as upsertFlowConnection, ak as upsertFlowConnectionBinding, al as upsertFlowParticipant, am as validateAgentCommand, an as validateFlowAgentLease } from '../connections-tcxJgB1K.js';
7
7
  import { MatrixProvider } from '@ixo/matrix-crdt';
@@ -1430,7 +1430,7 @@ declare const XERO_PAYMENT_CREATE_ACTION_TYPE = "qi/xero.payment.create";
1430
1430
  * invoice stage outranks the payment stage: while an invoice is still being
1431
1431
  * drafted, that is the activity to show.
1432
1432
  */
1433
- declare function xeroOracleActivityForBlock(map: Map<XeroWorkItem> | null | undefined, params: {
1433
+ declare function xeroOracleActivityForBlock(map: Map$1<XeroWorkItem> | null | undefined, params: {
1434
1434
  blockId: string;
1435
1435
  actionType?: string;
1436
1436
  }): XeroWorkKind | null;
@@ -1438,9 +1438,9 @@ declare function xeroOracleActivityForBlock(map: Map<XeroWorkItem> | null | unde
1438
1438
  * Resolve the work-items map from a raw Y.Doc. Flow-manager (and any other
1439
1439
  * consumer holding the doc rather than an editor instance) goes through this.
1440
1440
  */
1441
- declare function getXeroWorkItemsMap(doc: Doc): Map<XeroWorkItem>;
1441
+ declare function getXeroWorkItemsMap(doc: Doc): Map$1<XeroWorkItem>;
1442
1442
  /** Resolve the terminal-records map from a raw Y.Doc. */
1443
- declare function getXeroWorkTerminalMap(doc: Doc): Map<XeroWorkTerminalRecord>;
1443
+ declare function getXeroWorkTerminalMap(doc: Doc): Map$1<XeroWorkTerminalRecord>;
1444
1444
  declare function buildXeroInvoiceWorkKey(params: {
1445
1445
  flowId: string;
1446
1446
  evaluationBlockId: string;
@@ -1452,20 +1452,20 @@ declare function buildXeroPaymentWorkKey(params: {
1452
1452
  claimId: string;
1453
1453
  invoiceWorkItemId: string;
1454
1454
  }): string;
1455
- declare function findXeroWorkItems(map: Map<XeroWorkItem> | null | undefined, filter?: XeroWorkItemFilter): XeroWorkItem[];
1455
+ declare function findXeroWorkItems(map: Map$1<XeroWorkItem> | null | undefined, filter?: XeroWorkItemFilter): XeroWorkItem[];
1456
1456
  /**
1457
1457
  * Idempotencykey-deduped upsert. An existing item with the same
1458
1458
  * `idempotencyKey` is merged (never resurrecting a `completed` item);
1459
1459
  * otherwise the item is stored as given.
1460
1460
  */
1461
- declare function upsertXeroWorkItem(map: Map<XeroWorkItem> | null | undefined, next: XeroWorkItem): XeroWorkItem;
1462
- declare function updateXeroWorkReviewPayload(map: Map<XeroWorkItem> | null | undefined, itemId: string, reviewPayload: Record<string, any>): XeroWorkItem | null;
1461
+ declare function upsertXeroWorkItem(map: Map$1<XeroWorkItem> | null | undefined, next: XeroWorkItem): XeroWorkItem;
1462
+ declare function updateXeroWorkReviewPayload(map: Map$1<XeroWorkItem> | null | undefined, itemId: string, reviewPayload: Record<string, any>): XeroWorkItem | null;
1463
1463
  /**
1464
1464
  * Record a failed attempt and flip the item to `failed`. Refuses to downgrade
1465
1465
  * a `completed` item — a late/duplicate failure receipt must never erase a
1466
1466
  * recorded success.
1467
1467
  */
1468
- declare function markXeroWorkFailed(map: Map<XeroWorkItem> | null | undefined, itemId: string, params: {
1468
+ declare function markXeroWorkFailed(map: Map$1<XeroWorkItem> | null | undefined, itemId: string, params: {
1469
1469
  byDid?: string;
1470
1470
  payload: Record<string, any>;
1471
1471
  error: string;
@@ -1478,7 +1478,7 @@ declare function markXeroWorkFailed(map: Map<XeroWorkItem> | null | undefined, i
1478
1478
  * attempt exhaustion). Idempotent on `approved`; refuses `completed` and
1479
1479
  * `cancelled` items.
1480
1480
  */
1481
- declare function markXeroWorkApproved(map: Map<XeroWorkItem> | null | undefined, itemId: string, params: {
1481
+ declare function markXeroWorkApproved(map: Map$1<XeroWorkItem> | null | undefined, itemId: string, params: {
1482
1482
  byDid?: string;
1483
1483
  at?: number;
1484
1484
  }): XeroWorkItem | null;
@@ -1490,7 +1490,7 @@ declare function markXeroWorkApproved(map: Map<XeroWorkItem> | null | undefined,
1490
1490
  * concurrent conflicting write from a disconnected peer (see
1491
1491
  * `XeroWorkTerminalRecord`).
1492
1492
  */
1493
- declare function markXeroWorkCompleted(map: Map<XeroWorkItem> | null | undefined, itemId: string, params: {
1493
+ declare function markXeroWorkCompleted(map: Map$1<XeroWorkItem> | null | undefined, itemId: string, params: {
1494
1494
  byDid?: string;
1495
1495
  payload: Record<string, any>;
1496
1496
  result: Record<string, any>;
@@ -1577,6 +1577,42 @@ declare function ensureFlowExecutionMetadata(yDoc: Doc): boolean;
1577
1577
  */
1578
1578
  declare function adoptLegacyFlowDocument(yDoc: Doc): boolean;
1579
1579
 
1580
+ /**
1581
+ * A step on the page with no entry in the step list.
1582
+ *
1583
+ * Flows authored before the step list existed (`qi.flow.nodes`) kept their
1584
+ * steps only as blocks in the BlockNote document. Adoption fills in the props
1585
+ * of steps already in the list, but it never adds one. Everything that decides
1586
+ * what a flow may do reads the list alone: the Portal builds the flow
1587
+ * manager's grant from it, and the flow manager finds a step there before it
1588
+ * sends any work for it. A step missing from the list can still be run by hand
1589
+ * from the page, so the work it produces is real — and then nothing will send
1590
+ * it, and no grant ever covers it.
1591
+ */
1592
+ interface UnlistedActionBlock {
1593
+ blockId: string;
1594
+ actionType: string;
1595
+ /** Whether the registry knows the action. An unknown one cannot be listed. */
1596
+ known: boolean;
1597
+ }
1598
+ /** Action blocks on the page that the step list does not have, in page order. */
1599
+ declare function findUnlistedActionBlocks(yDoc: Doc): UnlistedActionBlock[];
1600
+ /**
1601
+ * Add a step-list entry for every action block that has none.
1602
+ *
1603
+ * Additive only: the page is not touched, listed steps are not changed, and a
1604
+ * block whose action the registry does not know is left out rather than given
1605
+ * an entry nothing can run. Each new step takes its block's id as its own, so
1606
+ * the resource it is addressed by — `ixo:flow:<doc_id>:<block id>` — is the one
1607
+ * the page already ran it under, and work that names the block finds it.
1608
+ *
1609
+ * Runs in one transaction. Called inside a caller's transaction it joins that
1610
+ * one, which is how the Portal writes the new steps and the grant that covers
1611
+ * them as a single change. Returns the ids it added; an empty list means the
1612
+ * document was already complete.
1613
+ */
1614
+ declare function addUnlistedSteps(yDoc: Doc): string[];
1615
+
1580
1616
  /**
1581
1617
  * Writes compiled blocks into BlockNote's collaborative XmlFragment using the
1582
1618
  * ProseMirror/Yjs structure that BlockNote reads from collaboration.
@@ -2288,4 +2324,4 @@ declare function createOracleInitFlowTemplate(): {
2288
2324
  nodes: FlowNode[];
2289
2325
  };
2290
2326
 
2291
- export { ACTION_MANIFEST_V2_SCHEMA, ACTION_MANIFEST_VERSION, ACTION_REGISTRY_VERSION, ACTION_SAFETY_BY_TYPE, ActionContractRef, ActionDefinition, ActionDoneContract, ActionHandlers, type ActionManifest, type ActionManifestEntry, type ActionManifestIssue, ActionReadBackMetadata, type ActionReadBackResolution, type ActionReadBackResolver, type ActionReadBackResolverInput, ActionResult, ActionRunContext, ActionSafety, ActionServices, type AddFlowNodeOptions, type AuthorityEventLike, BaseUcanFlow, type BlockCondition, type BlockConditionInput, type BlockConditionsResult, type BlockExecutionEligibility, type BoundedRunOutput, type CapabilityPatternCoversCanOptions, type ClassifyNodeStateInput, CompiledBlock, CompiledEdge, CompiledFlow, CompletionCheck, type CompletionReconciliationTransition, type CompletionVerification, type CompletionVerificationStatus, type ConditionActionResult, type ConditionConfig, type ConditionEvaluationOptions, type ConditionEvaluationResult, type ConditionOperator, DESIGN_POD_DEFINITION_MAP_KEY, DESIGN_POD_STATE_MAP_KEY, DesignPodActionProofV1, DesignPodArtifactReceiptV1, DesignPodControlId, DesignPodControlRevisionV1, DesignPodFlowStateV1, DesignPodMethodId, DesignPodMethodManifestV1, type DesignPodOperationalFlowV1, DesignPodPhaseCommitmentV1, DesignPodPhaseDefinitionV1, DesignPodPhaseId, DesignPodProjectIdentityV1, DesignPodReviewRecordV1, DesignPodService, type DetailedResolution, type EvaluatorOperator, type ExecuteFlowAgentCoreCommandOptions, type ExecuteQueuedFlowAgentCoreCommandsOptions, type ExternalTopicExecutorPort, type ExternalTopicExecutorResult, FLOW_AUTHORITY_EVENT_TYPE, FLOW_IDENTITY_EVENT_TYPE, FlowAgentBlockerCause, FlowAgentCommand, FlowAgentCommandResult, FlowAgentContext, FlowAgentExecutor, FlowAgentNodeSnapshot, FlowAgentPublicNodeState, type FlowAuthorityCensus, type FlowAuthorityCensusSummary, FlowConnectionBinding, type FlowDefinitionDraftRepository, FlowDefinitionPublicationError, FlowDefinitionRef, FlowDefinitionRevisionRepository, FlowDefinitionRevisionSigner, FlowDefinitionRevisionV1, type FlowDocumentNode, type FlowDocumentRead, type FlowDraftCommand, FlowDraftCommandError, type FlowDraftCommandOperation, type FlowDraftCommandResult, type FlowDraftProposalApprovalV1, type FlowDraftProposalPayloadV1, type FlowDraftProposalV1, type FlowDraftSnapshot, FlowId, type FlowIdentityContent, type FlowIdentityMatrixClient, type FlowManagerAuthorityRecordV1, FlowNode, FlowNodeRuntimeState, type FlowOwnerMatrixClient, type FlowOwnerOptions, type FlowOwnerRoom, type FlowProjectionDrift, FlowRevisionId, FlowRuntimeStateManager, type FlowVersionString, INVOCATIONS_MAP_KEY, InvalidConditionConfigError, InvocationStore, LATEST_VERSION, LegacyDesignPodEvidenceV1, MAX_RUN_ACTION_OUTPUT_BYTES, MAX_TOPIC_SEMANTIC_RECORDS_PER_RECEIPT, MAX_TOPIC_SEMANTIC_RECORD_BATCH_BYTES, ManifestBoundTopicExecutorAdapter, type ManifestDoneDeclaration, type ManifestProofDeclaration, OutputSchemaField, PROFESSIONAL_SERVICE_DESIGN_POD_PLAN_V1, PROOF_MISSING_CODE, type ParsedReference, PendingInvocation, type PendingRunTimelineEvent, type ProofValidationResult, type PublishFlowDefinitionParams, type PublishFlowDefinitionResult, ReadBackTerminalState, ReceiptExpectation, ReceiptStatus, type ReconcileActionReadBackParams, type ReconcileActionReadBackResult, type ReconcileCheckableCompletionsParams, type ReconcileCompletionParams, type ReconcileCompletionResult, type ResolveReferencesOptions, RunEventAppender, RunEventInput, RunJsonValue, RunLifecycleAuthorizer, RunRecordDetails, type RunTimelineAppendResult, SERVICE_VERBS, STEP_COMPLETED_EVENT, STEP_COMPLETED_EVENT_NAME, type ServiceVerb, Sha256Digest, SharedFlowDocument, type StepAuthorityResult, type StepAuthorityStatus, StoredDelegation, StoredInvocation, TopicActionBridge, TopicActionInvocationV1, TopicActionMetadata, TopicActionReceiptV2, TopicActionRecord, TopicActionWriteBackResult, TopicSemanticRecordDefinition, type TopicSemanticRecordValidationResult, UcanDelegationStore, UcanService, UcanVerificationEnv, type UnresolvedReference, type UnresolvedReferenceReason, VERSION_MANIFEST, type VerifyActionAuthorityParams, type VersionPolicy, type WriteFlowIdentityResult, XERO_ORACLE_WORKING_STATUSES, XERO_PAYMENT_CREATE_ACTION_TYPE, XERO_TOOLKIT, XERO_WORK_ITEMS_MAP_NAME, XERO_WORK_TERMINAL_MAP_NAME, type XeroWorkAttempt, type XeroWorkItem, type XeroWorkItemFilter, type XeroWorkKind, type XeroWorkProvenance, type XeroWorkSource, type XeroWorkStatus, type XeroWorkTerminalRecord, YOMA_DESIGN_POD_PLAN_V1, actionManifestIssues, actionTypeToCan, addFlowNode, adoptLegacyFlowDocument, appendRunTimelineEvent, appendRunTimelineEvents, applyApprovedFlowDraftProposal, auditFlowProjections, authorityEventMatches, bindFlowOwner, bindFlowOwnerFromRoom, boundRunActionOutput, boundRunEventJson, buildBlockConditionsProp, buildDesignPodPhasePrompt, buildServicesFromHandlers, buildXeroInvoiceWorkKey, buildXeroPaymentWorkKey, canToActionType, canToType, canonicalDesignPodJson, capabilityPatternCoversCan, censusFlowAuthority, classifyBlockerCause, classifyNodeState, commitDesignPodPhase, computeCID, computeDesignPodRevisionSetDigest, computeJsonCID, createDesignPodArtifactReceipt, createDesignPodOperationalFlowPlan, createDesignPodPortalJourneyPlan, createFlowDraftProposal, createMcpTopicExecutorAdapter, createOracleInitFlowTemplate, createQiForgeTopicExecutorAdapter, createReference, createRunEventIdempotencyKey, createUcanRunLifecycleAuthorizer, createYjsFlowDefinitionDraftRepository, digestDesignPodValue, dispatchFlowStartTriggers, doneWhenCompleted, ensureFlowExecutionMetadata, evaluateBlockConditions, evaluateBlockConditionsForRun, evaluateBlockExecutionEligibilityForRun, evaluateCondition, executeFlowAgentCoreCommand, executeQueuedFlowAgentCoreCommands, findXeroWorkItems, findXeroWorkItemsForEditor, flowOwnerDidFromCreateSender, flowOwnerOf, generateActionManifest, getAction, getActionByCan, getActionForBlock, getActionPresentation, getAliasEntries, getAllActions, getAllCanMappings, getEventsForBlock, getMissingActionInputs, getNestedValue, getOutputSchemaForBlock, getSharedFlowDocument, getVersionPolicy, getXeroWorkItemsMap, getXeroWorkTerminalMap, hasAction, hasReferences, importLegacyDesignPodEvidence, initializeDesignPod, isActionDone, isActionTypeDone, isBlankInputValue, isFlowOwner, isNeverDoneAction, isVerifiedCompletion, isVersionAtLeast, markDesignPodReviewed, markXeroWorkApproved, markXeroWorkApprovedForEditor, markXeroWorkCompleted, markXeroWorkCompletedForEditor, markXeroWorkFailed, markXeroWorkFailedForEditor, neverDone, normalizeActionReadBackMetadata, normalizeCan, normalizeCapabilityPattern, normalizeCondition, normalizeConditions, normalizeDid, oracleInitSurveySchema, parseConditionConfig, parseConditionConfigStrict, parseDesignPodOperationalFlow, parseReferences, parseServiceCan, publishFlowDefinitionRevision, readBlocksFromFragment, readDesignPodDefinition, readDesignPodState, readFlowDocument, readFlowDocumentHistory, readFlowIdentityDocId, readFlowOwnerDid, readFlowXeroBinding, readFlowXeroBindingFromEditor, readInvocationsForRun, readPendingRunTimelineEvents, readRoomCreatorUserId, reconcileActionReadBack, reconcileCheckableCompletions, reconcileCompletion, reconcilePendingInvocations, registerAction, removeBlockFromFragment, removeFlowNode, reorderFlowNodes, repairFlowProjections, replaceBlockInFragment, resetStepRuntime, resolveActionSafety, resolveConditionSourceValue, resolveObjectReferences, resolveReferences, resolveReferencesDetailed, resolveSingleReference, retryPendingRunTimelineEvents, runLedgerAttestations, sameDesignPodActor, seedDesignPodMethodDefinition, serviceCan, setBlockProps, setFormAnswers, sha256Digest, snapshotNode, summarizeFlowAuthorityCensus, swapFlowBlocks, syncFlowNodePropsFromProjection, toEvaluatorOperator, typeToCan, updateDesignPodControl, updateNodeRuntime, updateXeroWorkReviewPayload, updateXeroWorkReviewPayloadForEditor, upsertXeroWorkItem, upsertXeroWorkItemForEditor, validateActionProof, validateTopicSemanticRecord, validateTopicSemanticRecordBatch, verifyActionAuthority, verifyCompletion, verifyDesignPodPublishedRun, writeCompiledBlocksToFragment, writeFlowIdentity, writeRunRecordAndReconcile, xeroOracleActivityForBlock, xeroOracleActivityForBlockForEditor };
2327
+ export { ACTION_MANIFEST_V2_SCHEMA, ACTION_MANIFEST_VERSION, ACTION_REGISTRY_VERSION, ACTION_SAFETY_BY_TYPE, ActionContractRef, ActionDefinition, ActionDoneContract, ActionHandlers, type ActionManifest, type ActionManifestEntry, type ActionManifestIssue, ActionReadBackMetadata, type ActionReadBackResolution, type ActionReadBackResolver, type ActionReadBackResolverInput, ActionResult, ActionRunContext, ActionSafety, ActionServices, type AddFlowNodeOptions, type AuthorityEventLike, BaseUcanFlow, type BlockCondition, type BlockConditionInput, type BlockConditionsResult, type BlockExecutionEligibility, type BoundedRunOutput, type CapabilityPatternCoversCanOptions, type ClassifyNodeStateInput, CompiledBlock, CompiledEdge, CompiledFlow, CompletionCheck, type CompletionReconciliationTransition, type CompletionVerification, type CompletionVerificationStatus, type ConditionActionResult, type ConditionConfig, type ConditionEvaluationOptions, type ConditionEvaluationResult, type ConditionOperator, DESIGN_POD_DEFINITION_MAP_KEY, DESIGN_POD_STATE_MAP_KEY, DesignPodActionProofV1, DesignPodArtifactReceiptV1, DesignPodControlId, DesignPodControlRevisionV1, DesignPodFlowStateV1, DesignPodMethodId, DesignPodMethodManifestV1, type DesignPodOperationalFlowV1, DesignPodPhaseCommitmentV1, DesignPodPhaseDefinitionV1, DesignPodPhaseId, DesignPodProjectIdentityV1, DesignPodReviewRecordV1, DesignPodService, type DetailedResolution, type EvaluatorOperator, type ExecuteFlowAgentCoreCommandOptions, type ExecuteQueuedFlowAgentCoreCommandsOptions, type ExternalTopicExecutorPort, type ExternalTopicExecutorResult, FLOW_AUTHORITY_EVENT_TYPE, FLOW_IDENTITY_EVENT_TYPE, FlowAgentBlockerCause, FlowAgentCommand, FlowAgentCommandResult, FlowAgentContext, FlowAgentExecutor, FlowAgentNodeSnapshot, FlowAgentPublicNodeState, type FlowAuthorityCensus, type FlowAuthorityCensusSummary, FlowConnectionBinding, type FlowDefinitionDraftRepository, FlowDefinitionPublicationError, FlowDefinitionRef, FlowDefinitionRevisionRepository, FlowDefinitionRevisionSigner, FlowDefinitionRevisionV1, type FlowDocumentNode, type FlowDocumentRead, type FlowDraftCommand, FlowDraftCommandError, type FlowDraftCommandOperation, type FlowDraftCommandResult, type FlowDraftProposalApprovalV1, type FlowDraftProposalPayloadV1, type FlowDraftProposalV1, type FlowDraftSnapshot, FlowId, type FlowIdentityContent, type FlowIdentityMatrixClient, type FlowManagerAuthorityRecordV1, FlowNode, FlowNodeRuntimeState, type FlowOwnerMatrixClient, type FlowOwnerOptions, type FlowOwnerRoom, type FlowProjectionDrift, FlowRevisionId, FlowRuntimeStateManager, type FlowVersionString, INVOCATIONS_MAP_KEY, InvalidConditionConfigError, InvocationStore, LATEST_VERSION, LegacyDesignPodEvidenceV1, MAX_RUN_ACTION_OUTPUT_BYTES, MAX_TOPIC_SEMANTIC_RECORDS_PER_RECEIPT, MAX_TOPIC_SEMANTIC_RECORD_BATCH_BYTES, ManifestBoundTopicExecutorAdapter, type ManifestDoneDeclaration, type ManifestProofDeclaration, OutputSchemaField, PROFESSIONAL_SERVICE_DESIGN_POD_PLAN_V1, PROOF_MISSING_CODE, type ParsedReference, PendingInvocation, type PendingRunTimelineEvent, type ProofValidationResult, type PublishFlowDefinitionParams, type PublishFlowDefinitionResult, ReadBackTerminalState, ReceiptExpectation, ReceiptStatus, type ReconcileActionReadBackParams, type ReconcileActionReadBackResult, type ReconcileCheckableCompletionsParams, type ReconcileCompletionParams, type ReconcileCompletionResult, type ResolveReferencesOptions, RunEventAppender, RunEventInput, RunJsonValue, RunLifecycleAuthorizer, RunRecordDetails, type RunTimelineAppendResult, SERVICE_VERBS, STEP_COMPLETED_EVENT, STEP_COMPLETED_EVENT_NAME, type ServiceVerb, Sha256Digest, SharedFlowDocument, type StepAuthorityResult, type StepAuthorityStatus, StoredDelegation, StoredInvocation, TopicActionBridge, TopicActionInvocationV1, TopicActionMetadata, TopicActionReceiptV2, TopicActionRecord, TopicActionWriteBackResult, TopicSemanticRecordDefinition, type TopicSemanticRecordValidationResult, UcanDelegationStore, UcanService, UcanVerificationEnv, type UnlistedActionBlock, type UnresolvedReference, type UnresolvedReferenceReason, VERSION_MANIFEST, type VerifyActionAuthorityParams, type VersionPolicy, type WriteFlowIdentityResult, XERO_ORACLE_WORKING_STATUSES, XERO_PAYMENT_CREATE_ACTION_TYPE, XERO_TOOLKIT, XERO_WORK_ITEMS_MAP_NAME, XERO_WORK_TERMINAL_MAP_NAME, type XeroWorkAttempt, type XeroWorkItem, type XeroWorkItemFilter, type XeroWorkKind, type XeroWorkProvenance, type XeroWorkSource, type XeroWorkStatus, type XeroWorkTerminalRecord, YOMA_DESIGN_POD_PLAN_V1, actionManifestIssues, actionTypeToCan, addFlowNode, addUnlistedSteps, adoptLegacyFlowDocument, appendRunTimelineEvent, appendRunTimelineEvents, applyApprovedFlowDraftProposal, auditFlowProjections, authorityEventMatches, bindFlowOwner, bindFlowOwnerFromRoom, boundRunActionOutput, boundRunEventJson, buildBlockConditionsProp, buildDesignPodPhasePrompt, buildServicesFromHandlers, buildXeroInvoiceWorkKey, buildXeroPaymentWorkKey, canToActionType, canToType, canonicalDesignPodJson, capabilityPatternCoversCan, censusFlowAuthority, classifyBlockerCause, classifyNodeState, commitDesignPodPhase, computeCID, computeDesignPodRevisionSetDigest, computeJsonCID, createDesignPodArtifactReceipt, createDesignPodOperationalFlowPlan, createDesignPodPortalJourneyPlan, createFlowDraftProposal, createMcpTopicExecutorAdapter, createOracleInitFlowTemplate, createQiForgeTopicExecutorAdapter, createReference, createRunEventIdempotencyKey, createUcanRunLifecycleAuthorizer, createYjsFlowDefinitionDraftRepository, digestDesignPodValue, dispatchFlowStartTriggers, doneWhenCompleted, ensureFlowExecutionMetadata, evaluateBlockConditions, evaluateBlockConditionsForRun, evaluateBlockExecutionEligibilityForRun, evaluateCondition, executeFlowAgentCoreCommand, executeQueuedFlowAgentCoreCommands, findUnlistedActionBlocks, findXeroWorkItems, findXeroWorkItemsForEditor, flowOwnerDidFromCreateSender, flowOwnerOf, generateActionManifest, getAction, getActionByCan, getActionForBlock, getActionPresentation, getAliasEntries, getAllActions, getAllCanMappings, getEventsForBlock, getMissingActionInputs, getNestedValue, getOutputSchemaForBlock, getSharedFlowDocument, getVersionPolicy, getXeroWorkItemsMap, getXeroWorkTerminalMap, hasAction, hasReferences, importLegacyDesignPodEvidence, initializeDesignPod, isActionDone, isActionTypeDone, isBlankInputValue, isFlowOwner, isNeverDoneAction, isVerifiedCompletion, isVersionAtLeast, markDesignPodReviewed, markXeroWorkApproved, markXeroWorkApprovedForEditor, markXeroWorkCompleted, markXeroWorkCompletedForEditor, markXeroWorkFailed, markXeroWorkFailedForEditor, neverDone, normalizeActionReadBackMetadata, normalizeCan, normalizeCapabilityPattern, normalizeCondition, normalizeConditions, normalizeDid, oracleInitSurveySchema, parseConditionConfig, parseConditionConfigStrict, parseDesignPodOperationalFlow, parseReferences, parseServiceCan, publishFlowDefinitionRevision, readBlocksFromFragment, readDesignPodDefinition, readDesignPodState, readFlowDocument, readFlowDocumentHistory, readFlowIdentityDocId, readFlowOwnerDid, readFlowXeroBinding, readFlowXeroBindingFromEditor, readInvocationsForRun, readPendingRunTimelineEvents, readRoomCreatorUserId, reconcileActionReadBack, reconcileCheckableCompletions, reconcileCompletion, reconcilePendingInvocations, registerAction, removeBlockFromFragment, removeFlowNode, reorderFlowNodes, repairFlowProjections, replaceBlockInFragment, resetStepRuntime, resolveActionSafety, resolveConditionSourceValue, resolveObjectReferences, resolveReferences, resolveReferencesDetailed, resolveSingleReference, retryPendingRunTimelineEvents, runLedgerAttestations, sameDesignPodActor, seedDesignPodMethodDefinition, serviceCan, setBlockProps, setFormAnswers, sha256Digest, snapshotNode, summarizeFlowAuthorityCensus, swapFlowBlocks, syncFlowNodePropsFromProjection, toEvaluatorOperator, typeToCan, updateDesignPodControl, updateNodeRuntime, updateXeroWorkReviewPayload, updateXeroWorkReviewPayloadForEditor, upsertXeroWorkItem, upsertXeroWorkItemForEditor, validateActionProof, validateTopicSemanticRecord, validateTopicSemanticRecordBatch, verifyActionAuthority, verifyCompletion, verifyDesignPodPublishedRun, writeCompiledBlocksToFragment, writeFlowIdentity, writeRunRecordAndReconcile, xeroOracleActivityForBlock, xeroOracleActivityForBlockForEditor };
@@ -2,9 +2,11 @@ import {
2
2
  FLOW_PARTICIPANTS_MAP_KEY,
3
3
  FlowDefinitionPublicationError,
4
4
  FlowDraftCommandError,
5
+ addUnlistedSteps,
5
6
  applyApprovedFlowDraftProposal,
6
7
  createFlowDraftProposal,
7
8
  createYjsFlowDefinitionDraftRepository,
9
+ findUnlistedActionBlocks,
8
10
  publishFlowDefinitionRevision,
9
11
  readFlowParticipants,
10
12
  removeFlowParticipant,
@@ -12,7 +14,7 @@ import {
12
14
  setFlowParticipantRequirements,
13
15
  setFlowParticipantSteps,
14
16
  upsertFlowParticipant
15
- } from "../chunk-IMN2PXVU.js";
17
+ } from "../chunk-DHT5EFV6.js";
16
18
  import {
17
19
  NODE_CONTEXT_MAP_NAME,
18
20
  NODE_CONTEXT_OVERRIDES_MAP_NAME,
@@ -80,7 +82,7 @@ import {
80
82
  validateFlowAgentLease,
81
83
  writeCompiledBlocksToFragment,
82
84
  writeFlowIdentity
83
- } from "../chunk-3WLWIA7D.js";
85
+ } from "../chunk-IUC6B2NF.js";
84
86
  import {
85
87
  FlowNotMigratedError,
86
88
  InvalidConditionConfigError,
@@ -1545,6 +1547,7 @@ export {
1545
1547
  actionManifestIssues,
1546
1548
  actionTypeToCan,
1547
1549
  addFlowNode,
1550
+ addUnlistedSteps,
1548
1551
  adoptLegacyFlowDocument,
1549
1552
  adoptLegacyRuntime,
1550
1553
  appendAgentLedgerEvent,
@@ -1667,6 +1670,7 @@ export {
1667
1670
  executeQueuedAgentCommands,
1668
1671
  executeQueuedFlowAgentCoreCommands,
1669
1672
  findFailedListenersForSourceRun,
1673
+ findUnlistedActionBlocks,
1670
1674
  findXeroWorkItems,
1671
1675
  findXeroWorkItemsForEditor,
1672
1676
  fingerprintFlowCommand,