@xano/sdk 1.0.12 → 1.0.13
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 +13 -0
- package/README.md +8 -8
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-YM5VRRHE.js → agent-file-refresh-DAFGNMQX.js} +4 -4
- package/dist/{agent-skill-command-GVVCBAGF.js → agent-skill-command-6M46ZGOL.js} +13 -13
- package/dist/{backend-dir-NZOLU7TL.js → backend-dir-J2J7JNS6.js} +4 -4
- package/dist/bin.js +13 -13
- package/dist/{branch-commands-Q46PCVHU.js → branch-commands-BUKVE637.js} +3 -3
- package/dist/{chunk-2PAVJ3QD.js → chunk-5ONWBQ2C.js} +2 -2
- package/dist/{chunk-ETMP7SJ3.js → chunk-5SMUND4J.js} +3 -3
- package/dist/{chunk-UZ55F3UK.js → chunk-5XDKKE5Y.js} +2 -2
- package/dist/{chunk-WXLZCBPG.js → chunk-6HTXQAMG.js} +2 -2
- package/dist/{chunk-PBIV4DE2.js → chunk-6OOZJQJK.js} +39 -39
- package/dist/{chunk-2RDZDDPR.js → chunk-CGZSF756.js} +12 -12
- package/dist/{chunk-G3A3XKCS.js → chunk-DPSR5GRE.js} +20 -20
- package/dist/{chunk-DH32QXVI.js → chunk-EKS7SAZS.js} +16 -16
- package/dist/{chunk-2K2G5TSR.js → chunk-ENAUSLMP.js} +3 -3
- package/dist/{chunk-5RSPMSSQ.js → chunk-ENBGJJJH.js} +3 -3
- package/dist/{chunk-5SZSLAAC.js → chunk-FBWMKHLO.js} +1 -1
- package/dist/{chunk-MFEO3EHL.js → chunk-GRWYO2MS.js} +2 -2
- package/dist/{chunk-OKR66IGL.js → chunk-H6VVSGKN.js} +2 -2
- package/dist/{chunk-SAKWZG5I.js → chunk-HDANNK4A.js} +2 -2
- package/dist/{chunk-RNVGXJJZ.js → chunk-HEMWBHQS.js} +7 -7
- package/dist/{chunk-HA5Y645X.js → chunk-MLKJUEG3.js} +12 -12
- package/dist/{chunk-ANBIMJPM.js → chunk-NMHTB346.js} +3 -3
- package/dist/{chunk-RFB4EXM5.js → chunk-O6PWEJUV.js} +2 -2
- package/dist/{chunk-CPFWVB3V.js → chunk-P6HXDOFG.js} +6 -6
- package/dist/{chunk-7XOQXZ6W.js → chunk-QWWQM4XZ.js} +2 -2
- package/dist/{chunk-OK7CBTFW.js → chunk-RAGFXELQ.js} +2 -2
- package/dist/{chunk-4GSXWOBS.js → chunk-RQHXYL77.js} +2 -2
- package/dist/{chunk-HJSAGGHU.js → chunk-SBS2IYTN.js} +2 -2
- package/dist/{chunk-AMHAGMJM.js → chunk-TANWE2ZY.js} +53 -53
- package/dist/{chunk-EC5P4W2D.js → chunk-U4BGBU3R.js} +15 -15
- package/dist/{chunk-4COXXP55.js → chunk-UDCKYLBW.js} +2 -2
- package/dist/{chunk-EMAFZROF.js → chunk-UECNKDDA.js} +2 -2
- package/dist/{chunk-6IOBEJWA.js → chunk-UKC65HBQ.js} +2 -2
- package/dist/{chunk-JPAUQ7MK.js → chunk-VFRL4G72.js} +2 -2
- package/dist/{chunk-74NRFGL7.js → chunk-WQZCFVAD.js} +2 -2
- package/dist/{chunk-TOW4EJON.js → chunk-XL7EA62X.js} +2 -2
- package/dist/{chunk-SAYHY2N3.js → chunk-XYVPF63S.js} +2 -2
- package/dist/{chunk-WQNN6WLB.js → chunk-ZACMAKZE.js} +5 -5
- package/dist/{chunk-U5CTYBAN.js → chunk-ZGNWMGN3.js} +4 -4
- package/dist/{chunk-3XZ44H2E.js → chunk-ZISPEBNM.js} +5 -2
- package/dist/{chunk-LDSZPRGV.js → chunk-ZSMHS7BU.js} +2 -2
- package/dist/cli.js +12 -12
- package/dist/{codegen-command-H3HO7UFA.js → codegen-command-BAFON45M.js} +19 -19
- package/dist/{deploy-command-7PWQJ4VV.js → deploy-command-JW7R3BPW.js} +16 -16
- package/dist/{deploy-source-CJHEVGOS.js → deploy-source-ZUPLAL7L.js} +7 -7
- package/dist/{dev-env-sync-VVLYQUPR.js → dev-env-sync-W7OTV7OD.js} +13 -13
- package/dist/{env-example-refresh-GLFC2FTE.js → env-example-refresh-TS7WBVZQ.js} +20 -20
- package/dist/{env-pull-command-OY3SXNJC.js → env-pull-command-5IYXQ2WK.js} +13 -13
- package/dist/{env-target-PDDDAA5I.js → env-target-TQBPLU2S.js} +2 -2
- package/dist/{env-var-command-UTYDJN24.js → env-var-command-AKCWYZPB.js} +13 -13
- package/dist/{ephemeral-command-ALIHUF7G.js → ephemeral-command-SJYH6XRS.js} +14 -14
- package/dist/{generate-command-S37XFYPD.js → generate-command-FSCFZPOJ.js} +23 -23
- package/dist/{gitignore-DKDWGWPS.js → gitignore-6IJ66XME.js} +6 -6
- package/dist/{impersonate-command-HPCSKJAV.js → impersonate-command-IH4HMSS3.js} +9 -9
- package/dist/{init-command-RWXBXJPG.js → init-command-STB4YSAK.js} +15 -15
- package/dist/{init-modules-LFLW2PQC.js → init-modules-YIZYPCMM.js} +2 -2
- package/dist/internal.js +4 -4
- package/dist/{keep-data-merge-7JGGZKDM.js → keep-data-merge-VRKS64JK.js} +4 -4
- package/dist/{landing-record-QJV7KNS4.js → landing-record-5EFK7RI6.js} +5 -5
- package/dist/{local-engine-choice-NNSHE5FO.js → local-engine-choice-TRTEJVMV.js} +8 -8
- package/dist/{local-engine-command-UGIZ4UO6.js → local-engine-command-2FK2PE2P.js} +9 -9
- package/dist/{local-engine-mcp-command-YUSZC7MF.js → local-engine-mcp-command-FB7EOGG6.js} +9 -9
- package/dist/{lock-commands-VT4R2DEE.js → lock-commands-7PBZIRWR.js} +13 -13
- package/dist/{login-command-4D3KPQUY.js → login-command-2O6GRMTH.js} +9 -9
- package/dist/{logout-command-ALKHCJKS.js → logout-command-RZXGW3O2.js} +3 -3
- package/dist/{marketplace-command-64TE2NGV.js → marketplace-command-NCMLGIMS.js} +13 -13
- package/dist/{meta-client-7MLLUZB4.js → meta-client-DYYM5F5G.js} +2 -2
- package/dist/node.js +14 -14
- package/dist/{operation-outcome-TYAOVNOM.js → operation-outcome-SHNROAFA.js} +4 -4
- package/dist/{output-target-63ECBUX2.js → output-target-PSSR3E4N.js} +7 -7
- package/dist/plugin.d.ts +2 -1
- package/dist/{preflight-command-OUVAX5IJ.js → preflight-command-6F7JF3YQ.js} +18 -18
- package/dist/{profile-command-NUO5U2HQ.js → profile-command-5AOGD6GV.js} +10 -10
- package/dist/{promote-command-MGLAYQDY.js → promote-command-O2NRRFLK.js} +26 -26
- package/dist/{publish-command-KVGNFBSU.js → publish-command-6VVSJPLI.js} +16 -16
- package/dist/{pull-command-OVXIMVUB.js → pull-command-GE2WUEUF.js} +21 -21
- package/dist/{release-command-E54WUJKB.js → release-command-55RTR674.js} +18 -18
- package/dist/{release-ns-command-SLRL3O3W.js → release-ns-command-5XPZ2B6N.js} +31 -31
- package/dist/{routes-manifest-file-IX4TOZCO.js → routes-manifest-file-42FTJHRY.js} +2 -2
- package/dist/{secrets-file-4NQWGCJG.js → secrets-file-N5IF265R.js} +5 -5
- package/dist/{secrets-fill-command-5NNHSYFX.js → secrets-fill-command-35WKBURT.js} +15 -15
- package/dist/{source-resolve-HSJSVKUC.js → source-resolve-JXGOVJD3.js} +3 -3
- package/dist/{status-command-UFIMW7SZ.js → status-command-G3DFRMU7.js} +12 -12
- package/dist/{sync-contributions-35ZAYBUH.js → sync-contributions-7T4CSPVQ.js} +2 -2
- package/dist/{tables-command-TISOU6DR.js → tables-command-7NUOZBHX.js} +10 -10
- package/dist/{tenant-command-ITCPN43T.js → tenant-command-JGEHRKN7.js} +32 -32
- package/dist/{test-command-7SFAJ6HX.js → test-command-2LNEA6GK.js} +10 -10
- package/dist/{token-OXGOA6WE.js → token-DWNH44NW.js} +2 -2
- package/dist/{toolchain-modules-Q3Z6APPF.js → toolchain-modules-F4DUMWTO.js} +2 -2
- package/dist/{tracked-backend-IYTIZZYV.js → tracked-backend-ZFXVLBBJ.js} +9 -9
- package/dist/{update-check-LSCQRDRR.js → update-check-KBHT63GJ.js} +14 -14
- package/dist/{upgrade-command-RQEQJO5Y.js → upgrade-command-CI543AZP.js} +16 -16
- package/dist/{whoami-command-NT3FVBZM.js → whoami-command-77DXENWD.js} +4 -4
- package/dist/{workspace-5RHOJC7K.js → workspace-RI5C77BZ.js} +2 -2
- package/dist/{workspace-binding-YUU6KB53.js → workspace-binding-PR57NBGH.js} +3 -3
- package/dist/{workspace-command-QSJHX5RS.js → workspace-command-6HHVFQKW.js} +27 -27
- package/dist/{workspace-env-M7RYVJB3.js → workspace-env-2APJEASO.js} +5 -5
- package/dist/{xanosdk-import-4TLNYFKC.js → xanosdk-import-HBQH3ZBS.js} +2 -2
- package/dist/{xanosdk-project-4NH6332J.js → xanosdk-project-W45IR3Q7.js} +5 -5
- package/guides/authoring.md +13 -7
- package/guides/bundle.md +1 -1
- package/guides/cli.md +28 -18
- package/guides/codegen.md +3 -2
- package/guides/coverage.md +4 -3
- package/guides/deploying.md +17 -10
- package/guides/environment.md +12 -12
- package/guides/marketplace.md +12 -6
- package/guides/module-contract.md +11 -6
- package/guides/object-kinds.md +8 -5
- package/guides/scaffold.md +24 -12
- package/guides/typed-frontend.md +7 -6
- package/llms/kinds-knowledge.md +2 -2
- package/llms/object-kinds.md +2 -2
- package/llms-full.txt +6 -6
- package/llms.txt +2 -2
- package/manifest.json +2 -2
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,19 @@ one release and links to its full notes.
|
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
## 1.0.12 — Every address in routes
|
|
12
|
+
|
|
13
|
+
_2026-10-14_ · [release notes](https://github.com/xano-sdk/sdk/releases/tag/v1.0.12)
|
|
14
|
+
|
|
15
|
+
`xanosdk routes` now lists every address a frontend uses, not only HTTP routes: realtime servers, channels and MCP servers too. The `--json` listing changes shape to match. The public repository is also ready for launch: a contributing policy, bug-only issue forms, and a clone that builds as-is.
|
|
16
|
+
|
|
17
|
+
- `xanosdk routes` lists realtime servers, channels and MCP servers
|
|
18
|
+
- ⚠️ `xanosdk routes --json` returns all four address kinds
|
|
19
|
+
- `mcpUrl` is documented
|
|
20
|
+
- The public repository takes bug reports, and builds from a fresh clone
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
11
24
|
## 1.0.11 — MCP addresses and agent fallbacks
|
|
12
25
|
|
|
13
26
|
_2026-10-14_ · [release notes](https://github.com/xano-sdk/sdk/releases/tag/v1.0.11)
|
package/README.md
CHANGED
|
@@ -264,9 +264,8 @@ Give a table a `seed` array and those rows ship into the database on deploy, so
|
|
|
264
264
|
environment comes up with its lookup tables and fixtures already in place. A file column or an
|
|
265
265
|
MCP icon takes `hostedFile("./logo.png", import.meta.url)`: the file ships with the deploy.
|
|
266
266
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
is a real `.md` file in your repo rather than a string in a def:
|
|
267
|
+
`knowledge()` is markdown shared by every AI that builds this backend: Xano's AI builder,
|
|
268
|
+
people authoring in XanoScript, and your coding agent, which reads the same `.md` files here:
|
|
270
269
|
|
|
271
270
|
```ts
|
|
272
271
|
knowledge({
|
|
@@ -277,8 +276,8 @@ knowledge({
|
|
|
277
276
|
});
|
|
278
277
|
```
|
|
279
278
|
|
|
280
|
-
|
|
281
|
-
|
|
279
|
+
Deploy and `pull` keep the copies in sync, so the guidance is reviewed in a diff and versioned
|
|
280
|
+
with the code it describes. An `agent()` run never reads it: that goes in its `llm.systemPrompt`.
|
|
282
281
|
|
|
283
282
|
Tables, fields, statements, values, inputs, and middleware are all in the
|
|
284
283
|
[Authoring reference](https://github.com/xano-sdk/sdk/blob/main/guides/authoring.md); every
|
|
@@ -363,7 +362,7 @@ values travel, the doc-site token, and how to read the decode report are in
|
|
|
363
362
|
`xano-backend` is an agent skill (`SKILL.md`) for the coding agent you already use: Claude Code,
|
|
364
363
|
Codex, Cursor, Copilot, Gemini CLI, Amp or OpenCode. When a project needs a backend and has none,
|
|
365
364
|
it has the agent confirm Xano with you, run `init`, deploy, and follow the `AGENTS.md` that `init`
|
|
366
|
-
wrote. (It is unrelated to `knowledge()`, the docs
|
|
365
|
+
wrote. (It is unrelated to `knowledge()`, the docs every AI building your backend reads.)
|
|
367
366
|
|
|
368
367
|
```bash
|
|
369
368
|
npx @xano/sdk agent-skill install # into each coding agent on this machine (also: status, uninstall)
|
|
@@ -395,8 +394,9 @@ Every `deploy` is a **full replace** of the disposable environment, table record
|
|
|
395
394
|
unless `--keep-data` merges. Promoting is the opposite by design: it changes what your code
|
|
396
395
|
defines and keeps every row. Tables are shared by every branch, so a release that alters one
|
|
397
396
|
is refused without `--allow-shared-schema-changes`. `--branch <label>` lands on a non-live
|
|
398
|
-
branch and `--set-live` promotes it
|
|
399
|
-
|
|
397
|
+
branch and `--set-live` promotes it. A release name is refused rather than resolved when it
|
|
398
|
+
already exists. On `deploy --to workspace` (never `promote`), `--backup-branch` first
|
|
399
|
+
snapshots live's logic, not its shared tables, for a one-`set-live` rollback.
|
|
400
400
|
`deploy --to workspace` refuses to overwrite an object edited in Xano since your last deploy or
|
|
401
401
|
pull (`workspace diff` lists them); pull first, or pass `--overwrite`.
|
|
402
402
|
|
package/dist/.build-fingerprint
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1cbd2464cc6cda5345f97e372c57b9618d91537c188065e0c6536fa4c12be622
|
|
@@ -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-RQHXYL77.js";
|
|
7
|
+
import "./chunk-ZISPEBNM.js";
|
|
8
|
+
import "./chunk-HDANNK4A.js";
|
|
9
9
|
import "./chunk-JKGRQW6D.js";
|
|
10
10
|
import "./chunk-ZFDZKNGG.js";
|
|
11
11
|
import "./chunk-FWD7AL6N.js";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
isCI,
|
|
37
37
|
refreshAgentFiles
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=agent-file-refresh-
|
|
39
|
+
//# sourceMappingURL=agent-file-refresh-DAFGNMQX.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readVersion
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TANWE2ZY.js";
|
|
4
4
|
import "./chunk-K6BQPFRS.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-ENBGJJJH.js";
|
|
6
|
+
import "./chunk-HEMWBHQS.js";
|
|
7
7
|
import "./chunk-POZ6V4MU.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-6HTXQAMG.js";
|
|
9
9
|
import "./chunk-H7GMGZHI.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-UKC65HBQ.js";
|
|
11
11
|
import "./chunk-6QJORUHC.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-NMHTB346.js";
|
|
13
|
+
import "./chunk-QWWQM4XZ.js";
|
|
14
14
|
import "./chunk-5Y5HWQ2P.js";
|
|
15
15
|
import "./chunk-F3IA3YWI.js";
|
|
16
16
|
import "./chunk-LCOCRJ4K.js";
|
|
@@ -19,9 +19,9 @@ import "./chunk-7NNLRNXE.js";
|
|
|
19
19
|
import "./chunk-2MNLRIOX.js";
|
|
20
20
|
import "./chunk-XVOODRNK.js";
|
|
21
21
|
import "./chunk-CJDPSCMX.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-RQHXYL77.js";
|
|
23
23
|
import "./chunk-DZUNF7IH.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-UDCKYLBW.js";
|
|
25
25
|
import "./chunk-OBRMA2VK.js";
|
|
26
26
|
import "./chunk-ZYJP6BOO.js";
|
|
27
27
|
import "./chunk-QO6BVGS5.js";
|
|
@@ -34,11 +34,11 @@ import "./chunk-P5JF3U65.js";
|
|
|
34
34
|
import {
|
|
35
35
|
expandHome
|
|
36
36
|
} from "./chunk-EUUUMY7J.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-GRWYO2MS.js";
|
|
38
38
|
import {
|
|
39
39
|
AGENT_RULE_BACKENDS
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-ZISPEBNM.js";
|
|
41
|
+
import "./chunk-HDANNK4A.js";
|
|
42
42
|
import "./chunk-JKGRQW6D.js";
|
|
43
43
|
import "./chunk-ZFDZKNGG.js";
|
|
44
44
|
import "./chunk-FWD7AL6N.js";
|
|
@@ -411,4 +411,4 @@ function report(verb, outcomes, args) {
|
|
|
411
411
|
export {
|
|
412
412
|
runAgentSkillCommand
|
|
413
413
|
};
|
|
414
|
-
//# sourceMappingURL=agent-skill-command-
|
|
414
|
+
//# sourceMappingURL=agent-skill-command-6M46ZGOL.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-GRWYO2MS.js";
|
|
6
|
+
import "./chunk-ZISPEBNM.js";
|
|
7
|
+
import "./chunk-HDANNK4A.js";
|
|
8
8
|
import "./chunk-JKGRQW6D.js";
|
|
9
9
|
import "./chunk-ZFDZKNGG.js";
|
|
10
10
|
import "./chunk-FWD7AL6N.js";
|
|
@@ -37,4 +37,4 @@ export {
|
|
|
37
37
|
projectRootFrom,
|
|
38
38
|
resolveBackendDir
|
|
39
39
|
};
|
|
40
|
-
//# sourceMappingURL=backend-dir-
|
|
40
|
+
//# sourceMappingURL=backend-dir-J2J7JNS6.js.map
|
package/dist/bin.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
maybeNotifyUpdate
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WQZCFVAD.js";
|
|
5
5
|
import "./chunk-RZABQ4YH.js";
|
|
6
6
|
import "./chunk-2TFRR6JV.js";
|
|
7
7
|
import {
|
|
8
8
|
readVersion,
|
|
9
9
|
run
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TANWE2ZY.js";
|
|
11
11
|
import "./chunk-K6BQPFRS.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-ENBGJJJH.js";
|
|
13
|
+
import "./chunk-HEMWBHQS.js";
|
|
14
14
|
import "./chunk-POZ6V4MU.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-6HTXQAMG.js";
|
|
16
16
|
import "./chunk-H7GMGZHI.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-UKC65HBQ.js";
|
|
18
18
|
import "./chunk-6QJORUHC.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-NMHTB346.js";
|
|
20
|
+
import "./chunk-QWWQM4XZ.js";
|
|
21
21
|
import "./chunk-5Y5HWQ2P.js";
|
|
22
22
|
import "./chunk-F3IA3YWI.js";
|
|
23
23
|
import "./chunk-LCOCRJ4K.js";
|
|
@@ -26,9 +26,9 @@ import "./chunk-7NNLRNXE.js";
|
|
|
26
26
|
import "./chunk-2MNLRIOX.js";
|
|
27
27
|
import "./chunk-XVOODRNK.js";
|
|
28
28
|
import "./chunk-CJDPSCMX.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-RQHXYL77.js";
|
|
30
30
|
import "./chunk-DZUNF7IH.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-UDCKYLBW.js";
|
|
32
32
|
import "./chunk-OBRMA2VK.js";
|
|
33
33
|
import "./chunk-ZYJP6BOO.js";
|
|
34
34
|
import "./chunk-QO6BVGS5.js";
|
|
@@ -39,9 +39,9 @@ import "./chunk-622HUCZT.js";
|
|
|
39
39
|
import "./chunk-A3CT26GX.js";
|
|
40
40
|
import "./chunk-P5JF3U65.js";
|
|
41
41
|
import "./chunk-EUUUMY7J.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-GRWYO2MS.js";
|
|
43
|
+
import "./chunk-ZISPEBNM.js";
|
|
44
|
+
import "./chunk-HDANNK4A.js";
|
|
45
45
|
import "./chunk-JKGRQW6D.js";
|
|
46
46
|
import "./chunk-ZFDZKNGG.js";
|
|
47
47
|
import "./chunk-FWD7AL6N.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
runBranchCommand,
|
|
5
5
|
shownLabel,
|
|
6
6
|
staleSchemaRefs
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZACMAKZE.js";
|
|
8
8
|
import "./chunk-XFQAA2SU.js";
|
|
9
9
|
import "./chunk-W5MKVFBQ.js";
|
|
10
10
|
import "./chunk-IEDQT4Z3.js";
|
|
@@ -15,7 +15,7 @@ import "./chunk-PCHIHVX6.js";
|
|
|
15
15
|
import "./chunk-JHQAVWHW.js";
|
|
16
16
|
import "./chunk-K6BQPFRS.js";
|
|
17
17
|
import "./chunk-H7GMGZHI.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-NMHTB346.js";
|
|
19
19
|
import "./chunk-7NNLRNXE.js";
|
|
20
20
|
import "./chunk-2MNLRIOX.js";
|
|
21
21
|
import "./chunk-XVOODRNK.js";
|
|
@@ -76,4 +76,4 @@ export {
|
|
|
76
76
|
shownLabel,
|
|
77
77
|
staleSchemaRefs
|
|
78
78
|
};
|
|
79
|
-
//# sourceMappingURL=branch-commands-
|
|
79
|
+
//# sourceMappingURL=branch-commands-BUKVE637.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ENV_WORKSPACE
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NMHTB346.js";
|
|
4
4
|
import {
|
|
5
5
|
credentialFileOf
|
|
6
6
|
} from "./chunk-A3CT26GX.js";
|
|
@@ -162,4 +162,4 @@ export {
|
|
|
162
162
|
rerunInWorkspace,
|
|
163
163
|
heldElsewhereError
|
|
164
164
|
};
|
|
165
|
-
//# sourceMappingURL=chunk-
|
|
165
|
+
//# sourceMappingURL=chunk-5ONWBQ2C.js.map
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
} from "./chunk-X4DVXBFY.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveSource
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6HTXQAMG.js";
|
|
14
14
|
import {
|
|
15
15
|
downloadRelease
|
|
16
16
|
} from "./chunk-H7GMGZHI.js";
|
|
17
17
|
import {
|
|
18
18
|
backendDirIn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GRWYO2MS.js";
|
|
20
20
|
import {
|
|
21
21
|
BARE,
|
|
22
22
|
UsageError,
|
|
@@ -144,4 +144,4 @@ export {
|
|
|
144
144
|
gatedApiGroups,
|
|
145
145
|
asWorkspaceArchive
|
|
146
146
|
};
|
|
147
|
-
//# sourceMappingURL=chunk-
|
|
147
|
+
//# sourceMappingURL=chunk-5SMUND4J.js.map
|
|
@@ -461,7 +461,7 @@ async function post(auth, url, opts, action) {
|
|
|
461
461
|
const aftermath = !writes ? `A dry run writes nothing, so ${target} is untouched. Retry when the instance is reachable.` : opts.mode === "replace" ? `The request did not complete, so the import may or may not have landed, in whole or in part. A replace rewrites all of ${target}, so it is safe to run again once the instance is reachable.` : `The request did not complete, so the import may or may not have landed, in whole or in part.` + (opts.stateCheck !== void 0 ? ` ${opts.stateCheck}` : "");
|
|
462
462
|
const where = `${transportTarget(url)}${opts.label !== void 0 ? ` (${opts.label})` : ""}`;
|
|
463
463
|
if (res === void 0) {
|
|
464
|
-
const { classifyFailure } = await import("./operation-outcome-
|
|
464
|
+
const { classifyFailure } = await import("./operation-outcome-SHNROAFA.js");
|
|
465
465
|
if (writes && !isTimeoutError(failure) && classifyFailure(failure, { writeSent: true }) === "no") {
|
|
466
466
|
const untrusted = certificateFailureCode(failure) !== void 0;
|
|
467
467
|
throw new ImportNotSentError(
|
|
@@ -557,4 +557,4 @@ export {
|
|
|
557
557
|
withDefaultBranchPointer,
|
|
558
558
|
xanosdkImport
|
|
559
559
|
};
|
|
560
|
-
//# sourceMappingURL=chunk-
|
|
560
|
+
//# sourceMappingURL=chunk-5XDKKE5Y.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-6QJORUHC.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveEphemeralName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QWWQM4XZ.js";
|
|
11
11
|
import {
|
|
12
12
|
clearEngineRecordsNamed,
|
|
13
13
|
getEngineRecord,
|
|
@@ -598,4 +598,4 @@ export {
|
|
|
598
598
|
releaseNames,
|
|
599
599
|
resolveSource
|
|
600
600
|
};
|
|
601
|
-
//# sourceMappingURL=chunk-
|
|
601
|
+
//# sourceMappingURL=chunk-6HTXQAMG.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
passwordHashesWarning,
|
|
6
6
|
passwordOrigin
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-O6PWEJUV.js";
|
|
8
8
|
import {
|
|
9
9
|
isAwaited,
|
|
10
10
|
microserviceLine,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
ImportNotSentError,
|
|
32
32
|
XanoSdkImportRefusal,
|
|
33
33
|
xanosdkImport
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-5XDKKE5Y.js";
|
|
35
35
|
import {
|
|
36
36
|
archiveHostedFiles,
|
|
37
37
|
decodeWorkspaceArchive,
|
|
@@ -48,19 +48,19 @@ import {
|
|
|
48
48
|
missingLockDir,
|
|
49
49
|
refuseCompileValueFlags,
|
|
50
50
|
refuseValueFlagsBesideBundle
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-TANWE2ZY.js";
|
|
52
52
|
import {
|
|
53
53
|
recordDeployed
|
|
54
54
|
} from "./chunk-POZ6V4MU.js";
|
|
55
55
|
import {
|
|
56
56
|
lookupEphemeral
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-6HTXQAMG.js";
|
|
58
58
|
import {
|
|
59
59
|
getAccessToken
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-NMHTB346.js";
|
|
61
61
|
import {
|
|
62
62
|
otherCredentialRefusal
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-QWWQM4XZ.js";
|
|
64
64
|
import {
|
|
65
65
|
engineNameForProject,
|
|
66
66
|
getEngineRecord
|
|
@@ -266,7 +266,7 @@ async function runDeployedTests(auth, summary, args) {
|
|
|
266
266
|
try {
|
|
267
267
|
return await runTestsOrThrow(auth, summary, args, settled, notRun);
|
|
268
268
|
} catch (err) {
|
|
269
|
-
const { isSuiteUnreachable, suiteUnreachableCheck } = await import("./test-command-
|
|
269
|
+
const { isSuiteUnreachable, suiteUnreachableCheck } = await import("./test-command-2LNEA6GK.js");
|
|
270
270
|
const message = err instanceof Error ? err.message : String(err);
|
|
271
271
|
const reason = isSuiteUnreachable(err) ? `${message.split("\n")[0] ?? message}
|
|
272
272
|
${suiteUnreachableCheck(
|
|
@@ -291,11 +291,11 @@ function testRunAllCommand(summary, args) {
|
|
|
291
291
|
return `xanosdk test run-all --on ${on}${kind}${concurrency}${flags}`;
|
|
292
292
|
}
|
|
293
293
|
async function testSummaryOf(outcomes, notRun = []) {
|
|
294
|
-
const { suiteCounts, testRow } = await import("./test-command-
|
|
294
|
+
const { suiteCounts, testRow } = await import("./test-command-2LNEA6GK.js");
|
|
295
295
|
return { ...suiteCounts(outcomes, notRun), tests: outcomes.map(testRow) };
|
|
296
296
|
}
|
|
297
297
|
async function runTestsOrThrow(auth, summary, args, settled, notRun) {
|
|
298
|
-
const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-
|
|
298
|
+
const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-2LNEA6GK.js");
|
|
299
299
|
const { qualifiedName } = await import("./tests-ENFUACKD.js");
|
|
300
300
|
if (summary.url === void 0) {
|
|
301
301
|
warn("Skipped --test: the ephemeral reported no base URL to run against.", "deploy.tests-not-run");
|
|
@@ -339,15 +339,15 @@ async function ignoreBackendSecretFilesRead(args) {
|
|
|
339
339
|
if (args.bundle !== void 0 || args.file === void 0) return;
|
|
340
340
|
const paths = [];
|
|
341
341
|
if (args.envFile === void 0) {
|
|
342
|
-
const { defaultWorkspaceEnvPath } = await import("./workspace-env-
|
|
342
|
+
const { defaultWorkspaceEnvPath } = await import("./workspace-env-2APJEASO.js");
|
|
343
343
|
paths.push(defaultWorkspaceEnvPath(args.file));
|
|
344
344
|
}
|
|
345
345
|
if (args.secretsFile === void 0) {
|
|
346
|
-
const { defaultWorkspaceSecretsPath } = await import("./secrets-file-
|
|
346
|
+
const { defaultWorkspaceSecretsPath } = await import("./secrets-file-N5IF265R.js");
|
|
347
347
|
paths.push(defaultWorkspaceSecretsPath(args.file));
|
|
348
348
|
}
|
|
349
349
|
const { gitSaysIgnored } = await import("./store-ZE5BXCOW.js");
|
|
350
|
-
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-
|
|
350
|
+
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-6IJ66XME.js");
|
|
351
351
|
for (const path of paths) {
|
|
352
352
|
if (!existsSync(path)) continue;
|
|
353
353
|
if (gitSaysIgnored(path) !== false) continue;
|
|
@@ -422,8 +422,8 @@ async function soleTrackedEphemeral() {
|
|
|
422
422
|
}
|
|
423
423
|
async function runDeployToDestination(args, to) {
|
|
424
424
|
const { requireBackendSlot, parseSlot } = await import("./backend-slot-X5AUX2TT.js");
|
|
425
|
-
const { resolveSource, describeBackend } = await import("./source-resolve-
|
|
426
|
-
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-
|
|
425
|
+
const { resolveSource, describeBackend } = await import("./source-resolve-JXGOVJD3.js");
|
|
426
|
+
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-ZUPLAL7L.js");
|
|
427
427
|
const dest = parseSlot(requireBackendSlot("deploy", void 0, "to"), to, to.trim() === "ephemeral" ? await soleTrackedEphemeral() : void 0);
|
|
428
428
|
if (dest.kind !== "workspace" && dest.kind !== "tenant") {
|
|
429
429
|
throw new Error(`Internal: \`deploy --to\` parsed ${withArticle(dest.kind)}, which its slot does not accept.`);
|
|
@@ -498,7 +498,7 @@ async function runDeployToDestination(args, to) {
|
|
|
498
498
|
)
|
|
499
499
|
);
|
|
500
500
|
};
|
|
501
|
-
const { runReleaseCommand } = await import("./release-command-
|
|
501
|
+
const { runReleaseCommand } = await import("./release-command-55RTR674.js");
|
|
502
502
|
return runReleaseCommand(args, {
|
|
503
503
|
base: resolved.target.base,
|
|
504
504
|
workspaceId: resolved.target.workspaceId,
|
|
@@ -639,9 +639,9 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
639
639
|
const { startedAt } = ctx;
|
|
640
640
|
const dir = process.cwd();
|
|
641
641
|
const fetchedSource = sourceCredential !== void 0 && args.file !== void 0 ? { credential: sourceCredential, spec: args.file } : void 0;
|
|
642
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
642
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-F4DUMWTO.js");
|
|
643
643
|
const toolchain = await discoverToolchainPlugins(dir, { frozen: args.frozenLock === true });
|
|
644
|
-
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-
|
|
644
|
+
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-ZUPLAL7L.js").then(async (m) => {
|
|
645
645
|
const f = await m.fetchSourceArchive(fetchedSource.credential, fetchedSource.spec, dir);
|
|
646
646
|
const decoded = decodeWorkspaceArchive(f.archive);
|
|
647
647
|
noteReleaseCarriesNoEnv(fetchedSource.spec, m.gatedApiGroups(decoded));
|
|
@@ -702,7 +702,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
702
702
|
"; nothing was deployed"
|
|
703
703
|
);
|
|
704
704
|
}
|
|
705
|
-
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-
|
|
705
|
+
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-TRTEJVMV.js");
|
|
706
706
|
const choice = await chooseLocalEngine(dest.downloadUrl, dir, isMachineOutput(args));
|
|
707
707
|
const { ensureProjectEngine } = await import("./local-engine-deploy-ZZVHBI2X.js");
|
|
708
708
|
const pin = pinAfterAcquire(choice, dir);
|
|
@@ -753,7 +753,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
753
753
|
};
|
|
754
754
|
try {
|
|
755
755
|
if (arm.arm === "merge") {
|
|
756
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
756
|
+
const { mergeKeepingData } = await import("./keep-data-merge-VRKS64JK.js");
|
|
757
757
|
merged = await mergeKeepingData({
|
|
758
758
|
auth: bearer,
|
|
759
759
|
baseUrl: engine.url,
|
|
@@ -795,7 +795,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
795
795
|
}
|
|
796
796
|
} catch (err) {
|
|
797
797
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
798
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
798
|
+
const { importInProgressError } = await import("./keep-data-merge-VRKS64JK.js");
|
|
799
799
|
throw importInProgressError(`Xano Engine ${engine.name}`, rerunOf(args), err);
|
|
800
800
|
}
|
|
801
801
|
const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-ZZVHBI2X.js");
|
|
@@ -1118,15 +1118,15 @@ async function runDeploy(args) {
|
|
|
1118
1118
|
if (args.reset && !args.keepData) {
|
|
1119
1119
|
info("`--reset` changes nothing here: it only overrides `--keep-data`, and without it a deploy already replaces the environment.");
|
|
1120
1120
|
}
|
|
1121
|
-
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-
|
|
1121
|
+
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-ZUPLAL7L.js");
|
|
1122
1122
|
const fetching = args.file !== void 0 && looksLikeSource(args.file);
|
|
1123
1123
|
const sourceSpec = fetching ? await parseDeploySource(args.file) : void 0;
|
|
1124
1124
|
if (sourceSpec !== void 0) refuseValueFlagsForSource(args, args.file, sourceSpec);
|
|
1125
1125
|
if (destination.kind === "local") {
|
|
1126
1126
|
refuseSameEngine(sourceSpec, process.cwd());
|
|
1127
|
-
const { refuseProfileForLocal } = await import("./tracked-backend-
|
|
1127
|
+
const { refuseProfileForLocal } = await import("./tracked-backend-ZFXVLBBJ.js");
|
|
1128
1128
|
refuseProfileForLocal(args.profile, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind], void 0, {});
|
|
1129
|
-
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-
|
|
1129
|
+
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-TRTEJVMV.js");
|
|
1130
1130
|
refuseCredentialFlagsForLocal(args, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind]);
|
|
1131
1131
|
}
|
|
1132
1132
|
if (!fetching) {
|
|
@@ -1142,7 +1142,7 @@ async function runDeploy(args) {
|
|
|
1142
1142
|
}
|
|
1143
1143
|
refuseMissingStaticDir(args);
|
|
1144
1144
|
if (destination.kind === "local") {
|
|
1145
|
-
const { memoCredential } = await import("./tracked-backend-
|
|
1145
|
+
const { memoCredential } = await import("./tracked-backend-ZFXVLBBJ.js");
|
|
1146
1146
|
return deployToLocalEngine(
|
|
1147
1147
|
args,
|
|
1148
1148
|
destination,
|
|
@@ -1154,7 +1154,7 @@ async function runDeploy(args) {
|
|
|
1154
1154
|
const auth = await getAccessToken(args);
|
|
1155
1155
|
refuseSameEphemeral(sourceSpec, auth, process.cwd(), contextFlags(args), args.keepData && !args.reset);
|
|
1156
1156
|
await noteRunScopeFor(auth);
|
|
1157
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
1157
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-F4DUMWTO.js");
|
|
1158
1158
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
1159
1159
|
frozen: args.frozenLock === true
|
|
1160
1160
|
});
|
|
@@ -1288,7 +1288,7 @@ async function runDeploy(args) {
|
|
|
1288
1288
|
}).finally(() => noteLanded(void 0));
|
|
1289
1289
|
if (staticSummary !== void 0) summary.static = staticSummary;
|
|
1290
1290
|
if (summary.ephemeral !== void 0) {
|
|
1291
|
-
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-
|
|
1291
|
+
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-5EFK7RI6.js");
|
|
1292
1292
|
const dest = { kind: "ephemeral", name: summary.ephemeral.name };
|
|
1293
1293
|
const { storedColumnsAfter } = await import("./live-diff-HARRGFV4.js");
|
|
1294
1294
|
const sent = JSON.parse(bundle);
|
|
@@ -1352,7 +1352,7 @@ async function runDeploy(args) {
|
|
|
1352
1352
|
async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts = {}) {
|
|
1353
1353
|
if (args.noDevEnv || summary.url === void 0) return;
|
|
1354
1354
|
if (opts.staticServing === true || summary.static !== void 0 && summary.static.error === void 0) {
|
|
1355
|
-
const { staleDevEnv } = await import("./dev-env-sync-
|
|
1355
|
+
const { staleDevEnv } = await import("./dev-env-sync-W7OTV7OD.js");
|
|
1356
1356
|
let stale;
|
|
1357
1357
|
try {
|
|
1358
1358
|
stale = staleDevEnv(cwd, summary.url);
|
|
@@ -1366,7 +1366,7 @@ async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts =
|
|
|
1366
1366
|
}
|
|
1367
1367
|
return;
|
|
1368
1368
|
}
|
|
1369
|
-
const { syncDevEnv } = await import("./dev-env-sync-
|
|
1369
|
+
const { syncDevEnv } = await import("./dev-env-sync-W7OTV7OD.js");
|
|
1370
1370
|
try {
|
|
1371
1371
|
const written = syncDevEnv(cwd, summary.url);
|
|
1372
1372
|
if (written === void 0) return;
|
|
@@ -1476,7 +1476,7 @@ async function latestEngineRelease(err) {
|
|
|
1476
1476
|
}
|
|
1477
1477
|
async function mergeGuards(args, lock, outgoing) {
|
|
1478
1478
|
const interactive = process.stdin.isTTY === true && !isMachineOutput(args);
|
|
1479
|
-
const pinned = outgoing === void 0 ? [] : (await import("./release-command-
|
|
1479
|
+
const pinned = outgoing === void 0 ? [] : (await import("./release-command-55RTR674.js")).pinnedCanonicalGuids(outgoing.bundle, lock, outgoing.compiled);
|
|
1480
1480
|
const guards = {
|
|
1481
1481
|
...pinned.length > 0 ? { pinned } : {},
|
|
1482
1482
|
allowForeignDeletes: args.yes === true,
|
|
@@ -1497,7 +1497,7 @@ async function mergeGuards(args, lock, outgoing) {
|
|
|
1497
1497
|
for (const guid of e.replaced ?? []) replaced.set(guid, key.slice("dbo:".length));
|
|
1498
1498
|
}
|
|
1499
1499
|
const { orphanFixUps, resolveLockPath, composedChildren } = await import("./cli.js");
|
|
1500
|
-
const { clearReplacedCommand } = await import("./keep-data-merge-
|
|
1500
|
+
const { clearReplacedCommand } = await import("./keep-data-merge-VRKS64JK.js");
|
|
1501
1501
|
const lockPath = resolveLockPath(args, entry);
|
|
1502
1502
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1503
1503
|
const keys = Object.keys(lock.objects);
|
|
@@ -1738,7 +1738,7 @@ Re-run as \`${rerun}\` to answer yes without being asked.${note}`,
|
|
|
1738
1738
|
}
|
|
1739
1739
|
const { confirm } = await import("./prompt-F7UVH4GP.js");
|
|
1740
1740
|
if (await confirm(question, { flag: "--yes", refusal: { details, rerun, note } })) return;
|
|
1741
|
-
const { KeepDataDeclined } = await import("./keep-data-merge-
|
|
1741
|
+
const { KeepDataDeclined } = await import("./keep-data-merge-VRKS64JK.js");
|
|
1742
1742
|
throw new KeepDataDeclined(label, "deployed");
|
|
1743
1743
|
}
|
|
1744
1744
|
function recordedEntry(file) {
|
|
@@ -1773,7 +1773,7 @@ async function refuseOtherProfileEphemeral(state, auth) {
|
|
|
1773
1773
|
{ hintFor: { command: "deploy" } }
|
|
1774
1774
|
);
|
|
1775
1775
|
if (refusal === void 0) return;
|
|
1776
|
-
const { reachableFirst } = await import("./env-target-
|
|
1776
|
+
const { reachableFirst } = await import("./env-target-TQBPLU2S.js");
|
|
1777
1777
|
throw await reachableFirst(refusal, auth);
|
|
1778
1778
|
}
|
|
1779
1779
|
async function refuseKeepDataElsewhere(state, auth) {
|
|
@@ -1787,7 +1787,7 @@ async function refuseKeepDataElsewhere(state, auth) {
|
|
|
1787
1787
|
{ hintFor: { command: "deploy" } }
|
|
1788
1788
|
);
|
|
1789
1789
|
if (refusal === void 0) return;
|
|
1790
|
-
const { reachableFirst } = await import("./env-target-
|
|
1790
|
+
const { reachableFirst } = await import("./env-target-TQBPLU2S.js");
|
|
1791
1791
|
throw await reachableFirst(refusal, auth);
|
|
1792
1792
|
}
|
|
1793
1793
|
async function reconcileRename(err, auth, name, display) {
|
|
@@ -1899,7 +1899,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
|
|
|
1899
1899
|
}).finally(() => creating?.clear()).catch(async (err) => {
|
|
1900
1900
|
if (isEphemeralDisabled(err)) throw ephemeralDisabledError(source);
|
|
1901
1901
|
if (err.status === 404) {
|
|
1902
|
-
const { refuseUnreachableWorkspace } = await import("./workspace-binding-
|
|
1902
|
+
const { refuseUnreachableWorkspace } = await import("./workspace-binding-PR57NBGH.js");
|
|
1903
1903
|
await refuseUnreachableWorkspace(auth);
|
|
1904
1904
|
}
|
|
1905
1905
|
throw unknownCreateOutcome(err, display, flags, retryCommand(args, { creates: true }));
|
|
@@ -1967,7 +1967,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
1967
1967
|
if (arm.arm === "replace") refuseStaticHostAReplaceClears(args, true);
|
|
1968
1968
|
else await assertStaticHostExists(args, auth, { baseUrl, workspaceId: 1 });
|
|
1969
1969
|
if (arm.arm === "replace") {
|
|
1970
|
-
const { gateForeignReplace } = await import("./keep-data-merge-
|
|
1970
|
+
const { gateForeignReplace } = await import("./keep-data-merge-VRKS64JK.js");
|
|
1971
1971
|
const { allowForeignDeletes, confirm } = await mergeGuards(args, void 0);
|
|
1972
1972
|
await gateForeignReplace({
|
|
1973
1973
|
auth,
|
|
@@ -2039,7 +2039,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2039
2039
|
let merged;
|
|
2040
2040
|
try {
|
|
2041
2041
|
if (arm.arm === "merge") {
|
|
2042
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
2042
|
+
const { mergeKeepingData } = await import("./keep-data-merge-VRKS64JK.js");
|
|
2043
2043
|
merged = await mergeKeepingData({
|
|
2044
2044
|
auth,
|
|
2045
2045
|
baseUrl,
|
|
@@ -2093,11 +2093,11 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2093
2093
|
if (!lockCommitted) ctx.warnOrphansUncommitted?.();
|
|
2094
2094
|
if (err instanceof Error && err.name === "KeepDataDeclined") throw err;
|
|
2095
2095
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2096
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2096
|
+
const { importInProgressError } = await import("./keep-data-merge-VRKS64JK.js");
|
|
2097
2097
|
const retry = retryCommand(args);
|
|
2098
2098
|
throw importInProgressError(namedEphemeral(target), { command: retry.command, note: withheldNote(retry.withheld) }, err);
|
|
2099
2099
|
}
|
|
2100
|
-
const { withSignatureHint } = await import("./release-command-
|
|
2100
|
+
const { withSignatureHint } = await import("./release-command-55RTR674.js");
|
|
2101
2101
|
importFailure = withSignatureHint(err, args.bundle);
|
|
2102
2102
|
}
|
|
2103
2103
|
if (arm.arm === "merge" && renamedTo !== void 0) target = { ...target, display: renamedTo };
|
|
@@ -2391,4 +2391,4 @@ export {
|
|
|
2391
2391
|
unknownCreateOutcome,
|
|
2392
2392
|
deployStaticTo
|
|
2393
2393
|
};
|
|
2394
|
-
//# sourceMappingURL=chunk-
|
|
2394
|
+
//# sourceMappingURL=chunk-6OOZJQJK.js.map
|