@xanots/sdk 0.0.10 → 0.0.12

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 (102) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +48 -5
  3. package/dist/.build-fingerprint +1 -1
  4. package/dist/{agent-file-refresh-QNKN5RYD.js → agent-file-refresh-GQWAAOBV.js} +4 -4
  5. package/dist/bin.js +12 -11
  6. package/dist/{branch-commands-2BLOC2GR.js → branch-commands-5KMPAAZV.js} +7 -7
  7. package/dist/bundle.d.ts +218 -0
  8. package/dist/bundle.js +143 -0
  9. package/dist/{capture-4WVJY4DQ.js → capture-YLUVAITI.js} +2 -2
  10. package/dist/chunk-2VTJSI6X.js +192 -0
  11. package/dist/{chunk-5XZ744TS.js → chunk-2ZCUO2UG.js} +1 -1
  12. package/dist/{chunk-OYMR5AMJ.js → chunk-3LQGF2WS.js} +2 -2
  13. package/dist/{chunk-WP4OZZV4.js → chunk-3VFCKHOB.js} +2 -2
  14. package/dist/{chunk-XHEXOES3.js → chunk-5YDINUAP.js} +1 -1
  15. package/dist/{chunk-LU7TRWMC.js → chunk-6VNRMKFJ.js} +2 -2
  16. package/dist/{chunk-CTD5ZCV6.js → chunk-7WRJPKGK.js} +2 -2
  17. package/dist/{chunk-3INK4Y4E.js → chunk-AE3PDSDS.js} +1 -1
  18. package/dist/{chunk-5YCQ2QHH.js → chunk-AG5GCZDD.js} +2 -2
  19. package/dist/{chunk-DBFU47BJ.js → chunk-AOFFKSJC.js} +2 -2
  20. package/dist/{chunk-TCFIPDB3.js → chunk-AVGDL6RB.js} +1 -1
  21. package/dist/{chunk-4BXJGVZ3.js → chunk-DCMANKMX.js} +2 -69
  22. package/dist/{chunk-WHOJWOSV.js → chunk-EETVJZAZ.js} +1 -1
  23. package/dist/chunk-EHP3WPEG.js +21 -0
  24. package/dist/{chunk-W24FJHPD.js → chunk-ELK7UALJ.js} +3 -3
  25. package/dist/{chunk-VNQM3V2C.js → chunk-EXENFOWE.js} +2 -2
  26. package/dist/{chunk-P6TAVLOX.js → chunk-GSP2BY4F.js} +17 -10
  27. package/dist/{chunk-AIZKXUNP.js → chunk-IMLYGQK6.js} +2 -2
  28. package/dist/{chunk-LBYWGMOA.js → chunk-N74KDCBD.js} +176 -42
  29. package/dist/{chunk-3IGNIP6R.js → chunk-NDP7OUPS.js} +1 -1
  30. package/dist/chunk-OHX6MIUZ.js +184 -0
  31. package/dist/{chunk-EQW3YT5U.js → chunk-P6PVBQL6.js} +2 -2
  32. package/dist/{chunk-I7DQDJAM.js → chunk-PLE5QQOZ.js} +55 -56
  33. package/dist/chunk-PR7OXHGZ.js +70 -0
  34. package/dist/{chunk-VKSOTZK3.js → chunk-QYSQ3UDO.js} +160 -8
  35. package/dist/{chunk-ZQ2PKR6R.js → chunk-RQ3FXV4K.js} +2 -2
  36. package/dist/{chunk-Q77KNEUL.js → chunk-RQNMTDXD.js} +1703 -2
  37. package/dist/{chunk-QKM4U5UK.js → chunk-TJS2AF5Y.js} +2 -2
  38. package/dist/{chunk-DIA7CT7J.js → chunk-V5Y7D4LH.js} +11 -2
  39. package/dist/{chunk-KA6G2L7U.js → chunk-VK26K7AY.js} +3 -3
  40. package/dist/{chunk-YYFXVYPX.js → chunk-VPAWRBK5.js} +12 -16
  41. package/dist/{chunk-5R73LFWK.js → chunk-VRNZ2NVV.js} +7 -7
  42. package/dist/{chunk-ACCBOMCB.js → chunk-XT3XQ4PF.js} +32 -27
  43. package/dist/{chunk-7JDT4PBU.js → chunk-XWFRNJMQ.js} +5 -179
  44. package/dist/{chunk-7ZYW652H.js → chunk-YHS6VVLJ.js} +2 -2
  45. package/dist/{chunk-75Z74TA7.js → chunk-YX22LKQE.js} +2 -2
  46. package/dist/{chunk-F6CYJ7TN.js → chunk-Z2ZIE5CO.js} +2 -2
  47. package/dist/cli.d.ts +13 -6
  48. package/dist/cli.js +11 -10
  49. package/dist/codegen-command-Y2SPMAUW.js +47 -0
  50. package/dist/codegen.d.ts +5 -4
  51. package/dist/codegen.js +2 -2
  52. package/dist/{completion-WF46272M.js → completion-HJU5QEFB.js} +2 -2
  53. package/dist/{deploy-command-QTIVA22A.js → deploy-command-XHS5PKPV.js} +20 -19
  54. package/dist/{ephemeral-command-U4AQ3TXX.js → ephemeral-command-2NKPEXUU.js} +8 -8
  55. package/dist/index.d.ts +88 -102
  56. package/dist/index.js +13 -12
  57. package/dist/init-command-23FFNUFT.js +32 -0
  58. package/dist/internal.d.ts +10 -16
  59. package/dist/internal.js +76 -54
  60. package/dist/io-UBDMMDH6.js +12 -0
  61. package/dist/{live-diff-IXKBVG4K.js → live-diff-HCOTN5WC.js} +3 -3
  62. package/dist/{lock-GFXD6G2E.js → lock-HQ4KARU2.js} +3 -2
  63. package/dist/{lock-commands-DQ7CUMIV.js → lock-commands-WCRC56ME.js} +12 -11
  64. package/dist/{login-command-Z6CHTA57.js → login-command-P7LXD5TE.js} +6 -6
  65. package/dist/{loop-D5NPL4VH.js → loop-IC5ISSYB.js} +3 -3
  66. package/dist/{marketplace-command-P4IPLJ6J.js → marketplace-command-T6JCHW7J.js} +4 -4
  67. package/dist/{meta-client-K2J4XH64.js → meta-client-LKRKR3L2.js} +4 -4
  68. package/dist/node.d.ts +6 -5
  69. package/dist/node.js +18 -17
  70. package/dist/{preflight-command-GZ2GE5RN.js → preflight-command-TZWPHBXY.js} +17 -16
  71. package/dist/{profile-command-LJSBDV2L.js → profile-command-WBNSMQSI.js} +3 -3
  72. package/dist/{release-command-YUBTNHVX.js → release-command-WEFYRTCI.js} +27 -26
  73. package/dist/response-D6xGLEIn.d.ts +839 -0
  74. package/dist/{routes-manifest-PWZHDOI5.js → routes-manifest-5ZFKUQWA.js} +2 -2
  75. package/dist/{runtime-V4C3AC3A.js → runtime-LSLIDALK.js} +1 -1
  76. package/dist/scaffold.d.ts +16 -8
  77. package/dist/scaffold.js +7 -11
  78. package/dist/{static-host-3WMV7IZO.js → static-host-4JDQCHUW.js} +1 -1
  79. package/dist/{status-command-AL47VG7H.js → status-command-VARULAR5.js} +4 -4
  80. package/dist/{store-BG1UPZ3Z.d.ts → store-DAnUIi1T.d.ts} +95 -87
  81. package/dist/{test-command-YAZLKLGQ.js → test-command-YCAR4O35.js} +7 -7
  82. package/dist/{upgrade-command-FB5QJ363.js → upgrade-command-GYEIMJBG.js} +16 -16
  83. package/dist/{workspace-2COHDBM3.js → workspace-33KHFLX3.js} +2 -2
  84. package/dist/{workspace-command-43P42FBP.js → workspace-command-2ZTGT26W.js} +28 -27
  85. package/dist/{workspace-export-DURY5WYL.js → workspace-export-MLYTYZS5.js} +3 -3
  86. package/dist/{response-CVAE2kMj.d.ts → xdo-ODuJklk6.d.ts} +28 -860
  87. package/guides/authoring.md +11 -2
  88. package/guides/typed-frontend.md +5 -5
  89. package/llms/filters.md +11 -10
  90. package/llms/kinds-core.md +1 -1
  91. package/llms/statements-data.md +6 -3
  92. package/llms/values.md +1 -1
  93. package/llms-full.txt +53 -42
  94. package/llms.txt +34 -27
  95. package/manifest.json +6 -2
  96. package/package.json +7 -2
  97. package/dist/chunk-ANUDXFEX.js +0 -881
  98. package/dist/chunk-JGCWTCA7.js +0 -95
  99. package/dist/chunk-YBC3IKMF.js +0 -845
  100. package/dist/codegen-command-GB3H2KQ7.js +0 -46
  101. package/dist/init-command-MAXULNAD.js +0 -33
  102. package/dist/io-M7XZEMK7.js +0 -11
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-NUQCEOKA.js";
8
8
  import {
9
9
  serverMessage
10
- } from "./chunk-3IGNIP6R.js";
10
+ } from "./chunk-NDP7OUPS.js";
11
11
  import {
12
12
  runNpm
13
13
  } from "./chunk-ZSYZTGJH.js";
