@xano/sdk 1.0.20 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/dist/{agent-file-refresh-MOEDX5OL.js → agent-file-refresh-5R5ALFEV.js} +4 -4
- package/dist/{agent-skill-command-A4QEVNTP.js → agent-skill-command-JBX7Z6AK.js} +13 -13
- package/dist/{ai-models-command-SN2UKVC5.js → ai-models-command-I3FU6GYP.js} +2 -2
- package/dist/{backend-dir-66VVLCUF.js → backend-dir-VOMHDVFP.js} +4 -4
- package/dist/bin.js +15 -13
- package/dist/{branch-commands-KUEGS6XL.js → branch-commands-JOSHDOXH.js} +3 -3
- package/dist/{chunk-C6ERQFEB.js → chunk-4TVHSC4V.js} +2 -2
- package/dist/{chunk-TEZKQQDT.js → chunk-64F6ET45.js} +3 -3
- package/dist/{chunk-2SWJ3267.js → chunk-7SGMHGLI.js} +8 -8
- package/dist/{chunk-OAWBNCME.js → chunk-ANCNHQCH.js} +12 -12
- package/dist/{chunk-UN73LNM5.js → chunk-FJS5I6V4.js} +3 -3
- package/dist/{chunk-HUXMRYUX.js → chunk-FLM6TN7Q.js} +2 -2
- package/dist/{chunk-EJXJE2H3.js → chunk-GODAKJ3L.js} +16 -16
- package/dist/{chunk-MAAQ4ZSN.js → chunk-HXVNBJVA.js} +20 -20
- package/dist/{chunk-HGUQIBYY.js → chunk-IA4FMPJ3.js} +4 -4
- package/dist/{chunk-5BLBX2Q5.js → chunk-IWFKPEWJ.js} +3 -3
- package/dist/{chunk-BFM2P47R.js → chunk-J564PMKW.js} +3 -3
- package/dist/{chunk-SWQA6SZI.js → chunk-JVMAWMO3.js} +42 -42
- package/dist/{chunk-QBSSSKIC.js → chunk-KL4PGJ2G.js} +3 -3
- package/dist/{chunk-TN7ZBZRW.js → chunk-KU4HLYWT.js} +2 -2
- package/dist/{chunk-7Z43XRBL.js → chunk-LYR6W5LV.js} +2 -2
- package/dist/{chunk-4PHCBKJI.js → chunk-M42Y53Z4.js} +2 -2
- package/dist/{chunk-G3ZUGFIS.js → chunk-MJA5BP2M.js} +2 -2
- package/dist/{chunk-X3LYWTZ5.js → chunk-N2JZU6VR.js} +2 -2
- package/dist/{chunk-3H765RXT.js → chunk-N3LPULRE.js} +2 -2
- package/dist/{chunk-CBACTYIC.js → chunk-OF5YFPSK.js} +2 -2
- package/dist/{chunk-CPR2F3WN.js → chunk-OFKFZSHS.js} +1 -1
- package/dist/{chunk-T6GI2AFJ.js → chunk-OTUPQ7M3.js} +5 -5
- package/dist/{chunk-4GI22VPJ.js → chunk-OZVZ3KCH.js} +2 -2
- package/dist/{chunk-CP7OSHLK.js → chunk-PAWLPNBA.js} +2 -2
- package/dist/{chunk-34OZQNKR.js → chunk-Q77C32ZB.js} +2 -2
- package/dist/{chunk-RVBDZMCC.js → chunk-QHNSBURP.js} +2 -2
- package/dist/{chunk-YRLSJBSY.js → chunk-QLXGLHK3.js} +15 -15
- package/dist/{chunk-CJIXD67B.js → chunk-QZXSPUNS.js} +2 -2
- package/dist/{chunk-EQ2KB5YF.js → chunk-T2LFOMOP.js} +2 -2
- package/dist/{chunk-KNLPGIRY.js → chunk-T4HTNHXR.js} +2 -2
- package/dist/{chunk-LLG33KGY.js → chunk-VJCUFHTQ.js} +2 -2
- package/dist/{chunk-RSWPVU6X.js → chunk-VV7FVGOX.js} +2 -2
- package/dist/{chunk-E7YXNU57.js → chunk-WXY24GKO.js} +2 -2
- package/dist/{chunk-52VELHIH.js → chunk-X7EK5PTK.js} +2 -2
- package/dist/{chunk-AD7YILOU.js → chunk-XD5FOBMZ.js} +2 -2
- package/dist/{chunk-KMXXOJL2.js → chunk-XWEDFVJ6.js} +7 -7
- package/dist/{chunk-2VHEZDZZ.js → chunk-YF7PDN6T.js} +12 -12
- package/dist/{chunk-3OR2RCXJ.js → chunk-ZNGUETV7.js} +99 -57
- package/dist/cli.js +12 -12
- package/dist/{codegen-command-GGGU6YAP.js → codegen-command-ZXABRPVP.js} +19 -19
- package/dist/{deploy-command-WOHYD22D.js → deploy-command-KO5FATR6.js} +16 -16
- package/dist/{deploy-source-QK7Y4Y3V.js → deploy-source-7GCMMZKV.js} +7 -7
- package/dist/{dev-env-sync-AMFPULCP.js → dev-env-sync-LZ22CSKD.js} +13 -13
- package/dist/{env-example-refresh-F5RTDVJ5.js → env-example-refresh-DWGV4DFX.js} +20 -20
- package/dist/{env-pull-command-J2ARE33T.js → env-pull-command-5N5AUKJK.js} +13 -13
- package/dist/{env-target-WA4BR6GW.js → env-target-CXZXMK3W.js} +2 -2
- package/dist/{env-var-command-WEC22FI5.js → env-var-command-4RGQALIH.js} +13 -13
- package/dist/{ephemeral-command-EJLS42VJ.js → ephemeral-command-GIB63YX3.js} +14 -14
- package/dist/{generate-command-2WHFL4CB.js → generate-command-GW42CN4I.js} +23 -23
- package/dist/{gitignore-OKB3X335.js → gitignore-RDEUQHHG.js} +6 -6
- package/dist/{impersonate-command-EIWI3FBD.js → impersonate-command-H72JM5IF.js} +9 -9
- package/dist/{init-command-POIWZKZ4.js → init-command-ERRMSKPB.js} +15 -15
- package/dist/{init-modules-S7BR4NIJ.js → init-modules-UH7PPQTB.js} +2 -2
- package/dist/{keep-data-merge-NXP77QML.js → keep-data-merge-BNX3HEHM.js} +4 -4
- package/dist/{landing-record-MK44WCRY.js → landing-record-ZY4O7OLQ.js} +5 -5
- package/dist/{local-engine-ai-3XLJLOBP.js → local-engine-ai-YWAMTHME.js} +3 -3
- package/dist/{local-engine-choice-7QBML5XF.js → local-engine-choice-PCM45R3A.js} +11 -11
- package/dist/{local-engine-command-N7VDPABW.js → local-engine-command-ACJ6YUP7.js} +14 -14
- package/dist/{local-engine-deploy-RYZZYEDQ.js → local-engine-deploy-IUHWB43Q.js} +2 -2
- package/dist/{local-engine-mcp-command-A257D3WK.js → local-engine-mcp-command-EODMA3X5.js} +14 -14
- package/dist/{lock-commands-KMWLIGT2.js → lock-commands-YBBTZB6M.js} +13 -13
- package/dist/{login-command-E2KMN6DV.js → login-command-DJCCEN5O.js} +9 -9
- package/dist/{logout-command-AIB446AQ.js → logout-command-6FQLSD5H.js} +3 -3
- package/dist/{marketplace-command-YLBFUBHL.js → marketplace-command-2JZERTJW.js} +13 -13
- package/dist/{meta-client-AOPF5IQN.js → meta-client-KDTBLP6X.js} +2 -2
- package/dist/node.js +14 -14
- package/dist/{operation-outcome-GBSISFAP.js → operation-outcome-POYID3M6.js} +4 -4
- package/dist/{output-target-NHJLT4YI.js → output-target-55RSDDTO.js} +7 -7
- package/dist/{preflight-command-O52GLYGA.js → preflight-command-ZP7VVE5T.js} +18 -18
- package/dist/{profile-command-NOKUVV3M.js → profile-command-EP7N7LNQ.js} +10 -10
- package/dist/{promote-command-2NMTINVS.js → promote-command-LX5UWQYG.js} +26 -26
- package/dist/{publish-command-LB2XULJA.js → publish-command-DW5VLFJN.js} +16 -16
- package/dist/{pull-command-UVNPFY2E.js → pull-command-ZUDJRRXV.js} +21 -21
- package/dist/{release-command-BGSDY3BE.js → release-command-Z3HXXLLO.js} +18 -18
- package/dist/{release-ns-command-IVXK7HEG.js → release-ns-command-JS3OUEFQ.js} +31 -31
- package/dist/{routes-manifest-file-3MDX3JB3.js → routes-manifest-file-PIKQ3BIJ.js} +2 -2
- package/dist/{secrets-file-NFNUKRGZ.js → secrets-file-QLVCR2JD.js} +5 -5
- package/dist/{secrets-fill-command-U5L7IKUO.js → secrets-fill-command-BK7NVKPY.js} +15 -15
- package/dist/{source-resolve-MAMVIHDF.js → source-resolve-GGRHO6NW.js} +3 -3
- package/dist/{status-command-VXIN37ET.js → status-command-3DISBMGH.js} +12 -12
- package/dist/{sync-contributions-PGMYJKLG.js → sync-contributions-GAV6PZEY.js} +2 -2
- package/dist/{tables-command-FNBHVJG3.js → tables-command-D7DSJAXI.js} +10 -10
- package/dist/{tenant-command-PHNX3PXS.js → tenant-command-6S5RU4PP.js} +32 -32
- package/dist/{test-command-DMMF3RMK.js → test-command-FSRARFF7.js} +10 -10
- package/dist/{token-IHOPB74T.js → token-XTU3C2DI.js} +2 -2
- package/dist/{toolchain-modules-V56JXU2E.js → toolchain-modules-YSM6DMDB.js} +2 -2
- package/dist/{tracked-backend-VKWZKKBG.js → tracked-backend-7XW4KPIR.js} +9 -9
- package/dist/{update-check-DZ4YVDNS.js → update-check-KKDYZG3X.js} +14 -14
- package/dist/{upgrade-command-EP5WQWFA.js → upgrade-command-LRJ7V3UW.js} +16 -16
- package/dist/{whoami-command-UV6EEDBY.js → whoami-command-FBRWLX5Q.js} +4 -4
- package/dist/{workspace-6LVJ3LZE.js → workspace-DTM3ZNTM.js} +2 -2
- package/dist/{workspace-binding-AUZIERMF.js → workspace-binding-M7XSJIWC.js} +3 -3
- package/dist/{workspace-command-VXOY6KPE.js → workspace-command-3T6CT7UA.js} +27 -27
- package/dist/{workspace-env-ZNGE3DFN.js → workspace-env-RIKENQFC.js} +5 -5
- package/dist/{xanosdk-import-FENZ7XMW.js → xanosdk-import-L3ZZIT6I.js} +2 -2
- package/dist/{xanosdk-project-K4RKLLNO.js → xanosdk-project-YVLCGM3Y.js} +5 -5
- package/llms-full.txt +1 -1
- package/llms.txt +1 -1
- package/manifest.json +1 -1
- package/package.json +2 -39
- package/skills/xano-backend/SKILL.md +2 -2
- package/dist/.build-fingerprint +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,34 @@ one release and links to its full notes.
|
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
## 1.0.20 — Xano AI in the SDK
|
|
12
|
+
|
|
13
|
+
_2026-11-11_ · [release notes](https://github.com/xano-sdk/sdk/releases/tag/v1.0.20)
|
|
14
|
+
|
|
15
|
+
This release brings Xano AI to the SDK. You can author the eight AI statements, run agents on Xano AI, and set where those models run, at the statement, agent or workspace level. Xano AI also works on a local Xano Engine with no key to copy. A new `ai models` command shows the current models, so an agent can pick one without waiting for an SDK release. It also fixes preflight against Xano Cloud's new table audit blocks.
|
|
16
|
+
|
|
17
|
+
- The eight Xano AI statements are authorable under `s.ai`
|
|
18
|
+
- Model fields accept any model and autocomplete the known ones
|
|
19
|
+
- `xanosdk ai models` prints the live Xano AI catalog
|
|
20
|
+
- Agents can run on Xano AI with a chosen model and location
|
|
21
|
+
- Set the workspace's Xano AI location in code
|
|
22
|
+
- Xano AI works on the local Xano Engine with no key to copy
|
|
23
|
+
- Preflight ignores Xano Cloud's default table audit blocks
|
|
24
|
+
- A downloaded Xano Engine names its license once
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## 1.0.19 — Agentic signup paused
|
|
29
|
+
|
|
30
|
+
_2026-11-02_ · [release notes](https://github.com/xano-sdk/sdk/releases/tag/v1.0.19)
|
|
31
|
+
|
|
32
|
+
This release pauses the agentic signup flow. When nothing is signed in, the CLI, `status` and the agent docs go back to pointing at `xanosdk login`, a stored meta API token, or the CI environment variables. The removal is temporary.
|
|
33
|
+
|
|
34
|
+
- Agentic signup is paused
|
|
35
|
+
- ⚠️ `status` drops `agentSignup` and `suggest`
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
11
39
|
## 1.0.18 — Preflight reads the default mesh0 block
|
|
12
40
|
|
|
13
41
|
_2026-10-30_ · [release notes](https://github.com/xano-sdk/sdk/releases/tag/v1.0.18)
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
codingAgentDetected,
|
|
4
4
|
isCI,
|
|
5
5
|
refreshAgentFiles
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-X7EK5PTK.js";
|
|
7
|
+
import "./chunk-T2LFOMOP.js";
|
|
8
|
+
import "./chunk-QZXSPUNS.js";
|
|
9
9
|
import "./chunk-7J7YRAZB.js";
|
|
10
10
|
import "./chunk-ZFDZKNGG.js";
|
|
11
11
|
import "./chunk-FWD7AL6N.js";
|
|
@@ -38,4 +38,4 @@ export {
|
|
|
38
38
|
isCI,
|
|
39
39
|
refreshAgentFiles
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=agent-file-refresh-
|
|
41
|
+
//# sourceMappingURL=agent-file-refresh-5R5ALFEV.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readVersion
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZNGUETV7.js";
|
|
4
4
|
import "./chunk-ZCXWOGFL.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-FJS5I6V4.js";
|
|
6
|
+
import "./chunk-XWEDFVJ6.js";
|
|
7
7
|
import "./chunk-5Z4WQQHC.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-VJCUFHTQ.js";
|
|
9
9
|
import "./chunk-JXX2QXPP.js";
|
|
10
10
|
import "./chunk-6TAYTKFM.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-OZVZ3KCH.js";
|
|
12
12
|
import "./chunk-I52AKG2O.js";
|
|
13
13
|
import "./chunk-2MNLRIOX.js";
|
|
14
14
|
import "./chunk-745NOWB7.js";
|
|
15
15
|
import "./chunk-EBSJUSID.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-64F6ET45.js";
|
|
17
|
+
import "./chunk-PAWLPNBA.js";
|
|
18
18
|
import "./chunk-DAXFWXSV.js";
|
|
19
19
|
import "./chunk-MKRREVNB.js";
|
|
20
20
|
import "./chunk-ZYJP6BOO.js";
|
|
@@ -23,9 +23,9 @@ import "./chunk-RQGSZ7AR.js";
|
|
|
23
23
|
import "./chunk-LMX4VE4H.js";
|
|
24
24
|
import "./chunk-7ZVQIKNL.js";
|
|
25
25
|
import "./chunk-2H5BQRHF.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-X7EK5PTK.js";
|
|
27
27
|
import "./chunk-CGLYG2VF.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-WXY24GKO.js";
|
|
29
29
|
import "./chunk-QO6BVGS5.js";
|
|
30
30
|
import "./chunk-TDSRZDQP.js";
|
|
31
31
|
import "./chunk-PC7XEO7F.js";
|
|
@@ -37,11 +37,11 @@ import {
|
|
|
37
37
|
} from "./chunk-EUUUMY7J.js";
|
|
38
38
|
import "./chunk-5ABAIJVV.js";
|
|
39
39
|
import "./chunk-4GPIOIAC.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-N2JZU6VR.js";
|
|
41
41
|
import {
|
|
42
42
|
AGENT_RULE_BACKENDS
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-T2LFOMOP.js";
|
|
44
|
+
import "./chunk-QZXSPUNS.js";
|
|
45
45
|
import "./chunk-HU7F56VF.js";
|
|
46
46
|
import "./chunk-7J7YRAZB.js";
|
|
47
47
|
import "./chunk-ZFDZKNGG.js";
|
|
@@ -410,4 +410,4 @@ function report(verb, outcomes, args) {
|
|
|
410
410
|
export {
|
|
411
411
|
runAgentSkillCommand
|
|
412
412
|
};
|
|
413
|
-
//# sourceMappingURL=agent-skill-command-
|
|
413
|
+
//# sourceMappingURL=agent-skill-command-JBX7Z6AK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
environmentCredentialVars
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-64F6ET45.js";
|
|
4
4
|
import "./chunk-DAXFWXSV.js";
|
|
5
5
|
import "./chunk-ZYJP6BOO.js";
|
|
6
6
|
import "./chunk-2H5BQRHF.js";
|
|
@@ -267,4 +267,4 @@ export {
|
|
|
267
267
|
runAiCommand,
|
|
268
268
|
runAiModelsCommand
|
|
269
269
|
};
|
|
270
|
-
//# sourceMappingURL=ai-models-command-
|
|
270
|
+
//# sourceMappingURL=ai-models-command-I3FU6GYP.js.map
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
backendDirFor,
|
|
3
3
|
backendDirIn,
|
|
4
4
|
resolveBackendDir
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-N2JZU6VR.js";
|
|
6
|
+
import "./chunk-T2LFOMOP.js";
|
|
7
|
+
import "./chunk-QZXSPUNS.js";
|
|
8
8
|
import {
|
|
9
9
|
projectRootFrom
|
|
10
10
|
} from "./chunk-HU7F56VF.js";
|
|
@@ -39,4 +39,4 @@ export {
|
|
|
39
39
|
projectRootFrom,
|
|
40
40
|
resolveBackendDir
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=backend-dir-
|
|
42
|
+
//# sourceMappingURL=backend-dir-VOMHDVFP.js.map
|
package/dist/bin.js
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
maybeNotifyUpdate
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MJA5BP2M.js";
|
|
5
5
|
import "./chunk-6L32HAIP.js";
|
|
6
6
|
import "./chunk-2TFRR6JV.js";
|
|
7
7
|
import {
|
|
8
|
+
installUserAgent,
|
|
8
9
|
readVersion,
|
|
9
10
|
run
|
|
10
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZNGUETV7.js";
|
|
11
12
|
import "./chunk-ZCXWOGFL.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-FJS5I6V4.js";
|
|
14
|
+
import "./chunk-XWEDFVJ6.js";
|
|
14
15
|
import "./chunk-5Z4WQQHC.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-VJCUFHTQ.js";
|
|
16
17
|
import "./chunk-JXX2QXPP.js";
|
|
17
18
|
import "./chunk-6TAYTKFM.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-OZVZ3KCH.js";
|
|
19
20
|
import "./chunk-I52AKG2O.js";
|
|
20
21
|
import "./chunk-2MNLRIOX.js";
|
|
21
22
|
import "./chunk-745NOWB7.js";
|
|
22
23
|
import "./chunk-EBSJUSID.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-64F6ET45.js";
|
|
25
|
+
import "./chunk-PAWLPNBA.js";
|
|
25
26
|
import "./chunk-DAXFWXSV.js";
|
|
26
27
|
import "./chunk-MKRREVNB.js";
|
|
27
28
|
import "./chunk-ZYJP6BOO.js";
|
|
@@ -30,9 +31,9 @@ import "./chunk-RQGSZ7AR.js";
|
|
|
30
31
|
import "./chunk-LMX4VE4H.js";
|
|
31
32
|
import "./chunk-7ZVQIKNL.js";
|
|
32
33
|
import "./chunk-2H5BQRHF.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-X7EK5PTK.js";
|
|
34
35
|
import "./chunk-CGLYG2VF.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-WXY24GKO.js";
|
|
36
37
|
import "./chunk-QO6BVGS5.js";
|
|
37
38
|
import "./chunk-TDSRZDQP.js";
|
|
38
39
|
import "./chunk-PC7XEO7F.js";
|
|
@@ -45,9 +46,9 @@ import {
|
|
|
45
46
|
installSecretRedaction,
|
|
46
47
|
redactSecrets
|
|
47
48
|
} from "./chunk-4GPIOIAC.js";
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-N2JZU6VR.js";
|
|
50
|
+
import "./chunk-T2LFOMOP.js";
|
|
51
|
+
import "./chunk-QZXSPUNS.js";
|
|
51
52
|
import "./chunk-HU7F56VF.js";
|
|
52
53
|
import "./chunk-7J7YRAZB.js";
|
|
53
54
|
import "./chunk-ZFDZKNGG.js";
|
|
@@ -248,6 +249,7 @@ installSecretRedaction(process.stdout);
|
|
|
248
249
|
installSecretRedaction(process.stderr);
|
|
249
250
|
installInterruptHandler();
|
|
250
251
|
installSentWriteTracking();
|
|
252
|
+
installUserAgent(readVersion());
|
|
251
253
|
installCliDiagnosticSink();
|
|
252
254
|
installStdoutPipeGuard();
|
|
253
255
|
installCliPrefix(fileURLToPath(import.meta.url));
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
runBranchCommand,
|
|
5
5
|
shownLabel,
|
|
6
6
|
staleSchemaRefs
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OTUPQ7M3.js";
|
|
8
8
|
import "./chunk-KHX6VQ4M.js";
|
|
9
9
|
import "./chunk-BBFHZMQA.js";
|
|
10
10
|
import "./chunk-Z7IINILG.js";
|
|
@@ -18,7 +18,7 @@ import "./chunk-JXX2QXPP.js";
|
|
|
18
18
|
import "./chunk-I52AKG2O.js";
|
|
19
19
|
import "./chunk-2MNLRIOX.js";
|
|
20
20
|
import "./chunk-745NOWB7.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-64F6ET45.js";
|
|
22
22
|
import "./chunk-DAXFWXSV.js";
|
|
23
23
|
import "./chunk-ZYJP6BOO.js";
|
|
24
24
|
import "./chunk-2H5BQRHF.js";
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
shownLabel,
|
|
78
78
|
staleSchemaRefs
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=branch-commands-
|
|
80
|
+
//# sourceMappingURL=branch-commands-JOSHDOXH.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
// src/emit/routes-manifest-file.ts
|
|
16
16
|
import { existsSync, readFileSync, statSync } from "fs";
|
|
17
17
|
async function discoverManifestModules(projectDir, manifestPath, sdkVersion) {
|
|
18
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
18
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-YSM6DMDB.js");
|
|
19
19
|
const { loaded, skipped } = await discoverToolchainPlugins(projectDir, { frozen: false, peerSkew: "skip" });
|
|
20
20
|
return {
|
|
21
21
|
loaded,
|
|
@@ -75,4 +75,4 @@ export {
|
|
|
75
75
|
renderManifestFile,
|
|
76
76
|
reportModuleFailures
|
|
77
77
|
};
|
|
78
|
-
//# sourceMappingURL=chunk-
|
|
78
|
+
//# sourceMappingURL=chunk-4TVHSC4V.js.map
|
|
@@ -381,7 +381,7 @@ The refresh token may be expired or already spent \u2014 refresh tokens rotate o
|
|
|
381
381
|
);
|
|
382
382
|
}
|
|
383
383
|
assertHttpsOrigin(instance, "instance");
|
|
384
|
-
const { resolveScopedWorkspaceId } = await import("./workspace-
|
|
384
|
+
const { resolveScopedWorkspaceId } = await import("./workspace-DTM3ZNTM.js");
|
|
385
385
|
const workspaceId = await resolveScopedWorkspaceId({ access_token: set.access_token, instance });
|
|
386
386
|
return { access_token: set.access_token, instance, workspaceId, credentialType: "oauth-refresh" };
|
|
387
387
|
}
|
|
@@ -526,7 +526,7 @@ async function warnIfUnpinnedMachineDefault(file, selection, pin, saved, path) {
|
|
|
526
526
|
if (selection.source !== "file-default" && selection.source !== "implicit") return;
|
|
527
527
|
const stored = file === null ? [] : profileNames(file);
|
|
528
528
|
if (stored.length < 2) return;
|
|
529
|
-
const { projectDirFrom } = await import("./xanosdk-project-
|
|
529
|
+
const { projectDirFrom } = await import("./xanosdk-project-YVLCGM3Y.js");
|
|
530
530
|
if (projectDirFrom(process.cwd()) === void 0) return;
|
|
531
531
|
const target = targetOf(saved);
|
|
532
532
|
credentialWarning(
|
|
@@ -890,4 +890,4 @@ export {
|
|
|
890
890
|
notSignedIn,
|
|
891
891
|
assertStoredAuthHost
|
|
892
892
|
};
|
|
893
|
-
//# sourceMappingURL=chunk-
|
|
893
|
+
//# sourceMappingURL=chunk-64F6ET45.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aiOutcomeDocument,
|
|
3
3
|
aiOutcomeLine
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OF5YFPSK.js";
|
|
5
5
|
import {
|
|
6
6
|
restartMismatchedEngine
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QHNSBURP.js";
|
|
8
8
|
import {
|
|
9
9
|
ENGINE_LICENSE_NOTICE,
|
|
10
10
|
acquireEngine
|
|
11
11
|
} from "./chunk-M5GXZEX7.js";
|
|
12
12
|
import {
|
|
13
13
|
pinWrittenText
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IWFKPEWJ.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveProjectEntry
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-J564PMKW.js";
|
|
18
18
|
import {
|
|
19
19
|
confirm
|
|
20
20
|
} from "./chunk-BBFHZMQA.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
NO_CREDENTIAL,
|
|
50
50
|
SourceError,
|
|
51
51
|
resolveSource
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-VJCUFHTQ.js";
|
|
53
53
|
import {
|
|
54
54
|
clearEngineRecordsNamed,
|
|
55
55
|
clearEngineRecordsStillMatching,
|
|
@@ -96,7 +96,7 @@ async function runLocalEngineCommand(args, opts = {}) {
|
|
|
96
96
|
case "token":
|
|
97
97
|
return runToken(args, opts);
|
|
98
98
|
case "mcp":
|
|
99
|
-
return (await import("./local-engine-mcp-command-
|
|
99
|
+
return (await import("./local-engine-mcp-command-EODMA3X5.js")).runMcp(args, opts);
|
|
100
100
|
case "stop":
|
|
101
101
|
return runStop(args, opts);
|
|
102
102
|
case "update":
|
|
@@ -399,7 +399,7 @@ Run this from the project's root.`
|
|
|
399
399
|
}
|
|
400
400
|
async function repointDevEnvAfterRestart(dir, restarted) {
|
|
401
401
|
if (restarted.previousUrl === void 0) return void 0;
|
|
402
|
-
const { repointDevEnv } = await import("./dev-env-sync-
|
|
402
|
+
const { repointDevEnv } = await import("./dev-env-sync-LZ22CSKD.js");
|
|
403
403
|
try {
|
|
404
404
|
return repointDevEnv(dir, restarted.previousUrl, restarted.url);
|
|
405
405
|
} catch (err) {
|
|
@@ -731,4 +731,4 @@ export {
|
|
|
731
731
|
reportOrphanSweep,
|
|
732
732
|
resolveLiveEngine
|
|
733
733
|
};
|
|
734
|
-
//# sourceMappingURL=chunk-
|
|
734
|
+
//# sourceMappingURL=chunk-7SGMHGLI.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-YFVD3LNL.js";
|
|
6
6
|
import {
|
|
7
7
|
rerenderEnvExample
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KL4PGJ2G.js";
|
|
9
9
|
import {
|
|
10
10
|
carriedSeedRows,
|
|
11
11
|
decodeBundle,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
verifyPulledTree,
|
|
18
18
|
withSourceIdentities,
|
|
19
19
|
writeDocumentationTokens
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QLXGLHK3.js";
|
|
21
21
|
import {
|
|
22
22
|
ROUTES_MANIFEST_BASENAME
|
|
23
23
|
} from "./chunk-SVQMDVND.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk-YAZEB255.js";
|
|
31
31
|
import {
|
|
32
32
|
fetchSourceArchive
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-J564PMKW.js";
|
|
34
34
|
import {
|
|
35
35
|
confirm
|
|
36
36
|
} from "./chunk-BBFHZMQA.js";
|
|
@@ -40,25 +40,25 @@ import {
|
|
|
40
40
|
} from "./chunk-3DRXWLJ5.js";
|
|
41
41
|
import {
|
|
42
42
|
ensureSecretPathGitignored
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-Q77C32ZB.js";
|
|
44
44
|
import {
|
|
45
45
|
readVersion,
|
|
46
46
|
refreshAgentGuidance
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-ZNGUETV7.js";
|
|
48
48
|
import {
|
|
49
49
|
WORKSPACE_ENV_BASENAME,
|
|
50
50
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
51
51
|
namesInEnvExample,
|
|
52
52
|
readWorkspaceEnvFile
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-FJS5I6V4.js";
|
|
54
54
|
import {
|
|
55
55
|
memoCredential,
|
|
56
56
|
refuseProfileForLocal,
|
|
57
57
|
selectBackend
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-XWEDFVJ6.js";
|
|
59
59
|
import {
|
|
60
60
|
getAccessToken
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-64F6ET45.js";
|
|
62
62
|
import {
|
|
63
63
|
readLockFile,
|
|
64
64
|
writeLockFile
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
import {
|
|
73
73
|
backendDirIn,
|
|
74
74
|
resolveBackendDir
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-N2JZU6VR.js";
|
|
76
76
|
import {
|
|
77
77
|
CODEGEN_MARKER,
|
|
78
78
|
DECODE_MARKER,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
readDecodeRecord,
|
|
88
88
|
removeEmptiedDirs,
|
|
89
89
|
removeFiles
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-T2LFOMOP.js";
|
|
91
91
|
import {
|
|
92
92
|
holdsProjectManifest
|
|
93
93
|
} from "./chunk-HU7F56VF.js";
|
|
@@ -319,7 +319,7 @@ async function runPullCommand(args) {
|
|
|
319
319
|
});
|
|
320
320
|
refuseDuplicateSourceGuids(project);
|
|
321
321
|
const seedRows = carriedSeedRows(fetched.archive, bundle.payload);
|
|
322
|
-
const { discoverManifestModules } = await import("./routes-manifest-file-
|
|
322
|
+
const { discoverManifestModules } = await import("./routes-manifest-file-PIKQ3BIJ.js");
|
|
323
323
|
const modules = await discoverManifestModules(cwd, join(cwd, backendDir, ROUTES_MANIFEST_BASENAME), readVersion());
|
|
324
324
|
const placed = placeGeneratedFiles(project, backendDir, void 0, void 0, modules);
|
|
325
325
|
const settings = source.kind === "release" ? keepProjectSettings(placed, backendDir, join(cwd, backendDir)) : { files: placed, kept: false, lost: [], from: WORKSPACE_SETTINGS_FILE };
|
|
@@ -944,4 +944,4 @@ export {
|
|
|
944
944
|
projectWorkspaceName,
|
|
945
945
|
envFillRemedy
|
|
946
946
|
};
|
|
947
|
-
//# sourceMappingURL=chunk-
|
|
947
|
+
//# sourceMappingURL=chunk-ANCNHQCH.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backendDirFor,
|
|
3
3
|
backendDirIn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-N2JZU6VR.js";
|
|
5
5
|
import {
|
|
6
6
|
XANO_DIR
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-T2LFOMOP.js";
|
|
8
8
|
import {
|
|
9
9
|
projectRootFrom
|
|
10
10
|
} from "./chunk-HU7F56VF.js";
|
|
@@ -258,4 +258,4 @@ export {
|
|
|
258
258
|
namesInEnvExample,
|
|
259
259
|
renderWorkspaceEnvFile
|
|
260
260
|
};
|
|
261
|
-
//# sourceMappingURL=chunk-
|
|
261
|
+
//# sourceMappingURL=chunk-FJS5I6V4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureExportGitignored
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q77C32ZB.js";
|
|
4
4
|
import {
|
|
5
5
|
andList
|
|
6
6
|
} from "./chunk-622HUCZT.js";
|
|
@@ -125,4 +125,4 @@ export {
|
|
|
125
125
|
secretsPhrase,
|
|
126
126
|
assertWritableTarget
|
|
127
127
|
};
|
|
128
|
-
//# sourceMappingURL=chunk-
|
|
128
|
+
//# sourceMappingURL=chunk-FLM6TN7Q.js.map
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk-BBFHZMQA.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureWorkspaceEnvGitignored
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Q77C32ZB.js";
|
|
10
10
|
import {
|
|
11
11
|
readVersion
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZNGUETV7.js";
|
|
13
13
|
import {
|
|
14
14
|
WORKSPACE_ENV_EXAMPLE_FILE,
|
|
15
15
|
renderWorkspaceEnvExample
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FJS5I6V4.js";
|
|
17
17
|
import {
|
|
18
18
|
parseSlot,
|
|
19
19
|
requireBackendSlot
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
existingProjectClashes,
|
|
27
27
|
isNonEmptyDir,
|
|
28
28
|
scaffoldProject
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-T2LFOMOP.js";
|
|
30
30
|
import {
|
|
31
31
|
inProject,
|
|
32
32
|
installModules,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
preflightPackages,
|
|
35
35
|
rebaseLocalSpec,
|
|
36
36
|
renderXanoIndexWithModules
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-QZXSPUNS.js";
|
|
38
38
|
import {
|
|
39
39
|
npmViewVersion
|
|
40
40
|
} from "./chunk-ZFDZKNGG.js";
|
|
@@ -725,7 +725,7 @@ async function runInitCommand(args) {
|
|
|
725
725
|
}
|
|
726
726
|
const source = resolveFromSource(args.from);
|
|
727
727
|
if (source.kind === "file") await refuseUnknownProfileFlag(args, resolve(args.positionals[0] ?? "."));
|
|
728
|
-
const { runInitFromCommand } = await import("./codegen-command-
|
|
728
|
+
const { runInitFromCommand } = await import("./codegen-command-ZXABRPVP.js");
|
|
729
729
|
return runInitFromCommand(args, source);
|
|
730
730
|
}
|
|
731
731
|
rejectPullOnlyFlags(args);
|
|
@@ -789,7 +789,7 @@ async function runInitCommand(args) {
|
|
|
789
789
|
}
|
|
790
790
|
let scaffolded = false;
|
|
791
791
|
try {
|
|
792
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
792
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-YSM6DMDB.js");
|
|
793
793
|
const toolchain = await discoverToolchainPlugins(targetDir, { frozen: false, configuring: true });
|
|
794
794
|
const preset = flagFrontend !== void 0 ? flagFrontend : await resolveFrontendPreset(args.framework);
|
|
795
795
|
if (preset === null && flagFrontend === void 0) refuseFrontendOnlyFlags(args, "no frontend was chosen");
|
|
@@ -924,7 +924,7 @@ async function runInitCommand(args) {
|
|
|
924
924
|
const { skewedProjectSdk } = await import("./project-sdk-FYNY7RTO.js");
|
|
925
925
|
const installedSdk = skewedProjectSdk(targetDir, readVersion());
|
|
926
926
|
if (installedSdk !== void 0) {
|
|
927
|
-
const { reconcileWithInstalled } = await import("./upgrade-command-
|
|
927
|
+
const { reconcileWithInstalled } = await import("./upgrade-command-LRJ7V3UW.js");
|
|
928
928
|
const rendered = reconcileWithInstalled(targetDir);
|
|
929
929
|
if (rendered.length > 0) {
|
|
930
930
|
info(`Rendered ${rendered.join(", ")} with the installed @xano/sdk ${installedSdk.version} (this CLI is ${readVersion()}).`);
|
|
@@ -1068,14 +1068,14 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv, toolchain) {
|
|
|
1068
1068
|
const { readLockFile, writeLockFile } = await import("./io-47TFRYDB.js");
|
|
1069
1069
|
const { setDiagnosticSink } = await import("./diagnostics-T3RN3372.js");
|
|
1070
1070
|
const { planRouteManifest } = await import("./routes-manifest-N73THJB3.js");
|
|
1071
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
1072
|
-
const { isEnabled } = await import("./toolchain-modules-
|
|
1071
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-PIKQ3BIJ.js");
|
|
1072
|
+
const { isEnabled } = await import("./toolchain-modules-YSM6DMDB.js");
|
|
1073
1073
|
const existing = existsSync(lockPath) ? readLockFile(lockPath) : void 0;
|
|
1074
1074
|
resetLockOverrides();
|
|
1075
1075
|
if (existing !== void 0) seedLockOverrides(existing);
|
|
1076
1076
|
const ctx = createLockContext(existing);
|
|
1077
1077
|
const { envNamesRead } = await import("./guards-N4PUFKN5.js");
|
|
1078
|
-
const { refreshEnvExample } = await import("./env-example-refresh-
|
|
1078
|
+
const { refreshEnvExample } = await import("./env-example-refresh-DWGV4DFX.js");
|
|
1079
1079
|
const def = await loadDefault(join(targetDir, XANO_DIR, "index.ts"));
|
|
1080
1080
|
if (!Xano.isXano(def)) return { written, env: declaredEnv };
|
|
1081
1081
|
const previousSink = setDiagnosticSink(() => {
|
|
@@ -1142,7 +1142,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1142
1142
|
const file = readCredentialFile(path);
|
|
1143
1143
|
const stored = file === null ? [] : profileNames(file);
|
|
1144
1144
|
if (stored.includes(name)) return;
|
|
1145
|
-
const { ProfileNotFoundError } = await import("./token-
|
|
1145
|
+
const { ProfileNotFoundError } = await import("./token-XTU3C2DI.js");
|
|
1146
1146
|
const have = stored.length === 0 ? "Nothing is signed in on this machine." : `Stored profiles: ${quotedNames(stored)}.`;
|
|
1147
1147
|
throw new ProfileNotFoundError(
|
|
1148
1148
|
`No credential profile "${name}" in ${path} (from ${fromEnv ? `$${ENV_PROFILE}` : "--profile"}), so there is nothing to pin this project to. ${have} Run ${loginHint(name)} to add it, or name a stored one${fromEnv ? ` (or unset ${ENV_PROFILE})` : ""}.`,
|
|
@@ -1151,7 +1151,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1151
1151
|
);
|
|
1152
1152
|
}
|
|
1153
1153
|
async function envCredentialSet() {
|
|
1154
|
-
const { envMetaCredentialVarsSet } = await import("./token-
|
|
1154
|
+
const { envMetaCredentialVarsSet } = await import("./token-XTU3C2DI.js");
|
|
1155
1155
|
return envMetaCredentialVarsSet().length > 0;
|
|
1156
1156
|
}
|
|
1157
1157
|
function loginNextStep(pin) {
|
|
@@ -1202,7 +1202,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1202
1202
|
};
|
|
1203
1203
|
}
|
|
1204
1204
|
if (opts.credentialRead === true) {
|
|
1205
|
-
const { environmentCredentialVars } = await import("./token-
|
|
1205
|
+
const { environmentCredentialVars } = await import("./token-XTU3C2DI.js");
|
|
1206
1206
|
const env = environmentCredentialVars();
|
|
1207
1207
|
if (env.complete) {
|
|
1208
1208
|
return {
|
|
@@ -1225,7 +1225,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1225
1225
|
});
|
|
1226
1226
|
const stored = file === null ? [] : profileNames(file);
|
|
1227
1227
|
if (!stored.includes(selection.name)) {
|
|
1228
|
-
const env = stored.length === 0 ? (await import("./token-
|
|
1228
|
+
const env = stored.length === 0 ? (await import("./token-XTU3C2DI.js")).environmentCredentialVars() : void 0;
|
|
1229
1229
|
const storeEnv = env?.complete === true ? await storeEnvCredentialCommand(credentialPath, targetDir) : "";
|
|
1230
1230
|
return {
|
|
1231
1231
|
name: null,
|
|
@@ -1317,4 +1317,4 @@ export {
|
|
|
1317
1317
|
runFiles,
|
|
1318
1318
|
planProfilePin
|
|
1319
1319
|
};
|
|
1320
|
-
//# sourceMappingURL=chunk-
|
|
1320
|
+
//# sourceMappingURL=chunk-GODAKJ3L.js.map
|