@xano/sdk 1.0.6 → 1.0.7
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 +20 -5
- package/README.md +30 -4
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-67QIX45H.js → agent-file-refresh-DGGSRPJ4.js} +12 -12
- package/dist/agent-skill-command-37DFYS7Q.js +414 -0
- package/dist/{answer-shape-UCDUKPAN.js → answer-shape-RBFDCNZ7.js} +4 -4
- package/dist/{backend-dir-3LIL6SCT.js → backend-dir-KDD43X7K.js} +14 -14
- package/dist/{backend-slot-JREP27UD.js → backend-slot-TBOVZXDE.js} +3 -3
- package/dist/bin.js +48 -47
- package/dist/{branch-2IPHOAYS.js → branch-7PIKNUD7.js} +11 -10
- package/dist/{branch-commands-KTKAXBAN.js → branch-commands-EGY7ZEZE.js} +23 -22
- package/dist/bundle.js +4 -4
- package/dist/{chunk-GWTFI3GA.js → chunk-26LHXLD3.js} +2 -2
- package/dist/{chunk-ENMBEXOP.js → chunk-2ACWDSAQ.js} +3 -3
- package/dist/{chunk-GOLFAEUV.js → chunk-2SD4LA22.js} +2 -2
- package/dist/{chunk-GZHLCUZ6.js → chunk-2XWVZRL6.js} +7 -7
- package/dist/{chunk-IF4PEGVD.js → chunk-2YER2J47.js} +11 -11
- package/dist/{chunk-N5I37JFB.js → chunk-3FRGNBOC.js} +2 -2
- package/dist/{chunk-YKP4ZKVO.js → chunk-46PATL23.js} +3 -3
- package/dist/{chunk-QJM5XZ4K.js → chunk-47XT6WQL.js} +8 -8
- package/dist/{chunk-AWQ7BQTQ.js → chunk-4GPIOIAC.js} +6 -1
- package/dist/{chunk-ND43ZOS3.js → chunk-567KK6XF.js} +7 -7
- package/dist/{chunk-EQFYOOO6.js → chunk-5GIOCDUM.js} +829 -893
- package/dist/{chunk-TTEIDD5Q.js → chunk-5SCPRXFB.js} +4 -4
- package/dist/{chunk-LAOMN6QQ.js → chunk-5ZG7V2VW.js} +3 -3
- package/dist/{chunk-JXVJGF3Y.js → chunk-7M6JP3FS.js} +2 -2
- package/dist/{chunk-JFBRXRJD.js → chunk-7XXWKTCE.js} +36 -36
- package/dist/{chunk-PL7AIAWS.js → chunk-A4R5CAY4.js} +4 -111
- package/dist/{chunk-SPKA2LV6.js → chunk-AKERAUNH.js} +4 -4
- package/dist/{chunk-26MOFAJT.js → chunk-ARWMVNDJ.js} +6 -3
- package/dist/{chunk-I3VHW6XM.js → chunk-B2URJBC4.js} +18 -18
- package/dist/{chunk-A7MRZ4GF.js → chunk-B3P25SDP.js} +4 -4
- package/dist/chunk-BRANWM4U.js +853 -0
- package/dist/{chunk-CHINR7WD.js → chunk-BSVQEKHO.js} +4 -4
- package/dist/{chunk-UD2Z7K6W.js → chunk-BZ6WTG3E.js} +4 -4
- package/dist/{chunk-D7BUMOKU.js → chunk-CH23ONYG.js} +76 -5
- package/dist/{chunk-763M6LX3.js → chunk-CNZASQPL.js} +2 -2
- package/dist/{chunk-TECTL2NU.js → chunk-CPN6WSBH.js} +4 -4
- package/dist/{chunk-5YQV35C2.js → chunk-CT3J5JRZ.js} +7 -7
- package/dist/{chunk-YYC2DZMG.js → chunk-D5OZRJ3T.js} +6 -6
- package/dist/{chunk-XFBGXB7X.js → chunk-DG3APBUJ.js} +149 -97
- package/dist/chunk-DIWF7L33.js +995 -0
- package/dist/{chunk-RIN4YY34.js → chunk-DXZTL7NA.js} +95 -58
- package/dist/{chunk-PMMHSX4H.js → chunk-EF4MHLEW.js} +4 -4
- package/dist/{chunk-ZDP6GDAB.js → chunk-ELPQTDW6.js} +101 -93
- package/dist/{chunk-Q22BMRPF.js → chunk-EPFDY5JU.js} +2 -2
- package/dist/{chunk-ZJSTUD6D.js → chunk-EU32BC5B.js} +8 -8
- package/dist/{chunk-3BBIDW3Y.js → chunk-FDTET7FZ.js} +3 -3
- package/dist/{chunk-YYLUBYXM.js → chunk-FENA7K7C.js} +3 -3
- package/dist/{chunk-QZEAANWP.js → chunk-GHMLRFRX.js} +8 -8
- package/dist/{chunk-MBDFH7XB.js → chunk-H2K4GFUS.js} +3 -3
- package/dist/{chunk-U35MTOXQ.js → chunk-HTQWAQRW.js} +3 -3
- package/dist/{chunk-ROY4YAEQ.js → chunk-HU7F56VF.js} +22 -2
- package/dist/{chunk-2FLIJGBZ.js → chunk-HZ6ADG3O.js} +47 -8
- package/dist/{chunk-GLY552SI.js → chunk-I6XRUU6U.js} +54 -54
- package/dist/{chunk-KPFS3RGM.js → chunk-IPNN2KRW.js} +3 -3
- package/dist/{chunk-LD6ARK3A.js → chunk-JOOKM7AH.js} +2 -2
- package/dist/{chunk-6X6BJN6Y.js → chunk-JOWY6HFL.js} +3 -3
- package/dist/{chunk-UIVMR7UK.js → chunk-JX6N73H3.js} +2 -2
- package/dist/{chunk-JRVQ7M7W.js → chunk-L472YIGG.js} +8 -8
- package/dist/{chunk-YR2I5HGE.js → chunk-L6HZ67P6.js} +2 -2
- package/dist/chunk-LCOCRJ4K.js +116 -0
- package/dist/{chunk-3EDSPMXN.js → chunk-LJM5CIY4.js} +5 -1
- package/dist/{chunk-NPODGBVJ.js → chunk-M2C54ZBC.js} +4 -4
- package/dist/{chunk-QXYMDARD.js → chunk-M3NEK3LT.js} +4 -4
- package/dist/{chunk-BL3AZ3AP.js → chunk-MBL7CXJ7.js} +2 -2
- package/dist/{chunk-7GAIJW62.js → chunk-MYZRMSPM.js} +2 -2
- package/dist/{chunk-GHQ4BVI4.js → chunk-N3YFCFCO.js} +13 -13
- package/dist/{chunk-M5CSVB23.js → chunk-NDJAKSE7.js} +11 -8
- package/dist/{chunk-Z4ZGTCCD.js → chunk-NV37YGOV.js} +6 -6
- package/dist/{chunk-GW5RHGOB.js → chunk-O56DQKPL.js} +9 -9
- package/dist/{chunk-U6MTGB46.js → chunk-ORGNLQN6.js} +5 -5
- package/dist/{chunk-I3H3HCPY.js → chunk-PEIBGH2V.js} +33 -30
- package/dist/{chunk-5TVFLG3C.js → chunk-PEX4QZVI.js} +2 -2
- package/dist/{chunk-HCG7NDIL.js → chunk-PV25BDCH.js} +5 -5
- package/dist/{chunk-VDHA5SSQ.js → chunk-PY722CHR.js} +2 -2
- package/dist/{chunk-VW4CWVYX.js → chunk-QGIZLFAS.js} +4 -4
- package/dist/{chunk-SSITMX7I.js → chunk-QRQ54LUI.js} +16 -14
- package/dist/{chunk-OIKLDDYC.js → chunk-RBU2YX22.js} +3 -3
- package/dist/{chunk-EADVVTDK.js → chunk-RRMH7WMY.js} +7 -7
- package/dist/{chunk-WZHLMU6T.js → chunk-S46ODQRA.js} +2 -2
- package/dist/{chunk-SPITRSOF.js → chunk-SDGV76HF.js} +2 -2
- package/dist/{chunk-ATJ2W7DC.js → chunk-SGK3PTTM.js} +281 -121
- package/dist/{chunk-3II44CUJ.js → chunk-TWVUYS63.js} +24 -24
- package/dist/{chunk-2WBH5HUY.js → chunk-U5M7T6CI.js} +7 -7
- package/dist/{chunk-6X3MY2JP.js → chunk-UYFUIHH3.js} +2 -2
- package/dist/{chunk-IMELQ2I6.js → chunk-V7MBRUK6.js} +3 -3
- package/dist/{chunk-NDWVJ2QZ.js → chunk-VAGSKUWC.js} +3 -3
- package/dist/{chunk-WBH4KJWM.js → chunk-VIJ5D3RC.js} +3 -3
- package/dist/{chunk-ITC2R2OT.js → chunk-VNDR2T35.js} +7 -7
- package/dist/{chunk-IXFJORNH.js → chunk-WNCW2RNB.js} +4 -4
- package/dist/{chunk-BTVUYHWV.js → chunk-WUEPP5HD.js} +4 -4
- package/dist/{local-engine-command-RYLGMQ2O.js → chunk-YCUDOF6Q.js} +22 -77
- package/dist/{chunk-YGLMRH5U.js → chunk-YH2JVJAO.js} +12 -12
- package/dist/{chunk-PFBXSVZF.js → chunk-ZGLNHA7T.js} +7 -7
- package/dist/{chunk-CCU5CCRX.js → chunk-ZJOAWRED.js} +8 -8
- package/dist/{chunk-FU3VCE5A.js → chunk-ZXRDD3Q2.js} +13 -9
- package/dist/cli.d.ts +25 -4
- package/dist/cli.js +45 -42
- package/dist/{codegen-command-R5IASBFC.js → codegen-command-T7TC7PQO.js} +58 -57
- package/dist/{commands-H7CPMMHH.js → commands-JDENTDJS.js} +2 -2
- package/dist/{completion-W5ZAI6TN.js → completion-YFD5OVJW.js} +8 -4
- package/dist/{config-MZ5KG4EP.js → config-YJFUTRJW.js} +7 -7
- package/dist/{deploy-command-34T2LKQ5.js → deploy-command-OEVEE6UG.js} +50 -49
- package/dist/{deploy-source-YLQ7WMYR.js → deploy-source-HYVZEYXV.js} +33 -32
- package/dist/{dev-env-sync-TMJTNU3U.js → dev-env-sync-EFDCJ6KU.js} +48 -47
- package/dist/{display-name-hint-ZJGFNJKQ.js → display-name-hint-SW3GB3V7.js} +13 -12
- package/dist/{emit-D125xxty.d.ts → emit-Dov_92kn.d.ts} +1 -1
- package/dist/{env-example-refresh-CQP3ZMKM.js → env-example-refresh-WNSOH534.js} +59 -58
- package/dist/{env-pull-command-UTG6IC2K.js → env-pull-command-UYEXMQ3P.js} +43 -42
- package/dist/{env-target-FZROWYFS.js → env-target-JBSLBKNX.js} +12 -11
- package/dist/{env-var-command-VYDBQJJW.js → env-var-command-BJNRAXNV.js} +49 -48
- package/dist/{ephemeral-BIE6FMJV.js → ephemeral-CEOGMIEA.js} +10 -9
- package/dist/{ephemeral-command-OZ26RGXF.js → ephemeral-command-IPSGBCS5.js} +61 -60
- package/dist/{ephemeral-state-SNZOX2YK.js → ephemeral-state-MTBASPRS.js} +10 -9
- package/dist/{generate-command-4HR7MR36.js → generate-command-XQXODBS6.js} +73 -71
- package/dist/{gitignore-EWQBXNX2.js → gitignore-RUVCIZO4.js} +18 -18
- package/dist/{impersonate-command-WC7OGKUM.js → impersonate-command-MA27O7S5.js} +41 -40
- package/dist/{import-7Z4GCCPO.js → import-XKRFHABE.js} +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/{init-command-HAO3WXH3.js → init-command-6RDTCMAB.js} +61 -46
- package/dist/{init-modules-NSKD4ASY.js → init-modules-DHTBOCQT.js} +7 -7
- package/dist/{init-web-MKFFOQUU.js → init-web-ELBXSXDL.js} +2 -2
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +1 -1
- package/dist/{keep-data-merge-QR2TMKEO.js → keep-data-merge-TDJOIAVT.js} +23 -23
- package/dist/{lambda-config-reconcile-7FJXXV6V.js → lambda-config-reconcile-47X5C2E4.js} +6 -5
- package/dist/{landing-record-MWXFIRCP.js → landing-record-TPPYFQAS.js} +21 -21
- package/dist/{local-engine-choice-VD5LNXJU.js → local-engine-choice-S6VHPJRU.js} +36 -35
- package/dist/local-engine-command-4EZCGZ6M.js +85 -0
- package/dist/{local-engine-config-W3KB7RWM.js → local-engine-config-2EBL3QKA.js} +3 -2
- package/dist/{local-engine-deploy-6O7NKZCA.js → local-engine-deploy-FOPNWU7X.js} +17 -15
- package/dist/local-engine-lookup-GM3E3NPP.js +43 -0
- package/dist/local-engine-mcp-bridge-QKZHUGW3.js +423 -0
- package/dist/local-engine-mcp-command-BFQVLXZC.js +181 -0
- package/dist/{local-engine-process-ZLLZEIRF.js → local-engine-process-XUQPQENQ.js} +11 -8
- package/dist/{local-engine-state-OCW5YDD7.js → local-engine-state-JQPKGB65.js} +4 -3
- package/dist/{local-engine-update-check-LVX4HBBI.js → local-engine-update-check-S7UF6ZF5.js} +6 -5
- package/dist/{lock-commands-X2OECR4R.js → lock-commands-HJ6Y5QVS.js} +51 -50
- package/dist/{login-command-RLLKD565.js → login-command-JO55NZAS.js} +32 -32
- package/dist/{logout-command-XDMSXCDO.js → logout-command-MPRIRSJA.js} +15 -14
- package/dist/{marketplace-command-2NHHY2X3.js → marketplace-command-BM6G257N.js} +33 -33
- package/dist/{marketplace-resolve-OTZYT4FG.js → marketplace-resolve-AWH3RG57.js} +5 -5
- package/dist/{meta-client-TMHVBZFY.js → meta-client-AOSWODQQ.js} +13 -12
- package/dist/{module-manifest-FNMW23IX.js → module-manifest-GXI46PEF.js} +3 -3
- package/dist/node.d.ts +4 -4
- package/dist/node.js +50 -49
- package/dist/{operation-outcome-RN62735X.js → operation-outcome-4UKPXTNC.js} +25 -23
- package/dist/{output-target-MOLCTPBP.js → output-target-RAZ4KN5J.js} +19 -19
- package/dist/{plan-disclosure-CY7AF6KP.js → plan-disclosure-JR52DWXN.js} +13 -12
- package/dist/{plugin-contributions-WR26U7NT.js → plugin-contributions-E6XHLQWK.js} +5 -5
- package/dist/{plugin-prompt-ZUYQQIX4.js → plugin-prompt-IODX5EU6.js} +4 -4
- package/dist/{plugin-questions-HAZOQ67R.js → plugin-questions-AAAJ7POP.js} +3 -3
- package/dist/{preflight-command-OHJXYND3.js → preflight-command-7GKJBWOQ.js} +52 -51
- package/dist/{profile-command-6JWT2BTL.js → profile-command-CM6J7E2M.js} +33 -33
- package/dist/{profile-pointer-PDA5XBIB.js → profile-pointer-KTYXL6FU.js} +4 -3
- package/dist/{project-dependency-GZWWGWEW.js → project-dependency-OQ5575QQ.js} +6 -6
- package/dist/{project-sdk-3W72H5QO.js → project-sdk-2ESHHZVL.js} +3 -3
- package/dist/{promote-command-UYAMUXKB.js → promote-command-BDRPG6UU.js} +68 -67
- package/dist/{prompt-U37K5RPQ.js → prompt-MQPGU4ZI.js} +3 -3
- package/dist/{publish-command-BUS27HGB.js → publish-command-IEMYZ7LF.js} +55 -54
- package/dist/{pull-command-ZGUNP27P.js → pull-command-S5E2ABZ4.js} +61 -60
- package/dist/{pull-superseded-EZBGYRZF.js → pull-superseded-E34BZVLH.js} +3 -3
- package/dist/{release-command-BQ6OHS3P.js → release-command-7F5TBKO2.js} +58 -57
- package/dist/{release-ns-command-ATGVBVIU.js → release-ns-command-EK2ZQ4CC.js} +84 -83
- package/dist/{retry-command-QJ57WVW7.js → retry-command-GL5HCMVB.js} +9 -8
- package/dist/{routes-manifest-file-UALYSZLY.js → routes-manifest-file-LCIKPDAG.js} +5 -5
- package/dist/scaffold.js +4 -4
- package/dist/secrets-IV4N5HYI.js +20 -0
- package/dist/{secrets-file-LMS7KX3E.js → secrets-file-LXREYU3M.js} +18 -18
- package/dist/{secrets-fill-command-QNBDGCGM.js → secrets-fill-command-QHZS3KWM.js} +49 -48
- package/dist/{seed-SZ6OS5DQ.js → seed-FRKMDN2Z.js} +4 -4
- package/dist/{source-resolve-MKLNYFWG.js → source-resolve-BBHYTOXI.js} +23 -21
- package/dist/{static-host-ONEHA4LI.js → static-host-7LC7OZR4.js} +4 -4
- package/dist/{status-command-XKIFKBGM.js → status-command-TY253MJT.js} +52 -51
- package/dist/{store-Bg4Na6Sm.d.ts → store-Boba9OOh.d.ts} +1 -1
- package/dist/{store-X6ZH7EC3.js → store-VJ3OS6VO.js} +7 -6
- package/dist/{sync-contributions-HNVHDIQW.js → sync-contributions-63542VE4.js} +9 -9
- package/dist/{sync-record-PRXHLK4S.js → sync-record-RGHK7EAL.js} +13 -12
- package/dist/{table-DC36QA4Y.js → table-OAYGFGEN.js} +5 -5
- package/dist/{tables-command-UQLKTELN.js → tables-command-PZIVDAH3.js} +38 -37
- package/dist/{tenant-EKNQGG5A.js → tenant-Y3II4VY3.js} +11 -10
- package/dist/{tenant-command-2LWP2MPB.js → tenant-command-G6XON7CF.js} +86 -85
- package/dist/{test-command-IU5MBBXY.js → test-command-3FZOX7O3.js} +41 -40
- package/dist/{tests-RG2Y5EQ4.js → tests-KF6N6BZ7.js} +5 -5
- package/dist/{token-7AWSJLKO.js → token-DJJUW5HY.js} +11 -10
- package/dist/{toolchain-hooks-4ZMQLBPQ.js → toolchain-hooks-7PWCFLSU.js} +4 -4
- package/dist/{toolchain-modules-VU7SURVJ.js → toolchain-modules-OTNSKK52.js} +4 -4
- package/dist/{toolchain-peers-CIDNEEQV.js → toolchain-peers-KQ7TQ2AR.js} +7 -7
- package/dist/{tracked-backend-4BHSV7NC.js → tracked-backend-AJCGTO5Y.js} +36 -35
- package/dist/{update-check-A7FXIINW.js → update-check-4E5L6GAW.js} +46 -45
- package/dist/{upgrade-command-C5KBITFI.js → upgrade-command-BXMSQN4C.js} +52 -49
- package/dist/{whoami-command-7WQII2H4.js → whoami-command-NLCCIEUM.js} +14 -13
- package/dist/{workspace-Z46PUZNI.js → workspace-PNMJOXE4.js} +4 -4
- package/dist/{workspace-binding-JE6YNDZJ.js → workspace-binding-J5GWDFRI.js} +13 -12
- package/dist/{workspace-command-FC4IMLAE.js → workspace-command-MHIIY352.js} +79 -78
- package/dist/{workspace-env-N4ZPFT6A.js → workspace-env-LLRWCHSA.js} +15 -15
- package/dist/{workspace-export-3A5BZTPS.js → workspace-export-BIKAYHWJ.js} +4 -4
- package/dist/{writable-D7KCZI5N.js → writable-UOTO4WWC.js} +3 -3
- package/dist/{xanosdk-import-P2A2KSXM.js → xanosdk-import-S7A3CVBN.js} +5 -5
- package/dist/{xanosdk-project-6AGMW2SL.js → xanosdk-project-J4VCFRHP.js} +15 -15
- package/guides/README.md +2 -2
- package/guides/cli.md +69 -0
- package/guides/codegen.md +23 -5
- package/guides/codes.md +1 -0
- package/guides/coverage.md +5 -0
- package/guides/deploying.md +28 -0
- package/guides/scaffold.md +61 -10
- package/llms-full.txt +1 -1
- package/llms.txt +1 -1
- package/manifest.json +63 -5
- package/package.json +5 -2
- package/skills/xano-backend/SKILL.md +119 -0
- package/dist/chunk-LL7SGTRC.js +0 -663
- package/dist/chunk-M6ZFSTIZ.js +0 -630
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
projectSdkVersion
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JOOKM7AH.js";
|
|
4
4
|
import {
|
|
5
5
|
compareSemver,
|
|
6
6
|
parseSemver
|
|
7
7
|
} from "./chunk-2TFRR6JV.js";
|
|
8
8
|
import {
|
|
9
9
|
readVersion
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
registerSecret
|
|
13
|
-
} from "./chunk-AWQ7BQTQ.js";
|
|
10
|
+
} from "./chunk-DG3APBUJ.js";
|
|
14
11
|
import {
|
|
15
12
|
readPathEnvVar
|
|
16
13
|
} from "./chunk-EUUUMY7J.js";
|
|
17
14
|
import {
|
|
18
15
|
serverMessage
|
|
19
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-L6HZ67P6.js";
|
|
20
17
|
import {
|
|
21
18
|
atomicWrite
|
|
22
19
|
} from "./chunk-LLNZGEFK.js";
|
|
@@ -24,12 +21,15 @@ import {
|
|
|
24
21
|
envFlagSet,
|
|
25
22
|
readEnvVar
|
|
26
23
|
} from "./chunk-X2NL4KUO.js";
|
|
24
|
+
import {
|
|
25
|
+
registerSecret
|
|
26
|
+
} from "./chunk-4GPIOIAC.js";
|
|
27
27
|
import {
|
|
28
28
|
blank,
|
|
29
29
|
noteRunWarning,
|
|
30
30
|
style,
|
|
31
31
|
warn
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-CH23ONYG.js";
|
|
33
33
|
|
|
34
34
|
// src/emit/update-check.ts
|
|
35
35
|
import { existsSync, readFileSync, mkdirSync } from "fs";
|
|
@@ -351,4 +351,4 @@ export {
|
|
|
351
351
|
runExitedClean,
|
|
352
352
|
maybeNotifyUpdate
|
|
353
353
|
};
|
|
354
|
-
//# sourceMappingURL=chunk-
|
|
354
|
+
//# sourceMappingURL=chunk-GHMLRFRX.js.map
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
listAnswer,
|
|
4
4
|
notTheAnswer,
|
|
5
5
|
writeTransportFailure
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MYZRMSPM.js";
|
|
7
7
|
import {
|
|
8
8
|
SENT_AFTERMATH,
|
|
9
9
|
fetchOrExplain,
|
|
10
10
|
readBodyText,
|
|
11
11
|
safeHttpFailure,
|
|
12
12
|
withWriteStatusAftermath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-L6HZ67P6.js";
|
|
14
14
|
import {
|
|
15
15
|
isNonPublicColumn
|
|
16
16
|
} from "./chunk-SLGJIWCY.js";
|
|
@@ -184,4 +184,4 @@ export {
|
|
|
184
184
|
truncateTable,
|
|
185
185
|
insertTableRows
|
|
186
186
|
};
|
|
187
|
-
//# sourceMappingURL=chunk-
|
|
187
|
+
//# sourceMappingURL=chunk-H2K4GFUS.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
envExampleNames
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DXZTL7NA.js";
|
|
4
4
|
import {
|
|
5
5
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
6
6
|
renderWorkspaceEnvExample
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PV25BDCH.js";
|
|
8
8
|
import {
|
|
9
9
|
atomicWrite
|
|
10
10
|
} from "./chunk-LLNZGEFK.js";
|
|
@@ -54,4 +54,4 @@ export {
|
|
|
54
54
|
refreshEnvExample,
|
|
55
55
|
bundleEnvNames
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=chunk-
|
|
57
|
+
//# sourceMappingURL=chunk-HTQWAQRW.js.map
|
|
@@ -1,11 +1,30 @@
|
|
|
1
1
|
// src/util/project-root.ts
|
|
2
2
|
import { existsSync, readFileSync } from "fs";
|
|
3
3
|
import { dirname, join, relative, resolve, sep } from "path";
|
|
4
|
+
function isModuleTypeMarker(manifest) {
|
|
5
|
+
if (typeof manifest !== "object" || manifest === null || Array.isArray(manifest)) return false;
|
|
6
|
+
const keys = Object.keys(manifest);
|
|
7
|
+
return keys.length === 1 && manifest.type === "module";
|
|
8
|
+
}
|
|
9
|
+
function holdsProjectManifest(dir) {
|
|
10
|
+
const marker = (at) => {
|
|
11
|
+
const manifest = join(at, "package.json");
|
|
12
|
+
if (!existsSync(manifest)) return void 0;
|
|
13
|
+
try {
|
|
14
|
+
return isModuleTypeMarker(JSON.parse(readFileSync(manifest, "utf8")));
|
|
15
|
+
} catch {
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
const own = marker(dir);
|
|
20
|
+
if (own === void 0) return false;
|
|
21
|
+
return !own || marker(dirname(resolve(dir))) !== false;
|
|
22
|
+
}
|
|
4
23
|
function projectRootFrom(from) {
|
|
5
24
|
const start = resolve(from);
|
|
6
25
|
let dir = start;
|
|
7
26
|
for (; ; ) {
|
|
8
|
-
if (
|
|
27
|
+
if (holdsProjectManifest(dir)) return dir;
|
|
9
28
|
if (existsSync(join(dir, ".git"))) return dir;
|
|
10
29
|
const parent = dirname(dir);
|
|
11
30
|
if (parent === dir) return start;
|
|
@@ -60,7 +79,8 @@ function listsPackage(globs, rel) {
|
|
|
60
79
|
}
|
|
61
80
|
|
|
62
81
|
export {
|
|
82
|
+
holdsProjectManifest,
|
|
63
83
|
projectRootFrom,
|
|
64
84
|
repoBoundaryFrom
|
|
65
85
|
};
|
|
66
|
-
//# sourceMappingURL=chunk-
|
|
86
|
+
//# sourceMappingURL=chunk-HU7F56VF.js.map
|
|
@@ -4,23 +4,25 @@ import {
|
|
|
4
4
|
readEngineEntry,
|
|
5
5
|
readPin,
|
|
6
6
|
verifiedEngineExecutable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FENA7K7C.js";
|
|
8
8
|
import {
|
|
9
9
|
clearEngineRecordsNamed,
|
|
10
10
|
listEngineRecords
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EPFDY5JU.js";
|
|
12
12
|
import {
|
|
13
|
-
assertLoopbackUrl,
|
|
14
13
|
engineCacheDir,
|
|
15
14
|
engineRunHome,
|
|
16
|
-
localEngineHome
|
|
15
|
+
localEngineHome
|
|
16
|
+
} from "./chunk-A4R5CAY4.js";
|
|
17
|
+
import {
|
|
18
|
+
assertLoopbackUrl,
|
|
17
19
|
parseEngineHandshake,
|
|
18
20
|
parseEngineListing
|
|
19
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LCOCRJ4K.js";
|
|
20
22
|
import {
|
|
21
23
|
fetchOrExplain,
|
|
22
24
|
httpFailureError
|
|
23
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-L6HZ67P6.js";
|
|
24
26
|
|
|
25
27
|
// src/deploy/local-engine-process.ts
|
|
26
28
|
import { spawn as nodeSpawn, spawnSync } from "child_process";
|
|
@@ -238,7 +240,43 @@ function runVerb(args, opts) {
|
|
|
238
240
|
return run(verifiedEngineExecutable(opts.entry, env), args, { env: engineChildEnv(env) });
|
|
239
241
|
}
|
|
240
242
|
function listEngines(opts) {
|
|
241
|
-
|
|
243
|
+
return readListing(runVerb(["list", "--json"], opts));
|
|
244
|
+
}
|
|
245
|
+
async function listEnginesAsync(opts) {
|
|
246
|
+
const env = opts.env ?? process.env;
|
|
247
|
+
const run = opts.run ?? boundedRun(opts.timeoutMs ?? HANDSHAKE_TIMEOUT_MS);
|
|
248
|
+
return readListing(await run(verifiedEngineExecutable(opts.entry, env), ["list", "--json"], { env: engineChildEnv(env) }));
|
|
249
|
+
}
|
|
250
|
+
function boundedRun(timeoutMs) {
|
|
251
|
+
return (executable, args, options) => new Promise((resolve, reject) => {
|
|
252
|
+
const child = nodeSpawn(executable, [...args], { env: options.env, stdio: ["ignore", "pipe", "pipe"], windowsHide: true });
|
|
253
|
+
let stdout = "";
|
|
254
|
+
let stderr = "";
|
|
255
|
+
let settled = false;
|
|
256
|
+
const settle = (fn) => {
|
|
257
|
+
if (settled) return;
|
|
258
|
+
settled = true;
|
|
259
|
+
clearTimeout(timer);
|
|
260
|
+
fn();
|
|
261
|
+
};
|
|
262
|
+
const giveUp = (why) => settle(() => {
|
|
263
|
+
child.kill();
|
|
264
|
+
reject(new Error(`The engine could not list what is running: ${why}.`));
|
|
265
|
+
});
|
|
266
|
+
const timer = setTimeout(() => giveUp(`it did not answer within ${Math.round(timeoutMs / 1e3)}s`), timeoutMs);
|
|
267
|
+
child.stdout.on("data", (chunk) => {
|
|
268
|
+
if (settled) return;
|
|
269
|
+
stdout += String(chunk);
|
|
270
|
+
if (stdout.length > MAX_HANDSHAKE_BYTES) giveUp("it printed more than a listing holds");
|
|
271
|
+
});
|
|
272
|
+
child.stderr.on("data", (chunk) => {
|
|
273
|
+
if (!settled && stderr.length < MAX_STDERR_BYTES) stderr += String(chunk);
|
|
274
|
+
});
|
|
275
|
+
child.on("error", (err) => settle(() => reject(err)));
|
|
276
|
+
child.on("close", (status) => settle(() => resolve({ status, stdout, stderr })));
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
function readListing(result) {
|
|
242
280
|
if (result.status !== 0) {
|
|
243
281
|
throw new Error(
|
|
244
282
|
`The engine could not list what is running` + (result.stderr.trim() === "" ? `.` : `: ${redactSecrets(result.stderr.trim())}`) + `
|
|
@@ -383,6 +421,7 @@ export {
|
|
|
383
421
|
bootFailure,
|
|
384
422
|
cachedEngineEntry,
|
|
385
423
|
listEngines,
|
|
424
|
+
listEnginesAsync,
|
|
386
425
|
engineVersionToken,
|
|
387
426
|
engineVersion,
|
|
388
427
|
LOGIN_LINK_TIMEOUT_MS,
|
|
@@ -393,4 +432,4 @@ export {
|
|
|
393
432
|
findOrphanedEngineProcesses,
|
|
394
433
|
stopOrphanedEngineProcesses
|
|
395
434
|
};
|
|
396
|
-
//# sourceMappingURL=chunk-
|
|
435
|
+
//# sourceMappingURL=chunk-HZ6ADG3O.js.map
|
|
@@ -9,47 +9,47 @@ import {
|
|
|
9
9
|
staticRetryHint,
|
|
10
10
|
unknownStaticOutcome,
|
|
11
11
|
warnStaticTeardown
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RRMH7WMY.js";
|
|
13
|
+
import {
|
|
14
|
+
objectDigests,
|
|
15
|
+
syncDigests
|
|
16
|
+
} from "./chunk-JI3BLXWQ.js";
|
|
17
|
+
import {
|
|
18
|
+
archiveSeedContent
|
|
19
|
+
} from "./chunk-NV37YGOV.js";
|
|
13
20
|
import {
|
|
14
21
|
shownLabel
|
|
15
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-N3YFCFCO.js";
|
|
16
23
|
import {
|
|
17
24
|
confirm,
|
|
18
25
|
needsConfirmation
|
|
19
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7M6JP3FS.js";
|
|
20
27
|
import {
|
|
21
28
|
assertStorageModesKept,
|
|
22
29
|
discloseCanonicalMoves,
|
|
23
30
|
movesClause,
|
|
24
31
|
storageChangesPayload
|
|
25
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-BSVQEKHO.js";
|
|
26
33
|
import {
|
|
27
34
|
listTables,
|
|
28
35
|
tableRowCounter,
|
|
29
36
|
tableRowIds
|
|
30
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-H2K4GFUS.js";
|
|
31
38
|
import {
|
|
32
39
|
landedRecordFor,
|
|
33
40
|
landingLockPath,
|
|
34
41
|
recordForeignLanding,
|
|
35
42
|
recordLanding
|
|
36
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-2YER2J47.js";
|
|
37
44
|
import {
|
|
38
45
|
recordSync
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import {
|
|
41
|
-
objectDigests,
|
|
42
|
-
syncDigests
|
|
43
|
-
} from "./chunk-JI3BLXWQ.js";
|
|
46
|
+
} from "./chunk-VAGSKUWC.js";
|
|
44
47
|
import {
|
|
45
48
|
XANOSDK_IMPORT_CONFLICT_CODE,
|
|
46
49
|
XANOSDK_IMPORT_UNIQUENESS_CODE,
|
|
47
50
|
XanoSdkImportRefusal,
|
|
48
51
|
xanosdkImport
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import {
|
|
51
|
-
archiveSeedContent
|
|
52
|
-
} from "./chunk-Z4ZGTCCD.js";
|
|
52
|
+
} from "./chunk-567KK6XF.js";
|
|
53
53
|
import {
|
|
54
54
|
encodeWorkspaceArchive
|
|
55
55
|
} from "./chunk-3DRXWLJ5.js";
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
listBranchListing,
|
|
63
63
|
liveBranchLabel,
|
|
64
64
|
setLiveBranch
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-M2C54ZBC.js";
|
|
66
66
|
import {
|
|
67
67
|
compareToLive,
|
|
68
68
|
envValuesOf,
|
|
@@ -79,44 +79,48 @@ import {
|
|
|
79
79
|
assertBundleInput,
|
|
80
80
|
loadBundleText,
|
|
81
81
|
resolveLockPath
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-DG3APBUJ.js";
|
|
83
83
|
import {
|
|
84
84
|
LookupFailedError,
|
|
85
85
|
isUnansweredLookup,
|
|
86
86
|
unansweredCause
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-TWVUYS63.js";
|
|
88
88
|
import {
|
|
89
89
|
isSignatureRefusal
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-MBL7CXJ7.js";
|
|
91
91
|
import {
|
|
92
92
|
getAccessToken
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-YH2JVJAO.js";
|
|
94
|
+
import {
|
|
95
|
+
readLockFile
|
|
96
|
+
} from "./chunk-CJDPSCMX.js";
|
|
94
97
|
import {
|
|
95
98
|
ephemeralLandedOn
|
|
96
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-ORGNLQN6.js";
|
|
97
100
|
import {
|
|
98
101
|
pipedYes,
|
|
99
102
|
retryCommand,
|
|
100
103
|
withheldNote
|
|
101
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-UYFUIHH3.js";
|
|
102
105
|
import {
|
|
103
106
|
contextFlags
|
|
104
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-3FRGNBOC.js";
|
|
105
108
|
import {
|
|
106
109
|
backendDirIn
|
|
107
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-5SCPRXFB.js";
|
|
108
111
|
import {
|
|
109
112
|
shellWord
|
|
110
113
|
} from "./chunk-FWD7AL6N.js";
|
|
114
|
+
import {
|
|
115
|
+
TransportError,
|
|
116
|
+
isTimeoutError
|
|
117
|
+
} from "./chunk-L6HZ67P6.js";
|
|
111
118
|
import {
|
|
112
119
|
describeWrite
|
|
113
120
|
} from "./chunk-4KHEMC32.js";
|
|
114
121
|
import {
|
|
115
122
|
seedRowsByTableGuid
|
|
116
|
-
} from "./chunk-
|
|
117
|
-
import {
|
|
118
|
-
readLockFile
|
|
119
|
-
} from "./chunk-CJDPSCMX.js";
|
|
123
|
+
} from "./chunk-FDTET7FZ.js";
|
|
120
124
|
import {
|
|
121
125
|
destinationKey,
|
|
122
126
|
groupNames,
|
|
@@ -126,10 +130,6 @@ import {
|
|
|
126
130
|
storedColumnsOf,
|
|
127
131
|
withStoredColumns
|
|
128
132
|
} from "./chunk-MFWF2NZJ.js";
|
|
129
|
-
import {
|
|
130
|
-
TransportError,
|
|
131
|
-
isTimeoutError
|
|
132
|
-
} from "./chunk-YR2I5HGE.js";
|
|
133
133
|
import {
|
|
134
134
|
CliError,
|
|
135
135
|
EXIT_OUTCOME_UNKNOWN,
|
|
@@ -149,7 +149,7 @@ import {
|
|
|
149
149
|
warn,
|
|
150
150
|
writeJson,
|
|
151
151
|
writeTargetPayload
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-CH23ONYG.js";
|
|
153
153
|
import {
|
|
154
154
|
calcSignatureJson,
|
|
155
155
|
signatureHolds
|
|
@@ -637,7 +637,7 @@ function isTransientReadFailure(err) {
|
|
|
637
637
|
return isUnansweredLookup(err);
|
|
638
638
|
}
|
|
639
639
|
async function readLive(auth, dest, branch) {
|
|
640
|
-
const { exportWorkspaceBundle } = await import("./workspace-export-
|
|
640
|
+
const { exportWorkspaceBundle } = await import("./workspace-export-BIKAYHWJ.js");
|
|
641
641
|
let failure;
|
|
642
642
|
for (let attempt = 0; attempt <= LIVE_READ_RETRY_PAUSES_MS.length; attempt++) {
|
|
643
643
|
try {
|
|
@@ -793,7 +793,7 @@ function markUnchanged(presented, unchanged, noun) {
|
|
|
793
793
|
}
|
|
794
794
|
var REPLACE_DROPS = "which deletes every table's rows there (only seed rows come back)";
|
|
795
795
|
async function replaceCommandHint(args) {
|
|
796
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-
|
|
796
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-OEVEE6UG.js");
|
|
797
797
|
const valued = /* @__PURE__ */ new Set(["--branch", "--backup-branch", "--expect-live"]);
|
|
798
798
|
const dropped = /* @__PURE__ */ new Set(["--prune", "--reset-data", "--seed", "--set-live", "--dry-run", "--replace", "--yes", "-y"]);
|
|
799
799
|
const argv = [];
|
|
@@ -824,7 +824,7 @@ function landingTableFields(losses) {
|
|
|
824
824
|
};
|
|
825
825
|
}
|
|
826
826
|
async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "workspace", fromBundle = false, replaceHint = "`xanosdk deploy <source> --to <destination> --replace`.", noun = "workspace", failure, stored) {
|
|
827
|
-
const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-
|
|
827
|
+
const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-JR52DWXN.js");
|
|
828
828
|
const none = {
|
|
829
829
|
...tableEffectFields(NO_TABLE_EFFECTS),
|
|
830
830
|
renamedTables: [],
|
|
@@ -1558,7 +1558,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1558
1558
|
const held = guidsOf(live);
|
|
1559
1559
|
const codePinned = codePinnedTables(outgoingDoc, lock, classified);
|
|
1560
1560
|
const { orphanFixUps } = await import("./cli.js");
|
|
1561
|
-
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-
|
|
1561
|
+
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-TDJOIAVT.js");
|
|
1562
1562
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1563
1563
|
const out = [];
|
|
1564
1564
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -1602,7 +1602,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1602
1602
|
return out;
|
|
1603
1603
|
}
|
|
1604
1604
|
async function pendingRenameRefusal(frame, pending, prune, branch) {
|
|
1605
|
-
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-
|
|
1605
|
+
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-TDJOIAVT.js");
|
|
1606
1606
|
const one = pending.length === 1;
|
|
1607
1607
|
const lines = pending.flatMap(
|
|
1608
1608
|
(p) => pendingRenameLines(
|
|
@@ -2058,7 +2058,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2058
2058
|
assertBundleFile(args, { command: "deploy" });
|
|
2059
2059
|
const auth = opts.auth ?? await getAccessToken(args);
|
|
2060
2060
|
const withSeed = req.mode === "replace" || req.records === true;
|
|
2061
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
2061
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-OTNSKK52.js");
|
|
2062
2062
|
const toolchain = await discoverToolchainPlugins(process.cwd(), { frozen: args.frozenLock === true });
|
|
2063
2063
|
const loaded = await loadBundleText(
|
|
2064
2064
|
args.dryRun ? { ...args, lockReadOnly: true } : args,
|
|
@@ -2084,15 +2084,15 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2084
2084
|
});
|
|
2085
2085
|
};
|
|
2086
2086
|
if (!args.dryRun && args.file !== void 0) {
|
|
2087
|
-
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-
|
|
2087
|
+
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-OEVEE6UG.js");
|
|
2088
2088
|
await ignoreBackendSecretFilesRead(args);
|
|
2089
2089
|
}
|
|
2090
2090
|
if (args.static !== void 0) {
|
|
2091
|
-
const { assertNoSeedLeaks } = await import("./deploy-command-
|
|
2091
|
+
const { assertNoSeedLeaks } = await import("./deploy-command-OEVEE6UG.js");
|
|
2092
2092
|
await assertNoSeedLeaks(args.static, nonPublicSeedValues);
|
|
2093
2093
|
}
|
|
2094
2094
|
{
|
|
2095
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
2095
|
+
const { runBundleHooks } = await import("./toolchain-hooks-7PWCFLSU.js");
|
|
2096
2096
|
const { readVersion } = await import("./cli.js");
|
|
2097
2097
|
await runBundleHooks(
|
|
2098
2098
|
toolchain.loaded,
|
|
@@ -2198,8 +2198,8 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2198
2198
|
pinned: pinned.map((p) => p.guid).filter((g) => g !== void 0)
|
|
2199
2199
|
}).catch(async (err) => {
|
|
2200
2200
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2201
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2202
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2201
|
+
const { importInProgressError } = await import("./keep-data-merge-TDJOIAVT.js");
|
|
2202
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-GL5HCMVB.js");
|
|
2203
2203
|
const retry = retryCommand2(args);
|
|
2204
2204
|
throw importInProgressError(
|
|
2205
2205
|
describeWriteTarget({ base: destBase, workspaceId, label: destShownLabel }),
|
|
@@ -2319,10 +2319,10 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2319
2319
|
}
|
|
2320
2320
|
const dryRunUpToDate = req.branch === void 0 && (plan.operations.length === 0 || converged);
|
|
2321
2321
|
if (req.mode === "merge" && destIsTenant && live !== void 0 && !dryRunUpToDate) {
|
|
2322
|
-
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-
|
|
2322
|
+
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-TDJOIAVT.js");
|
|
2323
2323
|
const triggers = liveTableTriggers(live);
|
|
2324
2324
|
if (triggers.length > 0) {
|
|
2325
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2325
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-GL5HCMVB.js");
|
|
2326
2326
|
const replace = retryCommand2(args, { add: ["--replace"], drop: ["--prune", "--yes", "-y"] });
|
|
2327
2327
|
throw tableTriggerMergeError(destNoun, triggers, {
|
|
2328
2328
|
command: replace.command,
|
|
@@ -2331,7 +2331,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2331
2331
|
}
|
|
2332
2332
|
}
|
|
2333
2333
|
if (req.mode === "merge" && live !== void 0 && !dryRunUpToDate && losses.storageChanges.length > 0) {
|
|
2334
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2334
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-GL5HCMVB.js");
|
|
2335
2335
|
const replace = retryCommand2(args, { add: ["--replace"], drop: ["--prune", "--yes", "-y"] });
|
|
2336
2336
|
await assertStorageModesKept(losses.storageChanges, tableRowCounter(auth, { workspaceId, base: destBase }), {
|
|
2337
2337
|
target: destNoun,
|
|
@@ -2415,7 +2415,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2415
2415
|
assertLiveWorkspaceWasRead(live, destNoun, scopeBranch, liveRead.failure, liveKind);
|
|
2416
2416
|
reportPlannedCanonicalMoves(canonicalMoves, "will", movesWhen);
|
|
2417
2417
|
if (req.branch !== void 0 && args.setLive && !args.yes && process.stdin.isTTY !== true) {
|
|
2418
|
-
const { yesRerun } = await import("./retry-command-
|
|
2418
|
+
const { yesRerun } = await import("./retry-command-GL5HCMVB.js");
|
|
2419
2419
|
const { rerun, note } = yesRerun(args, "deploy");
|
|
2420
2420
|
throw needsConfirmation(
|
|
2421
2421
|
`Make "${req.branch}" the live branch?${movesClause(canonicalMoves)} (or drop --set-live to stage it)`,
|
|
@@ -2455,7 +2455,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2455
2455
|
syncBaseline: null,
|
|
2456
2456
|
...seeded.length > 0 ? { seedRows: seeded } : {}
|
|
2457
2457
|
});
|
|
2458
|
-
const { yesRerun } = await import("./retry-command-
|
|
2458
|
+
const { yesRerun } = await import("./retry-command-GL5HCMVB.js");
|
|
2459
2459
|
const { rerun, note } = yesRerun(args, "deploy");
|
|
2460
2460
|
const ok = await confirm(`Apply this plan to ${destNoun}?${seedOverwriteClause(seeded)}${movesClause(canonicalMoves, movesWhen === void 0 ? "It" : "Once live, it")}`, {
|
|
2461
2461
|
flag: "--yes",
|
|
@@ -2502,7 +2502,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2502
2502
|
);
|
|
2503
2503
|
} catch (err) {
|
|
2504
2504
|
if (err instanceof XanoSdkImportRefusal) {
|
|
2505
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2505
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-GL5HCMVB.js");
|
|
2506
2506
|
const retry = retryCommand2(args);
|
|
2507
2507
|
reportApplyRefusal(
|
|
2508
2508
|
err,
|
|
@@ -2699,7 +2699,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2699
2699
|
if (isMachineOutput(args)) writeJson(summary);
|
|
2700
2700
|
assertStaticMatchesServedUrls(servedDifferences, planContext);
|
|
2701
2701
|
}
|
|
2702
|
-
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-
|
|
2702
|
+
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-OEVEE6UG.js");
|
|
2703
2703
|
const env = buildStaticEnv(destBase, args.staticEnv);
|
|
2704
2704
|
const explicit = Object.keys(args.staticEnv).length > 0;
|
|
2705
2705
|
const to = dest?.kind === "tenant" ? `${dest.type === "ephemeral" ? "ephemeral" : "tenant"}:${dest.name ?? ""}` : "workspace";
|
|
@@ -2751,14 +2751,14 @@ function setLiveRollback(previous, args) {
|
|
|
2751
2751
|
async function assertReleaseIdentitiesFree(args, auth, opts) {
|
|
2752
2752
|
const tenant = opts.tenant;
|
|
2753
2753
|
const target = tenant === void 0 ? { baseUrl: auth.instance, workspaceId: auth.workspaceId } : { baseUrl: tenant.base, workspaceId: tenant.workspaceId };
|
|
2754
|
-
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-
|
|
2754
|
+
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-S7A3CVBN.js");
|
|
2755
2755
|
let capable;
|
|
2756
2756
|
try {
|
|
2757
2757
|
capable = await detectXanoSdkImportRoute(auth, target);
|
|
2758
2758
|
} catch (err) {
|
|
2759
2759
|
if (err?.status === 501) capable = false;
|
|
2760
2760
|
else {
|
|
2761
|
-
const { unreachableProbeError } = await import("./keep-data-merge-
|
|
2761
|
+
const { unreachableProbeError } = await import("./keep-data-merge-TDJOIAVT.js");
|
|
2762
2762
|
const retry = retryCommand(args, {
|
|
2763
2763
|
add: pipedYes(args) === "" ? [] : ["--yes"],
|
|
2764
2764
|
command: [opts.verb, ...args.positionals.map(shellWord)].join(" ")
|
|
@@ -2847,4 +2847,4 @@ export {
|
|
|
2847
2847
|
setLiveRollback,
|
|
2848
2848
|
assertReleaseIdentitiesFree
|
|
2849
2849
|
};
|
|
2850
|
-
//# sourceMappingURL=chunk-
|
|
2850
|
+
//# sourceMappingURL=chunk-I6XRUU6U.js.map
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
blockPackages,
|
|
11
11
|
composeBlock,
|
|
12
12
|
findBlock
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LJM5CIY4.js";
|
|
14
14
|
import {
|
|
15
15
|
UsageError,
|
|
16
16
|
detail,
|
|
17
17
|
info,
|
|
18
18
|
warn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CH23ONYG.js";
|
|
20
20
|
|
|
21
21
|
// src/emit/routes-manifest-modules.ts
|
|
22
22
|
var MODULE_DIALECT = {
|
|
@@ -254,4 +254,4 @@ export {
|
|
|
254
254
|
fireRoutesManifest,
|
|
255
255
|
anyDeclares
|
|
256
256
|
};
|
|
257
|
-
//# sourceMappingURL=chunk-
|
|
257
|
+
//# sourceMappingURL=chunk-IPNN2KRW.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
installedCliAt,
|
|
10
10
|
pathsShownFrom
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CH23ONYG.js";
|
|
12
12
|
|
|
13
13
|
// src/emit/project-sdk.ts
|
|
14
14
|
import { existsSync, readFileSync, realpathSync } from "fs";
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
installedCliCommand,
|
|
88
88
|
skewNote
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-JOOKM7AH.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
listAnswer,
|
|
5
5
|
recordAnswer,
|
|
6
6
|
writeTransportFailure
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MYZRMSPM.js";
|
|
8
8
|
import {
|
|
9
9
|
appendSentence,
|
|
10
10
|
fetchOrExplain,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
serverMessage,
|
|
13
13
|
statusLabel,
|
|
14
14
|
transportTarget
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-L6HZ67P6.js";
|
|
16
16
|
|
|
17
17
|
// src/deploy/tests.ts
|
|
18
18
|
function labelledMessage(text) {
|
|
@@ -247,4 +247,4 @@ export {
|
|
|
247
247
|
TestRunUnansweredError,
|
|
248
248
|
runTest
|
|
249
249
|
};
|
|
250
|
-
//# sourceMappingURL=chunk-
|
|
250
|
+
//# sourceMappingURL=chunk-JOWY6HFL.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
UsageError,
|
|
3
3
|
flagNames,
|
|
4
4
|
unknownFlag
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CH23ONYG.js";
|
|
6
6
|
|
|
7
7
|
// src/emit/plugin-questions.ts
|
|
8
8
|
function hostLabel(host) {
|
|
@@ -156,4 +156,4 @@ export {
|
|
|
156
156
|
assertNoFlagCollisions,
|
|
157
157
|
resolvePluginAnswers
|
|
158
158
|
};
|
|
159
|
-
//# sourceMappingURL=chunk-
|
|
159
|
+
//# sourceMappingURL=chunk-JX6N73H3.js.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BranchHttpError,
|
|
3
3
|
BranchTakenError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M2C54ZBC.js";
|
|
5
5
|
import {
|
|
6
6
|
SourceError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TWVUYS63.js";
|
|
8
8
|
import {
|
|
9
9
|
ReleaseHttpError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-26LHXLD3.js";
|
|
11
11
|
import {
|
|
12
12
|
ImportHttpError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MBL7CXJ7.js";
|
|
14
14
|
import {
|
|
15
15
|
TenantHttpError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QGIZLFAS.js";
|
|
17
17
|
import {
|
|
18
18
|
TLS_CERTIFICATE_CODES,
|
|
19
19
|
isTimeoutError,
|
|
20
20
|
writeRefusedBy
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-L6HZ67P6.js";
|
|
22
22
|
import {
|
|
23
23
|
UsageError
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-CH23ONYG.js";
|
|
25
25
|
|
|
26
26
|
// src/emit/operation-outcome.ts
|
|
27
27
|
var SettledWriteFailure = class extends Error {
|
|
@@ -82,4 +82,4 @@ export {
|
|
|
82
82
|
SettledWriteFailure,
|
|
83
83
|
classifyFailure
|
|
84
84
|
};
|
|
85
|
-
//# sourceMappingURL=chunk-
|
|
85
|
+
//# sourceMappingURL=chunk-L472YIGG.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-X2NL4KUO.js";
|
|
7
7
|
import {
|
|
8
8
|
UsageError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CH23ONYG.js";
|
|
10
10
|
|
|
11
11
|
// src/util/last-credential.ts
|
|
12
12
|
import { AsyncLocalStorage } from "async_hooks";
|
|
@@ -650,4 +650,4 @@ export {
|
|
|
650
650
|
fetchReadOrExplain,
|
|
651
651
|
retryingFetch
|
|
652
652
|
};
|
|
653
|
-
//# sourceMappingURL=chunk-
|
|
653
|
+
//# sourceMappingURL=chunk-L6HZ67P6.js.map
|