@xanots/sdk 0.0.11 → 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 (97) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +11 -6
  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 +11 -11
  6. package/dist/{branch-commands-2BLOC2GR.js → branch-commands-5KMPAAZV.js} +7 -7
  7. package/dist/bundle.d.ts +2 -2
  8. package/dist/bundle.js +2 -2
  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-XEOX6AM7.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-22TKBSDV.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-BC2C5GVI.js → chunk-DCMANKMX.js} +1 -1
  22. package/dist/{chunk-WHOJWOSV.js → chunk-EETVJZAZ.js} +1 -1
  23. package/dist/{chunk-4Q7ZOHH7.js → chunk-ELK7UALJ.js} +3 -3
  24. package/dist/{chunk-VNQM3V2C.js → chunk-EXENFOWE.js} +2 -2
  25. package/dist/{chunk-UOZMSF4C.js → chunk-GSP2BY4F.js} +5 -5
  26. package/dist/{chunk-AIZKXUNP.js → chunk-IMLYGQK6.js} +2 -2
  27. package/dist/{chunk-QK7ZQJLP.js → chunk-N74KDCBD.js} +39 -25
  28. package/dist/{chunk-3IGNIP6R.js → chunk-NDP7OUPS.js} +1 -1
  29. package/dist/{chunk-EQW3YT5U.js → chunk-P6PVBQL6.js} +2 -2
  30. package/dist/{chunk-HYBN4H3F.js → chunk-PLE5QQOZ.js} +27 -20
  31. package/dist/{chunk-BSK7ELHU.js → chunk-PR7OXHGZ.js} +1 -1
  32. package/dist/{chunk-OWGCOGKK.js → chunk-QYSQ3UDO.js} +8 -8
  33. package/dist/{chunk-ZQ2PKR6R.js → chunk-RQ3FXV4K.js} +2 -2
  34. package/dist/{chunk-Q77KNEUL.js → chunk-RQNMTDXD.js} +1703 -2
  35. package/dist/{chunk-QKM4U5UK.js → chunk-TJS2AF5Y.js} +2 -2
  36. package/dist/{chunk-DIA7CT7J.js → chunk-V5Y7D4LH.js} +11 -2
  37. package/dist/{chunk-KA6G2L7U.js → chunk-VK26K7AY.js} +3 -3
  38. package/dist/{chunk-4IF54NU5.js → chunk-VPAWRBK5.js} +12 -16
  39. package/dist/{chunk-QYMAZRAU.js → chunk-VRNZ2NVV.js} +5 -5
  40. package/dist/{chunk-RCT7UX7B.js → chunk-XT3XQ4PF.js} +32 -27
  41. package/dist/{chunk-VAF6A3YD.js → chunk-XWFRNJMQ.js} +1 -1
  42. package/dist/{chunk-7ZYW652H.js → chunk-YHS6VVLJ.js} +2 -2
  43. package/dist/{chunk-G4EJMQLD.js → chunk-YX22LKQE.js} +2 -2
  44. package/dist/{chunk-F6CYJ7TN.js → chunk-Z2ZIE5CO.js} +2 -2
  45. package/dist/cli.d.ts +13 -6
  46. package/dist/cli.js +10 -10
  47. package/dist/codegen-command-Y2SPMAUW.js +47 -0
  48. package/dist/codegen.d.ts +5 -5
  49. package/dist/codegen.js +2 -2
  50. package/dist/{completion-WF46272M.js → completion-HJU5QEFB.js} +2 -2
  51. package/dist/{deploy-command-IP7V7GT4.js → deploy-command-XHS5PKPV.js} +19 -19
  52. package/dist/{ephemeral-command-U4AQ3TXX.js → ephemeral-command-2NKPEXUU.js} +8 -8
  53. package/dist/index.d.ts +88 -104
  54. package/dist/index.js +9 -9
  55. package/dist/init-command-23FFNUFT.js +32 -0
  56. package/dist/internal.d.ts +10 -16
  57. package/dist/internal.js +26 -26
  58. package/dist/{io-P2H75UV2.js → io-UBDMMDH6.js} +3 -3
  59. package/dist/{live-diff-IXKBVG4K.js → live-diff-HCOTN5WC.js} +3 -3
  60. package/dist/{lock-46FWYE4D.js → lock-HQ4KARU2.js} +2 -2
  61. package/dist/{lock-commands-ZZKZ4LZJ.js → lock-commands-WCRC56ME.js} +11 -11
  62. package/dist/{login-command-Z6CHTA57.js → login-command-P7LXD5TE.js} +6 -6
  63. package/dist/{loop-D5NPL4VH.js → loop-IC5ISSYB.js} +3 -3
  64. package/dist/{marketplace-command-P4IPLJ6J.js → marketplace-command-T6JCHW7J.js} +4 -4
  65. package/dist/{meta-client-K2J4XH64.js → meta-client-LKRKR3L2.js} +4 -4
  66. package/dist/node.d.ts +6 -6
  67. package/dist/node.js +14 -14
  68. package/dist/{preflight-command-K346GPTY.js → preflight-command-TZWPHBXY.js} +16 -16
  69. package/dist/{profile-command-LJSBDV2L.js → profile-command-WBNSMQSI.js} +3 -3
  70. package/dist/{release-command-IMNTIVWK.js → release-command-WEFYRTCI.js} +26 -26
  71. package/dist/{response-BQVQ24l1.d.ts → response-D6xGLEIn.d.ts} +18 -23
  72. package/dist/{routes-manifest-PWZHDOI5.js → routes-manifest-5ZFKUQWA.js} +2 -2
  73. package/dist/{runtime-V4C3AC3A.js → runtime-LSLIDALK.js} +1 -1
  74. package/dist/scaffold.d.ts +16 -8
  75. package/dist/scaffold.js +7 -11
  76. package/dist/{static-host-3WMV7IZO.js → static-host-4JDQCHUW.js} +1 -1
  77. package/dist/{status-command-AL47VG7H.js → status-command-VARULAR5.js} +4 -4
  78. package/dist/{store-BLyNeQ8S.d.ts → store-DAnUIi1T.d.ts} +81 -86
  79. package/dist/{test-command-YAZLKLGQ.js → test-command-YCAR4O35.js} +7 -7
  80. package/dist/{upgrade-command-BN3EHAOI.js → upgrade-command-GYEIMJBG.js} +15 -16
  81. package/dist/{workspace-2COHDBM3.js → workspace-33KHFLX3.js} +2 -2
  82. package/dist/{workspace-command-MNK7Y7MQ.js → workspace-command-2ZTGT26W.js} +26 -28
  83. package/dist/{workspace-export-DURY5WYL.js → workspace-export-MLYTYZS5.js} +3 -3
  84. package/dist/{xdo-BjJj5W_E.d.ts → xdo-ODuJklk6.d.ts} +27 -23
  85. package/guides/authoring.md +11 -2
  86. package/guides/typed-frontend.md +4 -4
  87. package/llms/statements-data.md +3 -2
  88. package/llms/values.md +1 -1
  89. package/llms-full.txt +18 -18
  90. package/llms.txt +14 -15
  91. package/manifest.json +6 -2
  92. package/package.json +1 -1
  93. package/dist/chunk-ANUDXFEX.js +0 -881
  94. package/dist/chunk-JGCWTCA7.js +0 -95
  95. package/dist/chunk-YBC3IKMF.js +0 -845
  96. package/dist/codegen-command-FUT2KJB6.js +0 -49
  97. package/dist/init-command-NPVL32L6.js +0 -34
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-G4EJMQLD.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-QYMAZRAU.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-UOZMSF4C.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-RCT7UX7B.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-XEOX6AM7.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-OWGCOGKK.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,16 @@ import {
168
168
  toSearchParams,
169
169
  toolset,
170
170
  withFilters
171
- } from "./chunk-QK7ZQJLP.js";
172
- import "./chunk-WHOJWOSV.js";
171
+ } from "./chunk-N74KDCBD.js";
172
+ import "./chunk-EETVJZAZ.js";
173
173
  import {
174
174
  resetLockOverrides,
175
175
  seedLockOverrides
176
- } from "./chunk-VAF6A3YD.js";
176
+ } from "./chunk-XWFRNJMQ.js";
177
177
  import {
178
178
  annotate,
179
179
  statements
180
- } from "./chunk-5XZ744TS.js";
180
+ } from "./chunk-2ZCUO2UG.js";
181
181
  import "./chunk-OHX6MIUZ.js";