@@ -15,7 +15,7 @@ import {
15
15
  UsageError,
16
16
  indentBlock,
17
17
  missingArgument
18
- } from "./chunk-F6CYJ7TN.js";
18
+ } from "./chunk-Z2ZIE5CO.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-DIA7CT7J.js";
29
+ import "./chunk-V5Y7D4LH.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-P4IPLJ6J.js.map
365
+ //# sourceMappingURL=marketplace-command-T6JCHW7J.js.map
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  importWorkspaceArchive
3
- } from "./chunk-WP4OZZV4.js";
3
+ } from "./chunk-3VFCKHOB.js";
4
4
  import {
5
5
  createEphemeral,
6
6
  deleteEphemeral,
7
7
  isEphemeralDisabled,
8
8
  waitUntilReady
9
- } from "./chunk-VNQM3V2C.js";
9
+ } from "./chunk-EXENFOWE.js";
10
10
  import {
11
11
  decodeWorkspaceArchive,
12
12
  encodeWorkspaceArchive
13
13
  } from "./chunk-ZUTSMMAG.js";
14
14
  import "./chunk-X4DVXBFY.js";
15
- import "./chunk-3IGNIP6R.js";
15
+ import "./chunk-NDP7OUPS.js";
16
16
 
17
17
  // src/validate/meta-client.ts
