@xanots/sdk 0.0.9 → 0.0.11

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 (116) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +66 -21
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-4W37DGXS.js → agent-file-refresh-QNKN5RYD.js} +3 -3
  5. package/dist/bin.js +10 -8
  6. package/dist/{branch-commands-PBQ36L4A.js → branch-commands-2BLOC2GR.js} +13 -11
  7. package/dist/bundle.d.ts +218 -0
  8. package/dist/bundle.js +143 -0
  9. package/dist/{capture-7PO6SGB4.js → capture-4WVJY4DQ.js} +2 -2
  10. package/dist/{chunk-OW2QZEWL.js → chunk-22TKBSDV.js} +2 -2
  11. package/dist/{chunk-ZOYMZZ3S.js → chunk-3INK4Y4E.js} +1 -1
  12. package/dist/{chunk-NDZFBZHC.js → chunk-3UABJA4X.js} +1 -1
  13. package/dist/{chunk-6Z5CNWFC.js → chunk-4IF54NU5.js} +37 -6
  14. package/dist/{chunk-KSV7VOEX.js → chunk-4Q7ZOHH7.js} +3 -3
  15. package/dist/{chunk-QTNO2WD6.js → chunk-7ZYW652H.js} +1 -1
  16. package/dist/{chunk-4PTSTDIG.js → chunk-AIZKXUNP.js} +2 -2
  17. package/dist/{chunk-P5C2YKAM.js → chunk-ANUDXFEX.js} +18 -27
  18. package/dist/{chunk-4BXJGVZ3.js → chunk-BC2C5GVI.js} +2 -69
  19. package/dist/chunk-BSK7ELHU.js +70 -0
  20. package/dist/chunk-CTD5ZCV6.js +28 -0
  21. package/dist/{chunk-5HCDZ2XN.js → chunk-DBFU47BJ.js} +2 -2
  22. package/dist/{chunk-OKNSR7MT.js → chunk-DIA7CT7J.js} +129 -150
  23. package/dist/chunk-EHP3WPEG.js +21 -0
  24. package/dist/{chunk-JQLR64UC.js → chunk-F6CYJ7TN.js} +21 -6
  25. package/dist/{chunk-BKDJN76G.js → chunk-FE5I6S6N.js} +1 -1
  26. package/dist/{chunk-5YQOIFT4.js → chunk-G4EJMQLD.js} +2 -2
  27. package/dist/{chunk-L6TPHWAU.js → chunk-HYBN4H3F.js} +60 -86
  28. package/dist/{chunk-QIWBCS7N.js → chunk-JGCWTCA7.js} +2 -2
  29. package/dist/{chunk-MDXR5E5Q.js → chunk-K5IOND4K.js} +2 -2
  30. package/dist/{chunk-4PE4ZAB7.js → chunk-KA6G2L7U.js} +5 -5
  31. package/dist/chunk-OHX6MIUZ.js +184 -0
  32. package/dist/{chunk-UDL46O35.js → chunk-OWGCOGKK.js} +155 -3
  33. package/dist/{chunk-QONOJO45.js → chunk-QK7ZQJLP.js} +140 -20
  34. package/dist/{chunk-3QW5NFZJ.js → chunk-QKM4U5UK.js} +3 -3
  35. package/dist/{chunk-7OXFMCTX.js → chunk-QYMAZRAU.js} +7 -7
  36. package/dist/{chunk-K3YSQDXJ.js → chunk-RCT7UX7B.js} +92 -75
  37. package/dist/{chunk-T4XPCJRF.js → chunk-TCFIPDB3.js} +1 -1
  38. package/dist/{chunk-ZZLPTHT5.js → chunk-UOZMSF4C.js} +15 -8
  39. package/dist/{chunk-7JDT4PBU.js → chunk-VAF6A3YD.js} +5 -179
  40. package/dist/{chunk-6DHBYBTO.js → chunk-VNQM3V2C.js} +1 -2
  41. package/dist/chunk-WGPXT2G2.js +22 -0
  42. package/dist/{chunk-6AAT2AYQ.js → chunk-WP4OZZV4.js} +2 -2
  43. package/dist/{chunk-OYMR5AMJ.js → chunk-XEOX6AM7.js} +2 -2
  44. package/dist/{chunk-MU3O43L2.js → chunk-YBC3IKMF.js} +2 -2
  45. package/dist/chunk-ZQ2PKR6R.js +40 -0
  46. package/dist/cli.d.ts +57 -31
  47. package/dist/cli.js +9 -7
  48. package/dist/codegen-command-FUT2KJB6.js +49 -0
  49. package/dist/codegen.d.ts +2 -1
  50. package/dist/{completion-A6BZ3XGU.js → completion-WF46272M.js} +2 -2
  51. package/dist/{config-NL33PN4D.js → config-476F3PT5.js} +1 -1
  52. package/dist/{deploy-command-5TTI4TUP.js → deploy-command-IP7V7GT4.js} +69 -100
  53. package/dist/{ephemeral-command-7TK52YQM.js → ephemeral-command-U4AQ3TXX.js} +25 -28
  54. package/dist/index.d.ts +6 -4
  55. package/dist/index.js +10 -9
  56. package/dist/init-command-NPVL32L6.js +34 -0
  57. package/dist/{onboard-command-EHOHKQQU.js → init-web-3JNFG6GI.js} +10 -10
  58. package/dist/internal.d.ts +4 -4
  59. package/dist/internal.js +86 -73
  60. package/dist/io-P2H75UV2.js +12 -0
  61. package/dist/{live-diff-QK4KC2FJ.js → live-diff-IXKBVG4K.js} +3 -3
  62. package/dist/{lock-GFXD6G2E.js → lock-46FWYE4D.js} +3 -2
  63. package/dist/{lock-commands-ET7NIOLH.js → lock-commands-ZZKZ4LZJ.js} +23 -21
  64. package/dist/{login-command-DFCURZLC.js → login-command-Z6CHTA57.js} +7 -7
  65. package/dist/{logout-command-WXVZQCAV.js → logout-command-ER6IKAYJ.js} +2 -2
  66. package/dist/{loop-7SAIGRCZ.js → loop-D5NPL4VH.js} +3 -3
  67. package/dist/{marketplace-command-BCOAAN2I.js → marketplace-command-P4IPLJ6J.js} +6 -6
  68. package/dist/{meta-client-57ZWVHST.js → meta-client-K2J4XH64.js} +6 -6
  69. package/dist/node.d.ts +5 -4
  70. package/dist/node.js +15 -13
  71. package/dist/{validate-command-SK5FPCV7.js → preflight-command-K346GPTY.js} +20 -18
  72. package/dist/{profile-command-QJAAUZIV.js → profile-command-LJSBDV2L.js} +5 -5
  73. package/dist/{release-command-4EXVLYV2.js → release-command-IMNTIVWK.js} +42 -38
  74. package/dist/response-BQVQ24l1.d.ts +844 -0
  75. package/dist/{routes-manifest-SP3ZXLMR.js → routes-manifest-PWZHDOI5.js} +2 -2
  76. package/dist/scaffold.js +2 -2
  77. package/dist/{static-host-D6KS7X45.js → static-host-3WMV7IZO.js} +1 -1
  78. package/dist/status-command-AL47VG7H.js +162 -0
  79. package/dist/{store-CUCBSYLj.d.ts → store-BLyNeQ8S.d.ts} +21 -8
  80. package/dist/{test-command-2F5LKMI6.js → test-command-YAZLKLGQ.js} +45 -28
  81. package/dist/{upgrade-command-QL523I62.js → upgrade-command-BN3EHAOI.js} +16 -14
  82. package/dist/{workspace-K72NP7SX.js → workspace-2COHDBM3.js} +1 -1
  83. package/dist/{workspace-command-HYA6JEKK.js → workspace-command-MNK7Y7MQ.js} +36 -34
  84. package/dist/{workspace-export-AJMGN3CQ.js → workspace-export-DURY5WYL.js} +2 -2
  85. package/dist/{response-CVAE2kMj.d.ts → xdo-BjJj5W_E.d.ts} +1 -837
  86. package/guides/README.md +2 -2
  87. package/guides/cli.md +17 -19
  88. package/guides/codegen.md +21 -5
  89. package/guides/coverage.md +1 -1
  90. package/guides/deploying.md +31 -34
  91. package/guides/environment.md +4 -4
  92. package/guides/object-kinds.md +3 -3
  93. package/guides/project-structure.md +1 -1
  94. package/guides/scaffold.md +25 -2
  95. package/guides/typed-frontend.md +2 -2
  96. package/llms/filters.md +11 -10
  97. package/llms/kinds-agent-mcp.md +1 -1
  98. package/llms/kinds-core.md +2 -2
  99. package/llms/kinds-realtime.md +1 -1
  100. package/llms/lock.md +5 -5
  101. package/llms/statements-data.md +3 -1
  102. package/llms/tests.md +1 -1
  103. package/llms/values.md +1 -1
  104. package/llms-full.txt +65 -63
  105. package/llms.txt +40 -41
  106. package/manifest.json +96 -427
  107. package/package.json +7 -2
  108. package/dist/chunk-3EYUR3TX.js +0 -100
  109. package/dist/chunk-JQJPFUZI.js +0 -118
  110. package/dist/chunk-YNZFIY4J.js +0 -78
  111. package/dist/codegen-command-YSCSCVT5.js +0 -43
  112. package/dist/env-target-4T7AT347.js +0 -16
  113. package/dist/init-command-OVFFW4QS.js +0 -30
  114. package/dist/io-M7XZEMK7.js +0 -11
  115. package/dist/sandbox-details-command-EDO56IY3.js +0 -18
  116. package/dist/sandbox-export-command-MO6DEZ7Z.js +0 -24