182
182
 
183
183
  // src/values/lambda-file.ts
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  assertBundleInput,
3
3
  loadBundleText
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";
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,12 +15,12 @@ import {
15
15
  success,
16
16
  warn
17
17
  } from "./chunk-EZG76F7R.js";
18
- import "./chunk-OWGCOGKK.js";
19
- import "./chunk-DIA7CT7J.js";
20
- import "./chunk-QK7ZQJLP.js";
21
- import "./chunk-WHOJWOSV.js";
22
- import "./chunk-VAF6A3YD.js";
23
- import "./chunk-5XZ744TS.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
24
  import "./chunk-OHX6MIUZ.js";
25
25
 
26
26
  // src/emit/preflight-command.ts
@@ -28,7 +28,7 @@ var EXIT_VALIDATION_FAILED = 2;
28
28
  async function runPreflightCommand(args) {
29
29
  assertBundleInput(args, { command: "preflight" });
30
30
  const { resolveValidateConfig, verifyToken } = await import("./config-476F3PT5.js");
31
- const { MetaClient } = await import("./meta-client-K2J4XH64.js");
31
+ const { MetaClient } = await import("./meta-client-LKRKR3L2.js");
32
32
  const config = resolveValidateConfig({ instance: args.instance });
33
33
  const who = await verifyToken(config);
34
34
  const host = new URL(config.instance).host;
@@ -46,7 +46,7 @@ async function runPreflightCommand(args) {
46
46
  }
47
47
  }