18
18
  var REQUEST_TIMEOUT_MS = 6e4;
@@ -167,4 +167,4 @@ ${text}`);
167
167
  export {
168
168
  MetaClient
169
169
  };
170
- //# sourceMappingURL=meta-client-K2J4XH64.js.map
170
+ //# sourceMappingURL=meta-client-LKRKR3L2.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-BG1UPZ3Z.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-BG1UPZ3Z.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-DAnUIi1T.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-DAnUIi1T.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-D6xGLEIn.js';
5
+ import { V as Value } from './xdo-ODuJklk6.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-ODuJklk6.js';
6
7
  export { exportBundleJson, loadDefault, parseArgs, run } from './cli.js';
7
8
 
8
9
  /**
@@ -37,7 +38,7 @@ declare function writeArtifact(fn: FunctionDef, path: string, opts?: {
37
38
  * Write the aggregate bundle to `path`.
38
39
  *
39
40
  * `opts.strict` fails the write on any build warning instead of printing it —
40
- * the same switch `xanots export --strict` throws (issue #15). A script that
41
+ * the same switch `xanots export --strict` throws. A script that
41
42
  * writes a bundle nobody watches is exactly where a printed warning is lost.
42
43
  */
43
44
  declare function writeBundle(xano: Xano, path: string, opts?: {
package/dist/node.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  defineFunction,
3
3
  fileUrl
4
- } from "./chunk-XHEXOES3.js";
4
+ } from "./chunk-5YDINUAP.js";
5
5
  import {
6
6
  TEST_EXPECT_TYPES,
7
7
  expect
8
- } from "./chunk-75Z74TA7.js";
8
+ } from "./chunk-YX22LKQE.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-5R73LFWK.js";
20
+ } from "./chunk-VRNZ2NVV.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-P6TAVLOX.js";
103
+ } from "./chunk-GSP2BY4F.js";
104
104
  import {
105
105
  exportBundleJson,
106
106
  loadDefault,
@@ -108,20 +108,20 @@ import {
108
108
  run,
109
109
  writeArtifact,
110
110
  writeBundle
111
- } from "./chunk-ACCBOMCB.js";
112
- import "./chunk-CTD5ZCV6.js";
111
+ } from "./chunk-XT3XQ4PF.js";
112
+ import "./chunk-7WRJPKGK.js";
113
113
  import {
114
114
  readLockFile,
115
115
  writeLockFile
116
- } from "./chunk-OYMR5AMJ.js";
117
- import "./chunk-F6CYJ7TN.js";
116
+ } from "./chunk-3LQGF2WS.js";
117
+ import "./chunk-Z2ZIE5CO.js";
118
118
  import "./chunk-GNPVYOPB.js";
119
119
  import "./chunk-EZG76F7R.js";
120
120
  import {
121
121
  Xano,
122
122
  workspace
123
- } from "./chunk-VKSOTZK3.js";
124
- import "./chunk-DIA7CT7J.js";
123
+ } from "./chunk-QYSQ3UDO.js";
124
+ import "./chunk-V5Y7D4LH.js";
125
125
  import {
126
126
  LAMBDA_BINDINGS,
127
127
  LAMBDA_CODE_FILTERS,
@@ -168,16 +168,17 @@ import {
168
168
  toSearchParams,
169
169
  toolset,
170
170
  withFilters
171
- } from "./chunk-LBYWGMOA.js";
172
- import "./chunk-WHOJWOSV.js";
173
- import {
174
- annotate,
175
- statements
176
- } from "./chunk-5XZ744TS.js";
171
+ } from "./chunk-N74KDCBD.js";
172
+ import "./chunk-EETVJZAZ.js";
177
173
  import {
178
174
  resetLockOverrides,
179
175
  seedLockOverrides
180
- } from "./chunk-7JDT4PBU.js";
176
+ } from "./chunk-XWFRNJMQ.js";
177
+ import {
178
+ annotate,
179
+ statements
180
+ } from "./chunk-2ZCUO2UG.js";
181
+ import "./chunk-OHX6MIUZ.js";
181
182
 
182
183
  // src/values/lambda-file.ts
183
184
  import { readFileSync } from "fs";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  assertBundleInput,
3
3
  loadBundleText
4
- } from "./chunk-W24FJHPD.js";
5
- import "./chunk-ACCBOMCB.js";
6
- import "./chunk-CTD5ZCV6.js";
7
- import "./chunk-OYMR5AMJ.js";
8
- import "./chunk-F6CYJ7TN.js";
4
+ } from "./chunk-ELK7UALJ.js";
5
+ import "./chunk-XT3XQ4PF.js";
6
+ import "./chunk-7WRJPKGK.js";
7
+ import "./chunk-3LQGF2WS.js";
8
+ import "./chunk-Z2ZIE5CO.js";
9
9
  import "./chunk-GNPVYOPB.js";
10
10
  import {
11
11
  blank,
@@ -15,19 +15,20 @@ import {
15
15
  success,
16
16
  warn
17
17
  } from "./chunk-EZG76F7R.js";
18
- import "./chunk-VKSOTZK3.js";
19
- import "./chunk-DIA7CT7J.js";
20
- import "./chunk-LBYWGMOA.js";
21
- import "./chunk-WHOJWOSV.js";
22
- import "./chunk-5XZ744TS.js";
23
- import "./chunk-7JDT4PBU.js";
18
+ import "./chunk-QYSQ3UDO.js";
19
+ import "./chunk-V5Y7D4LH.js";
20
+ import "./chunk-N74KDCBD.js";
21
+ import "./chunk-EETVJZAZ.js";
22
+ import "./chunk-XWFRNJMQ.js";
23
+ import "./chunk-2ZCUO2UG.js";
24
+ import "./chunk-OHX6MIUZ.js";
24
25
 
25
26
  // src/emit/preflight-command.ts
26
27
  var EXIT_VALIDATION_FAILED = 2;
27
28
  async function runPreflightCommand(args) {
28
29
  assertBundleInput(args, { command: "preflight" });
29
30
  const { resolveValidateConfig, verifyToken } = await import("./config-476F3PT5.js");
30
- const { MetaClient } = await import("./meta-client-K2J4XH64.js");
31
+ const { MetaClient } = await import("./meta-client-LKRKR3L2.js");
31
32
  const config = resolveValidateConfig({ instance: args.instance });
32
33
  const who = await verifyToken(config);
33
34
  const host = new URL(config.instance).host;
@@ -45,7 +46,7 @@ async function runPreflightCommand(args) {
45
46
  }
46
47
  }
47
48
  async function validateWithClient(args, client, bundle) {
48
- const { runValidateLoop, runnableFunctionNames } = await import("./loop-D5NPL4VH.js");
49
+ const { runValidateLoop, runnableFunctionNames } = await import("./loop-IC5ISSYB.js");
49
50
  const result = await runValidateLoop(client, bundle);
50
51
  if (!result.accepted) {
51
52
  warn("Import rejected by the engine:");
@@ -80,7 +81,7 @@ async function validateWithClient(args, client, bundle) {
80
81
  if (args.runtime && result.workspaceId !== void 0) {
81
82
  const names = runnableFunctionNames(result.roundTrip);
82
83
  if (names.length > 0) {
83
- const { smokeRunFunctions } = await import("./runtime-V4C3AC3A.js");
84
+ const { smokeRunFunctions } = await import("./runtime-LSLIDALK.js");
84
85
  blank();
85
86
  const entries = await smokeRunFunctions(client, result.workspaceId, names);
86
87
  for (const e of entries) {
@@ -96,7 +97,7 @@ async function validateWithClient(args, client, bundle) {
96
97
  }
97
98
  }
98
99
  if (args.capture) {
99
- const { captureFixtures } = await import("./capture-4WVJY4DQ.js");
100
+ const { captureFixtures } = await import("./capture-YLUVAITI.js");
100
101
  const written = captureFixtures(result.roundTrip, args.out);
101
102
  if (written.length === 0) warn("nothing to capture (no objects round-tripped)");
102
103
  for (const w of written) detail(`captured ${w.name} \u2192 ${w.path}`);
@@ -120,4 +121,4 @@ function fmt(v) {
120
121
  export {
121
122
  runPreflightCommand
122
123
  };
123
- //# sourceMappingURL=preflight-command-GZ2GE5RN.js.map
124
+ //# sourceMappingURL=preflight-command-TZWPHBXY.js.map
@@ -4,12 +4,12 @@ import {
4
4
  } from "./chunk-NUQCEOKA.js";
5
5
  import {
6
6
  getAccessToken
7
- } from "./chunk-QKM4U5UK.js";
7
+ } from "./chunk-TJS2AF5Y.js";
8
8
  import "./chunk-FE5I6S6N.js";
9
9
  import {
10
10
  fetchOrExplain,
11
11
  httpFailure
12
- } from "./chunk-3IGNIP6R.js";
12
+ } from "./chunk-NDP7OUPS.js";
13
13
  import "./chunk-GNPVYOPB.js";
14
14
  import {
15
15
  formatFields,
@@ -74,4 +74,4 @@ export {
74
74
  fetchProfile,
75
75
  runProfileCommand
76
76
  };
77
- //# sourceMappingURL=profile-command-LJSBDV2L.js.map
77
+ //# sourceMappingURL=profile-command-WBNSMQSI.js.map
@@ -2,14 +2,14 @@ import {
2
2
  assertBranchTargetHonored,
3
3
  importWorkspaceArchive,
4
4
  planWorkspaceImport
5
- } from "./chunk-WP4OZZV4.js";
5
+ } from "./chunk-3VFCKHOB.js";
6
6
  import {
7
7
  assertBundleInput,
8
8
  loadBundleText
9
- } from "./chunk-W24FJHPD.js";
9
+ } from "./chunk-ELK7UALJ.js";
10
10
  import {
11
11
  sharedSchemaChanges
12
- } from "./chunk-DBFU47BJ.js";
12
+ } from "./chunk-AOFFKSJC.js";
13
13
  import {
14
14
  assertBranchAbsent,
15
15
  assertUsableBranchLabel,
@@ -17,36 +17,36 @@ import {
17
17
  listBranches,
18
18
  liveBranchLabel,
19
19
  setLiveBranch
20
- } from "./chunk-EQW3YT5U.js";
20
+ } from "./chunk-P6PVBQL6.js";
21
21
  import {
22
22
  confirm
23
- } from "./chunk-AIZKXUNP.js";
23
+ } from "./chunk-IMLYGQK6.js";
24
24
  import {
25
25
  isMachineOutput,
26
26
  writeJson
27
27
  } from "./chunk-NUQCEOKA.js";
28
- import "./chunk-3INK4Y4E.js";
29
28
  import {
30
29
  getAccessToken
31
- } from "./chunk-QKM4U5UK.js";
30
+ } from "./chunk-TJS2AF5Y.js";
32
31
  import "./chunk-FE5I6S6N.js";
33
32
  import {
34
33
  encodeWorkspaceArchive
35
34
  } from "./chunk-ZUTSMMAG.js";
36
35
  import "./chunk-X4DVXBFY.js";
37
- import "./chunk-3IGNIP6R.js";
36
+ import "./chunk-NDP7OUPS.js";
37
+ import "./chunk-AE3PDSDS.js";
38
38
  import {
39
39
  resolveLockPath
40
- } from "./chunk-ACCBOMCB.js";
41
- import "./chunk-CTD5ZCV6.js";
40
+ } from "./chunk-XT3XQ4PF.js";
41
+ import "./chunk-7WRJPKGK.js";
42
42
  import {
43
43
  readLockFile
44
- } from "./chunk-OYMR5AMJ.js";
44
+ } from "./chunk-3LQGF2WS.js";
45
45
  import {
46
46
  UsageError,
47
47
  assertNoEnv,
48
48
  assertNoForce
49
- } from "./chunk-F6CYJ7TN.js";
49
+ } from "./chunk-Z2ZIE5CO.js";
50
50
  import "./chunk-GNPVYOPB.js";
51
51
  import {
52
52
  blank,
@@ -57,15 +57,16 @@ import {
57
57
  success,
58
58
  warn
59
59
  } from "./chunk-EZG76F7R.js";
60
- import "./chunk-VKSOTZK3.js";
61
- import "./chunk-DIA7CT7J.js";
62
- import "./chunk-LBYWGMOA.js";
63
- import "./chunk-WHOJWOSV.js";
64
- import "./chunk-5XZ744TS.js";
60
+ import "./chunk-QYSQ3UDO.js";
61
+ import "./chunk-V5Y7D4LH.js";
62
+ import "./chunk-N74KDCBD.js";
63
+ import "./chunk-EETVJZAZ.js";
65
64
  import {
66
65
  REFERENCEABLE_KIND_PAYLOAD_KEYS,
67
66
  lockKey
68
- } from "./chunk-7JDT4PBU.js";
67
+ } from "./chunk-XWFRNJMQ.js";
68
+ import "./chunk-2ZCUO2UG.js";
69
+ import "./chunk-OHX6MIUZ.js";
69
70
 
70
71
  // src/emit/release-command.ts
71
72
  import { existsSync } from "fs";
@@ -220,8 +221,8 @@ async function reconcileLockAfterReplace(args, auth, workspaceId) {
220
221
  return;
221
222
  }
222
223
  try {
223
- const { adoptFromBundle } = await import("./lock-GFXD6G2E.js");
224
- const { readLockFile: readLockFile2, writeLockFile } = await import("./io-M7XZEMK7.js");
224
+ const { adoptFromBundle } = await import("./lock-HQ4KARU2.js");
225
+ const { readLockFile: readLockFile2, writeLockFile } = await import("./io-UBDMMDH6.js");
225
226
  const { lock, added, changed } = adoptFromBundle(readLockFile2(lockPath), live, lockPath);
226
227
  writeLockFile(lockPath, lock);
227
228
  const touched = added.length + changed.length;
@@ -237,7 +238,7 @@ async function reconcileLockAfterReplace(args, auth, workspaceId) {
237
238
  }
238
239
  async function readLiveWorkspace(auth, workspaceId) {
239
240
  try {
240
- const { exportWorkspaceBundle } = await import("./workspace-export-DURY5WYL.js");
241
+ const { exportWorkspaceBundle } = await import("./workspace-export-MLYTYZS5.js");
241
242
  return await exportWorkspaceBundle(auth, {
242
243
  base: auth.instance,
243
244
  workspaceId,
@@ -259,7 +260,7 @@ function targetIsEmpty(live) {
259
260
  async function convergedWithLive(live, req, outgoingBundle) {
260
261
  if (live === void 0 || req.mode !== "merge") return false;
261
262
  if (req.records === true || req.truncate === true) return false;
262
- const { compareToLive } = await import("./live-diff-IXKBVG4K.js");
263
+ const { compareToLive } = await import("./live-diff-HCOTN5WC.js");
263
264
  let result;
264
265
  try {
265
266
  result = compareToLive(JSON.parse(outgoingBundle), live);
@@ -276,7 +277,7 @@ async function warnAboutLiveLosses(live, req, outgoingBundle) {
276
277
  warn("Could not read the target workspace, so this plan does not account for dropped columns or env that will not update.");
277
278
  return { droppedColumns: 0, unchangedEnv: [] };
278
279
  }
279
- const { diffAgainstLive } = await import("./live-diff-IXKBVG4K.js");
280
+ const { diffAgainstLive } = await import("./live-diff-HCOTN5WC.js");
280
281
  let diff;
281
282
  try {
282
283
  diff = diffAgainstLive(JSON.parse(outgoingBundle), live, { mode: req.mode });
@@ -446,7 +447,7 @@ async function runReleaseCommand(args) {
446
447
  { withSeed: req.records === true }
447
448
  );
448
449
  if (args.static !== void 0) {
449
- const { assertNoSeedLeaks } = await import("./deploy-command-QTIVA22A.js");
450
+ const { assertNoSeedLeaks } = await import("./deploy-command-XHS5PKPV.js");
450
451
  await assertNoSeedLeaks(args.static, nonPublicSeedValues, args.allowSeedInStatic);
451
452
  }
452
453
  const workspaceId = auth.workspaceId;
@@ -588,7 +589,7 @@ Retry, or drop \`--backup-branch\` to release without one.`,
588
589
  ...backupLabel !== void 0 ? { backupBranch: backupLabel } : {}
589
590
  };
590
591
  if (args.static !== void 0) {
591
- const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-QTIVA22A.js");
592
+ const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-XHS5PKPV.js");
592
593
  const env = buildStaticEnv(auth.instance, args.staticEnv);
593
594
  const explicit = Object.keys(args.staticEnv).length > 0;
594
595
  summary.static = await deployStaticTo(
@@ -607,4 +608,4 @@ Retry, or drop \`--backup-branch\` to release without one.`,
607
608
  export {
608
609
  runReleaseCommand
609
610
  };
610
- //# sourceMappingURL=release-command-YUBTNHVX.js.map
611
+ //# sourceMappingURL=release-command-WEFYRTCI.js.map