@@ -5,7 +5,7 @@ import {
5
5
  readCredential,
6
6
  resolveAuthFilePath,
7
7
  resolveScope
8
- } from "./chunk-BKDJN76G.js";
8
+ } from "./chunk-FE5I6S6N.js";
9
9
  import "./chunk-GNPVYOPB.js";
10
10
  import {
11
11
  detail,
@@ -65,4 +65,4 @@ async function runLogoutCommand(args) {
65
65
  export {
66
66
  runLogoutCommand
67
67
  };
68
- //# sourceMappingURL=logout-command-WXVZQCAV.js.map
68
+ //# sourceMappingURL=logout-command-ER6IKAYJ.js.map
@@ -3,10 +3,10 @@ import {
3
3
  indexByIdentity,
4
4
  kindIsRunnable,
5
5
  resolveMatch
6
- } from "./chunk-T4XPCJRF.js";
6
+ } from "./chunk-TCFIPDB3.js";
7
7
  import {
8
8
  normalize
9
- } from "./chunk-ZOYMZZ3S.js";
9
+ } from "./chunk-3INK4Y4E.js";
10
10
 
11
11
  // src/validate/loop.ts
12
12
  async function runValidateLoop(client, bundleText) {
@@ -90,4 +90,4 @@ export {
90
90
  runValidateLoop,
91
91
  runnableFunctionNames
92
92
  };
93
- //# sourceMappingURL=loop-7SAIGRCZ.js.map
93
+ //# sourceMappingURL=loop-D5NPL4VH.js.map
@@ -5,17 +5,17 @@ import {
5
5
  isMachineOutput,
6
6
  writeJson
7
7
  } from "./chunk-NUQCEOKA.js";
8
- import {
9
- runNpm
10
- } from "./chunk-ZSYZTGJH.js";
11
8
  import {
12
9
  serverMessage
13
10
  } from "./chunk-3IGNIP6R.js";
11
+ import {
12
+ runNpm
13
+ } from "./chunk-ZSYZTGJH.js";
14
14
  import {
15
15
  UsageError,
16
16
  indentBlock,
17
17
  missingArgument
18
- } from "./chunk-JQLR64UC.js";
18
+ } from "./chunk-F6CYJ7TN.js";
19
19
  import {
20
20
  blank,
21
21
  detail,
@@ -26,7 +26,7 @@ import {
26
26
  success,
27
27
  warn
28
28
  } from "./chunk-EZG76F7R.js";
29
- import "./chunk-OKNSR7MT.js";
29
+ import "./chunk-DIA7CT7J.js";
30
30
 
31
31
  // src/emit/marketplace-catalogue.ts
32
32
  var DEFAULT_BASE_URL = "https://xare-rvr8-mnnt.dev.xano.io";
@@ -362,4 +362,4 @@ export {
362
362
  runMarketplaceListCommand,
363
363
  runMarketplaceSearchCommand
364
364
  };
365
- //# sourceMappingURL=marketplace-command-BCOAAN2I.js.map
365
+ //# sourceMappingURL=marketplace-command-P4IPLJ6J.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  importWorkspaceArchive
3
- } from "./chunk-6AAT2AYQ.js";
3
+ } from "./chunk-WP4OZZV4.js";
4
4
  import {
5
5
  createEphemeral,
6
6
  deleteEphemeral,
7
7
  isEphemeralDisabled,
8
8
  waitUntilReady
9
- } from "./chunk-6DHBYBTO.js";
9
+ } from "./chunk-VNQM3V2C.js";
10
10
  import {
11
11
  decodeWorkspaceArchive,
12
12
  encodeWorkspaceArchive
@@ -72,13 +72,13 @@ var MetaClient = class {
72
72
  const auth = this.deployAuth(parentWorkspaceId);
73
73
  const env = await createEphemeral(auth, {
74
74
  parentWorkspaceId,
75
- display: "xanots-validate",
76
- description: "Disposable environment for `xanots validate`.",
75
+ display: "xanots-preflight",
76
+ description: "Disposable environment for `xanots preflight`.",
77
77
  expiresHours: ENV_EXPIRES_HOURS
78
78
  }).catch((err) => {
79
79
  if (!isEphemeralDisabled(err)) throw err;
80
80
  throw new Error(
81
- "Ephemeral environments are not enabled on this instance, so `xanots validate` has nowhere disposable to run. Ask whoever administers the instance to enable them, or deploy to the sandbox and exercise the endpoints there (`xanots deploy --dest sandbox`)."
81
+ "Ephemeral environments are not enabled on this instance, so `xanots preflight` has nowhere disposable to run. Ask whoever administers the instance to enable them \u2014 `xanots export` still writes the bundle without one."
82
82
  );
83
83
  });
84
84
  this.env = { parentWorkspaceId, name: env.name };
@@ -167,4 +167,4 @@ ${text}`);
167
167
  export {
168
168
  MetaClient
169
169
  };
170
- //# sourceMappingURL=meta-client-57ZWVHST.js.map
170
+ //# sourceMappingURL=meta-client-K2J4XH64.js.map
package/dist/node.d.ts CHANGED
@@ -1,8 +1,9 @@
1
- import { aZ as LambdaOptions, a_ as CaptureValue, a$ as LambdaSurface, b0 as CaptureRecord, b1 as LambdaBindings, F as FunctionDef, b2 as Xano, i as LockFile } from './store-CUCBSYLj.js';
2
- export { b3 as AddonDef, b4 as AddonXdo, A as AdoptChange, a as AdoptResult, b5 as AgentDef, b6 as AgentHandle, b7 as AgentOutput, b8 as AgentSettingsXdo, b9 as AgentXdo, ba as AmbientBindings, bb as AnthropicLlm, bc as ApiGroupDef, bd as ApiGroupXdo, be as AuthRef, bf as Authored, B as Bundle, b as BundlePayload, c as BundleType, bg as Capturable, bh as ChannelConversationDef, bi as ChannelDeliveryDef, bj as ChannelDeliveryGuarantee, bk as ChannelPublishDef, bl as ChannelPublishWho, bm as ChannelRateLimitDef, bn as ColumnDef, bo as Comparison, bp as ContainerEnv, bq as ContainerPort, br as ContainerResources, bs as ContainerVolume, bt as CorsConfig, bu as CorsMode, bv as DatabaseActions, bw as DatabaseInputs, bx as DbEval, by as DbEvalFilter, bz as DbWhere, bA as ErrorInputs, bB as ExceptionPolicy, bC as FieldAccessor, bD as FieldRule, bE as GoogleGenAiLlm, bF as HistoryInput, bG as HttpVerb, bH as IndexDef, bI as IndexLang, bJ as IndexOp, bK as IndexType, bL as IndexXdo, bM as InferRow, bN as InputDescriptor, bO as InputOptions, bP as IteratingBindings, bQ as KnowledgeDef, bR as KnowledgeDirSource, bS as KnowledgeFileSource, bT as KnowledgeMode, bU as KnowledgeType, bV as LAMBDA_BINDINGS, bW as LAMBDA_CODE_FILTERS, bX as LAMBDA_GLOBALS, bY as LAMBDA_MODULE_GLOBALS, bZ as LAMBDA_STATEMENTS, b_ as LambdaBody, b$ as LlmPrompt, c0 as LlmProvider, c1 as LlmSettings, g as LockEntry, h as LockExportContext, M as Manifest, j as ManifestField, k as ManifestKind, l as ManifestStatement, c2 as ManifestValue, c3 as McpPathOptions, c4 as McpServerDef, c5 as McpServerHandle, c6 as McpServerXdo, m as MergeResult, c7 as MessageDeliverTo, c8 as MicroserviceChart, c9 as MicroserviceConfig, ca as MicroserviceContainer, cb as MicroserviceDef, cc as MicroserviceDeployment, cd as MicroserviceIngress, ce as MicroserviceRegistryAuth, cf as MicroserviceVolume, cg as MicroserviceXdo, ch as MiddlewareAttach, ci as MiddlewareAttachEntry, cj as MiddlewareDef, ck as MiddlewareXdo, O as ObjectKind, cl as OpenAiLlm, n as PayloadArrayKey, cm as QueryDef, cn as QueryFilterName, co as QueryHandle, cp as QueryResponseType, cq as QueryXdo, cr as RealtimeActions, cs as RealtimeChannelActions, ct as RealtimeChannelDef, cu as RealtimeChannelHandle, cv as RealtimeChannelRef, cw as RealtimeChannelTriggerInputs, cx as RealtimeChannelXdo, cy as RealtimeClient, cz as RealtimeInputs, cA as RealtimeMessageDef, cB as RealtimeMessageXdo, cC as RealtimeServerActions, cD as RealtimeServerDef, cE as RealtimeServerHandle, cF as RealtimeServerRef, cG as RealtimeServerTriggerInputs, cH as RealtimeServerXdo, cI as RealtimeUrlOptions, R as RenameResult, cJ as ResultStrategy, cK as Route, cL as RowOf, cM as ScheduleDef, cN as SchemaCols, cO as SchemaDef, cP as SearchComparison, cQ as SearchGroup, cR as SearchNode, cS as SearchOp, cT as SearchParamValue, cU as SeedFileSource, cV as SeedRow, cW as SeedSource, cX as SortDir, cY as SortDirective, S as StatementSpec, cZ as TableDef, c_ as TableXdo, c$ as TaskDef, d0 as TaskXdo, d1 as ToolDef, d2 as ToolXdo, d3 as ToolsetBaseDef, d4 as ToolsetBaseXdo, d5 as ToolsetInputs, d6 as ToolsetToolEntry, d7 as ToolsetToolRef, d8 as TriggerDef, d9 as TriggerObjType, da as TriggerXdo, db as ViewDef, dc as ViewXdo, dd as WorkflowTestDef, de as WorkflowTestXdo, df as WorkspaceActions, dg as WorkspaceConfigDef, dh as WorkspaceConfigXdo, di as WorkspaceHistoryDef, dj as WorkspaceHistoryXdo, dk as WorkspaceInputs, dl as WorkspaceMiddlewareDef, dm as WorkspaceMiddlewareXdo, dn as XanoFreeLlm, dp as addon, dq as agent, dr as agentTrigger, ds as and, dt as apiGroup, du as assertLambdaBody, dv as bitwiseAnd, dw as bitwiseOr, dx as bitwiseXor, dy as cmp, dz as defineFunction, dA as emit, dB as emitBundle, dC as errorTrigger, dD as expr, dE as fl, dF as input, dG as knowledge, dH as knowledgeDir, dI as knowledgeFile, dJ as mathAdd, dK as mathDiv, dL as mathMul, dM as mathSub, dN as mcpServer, dO as mcpServerTrigger, dP as microservice, dQ as middleware, dR as mixed, dS as objectEntries, dT as objectKeys, dU as objectValues, dV as or, dW as query, dX as realtimeChannel, dY as realtimeChannelTrigger, dZ as realtimeMessage, d_ as realtimeServer, d$ as realtimeServerTrigger, e0 as realtimeTrigger, e1 as resetLockOverrides, e2 as seedFile, e3 as seedLockOverrides, e4 as table, e5 as tableTrigger, e6 as task, e7 as textAppend, e8 as textPrepend, e9 as toSearchParams, ea as tool, eb as workflowTest, ec as workspace, ed as workspaceConfig, ee as workspaceTrigger } from './store-CUCBSYLj.js';
1
+ import { aZ as LambdaOptions, a_ as CaptureValue, a$ as LambdaSurface, b0 as CaptureRecord, b1 as LambdaBindings, F as FunctionDef, b2 as Xano, i as LockFile } from './store-BLyNeQ8S.js';
2
+ export { b3 as AddonDef, b4 as AddonXdo, A as AdoptChange, a as AdoptResult, b5 as AgentDef, b6 as AgentHandle, b7 as AgentOutput, b8 as AgentSettingsXdo, b9 as AgentXdo, ba as AmbientBindings, bb as AnthropicLlm, bc as ApiGroupDef, bd as ApiGroupXdo, be as AuthRef, bf as Authored, B as Bundle, b as BundlePayload, c as BundleType, bg as Capturable, bh as ChannelConversationDef, bi as ChannelDeliveryDef, bj as ChannelDeliveryGuarantee, bk as ChannelPublishDef, bl as ChannelPublishWho, bm as ChannelRateLimitDef, bn as ColumnDef, bo as Comparison, bp as ContainerEnv, bq as ContainerPort, br as ContainerResources, bs as ContainerVolume, bt as CorsConfig, bu as CorsMode, bv as DatabaseActions, bw as DatabaseInputs, bx as DbEval, by as DbEvalFilter, bz as DbWhere, bA as ErrorInputs, bB as ExceptionPolicy, bC as FieldAccessor, bD as FieldRule, bE as GoogleGenAiLlm, bF as HistoryInput, bG as HttpVerb, bH as IndexDef, bI as IndexLang, bJ as IndexOp, bK as IndexType, bL as IndexXdo, bM as InferRow, bN as InputDescriptor, bO as InputOptions, bP as IteratingBindings, bQ as KnowledgeDef, bR as KnowledgeDirSource, bS as KnowledgeFileSource, bT as KnowledgeMode, bU as KnowledgeType, bV as LAMBDA_BINDINGS, bW as LAMBDA_CODE_FILTERS, bX as LAMBDA_GLOBALS, bY as LAMBDA_MODULE_GLOBALS, bZ as LAMBDA_STATEMENTS, b_ as LambdaBody, b$ as LlmPrompt, c0 as LlmProvider, c1 as LlmSettings, g as LockEntry, h as LockExportContext, M as Manifest, j as ManifestField, k as ManifestKind, l as ManifestStatement, c2 as ManifestValue, c3 as McpPathOptions, c4 as McpServerDef, c5 as McpServerHandle, c6 as McpServerXdo, m as MergeResult, c7 as MessageDeliverTo, c8 as MicroserviceChart, c9 as MicroserviceConfig, ca as MicroserviceContainer, cb as MicroserviceDef, cc as MicroserviceDeployment, cd as MicroserviceIngress, ce as MicroserviceRegistryAuth, cf as MicroserviceVolume, cg as MicroserviceXdo, ch as MiddlewareAttach, ci as MiddlewareAttachEntry, cj as MiddlewareDef, ck as MiddlewareXdo, O as ObjectKind, cl as OpenAiLlm, n as PayloadArrayKey, cm as QueryDef, cn as QueryFilterName, co as QueryHandle, cp as QueryResponseType, cq as QueryXdo, cr as RealtimeActions, cs as RealtimeChannelActions, ct as RealtimeChannelDef, cu as RealtimeChannelHandle, cv as RealtimeChannelRef, cw as RealtimeChannelTriggerInputs, cx as RealtimeChannelXdo, cy as RealtimeClient, cz as RealtimeInputs, cA as RealtimeMessageDef, cB as RealtimeMessageXdo, cC as RealtimeServerActions, cD as RealtimeServerDef, cE as RealtimeServerHandle, cF as RealtimeServerRef, cG as RealtimeServerTriggerInputs, cH as RealtimeServerXdo, cI as RealtimeUrlOptions, R as RenameResult, cJ as ResultStrategy, cK as Route, cL as RowOf, cM as ScheduleDef, cN as SchemaCols, cO as SchemaDef, cP as SearchComparison, cQ as SearchGroup, cR as SearchNode, cS as SearchOp, cT as SearchParamValue, cU as SeedFileSource, cV as SeedRow, cW as SeedSource, cX as SortDir, cY as SortDirective, S as StatementSpec, cZ as TableDef, c_ as TableXdo, c$ as TaskDef, d0 as TaskXdo, d1 as ToolDef, d2 as ToolXdo, d3 as ToolsetBaseDef, d4 as ToolsetBaseXdo, d5 as ToolsetInputs, d6 as ToolsetToolEntry, d7 as ToolsetToolRef, d8 as TriggerDef, d9 as TriggerObjType, da as TriggerXdo, db as ViewDef, dc as ViewXdo, dd as WorkflowTestDef, de as WorkflowTestXdo, df as WorkspaceActions, dg as WorkspaceConfigDef, dh as WorkspaceConfigXdo, di as WorkspaceHistoryDef, dj as WorkspaceHistoryXdo, dk as WorkspaceInputs, dl as WorkspaceMiddlewareDef, dm as WorkspaceMiddlewareXdo, dn as XanoFreeLlm, dp as addon, dq as agent, dr as agentTrigger, ds as and, dt as apiGroup, du as assertLambdaBody, dv as bitwiseAnd, dw as bitwiseOr, dx as bitwiseXor, dy as cmp, dz as defineFunction, dA as emit, dB as emitBundle, dC as errorTrigger, dD as expr, dE as fl, dF as input, dG as knowledge, dH as knowledgeDir, dI as knowledgeFile, dJ as mathAdd, dK as mathDiv, dL as mathMul, dM as mathSub, dN as mcpServer, dO as mcpServerTrigger, dP as microservice, dQ as middleware, dR as mixed, dS as objectEntries, dT as objectKeys, dU as objectValues, dV as or, dW as query, dX as realtimeChannel, dY as realtimeChannelTrigger, dZ as realtimeMessage, d_ as realtimeServer, d$ as realtimeServerTrigger, e0 as realtimeTrigger, e1 as resetLockOverrides, e2 as seedFile, e3 as seedLockOverrides, e4 as table, e5 as tableTrigger, e6 as task, e7 as textAppend, e8 as textPrepend, e9 as toSearchParams, ea as tool, eb as workflowTest, ec as workspace, ed as workspaceConfig, ee as workspaceTrigger } from './store-BLyNeQ8S.js';
3
3
  export { ActionCallArgs, AddonCallArgs, AddonSpec, AgentRunResult, AiAgentRunArgs, AnyAddonDef, AnyFunctionDef, AnyQueryDef, AnyTableDef, ApiCallArgs, ApplyFilter, ApplyFilters, ArrayMapArgs, CloudJobArgs, CloudJobAwaitArgs, CloudJobStatusArgs, CreateAuthTokenArgs, DbAddArgs, DbAddOrEditArgs, DbAggregate, DbAggregatePaging, DbBind, DbBulkAddArgs, DbBulkDeleteArgs, DbBulkWriteArgs, DbDelArgs, DbDirectQueryArgs, DbDistinct, DbEditArgs, DbExternal, DbExternalPermissions, DbExternalQueryArgs, DbField, DbGetArgs, DbHasArgs, DbJoin, DbPaging, DbPatchArgs, DbQueryArgs, DbResponseType, DbReturnType, DbSchemaArgs, DbTransactionArgs, DbTruncateArgs, ExpectToThrowArgs, ExternalSqlEngine, ForArgs, ForeachArgs, FunctionCallArgs, FunctionRunArgs, GetRawInputArgs, HeaderMap, HttpMethod, InferInput, InferResponse, IpLookupArgs, IpLookupResult, MiddlewareCallArgs, RealtimeEventArgs, StackTupleWidened, SwitchArgs, SwitchCaseArgs, TaskCallArgs, ToolCallArgs, TriggerCallArgs, TryCatchArgs, WhileArgs, WorkflowTestCallArgs, actionCall, actionPackageCall, addonCall, aiAgentRun, apiCall, arrayMap, arrayUnion, cloudJob, cloudJobAwait, cloudJobStatus, comment, compile, conditional, createAuthToken, dbAdd, dbAddOrEdit, dbBulkAdd, dbBulkDelete, dbBulkPatch, dbBulkUpdate, dbDel, dbDirectQuery, dbEdit, dbExternalQuery, dbGet, dbHas, dbPatch, dbQuery, dbSchema, dbTransaction, dbTruncate, debugLog, die, expectToThrow, fileUrl, forLoop, foreachBreak, foreachContinue, foreachLoop, foreachRemove, functionCall, functionRun, getRawInput, group, ignored, ipLookup, middlewareCall, postProcess, realtimeEvent, returnValue, s, setVar, switchCase, switchStatement, taskCall, toolCall, triggerCall, tryCatch, updateVar, whileLoop, workflowTestCall } from './index.js';
4
- import { V as Value } from './response-CVAE2kMj.js';
5
- export { B as BrandOpts, c as BrandValue, C as CacheXdo, f as CaughtField, h as ConditionalContext, j as ConditionalElifContext, D as DecimalMethod, E as EmailMethod, k as ExprGroup, l as ExprNode, m as ExprOperand, n as ExprStatement, o as FieldAccess, p as FieldDescriptor, q as FieldMap, s as FieldOpts, u as FieldStyleType, v as FieldXdo, w as FilterXdo, x as FilteredValue, y as FromFieldMap, F as FunctionXdo, H as HistoryXdo, I as InputXdo, z as IntMethod, L as ListBoundsXdo, M as MethodArg, A as MethodOpts, G as MethodSpec, J as MethodXdo, K as MockEntry, N as MockMap, O as MockXdo, P as ObjInput, Q as ObjMember, S as ObjValue, T as ObjectRef, U as PasswordMethod, W as PersistedFunctionRow, X as RefValue, Y as RegexValue, Z as ResponseDef, _ as ResultItemXdo, $ as RowFromFieldMap, a0 as StackItemXdo, a1 as Statement, a2 as StatementAnnotations, a3 as StatementInputXdo, a4 as StatementOptions, a5 as TAGS, a6 as TEST_EXPECT_TYPES, a7 as TableRefMethod, a8 as Tag, a9 as TaggedValue, aa as TestDef, ab as TestExpect, ac as TestExpectType, ad as TestXdo, ae as TextFormat, af as TextMethod, ag as TypeBrand, ah as ValueOf, ai as VectorMethod, aj as XanoFileRef, ak as XanoGeoPosition, al as XanoGeoValue, am as annotate, an as auth, ao as c, ap as caught, aq as col, ar as env, as as expect, at as f, au as filter, av as inp, aw as obj, ax as out, ay as ref, az as resp, aA as setting, aB as statements, aC as sys, aD as test, aE as toolset, aF as withFilters } from './response-CVAE2kMj.js';
4
+ export { B as BrandOpts, b as BrandValue, D as DecimalMethod, E as EmailMethod, c as FieldAccess, f as FieldDescriptor, h as FieldMap, j as FieldOpts, k as FieldStyleType, l as FromFieldMap, I as IntMethod, M as MethodArg, m as MethodOpts, n as MethodSpec, o as MockEntry, p as MockMap, q as MockXdo, O as ObjInput, s as ObjMember, u as ObjValue, v as ObjectRef, P as PasswordMethod, w as ResponseDef, x as RowFromFieldMap, S as Statement, y as StatementAnnotations, z as StatementOptions, T as TableRefMethod, A as TextFormat, C as TextMethod, G as TypeBrand, V as ValueOf, H as VectorMethod, X as XanoFileRef, J as XanoGeoPosition, K as XanoGeoValue, L as annotate, N as f, Q as obj, U as statements } from './response-BQVQ24l1.js';
5
+ import { V as Value } from './xdo-BjJj5W_E.js';
6
+ export { C as CacheXdo, a as CaughtField, b as ConditionalContext, c as ConditionalElifContext, E as ExprGroup, d as ExprNode, e as ExprOperand, f as ExprStatement, g as FieldXdo, h as FilterXdo, i as FilteredValue, F as FunctionXdo, H as HistoryXdo, I as InputXdo, L as ListBoundsXdo, M as MethodXdo, P as PersistedFunctionRow, R as RefValue, j as RegexValue, k as ResultItemXdo, S as StackItemXdo, l as StatementInputXdo, T as TAGS, m as TEST_EXPECT_TYPES, n as Tag, o as TaggedValue, p as TestDef, q as TestExpect, r as TestExpectType, s as TestXdo, t as auth, u as c, v as caught, w as col, x as env, y as expect, z as filter, A as inp, B as out, D as ref, G as resp, J as setting, K as sys, N as test, O as toolset, Q as withFilters } from './xdo-BjJj5W_E.js';
6
7
  export { exportBundleJson, loadDefault, parseArgs, run } from './cli.js';
7
8
 
8
9
  /**
package/dist/node.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  TEST_EXPECT_TYPES,
7
7
  expect
8
- } from "./chunk-5YQOIFT4.js";
8
+ } from "./chunk-G4EJMQLD.js";
9
9
  import {
10
10
  addon,
11
11
  agent,
@@ -17,7 +17,7 @@ import {
17
17
  task,
18
18
  tool,
19
19
  workflowTest
20
- } from "./chunk-7OXFMCTX.js";
20
+ } from "./chunk-QYMAZRAU.js";
21
21
  import {
22
22
  actionCall,
23
23
  actionPackageCall,
@@ -100,7 +100,7 @@ import {
100
100
  workflowTestCall,
101
101
  workspaceConfig,
102
102
  workspaceTrigger
103
- } from "./chunk-ZZLPTHT5.js";
103
+ } from "./chunk-UOZMSF4C.js";
104
104
  import {
105
105
  exportBundleJson,
106
106
  loadDefault,
@@ -108,19 +108,20 @@ import {
108
108
  run,
109
109
  writeArtifact,
110
110
  writeBundle
111
- } from "./chunk-K3YSQDXJ.js";
112
- import "./chunk-JQLR64UC.js";
111
+ } from "./chunk-RCT7UX7B.js";
112
+ import "./chunk-CTD5ZCV6.js";
113
113
  import {
114
114
  readLockFile,
115
115
  writeLockFile
116
- } from "./chunk-OYMR5AMJ.js";
116
+ } from "./chunk-XEOX6AM7.js";
117
+ import "./chunk-F6CYJ7TN.js";
117
118
  import "./chunk-GNPVYOPB.js";
118
119
  import "./chunk-EZG76F7R.js";
119
120
  import {
120
121
  Xano,
121
122
  workspace
122
- } from "./chunk-UDL46O35.js";
123
- import "./chunk-OKNSR7MT.js";
123
+ } from "./chunk-OWGCOGKK.js";
124
+ import "./chunk-DIA7CT7J.js";
124
125
  import {
125
126
  LAMBDA_BINDINGS,
126
127
  LAMBDA_CODE_FILTERS,
@@ -167,16 +168,17 @@ import {
167
168
  toSearchParams,
168
169
  toolset,
169
170
  withFilters
170
- } from "./chunk-QONOJO45.js";
171
+ } from "./chunk-QK7ZQJLP.js";
171
172
  import "./chunk-WHOJWOSV.js";
173
+ import {
174
+ resetLockOverrides,
175
+ seedLockOverrides
176
+ } from "./chunk-VAF6A3YD.js";
172
177
  import {
173
178
  annotate,
174
179
  statements
175
180
  } from "./chunk-5XZ744TS.js";
176
- import {
177
- resetLockOverrides,
178
- seedLockOverrides
179
- } from "./chunk-7JDT4PBU.js";
181
+ import "./chunk-OHX6MIUZ.js";
180
182
 
181
183
  // src/values/lambda-file.ts
182
184
  import { readFileSync } from "fs";
@@ -1,10 +1,11 @@
1
1
  import {
2
2
  assertBundleInput,
3
3
  loadBundleText
4
- } from "./chunk-KSV7VOEX.js";
5
- import "./chunk-K3YSQDXJ.js";
6
- import "./chunk-JQLR64UC.js";
7
- import "./chunk-OYMR5AMJ.js";
4
+ } from "./chunk-4Q7ZOHH7.js";
5
+ import "./chunk-RCT7UX7B.js";
6
+ import "./chunk-CTD5ZCV6.js";
7
+ import "./chunk-XEOX6AM7.js";
8
+ import "./chunk-F6CYJ7TN.js";
8
9
  import "./chunk-GNPVYOPB.js";
9
10
  import {
10
11
  blank,
@@ -14,24 +15,25 @@ import {
14
15
  success,
15
16
  warn
16
17
  } from "./chunk-EZG76F7R.js";
17
- import "./chunk-UDL46O35.js";
18
- import "./chunk-OKNSR7MT.js";
19
- import "./chunk-QONOJO45.js";
18
+ import "./chunk-OWGCOGKK.js";
19
+ import "./chunk-DIA7CT7J.js";
20
+ import "./chunk-QK7ZQJLP.js";
20
21
  import "./chunk-WHOJWOSV.js";
22
+ import "./chunk-VAF6A3YD.js";
21
23
  import "./chunk-5XZ744TS.js";
22
- import "./chunk-7JDT4PBU.js";
24
+ import "./chunk-OHX6MIUZ.js";
23
25
 
24
- // src/emit/validate-command.ts
26
+ // src/emit/preflight-command.ts
25
27
  var EXIT_VALIDATION_FAILED = 2;
26
- async function runValidateCommand(args) {
27
- assertBundleInput(args, { command: "validate" });
28
- const { resolveValidateConfig, verifyToken } = await import("./config-NL33PN4D.js");
29
- const { MetaClient } = await import("./meta-client-57ZWVHST.js");
28
+ async function runPreflightCommand(args) {
29
+ assertBundleInput(args, { command: "preflight" });
30
+ const { resolveValidateConfig, verifyToken } = await import("./config-476F3PT5.js");
31
+ const { MetaClient } = await import("./meta-client-K2J4XH64.js");
30
32
  const config = resolveValidateConfig({ instance: args.instance });
31
33
  const who = await verifyToken(config);
32
34
  const host = new URL(config.instance).host;
33
35
  step(`Validating against ${host}${who.name ? ` (as ${who.name})` : ""}`);
34
- const { bundle } = await loadBundleText(args, { command: "validate" });
36
+ const { bundle } = await loadBundleText(args, { command: "preflight" });
35
37
  const client = new MetaClient(config);
36
38
  try {
37
39
  await validateWithClient(args, client, bundle);
@@ -44,7 +46,7 @@ async function runValidateCommand(args) {
44
46
  }
45
47
  }
46
48
  async function validateWithClient(args, client, bundle) {
47
- const { runValidateLoop, runnableFunctionNames } = await import("./loop-7SAIGRCZ.js");
49
+ const { runValidateLoop, runnableFunctionNames } = await import("./loop-D5NPL4VH.js");
48
50
  const result = await runValidateLoop(client, bundle);
49
51
  if (!result.accepted) {
50
52
  warn("Import rejected by the engine:");
@@ -95,7 +97,7 @@ async function validateWithClient(args, client, bundle) {
95
97
  }
96
98
  }
97
99
  if (args.capture) {
98
- const { captureFixtures } = await import("./capture-7PO6SGB4.js");
100
+ const { captureFixtures } = await import("./capture-4WVJY4DQ.js");
99
101
  const written = captureFixtures(result.roundTrip, args.out);
100
102
  if (written.length === 0) warn("nothing to capture (no objects round-tripped)");
101
103
  for (const w of written) detail(`captured ${w.name} \u2192 ${w.path}`);
@@ -117,6 +119,6 @@ function fmt(v) {
117
119
  }
118
120
  }
119
121
  export {
120
- runValidateCommand
122
+ runPreflightCommand
121
123
  };
122
- //# sourceMappingURL=validate-command-SK5FPCV7.js.map
124
+ //# sourceMappingURL=preflight-command-K346GPTY.js.map
@@ -1,11 +1,11 @@
1
- import {
2
- getAccessToken
3
- } from "./chunk-3QW5NFZJ.js";
4
- import "./chunk-BKDJN76G.js";
5
1
  import {
6
2
  isMachineOutput,
7
3
  writeJson
8
4
  } from "./chunk-NUQCEOKA.js";
5
+ import {
6
+ getAccessToken
7
+ } from "./chunk-QKM4U5UK.js";
8
+ import "./chunk-FE5I6S6N.js";
9
9
  import {
10
10
  fetchOrExplain,
11
11
  httpFailure
@@ -74,4 +74,4 @@ export {
74
74
  fetchProfile,
75
75
  runProfileCommand
76
76
  };
77
- //# sourceMappingURL=profile-command-QJAAUZIV.js.map
77
+ //# sourceMappingURL=profile-command-LJSBDV2L.js.map
@@ -2,14 +2,14 @@ import {
2
2
  assertBranchTargetHonored,
3
3
  importWorkspaceArchive,
4
4
  planWorkspaceImport
5
- } from "./chunk-6AAT2AYQ.js";
5
+ } from "./chunk-WP4OZZV4.js";
6
6
  import {
7
7
  assertBundleInput,
8
8
  loadBundleText
9
- } from "./chunk-KSV7VOEX.js";
9
+ } from "./chunk-4Q7ZOHH7.js";
10
10
  import {
11
11
  sharedSchemaChanges
12
- } from "./chunk-5HCDZ2XN.js";
12
+ } from "./chunk-DBFU47BJ.js";
13
13
  import {
14
14
  assertBranchAbsent,
15
15
  assertUsableBranchLabel,
@@ -18,33 +18,35 @@ import {
18
18
  liveBranchLabel,
19
19
  setLiveBranch
20
20
  } from "./chunk-EQW3YT5U.js";
21
- import "./chunk-ZOYMZZ3S.js";
22
21
  import {
23
22
  confirm
24
- } from "./chunk-4PTSTDIG.js";
23
+ } from "./chunk-AIZKXUNP.js";
24
+ import {
25
+ isMachineOutput,
26
+ writeJson
27
+ } from "./chunk-NUQCEOKA.js";
25
28
  import {
26
29
  getAccessToken
27
- } from "./chunk-3QW5NFZJ.js";
28
- import "./chunk-BKDJN76G.js";
30
+ } from "./chunk-QKM4U5UK.js";
31
+ import "./chunk-FE5I6S6N.js";
29
32
  import {
30
33
  encodeWorkspaceArchive
31
34
  } from "./chunk-ZUTSMMAG.js";
32
35
  import "./chunk-X4DVXBFY.js";
33
- import {
34
- isMachineOutput,
35
- writeJson
36
- } from "./chunk-NUQCEOKA.js";
37
36
  import "./chunk-3IGNIP6R.js";
37
+ import "./chunk-3INK4Y4E.js";
38
38
  import {
39
39
  resolveLockPath
40
- } from "./chunk-K3YSQDXJ.js";
41
- import {
42
- UsageError,
43
- assertWritableDest
44
- } from "./chunk-JQLR64UC.js";
40
+ } from "./chunk-RCT7UX7B.js";
41
+ import "./chunk-CTD5ZCV6.js";
45
42
  import {
46
43
  readLockFile
47
- } from "./chunk-OYMR5AMJ.js";
44
+ } from "./chunk-XEOX6AM7.js";
45
+ import {
46
+ UsageError,
47
+ assertNoEnv,
48
+ assertNoForce
49
+ } from "./chunk-F6CYJ7TN.js";
48
50
  import "./chunk-GNPVYOPB.js";
49
51
  import {
50
52
  blank,
@@ -55,15 +57,16 @@ import {
55
57
  success,
56
58
  warn
57
59
  } from "./chunk-EZG76F7R.js";
58
- import "./chunk-UDL46O35.js";
59
- import "./chunk-OKNSR7MT.js";
60
- import "./chunk-QONOJO45.js";
60
+ import "./chunk-OWGCOGKK.js";
61
+ import "./chunk-DIA7CT7J.js";
62
+ import "./chunk-QK7ZQJLP.js";
61
63
  import "./chunk-WHOJWOSV.js";
62
- import "./chunk-5XZ744TS.js";
63
64
  import {
64
65
  REFERENCEABLE_KIND_PAYLOAD_KEYS,
65
66
  lockKey
66
- } from "./chunk-7JDT4PBU.js";
67
+ } from "./chunk-VAF6A3YD.js";
68
+ import "./chunk-5XZ744TS.js";
69
+ import "./chunk-OHX6MIUZ.js";
67
70
 
68
71
  // src/emit/release-command.ts
69
72
  import { existsSync } from "fs";
@@ -206,7 +209,7 @@ async function reconcileLockAfterReplace(args, auth, workspaceId) {
206
209
  blank();
207
210
  warn("`--replace` rebuilt this workspace with new object identities.");
208
211
  detail("Nothing pins them, so the next release will match nothing and create a duplicate of every object.");
209
- detail("Run `xanots lock adopt` against this workspace, and commit the lock.");
212
+ detail("Run `xanots lock import` against this workspace, and commit the lock.");
210
213
  return;
211
214
  }
212
215
  const live = await readLiveWorkspace(auth, workspaceId);
@@ -214,12 +217,12 @@ async function reconcileLockAfterReplace(args, auth, workspaceId) {
214
217
  blank();
215
218
  warn(`\`--replace\` minted new object identities and ${lockPath} still names the old ones.`);
216
219
  detail("The target could not be re-read to update it, so the next release would match nothing.");
217
- detail(`Run \`xanots lock adopt\` against this workspace before releasing again.`);
220
+ detail(`Run \`xanots lock import\` against this workspace before releasing again.`);
218
221
  return;
219
222
  }