48
48
  async function validateWithClient(args, client, bundle) {
49
- const { runValidateLoop, runnableFunctionNames } = await import("./loop-D5NPL4VH.js");
49
+ const { runValidateLoop, runnableFunctionNames } = await import("./loop-IC5ISSYB.js");
50
50
  const result = await runValidateLoop(client, bundle);
51
51
  if (!result.accepted) {
52
52
  warn("Import rejected by the engine:");
@@ -81,7 +81,7 @@ async function validateWithClient(args, client, bundle) {
81
81
  if (args.runtime && result.workspaceId !== void 0) {
82
82
  const names = runnableFunctionNames(result.roundTrip);
83
83
  if (names.length > 0) {
84
- const { smokeRunFunctions } = await import("./runtime-V4C3AC3A.js");
84
+ const { smokeRunFunctions } = await import("./runtime-LSLIDALK.js");
85
85
  blank();
86
86
  const entries = await smokeRunFunctions(client, result.workspaceId, names);
87
87
  for (const e of entries) {
@@ -97,7 +97,7 @@ async function validateWithClient(args, client, bundle) {
97
97
  }
98
98
  }
99
99
  if (args.capture) {
100
- const { captureFixtures } = await import("./capture-4WVJY4DQ.js");
100
+ const { captureFixtures } = await import("./capture-YLUVAITI.js");
101
101
  const written = captureFixtures(result.roundTrip, args.out);
102
102
  if (written.length === 0) warn("nothing to capture (no objects round-tripped)");
103
103
  for (const w of written) detail(`captured ${w.name} \u2192 ${w.path}`);
@@ -121,4 +121,4 @@ function fmt(v) {
121
121
  export {
122
122
  runPreflightCommand
123
123
  };
124
- //# sourceMappingURL=preflight-command-K346GPTY.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-4Q7ZOHH7.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
28
  import {
29
29
  getAccessToken
30
- } from "./chunk-QKM4U5UK.js";
30
+ } from "./chunk-TJS2AF5Y.js";
31
31
  import "./chunk-FE5I6S6N.js";
32
32
  import {
33
33
  encodeWorkspaceArchive
34
34
  } from "./chunk-ZUTSMMAG.js";
35
35
  import "./chunk-X4DVXBFY.js";
36
- import "./chunk-3IGNIP6R.js";
37
- import "./chunk-3INK4Y4E.js";
36
+ import "./chunk-NDP7OUPS.js";
37
+ import "./chunk-AE3PDSDS.js";
38
38
  import {
39
39
  resolveLockPath
40
- } from "./chunk-RCT7UX7B.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-XEOX6AM7.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,15 @@ import {
57
57
  success,
58
58
  warn
59
59
  } from "./chunk-EZG76F7R.js";
60
- import "./chunk-OWGCOGKK.js";
61
- import "./chunk-DIA7CT7J.js";
62
- import "./chunk-QK7ZQJLP.js";
63
- import "./chunk-WHOJWOSV.js";
60
+ import "./chunk-QYSQ3UDO.js";
61
+ import "./chunk-V5Y7D4LH.js";
62
+ import "./chunk-N74KDCBD.js";
63
+ import "./chunk-EETVJZAZ.js";
64
64
  import {
65
65
  REFERENCEABLE_KIND_PAYLOAD_KEYS,
66
66
  lockKey
67
- } from "./chunk-VAF6A3YD.js";
68
- import "./chunk-5XZ744TS.js";
67
+ } from "./chunk-XWFRNJMQ.js";
68
+ import "./chunk-2ZCUO2UG.js";
69
69
  import "./chunk-OHX6MIUZ.js";
70
70
 
71
71
  // src/emit/release-command.ts
@@ -221,8 +221,8 @@ async function reconcileLockAfterReplace(args, auth, workspaceId) {
221
221
  return;
222
222
  }
223
223
  try {
224
- const { adoptFromBundle } = await import("./lock-46FWYE4D.js");
225
- const { readLockFile: readLockFile2, writeLockFile } = await import("./io-P2H75UV2.js");
224
+ const { adoptFromBundle } = await import("./lock-HQ4KARU2.js");
225
+ const { readLockFile: readLockFile2, writeLockFile } = await import("./io-UBDMMDH6.js");
226
226
  const { lock, added, changed } = adoptFromBundle(readLockFile2(lockPath), live, lockPath);
227
227
  writeLockFile(lockPath, lock);
228
228
  const touched = added.length + changed.length;
@@ -238,7 +238,7 @@ async function reconcileLockAfterReplace(args, auth, workspaceId) {
238
238
  }
239
239
  async function readLiveWorkspace(auth, workspaceId) {
240
240
  try {
241
- const { exportWorkspaceBundle } = await import("./workspace-export-DURY5WYL.js");
241
+ const { exportWorkspaceBundle } = await import("./workspace-export-MLYTYZS5.js");
242
242
  return await exportWorkspaceBundle(auth, {
243
243
  base: auth.instance,
244
244
  workspaceId,
@@ -260,7 +260,7 @@ function targetIsEmpty(live) {
260
260
  async function convergedWithLive(live, req, outgoingBundle) {
261
261
  if (live === void 0 || req.mode !== "merge") return false;
262
262
  if (req.records === true || req.truncate === true) return false;
263
- const { compareToLive } = await import("./live-diff-IXKBVG4K.js");
263
+ const { compareToLive } = await import("./live-diff-HCOTN5WC.js");
264
264
  let result;
265
265
  try {
266
266
  result = compareToLive(JSON.parse(outgoingBundle), live);
@@ -277,7 +277,7 @@ async function warnAboutLiveLosses(live, req, outgoingBundle) {
277
277
  warn("Could not read the target workspace, so this plan does not account for dropped columns or env that will not update.");
278
278
  return { droppedColumns: 0, unchangedEnv: [] };
279
279
  }
280
- const { diffAgainstLive } = await import("./live-diff-IXKBVG4K.js");
280
+ const { diffAgainstLive } = await import("./live-diff-HCOTN5WC.js");
281
281
  let diff;
282
282
  try {
283
283
  diff = diffAgainstLive(JSON.parse(outgoingBundle), live, { mode: req.mode });
@@ -447,7 +447,7 @@ async function runReleaseCommand(args) {
447
447
  { withSeed: req.records === true }
448
448
  );
449
449
  if (args.static !== void 0) {
450
- const { assertNoSeedLeaks } = await import("./deploy-command-IP7V7GT4.js");
450
+ const { assertNoSeedLeaks } = await import("./deploy-command-XHS5PKPV.js");
451
451
  await assertNoSeedLeaks(args.static, nonPublicSeedValues, args.allowSeedInStatic);
452
452
  }
453
453
  const workspaceId = auth.workspaceId;
@@ -589,7 +589,7 @@ Retry, or drop \`--backup-branch\` to release without one.`,
589
589
  ...backupLabel !== void 0 ? { backupBranch: backupLabel } : {}
590
590
  };
591
591
  if (args.static !== void 0) {
592
- const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-IP7V7GT4.js");
592
+ const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-XHS5PKPV.js");
593
593
  const env = buildStaticEnv(auth.instance, args.staticEnv);
594
594
  const explicit = Object.keys(args.staticEnv).length > 0;
595
595
  summary.static = await deployStaticTo(
@@ -608,4 +608,4 @@ Retry, or drop \`--backup-branch\` to release without one.`,
608
608
  export {
609
609
  runReleaseCommand
610
610
  };
611
- //# sourceMappingURL=release-command-IMNTIVWK.js.map
611
+ //# sourceMappingURL=release-command-WEFYRTCI.js.map
@@ -1,4 +1,4 @@
1
- import { V as Value, h as FilterXdo, S as StackItemXdo, k as ResultItemXdo } from './xdo-BjJj5W_E.js';
1
+ import { V as Value, h as FilterXdo, S as StackItemXdo, k as ResultItemXdo } from './xdo-ODuJklk6.js';
2
2
 
3
3
  /**
4
4
  * A statement's per-test MOCK — the value a step returns instead of doing its
@@ -155,7 +155,7 @@ interface Statement {
155
155
  }
156
156
  /**
157
157
  * Return a statement sequence from a helper **without losing the tuple**
158
- * (issue #11).
158
+ *.
159
159
  *
160
160
  * `InferResponse` traces the `as` binding a `response` names by walking the
161
161
  * stack's TUPLE type. Spreading anything typed `Statement[]` widens the whole
@@ -195,7 +195,7 @@ declare function getStatementFactory(name: string): (...args: any[]) => Statemen
195
195
  declare function encodeStatement(stmt: Statement): StackItemXdo;
196
196
 
197
197
  /**
198
- * Shared field encoder (KTD-6). Function inputs and table columns are nearly
198
+ * Shared field encoder. Function inputs and table columns are nearly
199
199
  * the same stored shape; this encoder fills the common defaults and is
200
200
  * parameterized by a `FieldContext` for the three spots where they differ:
201
201
  * `customize` (`""` vs `{}`), `market_item` id types (string vs numeric), and
@@ -220,7 +220,7 @@ interface FieldOptions {
220
220
  * Plane: a 4-byte character (codepoint > U+FFFF — emoji, CJK-extension glyphs)
221
221
  * is mangled into an invalid UTF-8 sequence by the engine's default pipeline
222
222
  * and is rejected at export/encode time rather than 500ing at deploy with
223
- * Postgres `22021` (issue #45). BMP characters (accents, `€`, most CJK) store
223
+ * Postgres `22021`. BMP characters (accents, `€`, most CJK) store
224
224
  * fine. A *function/endpoint input* default binds at runtime and has no limit.
225
225
  */
226
226
  default?: string | number | boolean;
@@ -403,7 +403,7 @@ interface XanoFileRef {
403
403
  * ⚠ The engine's own absolute URL, which on a tenant-scoped environment omits
404
404
  * the `/tenant/<name>` segment and 404s. Do NOT read it directly: pass the
405
405
  * file to `fileUrl(file, baseUrl)`, which joins the correct `path` to the base
406
- * URL your client already has (issue #31).
406
+ * URL your client already has.
407
407
  */
408
408
  url?: string;
409
409
  }
@@ -441,7 +441,7 @@ interface XanoGeoPosition {
441
441
  *
442
442
  * Named for what it is rather than for GeoJSON, which this is NOT — the
443
443
  * previous `XanoGeoJson` declared `{ type, coordinates }`, a shape the engine
444
- * neither accepts nor returns (issue #208).
444
+ * neither accepts nor returns.
445
445
  *
446
446
  * The same shape works in BOTH directions, verified live: seeding
447
447
  * `{ type: "point", data: { lng: 1, lat: 2 } }` reads back byte-identical, and
@@ -541,15 +541,11 @@ declare function deriveGuid(type: string, name: string): string;
541
541
  declare function resolveRef(type: string, target: ObjectRef): string;
542
542
 
543
543
  /**
544
- * AUTO-GENERATED by scripts/codegen-field-methods.ts — DO NOT EDIT BY HAND.
545
- *
546
544
  * Per-field-type method-name unions, distilled from the engine's column-create
547
545
  * API schema (the per-type field-schema definitions). Each
548
546
  * `f.<type>` / `input.<type>` constructor types its `methods` against the
549
547
  * matching union so only names valid for that field type are accepted (the
550
548
  * explicit `{ name, arg }` form remains a universal escape hatch).
551
- *
552
- * Regenerate with `npm run codegen:methods` (`-- --refresh` to re-distill upstream).
553
549
  */
554
550
  /** Per-field-type method metadata (method name → colon-form arg type; `bool` = flag, no arg). */
555
551
  declare const FIELD_METHODS: Readonly<Record<string, Readonly<Record<string, string>>>>;
@@ -639,7 +635,7 @@ declare const f: {
639
635
  * bytes, and a map does not preserve it.
640
636
  *
641
637
  * Without this there is no way to author a structured JSON column at all
642
- * (issue #135).
638
+ *.
643
639
  */
644
640
  readonly json: <const O extends ConstMethodOpts<never> & {
645
641
  children?: readonly NestedField[];
@@ -697,9 +693,8 @@ declare const f: {
697
693
  * instead: `f.tableRef("tweets", { type: "int" })`. Identity guids derive
698
694
  * from `(type, name)`, so the name form resolves to the same guid.
699
695
  *
700
- * Byte-verified whole-object against a persisted table readback
701
- * (`test/fixtures/tables/ex_field_table_ref.json`, asserted in
702
- * `test/conformance/kinds-corpus.test.ts`): the `@` method carries
696
+ * Byte-verified whole-object against a persisted table readback: the `@`
697
+ * method carries
703
698
  * `disabled:false`, sits last in `methods`, and its `dbo=` arg is the target
704
699
  * table's payload guid.
705
700
  *
@@ -717,7 +712,7 @@ declare const f: {
717
712
  /**
718
713
  * `obj({...})` — a **dynamic** object value: an object literal whose members can
719
714
  * be live references (`inp`/`ref`/`auth`/`col`) or constants. This is the
720
- * missing sibling of `c.obj` (issue #42): `c.obj` takes plain JSON only and
715
+ * missing sibling of `c.obj`: `c.obj` takes plain JSON only and
721
716
  * rejects nested tagged values, so it can't express `{ id: inp("id") }`.
722
717
  *
723
718
  * Xano stores a dynamic object as a single value with `tag: "const:expr2"` whose
@@ -734,9 +729,9 @@ declare const f: {
734
729
  * representation that resolves live references inside an object literal. That
735
730
  * choice is therefore runtime-verified, not a preference.
736
731
  *
737
- * The rendered string form (spacing/escaping) is now golden-verified: the
738
- * `call_agent` object-args fixture in the conformance corpus pins the exact
739
- * `const:expr` string this encoder emits for `obj({ question: inp(...) })`.
732
+ * The rendered string form (spacing/escaping) is golden-verified: a
733
+ * `call_agent` object-args capture pins the exact `const:expr` string this
734
+ * encoder emits for `obj({ question: inp(...) })`.
740
735
  *
741
736
  * **Supported members:** `inp()`, `ref()`, `auth()`, `col()`, `env()` /
742
737
  * `setting()` / `sys.*`, `c.now()`, `c.text/int/decimal/bool/null`,
@@ -746,10 +741,10 @@ declare const f: {
746
741
  *
747
742
  * A constant record or list has two spellings that mean the same thing here: a
748
743
  * bare `{…}` / `[…]` and `c.obj` / `c.array`. They render to identical bytes
749
- * (issue #295) — `c.array` used to throw while the bare form worked, which made
744
+ * — `c.array` used to throw while the bare form worked, which made
750
745
  * the empty list an export failure.
751
746
  *
752
- * The filter chain used to throw, and the rejection was wrong (#222). It
747
+ * The filter chain used to throw, and the rejection was wrong. It
753
748
  * collided constantly, because `db.get` binds `null` on a miss — the SDK's own
754
749
  * headline gotcha — so almost every object built from a `db.get` result needs a
755
750
  * null-safe drill, which compiles through the `get` filter. One team counted
@@ -790,7 +785,7 @@ interface ObjInput {
790
785
  * record it was built from (`obj({ id: ref("u.id") })` → `ObjValue<{ id:
791
786
  * RefValue<"u.id"> }>`). The `__obj` carrier is phantom — never present at
792
787
  * runtime — and exists so `InferResponse` can recurse into the members and
793
- * resolve each one the way it resolves a top-level response key (issue #118).
788
+ * resolve each one the way it resolves a top-level response key.
794
789
  *
795
790
  * Before this, `obj()` returned a bare `Value`: the members were erased at the
796
791
  * signature, so the resolver saw no `__ref` to trace and every member landed on
@@ -817,7 +812,7 @@ type ObjValue<T extends ObjInput = ObjInput> = Value & {
817
812
  *
818
813
  * The member record is preserved on the return type as {@link ObjValue}, so a
819
814
  * response built with `obj()` traces through `InferResponse` exactly as the same
820
- * members written as object-literal keys would (issue #118). A dynamically-built
815
+ * members written as object-literal keys would. A dynamically-built
821
816
  * `ObjInput` has no literal to read and degrades to unknown-valued members.
822
817
  */
823
818
  declare function obj<T extends ObjInput>(fields: T): ObjValue<T>;
@@ -831,7 +826,7 @@ declare function obj<T extends ObjInput>(fields: T): ObjValue<T>;
831
826
  /**
832
827
  * A member of a record response — a {@link Value}, or a nested plain object
833
828
  * literal which is auto-wrapped via {@link obj} (so `response: { user: { id:
834
- * ref(x) } }` just works instead of failing tsc against `TaggedValue`; #133).
829
+ * ref(x) } }` just works instead of failing tsc against `TaggedValue`).
835
830
  */
836
831
  type ResponseMember = Value | ObjInput;
837
832
  /** A single `Value` response, or a record of named result items. */
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parsePathParams
3
- } from "./chunk-WHOJWOSV.js";
3
+ } from "./chunk-EETVJZAZ.js";
4
4
 
5
5
  // src/emit/routes-manifest.ts
6
6
  var RouteManifestError = class extends Error {
@@ -241,4 +241,4 @@ export {
241
241
  RouteManifestError,
242
242
  renderRouteManifest
243
243
  };
244
- //# sourceMappingURL=routes-manifest-PWZHDOI5.js.map
244
+ //# sourceMappingURL=routes-manifest-5ZFKUQWA.js.map
@@ -10,4 +10,4 @@ async function smokeRunFunctions(client, workspaceId, names, inputs = {}) {
10
10
  export {
11
11
  smokeRunFunctions
12
12
  };
13
- //# sourceMappingURL=runtime-V4C3AC3A.js.map
13
+ //# sourceMappingURL=runtime-LSLIDALK.js.map
@@ -1,13 +1,11 @@
1
1
  /**
2
- * AUTO-GENERATED by scripts/gen-shadcn-themes.ts — DO NOT EDIT BY HAND.
3
- *
4
2
  * shadcn/ui's theme registry, distilled: 7 base colors carrying the complete
5
3
  * token set, and 17 accents carrying the partial override that reads as a
6
4
  * brand. Values are verbatim upstream oklch — see
7
5
  * `apps/v4/registry/themes.ts` in github.com/shadcn-ui/ui.
8
6
  *
9
7
  * Composed by `buildTheme()` in ../theme-presets.ts, which mirrors upstream's
10
- * own shallow-spread merge. Regenerate with `npm run codegen:themes`.
8
+ * own shallow-spread merge.
11
9
  */
12
10
  /** One registry theme: a display label and its light/dark token maps. */
13
11
  interface ThemeTokens {
@@ -1019,13 +1017,9 @@ declare const ACCENT_TOKENS: {
1019
1017
  declare const TOKEN_ORDER: readonly ["background", "foreground", "card", "card-foreground", "popover", "popover-foreground", "primary", "primary-foreground", "secondary", "secondary-foreground", "muted", "muted-foreground", "accent", "accent-foreground", "destructive", "border", "input", "ring", "chart-1", "chart-2", "chart-3", "chart-4", "chart-5", "radius", "sidebar", "sidebar-foreground", "sidebar-primary", "sidebar-primary-foreground", "sidebar-accent", "sidebar-accent-foreground", "sidebar-border", "sidebar-ring"];
1020
1018
 
1021
1019
  /**
1022
- * AUTO-GENERATED by scripts/gen-shadcn-fonts.ts — DO NOT EDIT BY HAND.
1023
- *
1024
1020
  * shadcn/ui's typefaces: 17 sans, 7 serif, 2 mono. Each is
1025
1021
  * self-hosted through its `@fontsource-variable/*` package — a dependency and a
1026
1022
  * CSS `@import`, not a request to Google's CDN.
1027
- *
1028
- * Regenerate with `npm run codegen:fonts`.
1029
1023
  */
1030
1024
  /** One typeface: how to name it, install it, and write it into a font stack. */
1031
1025
  interface FontDefinition {
@@ -1554,6 +1548,20 @@ declare function orderedTokens(vars: Readonly<Record<string, string>>): Array<[s
1554
1548
  * color scale that shows up in editor autocomplete).
1555
1549
  */
1556
1550
  declare function colorTokens(vars: Readonly<Record<string, string>>): string[];
1551
+ /**
1552
+ * What this section actually needs of a theme: its name, and how dark mode is
1553
+ * wired. Narrower than {@link ThemeChoice} (which every scaffold caller passes,
1554
+ * and which satisfies this) so a caller that RECOVERED a theme from a project on
1555
+ * disk can describe it without fabricating token values it never read — see
1556
+ * `project-detect.ts`. A label lifted from a stylesheet is a fact; a palette
1557
+ * reconstructed around it would not be.
1558
+ */
1559
+ interface ThemeGuidance {
1560
+ readonly theme: {
1561
+ readonly label: string;
1562
+ };
1563
+ readonly dark: DarkMode;
1564
+ }
1557
1565
  /**
1558
1566
  * The theme bullets in the scaffolded AI-assistant brief, appended to whatever
1559
1567
  * the frontend preset contributes.
@@ -1570,7 +1578,7 @@ declare function colorTokens(vars: Readonly<Record<string, string>>): string[];
1570
1578
  * suggests, and in a scaffold that already persists and applies the mode it
1571
1579
  * is a second source of truth for one boolean.
1572
1580
  */
1573
- declare function themeGuidanceSection(choice: ThemeChoice): string;
1581
+ declare function themeGuidanceSection(choice: ThemeGuidance): string;
1574
1582
  /** An sRGB triple, 0–255, for painting a theme swatch. */
1575
1583
  interface Rgb {
1576
1584
  readonly r: number;
package/dist/scaffold.js CHANGED
@@ -1,13 +1,3 @@
1
- import {
2
- DEFAULT_FRAMEWORK,
3
- FRAMEWORKS,
4
- allFrontendPresets,
5
- findFrontendPreset,
6
- resolveFrameworkFlag
7
- } from "./chunk-YBC3IKMF.js";
8
- import {
9
- renderIndexCss
10
- } from "./chunk-ANUDXFEX.js";
11
1
  import {
12
2
  ACCENTS,
13
3
  ACCENT_TOKENS,
@@ -17,12 +7,15 @@ import {
17
7
  DARK_MODES,
18
8
  DEFAULT_BASE_COLOR,
19
9
  DEFAULT_DARK_MODE,
10
+ DEFAULT_FRAMEWORK,
20
11
  DEFAULT_ICON_LIBRARY,
21
12
  DEFAULT_RADIUS,
22
13
  FONTS,
23
14
  FONT_IDS,
15
+ FRAMEWORKS,
24
16
  ICON_LIBRARIES,
25
17
  TOKEN_ORDER,
18
+ allFrontendPresets,
26
19
  allIconLibraries,
27
20
  buildTheme,
28
21
  colorTokens,
@@ -32,6 +25,7 @@ import {
32
25
  defaultThemeChoice,
33
26
  describeFonts,
34
27
  findFont,
28
+ findFrontendPreset,
35
29
  findIconLibrary,
36
30
  fontDependencies,
37
31
  fontImports,
@@ -42,15 +36,17 @@ import {
42
36
  normalizeRadius,
43
37
  orderedTokens,
44
38
  parseColor,
39
+ renderIndexCss,
45
40
  resolveDarkModeFlag,
46
41
  resolveFontFlag,
42
+ resolveFrameworkFlag,
47
43
  resolveIconsFlag,
48
44
  resolveThemeFlag,
49
45
  themeFromRegistryItem,
50
46
  themeGuidanceSection,
51
47
  themeSwatch,
52
48
  withRadius
53
- } from "./chunk-Q77KNEUL.js";
49
+ } from "./chunk-RQNMTDXD.js";
54
50
  export {
55
51
  ACCENTS,
56
52
  ACCENT_TOKENS,
@@ -135,4 +135,4 @@ export {
135
135
  findSeedLeaks,
136
136
  tarGz2 as tarGz
137
137
  };
138
- //# sourceMappingURL=static-host-3WMV7IZO.js.map
138
+ //# sourceMappingURL=static-host-4JDQCHUW.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getEphemeral,
3
3
  isExpired
4
- } from "./chunk-VNQM3V2C.js";
4
+ } from "./chunk-EXENFOWE.js";
5
5
  import {
6
6
  isMachineOutput,
7
7
  writeJson
@@ -12,12 +12,12 @@ import {
12
12
  } from "./chunk-K5IOND4K.js";
13
13
  import {
14
14
  getAccessToken
15
- } from "./chunk-QKM4U5UK.js";
15
+ } from "./chunk-TJS2AF5Y.js";
16
16
  import "./chunk-FE5I6S6N.js";
17
17
  import {
18
18
  fetchOrExplain,
19
19
  httpFailure
20
- } from "./chunk-3IGNIP6R.js";
20
+ } from "./chunk-NDP7OUPS.js";
21
21
  import "./chunk-GNPVYOPB.js";
22
22
  import {
23
23
  formatExpiration,
@@ -159,4 +159,4 @@ export {
159
159
  readStatus,
160
160
  runStatusCommand
161
161
  };
162
- //# sourceMappingURL=status-command-AL47VG7H.js.map
162
+ //# sourceMappingURL=status-command-VARULAR5.js.map