220
223
  try {
221
- const { adoptFromBundle } = await import("./lock-GFXD6G2E.js");
222
- const { readLockFile: readLockFile2, writeLockFile } = await import("./io-M7XZEMK7.js");
224
+ const { adoptFromBundle } = await import("./lock-46FWYE4D.js");
225
+ const { readLockFile: readLockFile2, writeLockFile } = await import("./io-P2H75UV2.js");
223
226
  const { lock, added, changed } = adoptFromBundle(readLockFile2(lockPath), live, lockPath);
224
227
  writeLockFile(lockPath, lock);
225
228
  const touched = added.length + changed.length;
@@ -230,12 +233,12 @@ async function reconcileLockAfterReplace(args, auth, workspaceId) {
230
233
  } catch (err) {
231
234
  blank();
232
235
  warn(`Could not update ${lockPath} after the replace: ${err instanceof Error ? err.message : String(err)}`);
233
- detail("It still names the identities the replace destroyed. Run `xanots lock adopt` before releasing again.");
236
+ detail("It still names the identities the replace destroyed. Run `xanots lock import` before releasing again.");
234
237
  }
235
238
  }
236
239
  async function readLiveWorkspace(auth, workspaceId) {
237
240
  try {
238
- const { exportWorkspaceBundle } = await import("./workspace-export-AJMGN3CQ.js");
241
+ const { exportWorkspaceBundle } = await import("./workspace-export-DURY5WYL.js");
239
242
  return await exportWorkspaceBundle(auth, {
240
243
  base: auth.instance,
241
244
  workspaceId,
@@ -257,7 +260,7 @@ function targetIsEmpty(live) {
257
260
  async function convergedWithLive(live, req, outgoingBundle) {
258
261
  if (live === void 0 || req.mode !== "merge") return false;
259
262
  if (req.records === true || req.truncate === true) return false;
260
- const { compareToLive } = await import("./live-diff-QK4KC2FJ.js");
263
+ const { compareToLive } = await import("./live-diff-IXKBVG4K.js");
261
264
  let result;
262
265
  try {
263
266
  result = compareToLive(JSON.parse(outgoingBundle), live);
@@ -274,7 +277,7 @@ async function warnAboutLiveLosses(live, req, outgoingBundle) {
274
277
  warn("Could not read the target workspace, so this plan does not account for dropped columns or env that will not update.");
275
278
  return { droppedColumns: 0, unchangedEnv: [] };
276
279
  }
277
- const { diffAgainstLive } = await import("./live-diff-QK4KC2FJ.js");
280
+ const { diffAgainstLive } = await import("./live-diff-IXKBVG4K.js");
278
281
  let diff;
279
282
  try {
280
283
  diff = diffAgainstLive(JSON.parse(outgoingBundle), live, { mode: req.mode });
@@ -331,7 +334,7 @@ ${lines.join("\n")}
331
334
 
332
335
  \`--prune\` is documented as deleting objects your project no longer defines, but the endpoint deletes everything absent from the bundle \u2014 including objects that predate the project. Dropping a populated table is not recoverable.
333
336
  ` + (owned.length > 0 ? `The ${owned.length} deletion${owned.length === 1 ? "" : "s"} this project does own would have been correct.
334
- ` : "") + `To delete the objects above anyway, adopt them into the project first (\`xanots lock adopt\`) so they are yours to remove. To keep them, drop \`--prune\`.`,
337
+ ` : "") + `To delete the objects above anyway, adopt them into the project first (\`xanots lock import\`) so they are yours to remove. To keep them, drop \`--prune\`.`,
335
338
  { helpFor: { command: "release" } }
336
339
  );
337
340
  }
@@ -433,7 +436,8 @@ function reportBranchCaveats(branch, setLive, changed) {
433
436
  }
434
437
  }
435
438
  async function runReleaseCommand(args) {
436
- assertWritableDest(args.dest, "release");
439
+ assertNoEnv(args.env, "release");
440
+ assertNoForce(args.force, "release");
437
441
  const req = resolveRequest(args);
438
442
  assertBundleInput(args, { command: "release" });
439
443
  const auth = await getAccessToken(args);
@@ -443,7 +447,7 @@ async function runReleaseCommand(args) {
443
447
  { withSeed: req.records === true }
444
448
  );
445
449
  if (args.static !== void 0) {
446
- const { assertNoSeedLeaks } = await import("./deploy-command-5TTI4TUP.js");
450
+ const { assertNoSeedLeaks } = await import("./deploy-command-IP7V7GT4.js");
447
451
  await assertNoSeedLeaks(args.static, nonPublicSeedValues, args.allowSeedInStatic);
448
452
  }
449
453
  const workspaceId = auth.workspaceId;
@@ -476,7 +480,7 @@ async function runReleaseCommand(args) {
476
480
  if (upToDate) {
477
481
  success(`Workspace #${workspaceId} is already up to date \u2014 no import sent.`);
478
482
  } else {
479
- if ((isDestructive(req) || losses.droppedColumns > 0) && !args.yes && !args.force) {
483
+ if ((isDestructive(req) || losses.droppedColumns > 0) && !args.yes) {
480
484
  const ok = await confirm(`Apply this plan to workspace #${workspaceId}?`, {
481
485
  flag: "--yes",
482
486
  helpFor: { command: "release" }
@@ -532,7 +536,7 @@ Retry, or drop \`--backup-branch\` to release without one.`,
532
536
  if (previous !== void 0) {
533
537
  detail(`The runtime stops serving "${previous}" and starts serving "${req.branch}".`);
534
538
  }
535
- if (!args.yes && !args.force && !await confirm(`Make "${req.branch}" the live branch?`, {
539
+ if (!args.yes && !await confirm(`Make "${req.branch}" the live branch?`, {
536
540
  flag: "--yes",
537
541
  helpFor: { command: "release" }
538
542
  })) {
@@ -585,7 +589,7 @@ Retry, or drop \`--backup-branch\` to release without one.`,
585
589
  ...backupLabel !== void 0 ? { backupBranch: backupLabel } : {}
586
590
  };
587
591
  if (args.static !== void 0) {
588
- const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-5TTI4TUP.js");
592
+ const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-IP7V7GT4.js");
589
593
  const env = buildStaticEnv(auth.instance, args.staticEnv);
590
594
  const explicit = Object.keys(args.staticEnv).length > 0;
591
595
  summary.static = await deployStaticTo(
@@ -595,7 +599,7 @@ Retry, or drop \`--backup-branch\` to release without one.`,
595
599
  env,
596
600
  explicit,
597
601
  args.staticHost,
598
- args.noVerify,
602
+ args.skipLiveness,
599
603
  args.staticRouting
600
604
  );
601
605
  }
@@ -604,4 +608,4 @@ Retry, or drop \`--backup-branch\` to release without one.`,
604
608
  export {
605
609
  runReleaseCommand
606
610
  };
607
- //# sourceMappingURL=release-command-4EXVLYV2.js.map
611
+ //# sourceMappingURL=release-command-IMNTIVWK.js.map