@xano/sdk 1.0.13 → 1.0.14
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 +15 -0
- package/README.md +28 -28
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-DAFGNMQX.js → agent-file-refresh-3J6YRVFL.js} +12 -11
- package/dist/{agent-skill-command-6M46ZGOL.js → agent-skill-command-VWDMQWCT.js} +51 -50
- package/dist/{answer-shape-CBUQRSXI.js → answer-shape-AVZSKBR6.js} +4 -4
- package/dist/{backend-dir-J2J7JNS6.js → backend-dir-ISP7RVF2.js} +11 -10
- package/dist/{backend-slot-X5AUX2TT.js → backend-slot-DZAUHLTS.js} +3 -3
- package/dist/bin.js +47 -46
- package/dist/{branch-YS2K3VOB.js → branch-IJTBZZFO.js} +8 -8
- package/dist/{branch-commands-BUKVE637.js → branch-commands-75IYFTBS.js} +26 -25
- package/dist/{chunk-UECNKDDA.js → chunk-2FDHIBEU.js} +8 -8
- package/dist/{chunk-P6HXDOFG.js → chunk-2KOB4QPW.js} +13 -13
- package/dist/{chunk-PCHIHVX6.js → chunk-2LF734YB.js} +4 -4
- package/dist/{chunk-R7XZW4SB.js → chunk-3H7R4ISR.js} +2 -2
- package/dist/{chunk-NMHTB346.js → chunk-3SZ7QRYA.js} +36 -10
- package/dist/{chunk-DB7P2SSK.js → chunk-45K2QZBR.js} +3 -3
- package/dist/{chunk-C2SAVXAB.js → chunk-4MX5LMPQ.js} +2 -2
- package/dist/{chunk-IZI3SYXH.js → chunk-5FJ4M4HB.js} +38 -38
- package/dist/{chunk-ZSMHS7BU.js → chunk-5TWLVFYB.js} +4 -4
- package/dist/{chunk-JKGRQW6D.js → chunk-5W7S2SCA.js} +4 -4
- package/dist/{chunk-F2NFNYCB.js → chunk-6ILHYSLR.js} +3 -3
- package/dist/{chunk-IFXPHVPY.js → chunk-6LJS4M6P.js} +3 -3
- package/dist/{chunk-CTUIMNEM.js → chunk-6X73VFCX.js} +2 -2
- package/dist/{chunk-DZUNF7IH.js → chunk-75QC66XI.js} +2 -2
- package/dist/{chunk-FBWMKHLO.js → chunk-7F3V6CFP.js} +3 -3
- package/dist/{chunk-5ONWBQ2C.js → chunk-B7CPSWQX.js} +7 -7
- package/dist/{chunk-4CS4DKQC.js → chunk-BEKEOXNG.js} +2 -2
- package/dist/{chunk-U4BGBU3R.js → chunk-BSGU4HS6.js} +44 -44
- package/dist/{chunk-ZGNWMGN3.js → chunk-CB67GIR3.js} +26 -8
- package/dist/{chunk-M7DIIJPW.js → chunk-DBDTQR23.js} +4 -4
- package/dist/{chunk-ENBGJJJH.js → chunk-DERQSEB5.js} +9 -9
- package/dist/{chunk-RZABQ4YH.js → chunk-DGYXCIBV.js} +4 -4
- package/dist/{chunk-BXVNRUDB.js → chunk-DLDYQNGP.js} +3 -3
- package/dist/{chunk-I2AVVARA.js → chunk-ECQXASG3.js} +2 -2
- package/dist/{chunk-2BHYGUTI.js → chunk-EQXHUWUO.js} +2 -2
- package/dist/{chunk-ONNSFD73.js → chunk-EYVIUX2T.js} +9 -9
- package/dist/{chunk-JFPLHK6Y.js → chunk-FBSGFPZ4.js} +2 -2
- package/dist/{chunk-EGEANMMK.js → chunk-FIERONKM.js} +2 -2
- package/dist/{chunk-K6BQPFRS.js → chunk-GBSHHNSD.js} +3 -3
- package/dist/{chunk-N3XSXGAL.js → chunk-GCINMMFL.js} +2 -2
- package/dist/{chunk-POZ6V4MU.js → chunk-GKQTXUOW.js} +2 -2
- package/dist/{chunk-SBS2IYTN.js → chunk-GOKRKTCX.js} +3 -3
- package/dist/{chunk-D4VKPOD4.js → chunk-GRXX2TOJ.js} +13 -112
- package/dist/{chunk-YJK4NPXC.js → chunk-GVHWIDEJ.js} +3 -3
- package/dist/{chunk-NZ7ML6LG.js → chunk-HINRE3UM.js} +5 -5
- package/dist/{chunk-H6VVSGKN.js → chunk-HK554MDD.js} +7 -7
- package/dist/{chunk-6HTXQAMG.js → chunk-HKI5Y5KW.js} +14 -14
- package/dist/{chunk-MLKJUEG3.js → chunk-HMYJOQXT.js} +23 -23
- package/dist/{chunk-DILYWJVP.js → chunk-HXFLHA5K.js} +2 -2
- package/dist/{chunk-A2AOUBJS.js → chunk-IHL2O7VY.js} +2 -2
- package/dist/{chunk-FLDFKG24.js → chunk-IKXXTRMN.js} +4 -4
- package/dist/{chunk-5XDKKE5Y.js → chunk-IWJ6GFST.js} +4 -4
- package/dist/{chunk-TANWE2ZY.js → chunk-J3XLCYTQ.js} +80 -80
- package/dist/{chunk-ENAUSLMP.js → chunk-J62TYONQ.js} +3 -3
- package/dist/{chunk-GRWYO2MS.js → chunk-KDEU5FUJ.js} +3 -3
- package/dist/{chunk-VA4JK4TW.js → chunk-KMKUH2IO.js} +3 -3
- package/dist/{chunk-VTMTIBKP.js → chunk-L34DM6QB.js} +2 -2
- package/dist/{chunk-6OOZJQJK.js → chunk-L4WG4BKJ.js} +68 -68
- package/dist/{chunk-QWWQM4XZ.js → chunk-LB76VK6D.js} +7 -7
- package/dist/{chunk-E763QI3G.js → chunk-LJZIBT75.js} +2 -2
- package/dist/{chunk-5SMUND4J.js → chunk-LPQZICYN.js} +6 -6
- package/dist/{chunk-UFFIU57H.js → chunk-LSJ3SQEU.js} +4 -4
- package/dist/{chunk-O6PWEJUV.js → chunk-LW7TOIS7.js} +8 -8
- package/dist/{chunk-XL7EA62X.js → chunk-MAXDJZQR.js} +5 -5
- package/dist/{chunk-7NNLRNXE.js → chunk-MIS6F4HM.js} +4 -4
- package/dist/{chunk-WZXEQUIM.js → chunk-MTBKTGZT.js} +2 -2
- package/dist/{chunk-WQZCFVAD.js → chunk-MYIIBV6A.js} +5 -5
- package/dist/{chunk-3RZ4UJWV.js → chunk-N6LGLNAC.js} +4 -4
- package/dist/{chunk-H7GMGZHI.js → chunk-NDV6CBR7.js} +2 -2
- package/dist/{chunk-HEMWBHQS.js → chunk-NOW522B4.js} +13 -13
- package/dist/{chunk-DFCYAEBE.js → chunk-NUZXSIEA.js} +3 -3
- package/dist/{chunk-DYGRTWAI.js → chunk-O44MJTLR.js} +3 -3
- package/dist/{chunk-EKS7SAZS.js → chunk-OLQN4Z5R.js} +53 -61
- package/dist/{chunk-CGZSF756.js → chunk-P4OWRYE7.js} +28 -28
- package/dist/{chunk-373AVIL2.js → chunk-QAEBBTYR.js} +7 -7
- package/dist/{chunk-UKC65HBQ.js → chunk-QJ25N4W6.js} +4 -4
- package/dist/{chunk-RAGFXELQ.js → chunk-QKHNJ7LE.js} +5 -5
- package/dist/{chunk-3ZVSOZZC.js → chunk-QRMKQYCB.js} +2 -2
- package/dist/{chunk-RQHXYL77.js → chunk-QX5XQEYB.js} +5 -7
- package/dist/{chunk-UDCKYLBW.js → chunk-RDZBXTZ3.js} +4 -4
- package/dist/{chunk-U4DSFCH5.js → chunk-RPBB7P4Q.js} +2 -2
- package/dist/{chunk-W5MKVFBQ.js → chunk-RV2BDU7V.js} +5 -5
- package/dist/{chunk-XFQAA2SU.js → chunk-RVAEPPRH.js} +2 -2
- package/dist/{chunk-6QJORUHC.js → chunk-RYWNNJK5.js} +2 -2
- package/dist/{chunk-VFRL4G72.js → chunk-SAEIVQLP.js} +3 -3
- package/dist/{chunk-H5FAYLCR.js → chunk-SPLRKCFV.js} +2 -2
- package/dist/{chunk-ZISPEBNM.js → chunk-SUKO4SZG.js} +60 -55
- package/dist/{chunk-B5N6EWOM.js → chunk-UQ2OD7D4.js} +3 -3
- package/dist/{chunk-DPSR5GRE.js → chunk-VBSCWV5H.js} +49 -49
- package/dist/chunk-VYJYDMY6.js +9 -0
- package/dist/{chunk-C4TZP5PQ.js → chunk-WS2X5BB2.js} +5 -5
- package/dist/{chunk-P5JF3U65.js → chunk-WS4BA75E.js} +37 -4
- package/dist/{chunk-XYVPF63S.js → chunk-XCFQLP6G.js} +8 -8
- package/dist/{chunk-OCNTMJSY.js → chunk-XPSDDTUZ.js} +3 -3
- package/dist/{chunk-OBRMA2VK.js → chunk-XY4OBD26.js} +3 -3
- package/dist/{chunk-XVOODRNK.js → chunk-Y5XAPLZS.js} +4 -4
- package/dist/{chunk-ZACMAKZE.js → chunk-YFQCDLCQ.js} +14 -14
- package/dist/{chunk-HDANNK4A.js → chunk-YL3WVBR5.js} +9 -9
- package/dist/{chunk-XM56DAM7.js → chunk-YR3MNGWZ.js} +8 -8
- package/dist/{chunk-HUEFVPYW.js → chunk-YTQYP7UJ.js} +3 -3
- package/dist/{chunk-KICERNAP.js → chunk-Z3DQ7ULY.js} +4 -4
- package/dist/{chunk-JHQAVWHW.js → chunk-Z4BQPABS.js} +2 -2
- package/dist/{chunk-6LECAG3Y.js → chunk-ZMJRAMLA.js} +4 -4
- package/dist/{chunk-AUYXBKGR.js → chunk-ZOHEHIFS.js} +2 -2
- package/dist/{chunk-A3CT26GX.js → chunk-ZRXDPCMN.js} +2 -2
- package/dist/cli.js +45 -44
- package/dist/{codegen-command-BAFON45M.js → codegen-command-JWOW6HE5.js} +63 -62
- package/dist/codegen.js +2 -2
- package/dist/{commands-IFRAGWGK.js → commands-5ILSWDSV.js} +2 -2
- package/dist/{completion-RTXCODHS.js → completion-UNKBVVDT.js} +2 -2
- package/dist/{config-EHFXNFSP.js → config-NTOASFCA.js} +3 -3
- package/dist/{deploy-command-JW7R3BPW.js → deploy-command-WESYWFJN.js} +52 -51
- package/dist/{deploy-source-ZUPLAL7L.js → deploy-source-ZQQNMDFX.js} +27 -26
- package/dist/{dev-env-sync-W7OTV7OD.js → dev-env-sync-4XJT7WOT.js} +46 -45
- package/dist/{display-name-hint-BKPMISQU.js → display-name-hint-MYXCCAOP.js} +10 -10
- package/dist/{env-example-refresh-TS7WBVZQ.js → env-example-refresh-4V2OCDJE.js} +64 -63
- package/dist/{env-pull-command-5IYXQ2WK.js → env-pull-command-SK5FS477.js} +42 -41
- package/dist/{env-target-TQBPLU2S.js → env-target-TEFSYACA.js} +9 -9
- package/dist/{env-var-command-AKCWYZPB.js → env-var-command-IJHKA2WJ.js} +37 -36
- package/dist/{ephemeral-CART6DIR.js → ephemeral-VLPRDNEJ.js} +8 -8
- package/dist/{ephemeral-command-SJYH6XRS.js → ephemeral-command-WCO5J4SN.js} +43 -42
- package/dist/{ephemeral-state-HPKSKC4Y.js → ephemeral-state-RUOU2GFS.js} +7 -7
- package/dist/{generate-command-FSCFZPOJ.js → generate-command-3WCOUOEQ.js} +68 -67
- package/dist/{gitignore-6IJ66XME.js → gitignore-WYS3GMOX.js} +15 -14
- package/dist/{guards-RU4C7TFG.js → guards-PPIBIMFZ.js} +6 -6
- package/dist/{impersonate-command-IH4HMSS3.js → impersonate-command-UMYVQTCG.js} +33 -32
- package/dist/{import-RUBCGLCA.js → import-T4ZTOTBT.js} +4 -4
- package/dist/index.js +11 -11
- package/dist/{init-command-STB4YSAK.js → init-command-UR5MSXIH.js} +50 -51
- package/dist/{init-modules-YIZYPCMM.js → init-modules-7KALFI5C.js} +7 -7
- package/dist/{init-web-OGKACAOC.js → init-web-DYE2FEXL.js} +2 -2
- package/dist/internal.js +68 -62
- package/dist/{keep-data-merge-VRKS64JK.js → keep-data-merge-OVHCIEBG.js} +24 -24
- package/dist/{lambda-config-reconcile-FXPDH2U5.js → lambda-config-reconcile-VOBVZPWS.js} +3 -3
- package/dist/{landing-record-5EFK7RI6.js → landing-record-AIHNW4AZ.js} +17 -16
- package/dist/{live-diff-HARRGFV4.js → live-diff-UMSOGPX3.js} +6 -6
- package/dist/{local-engine-choice-TRTEJVMV.js → local-engine-choice-XDGTATKJ.js} +30 -29
- package/dist/{local-engine-command-2FK2PE2P.js → local-engine-command-VQWNQ7UK.js} +35 -34
- package/dist/{local-engine-deploy-ZZVHBI2X.js → local-engine-deploy-4N4NFZ4T.js} +11 -11
- package/dist/{local-engine-lookup-QFRKO35F.js → local-engine-lookup-AQTUGSBT.js} +2 -2
- package/dist/{local-engine-mcp-bridge-T2EFRRAF.js → local-engine-mcp-bridge-AMYRH4SY.js} +9 -9
- package/dist/{local-engine-mcp-command-FB7EOGG6.js → local-engine-mcp-command-AIMNMXQG.js} +41 -48
- package/dist/{local-engine-process-XH35DURU.js → local-engine-process-OD5OSWDG.js} +6 -6
- package/dist/{local-engine-update-check-HAXE7BVG.js → local-engine-update-check-G3YCBXRE.js} +4 -4
- package/dist/{lock-commands-7PBZIRWR.js → lock-commands-H3YV2D6M.js} +50 -49
- package/dist/{login-command-2O6GRMTH.js → login-command-NMM3JNDZ.js} +23 -22
- package/dist/{logout-command-RZXGW3O2.js → logout-command-7DYC6G32.js} +13 -12
- package/dist/{loop-QHZD37KX.js → loop-DJNIHC7O.js} +6 -6
- package/dist/{marketplace-command-NCMLGIMS.js → marketplace-command-UCSHDZGO.js} +33 -33
- package/dist/{marketplace-resolve-HPCRNV5O.js → marketplace-resolve-JR4BBJ6K.js} +5 -5
- package/dist/{meta-client-DYYM5F5G.js → meta-client-CD3TXQP6.js} +10 -10
- package/dist/{module-manifest-EFE6JBZW.js → module-manifest-63I5GRK4.js} +3 -3
- package/dist/node.js +50 -49
- package/dist/{operation-outcome-SHNROAFA.js → operation-outcome-2ONIIDRU.js} +19 -19
- package/dist/{output-target-PSSR3E4N.js → output-target-67LHZKCO.js} +16 -15
- package/dist/{plan-disclosure-WEMB5ZJ2.js → plan-disclosure-T7DF4SRJ.js} +16 -16
- package/dist/{plugin-contributions-U5PAZKBE.js → plugin-contributions-YYEP7IWH.js} +4 -4
- package/dist/{plugin-prompt-O5PAMV5B.js → plugin-prompt-GKCQKNYI.js} +4 -4
- package/dist/{plugin-questions-ZVYNKDRB.js → plugin-questions-P7MA3TYI.js} +3 -3
- package/dist/{preflight-command-6F7JF3YQ.js → preflight-command-TJ7FURXB.js} +56 -55
- package/dist/{profile-command-5AOGD6GV.js → profile-command-LDPLTJEJ.js} +24 -23
- package/dist/{profile-pointer-VTOZDBHM.js → profile-pointer-JJ7K5O2R.js} +3 -3
- package/dist/{project-dependency-EZNTHMWI.js → project-dependency-X3KCWBK5.js} +6 -6
- package/dist/{project-sdk-ZGJM4WYQ.js → project-sdk-YHJZRCNB.js} +3 -3
- package/dist/promote-command-RURHOLNR.js +148 -0
- package/dist/{prompt-F7UVH4GP.js → prompt-QNMJIWNI.js} +3 -3
- package/dist/{publish-command-6VVSJPLI.js → publish-command-IIRN6NWN.js} +55 -54
- package/dist/{pull-command-GE2WUEUF.js → pull-command-ITO76ENU.js} +66 -65
- package/dist/{pull-superseded-77UZ7CHH.js → pull-superseded-6HADGGC5.js} +3 -3
- package/dist/{release-command-55RTR674.js → release-command-CVGIUD4M.js} +60 -59
- package/dist/{release-ns-command-5XPZ2B6N.js → release-ns-command-YLCQPVH3.js} +78 -77
- package/dist/{retry-command-S5QALD5Z.js → retry-command-LFZYEVRU.js} +7 -7
- package/dist/{routes-manifest-ET2TTSCL.js → routes-manifest-R3TQRB24.js} +6 -6
- package/dist/{routes-manifest-file-42FTJHRY.js → routes-manifest-file-GYNYFKAH.js} +9 -9
- package/dist/scaffold.d.ts +0 -5
- package/dist/scaffold.js +2 -2
- package/dist/{secrets-file-N5IF265R.js → secrets-file-PCNAFXNV.js} +15 -14
- package/dist/{secrets-fill-command-35WKBURT.js → secrets-fill-command-G7NQMRXU.js} +49 -48
- package/dist/{seed-5YLQRT2D.js → seed-4CD55LB4.js} +6 -6
- package/dist/{source-resolve-JXGOVJD3.js → source-resolve-U4SJR7ZA.js} +17 -17
- package/dist/{static-host-TQP3FXPI.js → static-host-MO4VDHL7.js} +4 -4
- package/dist/{status-command-G3DFRMU7.js → status-command-CD72PXIT.js} +60 -34
- package/dist/{store-ZE5BXCOW.js → store-AJX4MC7Y.js} +5 -5
- package/dist/{sync-baseline-JGAAOS25.js → sync-baseline-BJDKG4F2.js} +7 -7
- package/dist/{sync-contributions-7T4CSPVQ.js → sync-contributions-XK6LHISZ.js} +8 -8
- package/dist/{sync-record-ILWS44DG.js → sync-record-NE62ERA3.js} +9 -9
- package/dist/{table-V3LTQUY6.js → table-WPRAM4VW.js} +8 -8
- package/dist/{tables-command-7NUOZBHX.js → tables-command-NMTKR52H.js} +35 -34
- package/dist/{tenant-7WUS7Q6V.js → tenant-IIYECNWO.js} +9 -9
- package/dist/{tenant-command-JGEHRKN7.js → tenant-command-XQAWT46C.js} +83 -82
- package/dist/{test-command-2LNEA6GK.js → test-command-W4AD4KT4.js} +32 -31
- package/dist/{tests-ENFUACKD.js → tests-JWQRHFCT.js} +5 -5
- package/dist/{token-DWNH44NW.js → token-P3VQ6ITJ.js} +9 -8
- package/dist/{toolchain-hooks-QIFGPGH2.js → toolchain-hooks-UAJBPSTC.js} +8 -8
- package/dist/{toolchain-modules-F4DUMWTO.js → toolchain-modules-S3MPHCUI.js} +4 -4
- package/dist/{toolchain-peers-K44IINPG.js → toolchain-peers-FQJBTKEB.js} +7 -7
- package/dist/{tracked-backend-ZFXVLBBJ.js → tracked-backend-WWEPNUD5.js} +30 -29
- package/dist/{update-check-KBHT63GJ.js → update-check-O7QC5TBB.js} +48 -47
- package/dist/{upgrade-command-CI543AZP.js → upgrade-command-J6LRNHYF.js} +51 -50
- package/dist/{whoami-command-77DXENWD.js → whoami-command-KWRP2CII.js} +12 -11
- package/dist/{workspace-RI5C77BZ.js → workspace-3YNK4XO4.js} +4 -4
- package/dist/{workspace-binding-PR57NBGH.js → workspace-binding-TTDNXHO5.js} +11 -10
- package/dist/{workspace-command-6HHVFQKW.js → workspace-command-W4ANGLCZ.js} +79 -78
- package/dist/{workspace-env-2APJEASO.js → workspace-env-6LJGCTZA.js} +12 -11
- package/dist/{workspace-export-GHMUSX2P.js → workspace-export-PUEXKZNS.js} +4 -4
- package/dist/{writable-Y6CE2CGK.js → writable-LMMG4AFZ.js} +3 -3
- package/dist/{xano-2A2GT7EH.js → xano-Z3SRHYOR.js} +7 -7
- package/dist/{xanosdk-import-HBQH3ZBS.js → xanosdk-import-PNNMZ4SF.js} +5 -5
- package/dist/{xanosdk-project-W45IR3Q7.js → xanosdk-project-YW3BQY2E.js} +13 -12
- package/guides/README.md +3 -3
- package/guides/authoring.md +11 -11
- package/guides/bundle.md +2 -2
- package/guides/cli.md +179 -176
- package/guides/codegen.md +17 -17
- package/guides/codes.md +3 -3
- package/guides/coverage.md +2 -2
- package/guides/deploying.md +123 -123
- package/guides/environment.md +30 -30
- package/guides/marketplace.md +24 -24
- package/guides/module-contract.md +9 -9
- package/guides/object-kinds.md +4 -4
- package/guides/project-structure.md +4 -4
- package/guides/scaffold.md +22 -22
- package/guides/typed-frontend.md +3 -3
- package/llms/client.md +4 -4
- package/llms/errors.md +2 -2
- package/llms/fields.md +1 -1
- package/llms/kinds-agent-mcp.md +1 -1
- package/llms/kinds-realtime.md +2 -2
- package/llms/lock.md +3 -3
- package/llms/statements-calls.md +1 -1
- package/llms/statements-runtime.md +2 -2
- package/llms/tests.md +3 -3
- package/llms/toolchain.md +2 -2
- package/llms-full.txt +56 -53
- package/llms.txt +35 -32
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +7 -7
- package/dist/promote-command-O2NRRFLK.js +0 -147
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-X4DVXBFY.js";
|
|
7
7
|
import {
|
|
8
8
|
ImportHttpError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RYWNNJK5.js";
|
|
10
10
|
import {
|
|
11
11
|
TransportError,
|
|
12
12
|
certificateFailureCode,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
statusLabel,
|
|
24
24
|
transportTarget,
|
|
25
25
|
writeStatusAftermath
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HXFLHA5K.js";
|
|
27
27
|
import {
|
|
28
28
|
describeWrite
|
|
29
29
|
} from "./chunk-4KHEMC32.js";
|
|
@@ -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-2ONIIDRU.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-IWJ6GFST.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertOneName,
|
|
3
3
|
noteRunArgs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GBSHHNSD.js";
|
|
5
5
|
import {
|
|
6
6
|
WORKSPACE_ENV_FILE,
|
|
7
7
|
classifyEnv,
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
namesInEnvExample,
|
|
11
11
|
parseEnvFile,
|
|
12
12
|
readWorkspaceEnvFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DERQSEB5.js";
|
|
14
14
|
import {
|
|
15
15
|
readTrackedBackend
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NOW522B4.js";
|
|
17
17
|
import {
|
|
18
18
|
isExpired
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Y5XAPLZS.js";
|
|
20
20
|
import {
|
|
21
21
|
readLockFile,
|
|
22
22
|
readLockFileReport,
|
|
@@ -24,28 +24,28 @@ import {
|
|
|
24
24
|
} from "./chunk-CJDPSCMX.js";
|
|
25
25
|
import {
|
|
26
26
|
isCI
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QX5XQEYB.js";
|
|
28
28
|
import {
|
|
29
29
|
backendSlotForFlag,
|
|
30
30
|
slotValueMissing
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-75QC66XI.js";
|
|
32
32
|
import {
|
|
33
33
|
defaultWorkspaceSecretsPath,
|
|
34
34
|
readSecretsFile
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-RDZBXTZ3.js";
|
|
36
36
|
import {
|
|
37
37
|
allLandings,
|
|
38
38
|
getEnvironment,
|
|
39
39
|
readEphemeralState
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-XY4OBD26.js";
|
|
41
41
|
import {
|
|
42
42
|
isUnwritableError,
|
|
43
43
|
unwritableError
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-ZOHEHIFS.js";
|
|
45
45
|
import {
|
|
46
46
|
contextFlags,
|
|
47
47
|
setHintContext
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ZRXDPCMN.js";
|
|
49
49
|
import {
|
|
50
50
|
expandHome
|
|
51
51
|
} from "./chunk-EUUUMY7J.js";
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
inCredentialScope,
|
|
57
57
|
lastResolvedAuth,
|
|
58
58
|
pinnedWorkspaceMissed
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-HXFLHA5K.js";
|
|
60
60
|
import {
|
|
61
61
|
buildSeedContentFiles,
|
|
62
62
|
collectNonPublicSeedValues,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
hostedFileResolver,
|
|
65
65
|
isMissingFile,
|
|
66
66
|
registerSeedHostedFiles
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-NUZXSIEA.js";
|
|
68
68
|
import {
|
|
69
69
|
holdsProjectManifest,
|
|
70
70
|
projectRootFrom
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
warn,
|
|
136
136
|
withCliPrefix,
|
|
137
137
|
writeJson
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
139
139
|
import {
|
|
140
140
|
KNOWLEDGE_DIR,
|
|
141
141
|
KNOWLEDGE_FILE,
|
|
@@ -143,12 +143,12 @@ import {
|
|
|
143
143
|
isOsMetadataFile,
|
|
144
144
|
registerAllKinds,
|
|
145
145
|
serializeBundle
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-EYVIUX2T.js";
|
|
147
147
|
import {
|
|
148
148
|
Xano,
|
|
149
149
|
checkFilterOperands,
|
|
150
150
|
standaloneDefKind
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-Z3DQ7ULY.js";
|
|
152
152
|
import {
|
|
153
153
|
knowledgeBodiesAllEmpty
|
|
154
154
|
} from "./chunk-7FIMUFBP.js";
|
|
@@ -175,7 +175,7 @@ import {
|
|
|
175
175
|
checkUnboundVarRefs,
|
|
176
176
|
checkZipPasswordKeys,
|
|
177
177
|
isQueryExpressionFilter
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-HINRE3UM.js";
|
|
179
179
|
import {
|
|
180
180
|
FILTER_NAMES
|
|
181
181
|
} from "./chunk-AXNX4NWN.js";
|
|
@@ -185,7 +185,7 @@ import {
|
|
|
185
185
|
} from "./chunk-GSGDWJB5.js";
|
|
186
186
|
import {
|
|
187
187
|
getKind
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-L34DM6QB.js";
|
|
189
189
|
import {
|
|
190
190
|
WORKSPACE_SECRETS_FILE,
|
|
191
191
|
documentationScopeFlagLabel,
|
|
@@ -2552,7 +2552,7 @@ async function tsxRemedy(file) {
|
|
|
2552
2552
|
);
|
|
2553
2553
|
if (!declared) return fallback;
|
|
2554
2554
|
const { detectPackageManager } = await import("./package-manager-K762W7XT.js");
|
|
2555
|
-
const { inProject } = await import("./init-modules-
|
|
2555
|
+
const { inProject } = await import("./init-modules-7KALFI5C.js");
|
|
2556
2556
|
return `This project's package.json declares it, but its dependencies are not installed \u2014 run \`${inProject(dir)}${detectPackageManager(dir)} install\` first.`;
|
|
2557
2557
|
}
|
|
2558
2558
|
if (dirname2(dir) === dir) return fallback;
|
|
@@ -3173,7 +3173,7 @@ async function explainUnreachableWorkspace(err) {
|
|
|
3173
3173
|
let verdict = unreachableVerdicts.get(auth);
|
|
3174
3174
|
if (verdict === void 0) {
|
|
3175
3175
|
verdict = (async () => {
|
|
3176
|
-
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-
|
|
3176
|
+
const { readReachableWorkspaces, unreachableWorkspaceMessage } = await import("./workspace-binding-TTDNXHO5.js");
|
|
3177
3177
|
const all = await readReachableWorkspaces(auth, 15e3);
|
|
3178
3178
|
if (all === void 0 || all.length === 0 || all.some((w) => w.id === auth.workspaceId)) return void 0;
|
|
3179
3179
|
return new UsageError(unreachableWorkspaceMessage(auth, all));
|
|
@@ -3187,7 +3187,7 @@ async function explainRejectedCredential(err) {
|
|
|
3187
3187
|
if (!(err instanceof Error) || resolved === void 0) return err;
|
|
3188
3188
|
const [first = "", ...rest] = err.message.split("\n");
|
|
3189
3189
|
if (!/\(401\b[^)]*\)|\banswered (HTTP )?401\b/.test(first) || /\brejected\b/.test(err.message)) return err;
|
|
3190
|
-
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-
|
|
3190
|
+
const { asRejectedCredential, rejectedRemedy } = await import("./whoami-command-KWRP2CII.js");
|
|
3191
3191
|
const { auth, args } = resolved;
|
|
3192
3192
|
err.message = [first, rejectedRemedy(auth, args), ...rest].join("\n");
|
|
3193
3193
|
if (failureCode(err) === "SDK_ERROR") asRejectedCredential(err, auth, args);
|
|
@@ -3225,10 +3225,10 @@ function withoutSecretValue(args) {
|
|
|
3225
3225
|
}
|
|
3226
3226
|
async function nameLookupRerun(failure) {
|
|
3227
3227
|
if (!(failure instanceof Error) || runArgs?.argv === void 0) return failure;
|
|
3228
|
-
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-
|
|
3228
|
+
const { LookupFailedError, rateLimitedFailure } = await import("./source-resolve-U4SJR7ZA.js");
|
|
3229
3229
|
const err = rateLimitedFailure(failure);
|
|
3230
3230
|
if (!(err instanceof LookupFailedError)) return err;
|
|
3231
|
-
const { retryCommand, withheldNote } = await import("./deploy-command-
|
|
3231
|
+
const { retryCommand, withheldNote } = await import("./deploy-command-WESYWFJN.js");
|
|
3232
3232
|
if (runArgs.command === "env" && runArgs.subcommand === "set") {
|
|
3233
3233
|
const retry2 = retryCommand(withoutSecretValue(runArgs));
|
|
3234
3234
|
return err.withRerun(
|
|
@@ -3283,7 +3283,7 @@ function isPathlessRun(args) {
|
|
|
3283
3283
|
return PATHLESS_COMMANDS.has(command) || PATHLESS_VERBS[command]?.has(args.subcommand ?? "") === true;
|
|
3284
3284
|
}
|
|
3285
3285
|
async function atProjectRoot(args, command, positional) {
|
|
3286
|
-
const { enterProjectRoot } = await import("./xanosdk-project-
|
|
3286
|
+
const { enterProjectRoot } = await import("./xanosdk-project-YW3BQY2E.js");
|
|
3287
3287
|
const entered = enterProjectRoot(args, process.cwd(), positional);
|
|
3288
3288
|
if (entered === void 0) return command(args);
|
|
3289
3289
|
if (isPathlessRun(args)) {
|
|
@@ -3384,7 +3384,7 @@ async function dispatch(rawArgv) {
|
|
|
3384
3384
|
if (typed[0] === "init") {
|
|
3385
3385
|
const web = typed.indexOf("--web", 1);
|
|
3386
3386
|
if (web !== -1) {
|
|
3387
|
-
const { runInitWebCommand } = await import("./init-web-
|
|
3387
|
+
const { runInitWebCommand } = await import("./init-web-DYE2FEXL.js");
|
|
3388
3388
|
return runInitWebCommand([...typed.slice(1, web), ...typed.slice(web + 1)]);
|
|
3389
3389
|
}
|
|
3390
3390
|
}
|
|
@@ -3402,7 +3402,7 @@ async function dispatch(rawArgv) {
|
|
|
3402
3402
|
throw unknownSubcommand(helpRequest.command, helpRequest.unknownSubcommand, helpRequest.positionals ?? []);
|
|
3403
3403
|
}
|
|
3404
3404
|
if (argv.includes("--json")) {
|
|
3405
|
-
const { helpDocument } = await import("./commands-
|
|
3405
|
+
const { helpDocument } = await import("./commands-5ILSWDSV.js");
|
|
3406
3406
|
writeJson({ version: readVersion(), ...helpDocument(helpRequest) });
|
|
3407
3407
|
return;
|
|
3408
3408
|
}
|
|
@@ -3423,7 +3423,7 @@ async function dispatch(rawArgv) {
|
|
|
3423
3423
|
setHintContext(args);
|
|
3424
3424
|
runArgs = args;
|
|
3425
3425
|
noteRunArgs(args);
|
|
3426
|
-
if (isMachineOutput(args)) (await import("./update-check-
|
|
3426
|
+
if (isMachineOutput(args)) (await import("./update-check-O7QC5TBB.js")).routeUpdateNoticeToDocument();
|
|
3427
3427
|
const { command } = args;
|
|
3428
3428
|
const out = args.out === "-" ? void 0 : args.out;
|
|
3429
3429
|
if (command === void 0) {
|
|
@@ -3444,11 +3444,11 @@ async function dispatch(rawArgv) {
|
|
|
3444
3444
|
return;
|
|
3445
3445
|
}
|
|
3446
3446
|
if (command === "init") {
|
|
3447
|
-
const { runInitCommand } = await import("./init-command-
|
|
3447
|
+
const { runInitCommand } = await import("./init-command-UR5MSXIH.js");
|
|
3448
3448
|
return runInitCommand(args);
|
|
3449
3449
|
}
|
|
3450
3450
|
if (command === "completion") {
|
|
3451
|
-
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-
|
|
3451
|
+
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS, UNSUPPORTED_SHELLS } = await import("./completion-UNKBVVDT.js");
|
|
3452
3452
|
const shell = args.positionals[0];
|
|
3453
3453
|
if (shell === void 0) throw missingArgument("shell", { command: "completion" });
|
|
3454
3454
|
if (!isCompletionShell(shell)) {
|
|
@@ -3467,115 +3467,115 @@ async function dispatch(rawArgv) {
|
|
|
3467
3467
|
return runCompletionCommand(shell);
|
|
3468
3468
|
}
|
|
3469
3469
|
if (command === "agent-skill") {
|
|
3470
|
-
const { runAgentSkillCommand } = await import("./agent-skill-command-
|
|
3470
|
+
const { runAgentSkillCommand } = await import("./agent-skill-command-VWDMQWCT.js");
|
|
3471
3471
|
return runAgentSkillCommand(args);
|
|
3472
3472
|
}
|
|
3473
3473
|
if (command === "upgrade") {
|
|
3474
|
-
const { runUpgradeCommand } = await import("./upgrade-command-
|
|
3474
|
+
const { runUpgradeCommand } = await import("./upgrade-command-J6LRNHYF.js");
|
|
3475
3475
|
return runUpgradeCommand(args);
|
|
3476
3476
|
}
|
|
3477
3477
|
if (command === "lock") {
|
|
3478
|
-
const { runLockCommand } = await import("./lock-commands-
|
|
3478
|
+
const { runLockCommand } = await import("./lock-commands-H3YV2D6M.js");
|
|
3479
3479
|
const verb = args.positionals[0];
|
|
3480
|
-
const { isProjectDir } = await import("./xanosdk-project-
|
|
3480
|
+
const { isProjectDir } = await import("./xanosdk-project-YW3BQY2E.js");
|
|
3481
3481
|
const here = verb !== "prune" && args.lockPath === void 0 && args.entryPath === void 0 && existsSync2("xano.lock") && !isProjectDir(process.cwd()) ? { ...args, lockPath: "xano.lock" } : args;
|
|
3482
3482
|
return atProjectRoot(here, runLockCommand, verb === "prune" || verb === "import" ? "verb-path" : void 0);
|
|
3483
3483
|
}
|
|
3484
3484
|
if (command === "login") {
|
|
3485
|
-
const { runLoginCommand } = await import("./login-command-
|
|
3485
|
+
const { runLoginCommand } = await import("./login-command-NMM3JNDZ.js");
|
|
3486
3486
|
return runLoginCommand(args);
|
|
3487
3487
|
}
|
|
3488
3488
|
if (command === "logout") {
|
|
3489
|
-
const { runLogoutCommand } = await import("./logout-command-
|
|
3489
|
+
const { runLogoutCommand } = await import("./logout-command-7DYC6G32.js");
|
|
3490
3490
|
return runLogoutCommand(args);
|
|
3491
3491
|
}
|
|
3492
3492
|
if (command === "deploy") {
|
|
3493
|
-
const { runDeployCommand } = await import("./deploy-command-
|
|
3493
|
+
const { runDeployCommand } = await import("./deploy-command-WESYWFJN.js");
|
|
3494
3494
|
return atProjectRoot(args, runDeployCommand, entryPositional(args));
|
|
3495
3495
|
}
|
|
3496
3496
|
if (command === "ephemeral") {
|
|
3497
|
-
const { runEphemeralCommand } = await import("./ephemeral-command-
|
|
3497
|
+
const { runEphemeralCommand } = await import("./ephemeral-command-WCO5J4SN.js");
|
|
3498
3498
|
return atProjectRoot(args, runEphemeralCommand);
|
|
3499
3499
|
}
|
|
3500
3500
|
if (command === "local") {
|
|
3501
|
-
const { runLocalEngineCommand } = await import("./local-engine-command-
|
|
3501
|
+
const { runLocalEngineCommand } = await import("./local-engine-command-VQWNQ7UK.js");
|
|
3502
3502
|
const readsProject = ["token", "stop", "update", "mcp"].includes(args.subcommand ?? "");
|
|
3503
3503
|
return readsProject ? atProjectRoot(args, runLocalEngineCommand) : runLocalEngineCommand(args);
|
|
3504
3504
|
}
|
|
3505
3505
|
if (command === "env") {
|
|
3506
3506
|
if (args.subcommand === "set" || args.subcommand === "unset") {
|
|
3507
|
-
const { runEnvVarCommand } = await import("./env-var-command-
|
|
3507
|
+
const { runEnvVarCommand } = await import("./env-var-command-IJHKA2WJ.js");
|
|
3508
3508
|
return atProjectRoot(args, (a) => runEnvVarCommand(a, args.subcommand));
|
|
3509
3509
|
}
|
|
3510
3510
|
if (args.subcommand !== "pull") throw unknownSubcommand("env", args.subcommand);
|
|
3511
|
-
const { runEnvPullCommand } = await import("./env-pull-command-
|
|
3511
|
+
const { runEnvPullCommand } = await import("./env-pull-command-SK5FS477.js");
|
|
3512
3512
|
return atProjectRoot(args, runEnvPullCommand);
|
|
3513
3513
|
}
|
|
3514
3514
|
if (command === "secrets") {
|
|
3515
3515
|
if (args.subcommand !== "fill") throw unknownSubcommand("secrets", args.subcommand);
|
|
3516
|
-
const { runSecretsFillCommand } = await import("./secrets-fill-command-
|
|
3516
|
+
const { runSecretsFillCommand } = await import("./secrets-fill-command-G7NQMRXU.js");
|
|
3517
3517
|
return atProjectRoot(args, runSecretsFillCommand, entryPositional(args));
|
|
3518
3518
|
}
|
|
3519
3519
|
if (command === "release") {
|
|
3520
|
-
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-
|
|
3520
|
+
const { runReleaseCommand: runReleaseNs } = await import("./release-ns-command-YLCQPVH3.js");
|
|
3521
3521
|
return atProjectRoot(args, runReleaseNs);
|
|
3522
3522
|
}
|
|
3523
3523
|
if (command === "pull") {
|
|
3524
|
-
const { runPullCommand } = await import("./pull-command-
|
|
3524
|
+
const { runPullCommand } = await import("./pull-command-ITO76ENU.js");
|
|
3525
3525
|
const first = args.positionals[0];
|
|
3526
3526
|
const file = first !== void 0 && !isKindShaped(first) && (/\.json$/i.test(first) || /[\\/]/.test(first));
|
|
3527
3527
|
return file ? runPullCommand(args) : atProjectRoot(args, runPullCommand);
|
|
3528
3528
|
}
|
|
3529
3529
|
if (command === "generate") {
|
|
3530
|
-
const { runGenerateCommand } = await import("./generate-command-
|
|
3530
|
+
const { runGenerateCommand } = await import("./generate-command-3WCOUOEQ.js");
|
|
3531
3531
|
return runGenerateCommand(args);
|
|
3532
3532
|
}
|
|
3533
3533
|
if (command === "tables") {
|
|
3534
|
-
const { runTablesCommand } = await import("./tables-command-
|
|
3534
|
+
const { runTablesCommand } = await import("./tables-command-NMTKR52H.js");
|
|
3535
3535
|
return atProjectRoot(args, runTablesCommand);
|
|
3536
3536
|
}
|
|
3537
3537
|
if (command === "impersonate") {
|
|
3538
|
-
const { runImpersonateCommand } = await import("./impersonate-command-
|
|
3538
|
+
const { runImpersonateCommand } = await import("./impersonate-command-UMYVQTCG.js");
|
|
3539
3539
|
return atProjectRoot(args, runImpersonateCommand);
|
|
3540
3540
|
}
|
|
3541
3541
|
if (command === "promote") {
|
|
3542
|
-
const { runPromoteCommand } = await import("./promote-command-
|
|
3542
|
+
const { runPromoteCommand } = await import("./promote-command-RURHOLNR.js");
|
|
3543
3543
|
return atProjectRoot(args, runPromoteCommand);
|
|
3544
3544
|
}
|
|
3545
3545
|
if (command === "publish") {
|
|
3546
|
-
const { runPublishCommand } = await import("./publish-command-
|
|
3546
|
+
const { runPublishCommand } = await import("./publish-command-IIRN6NWN.js");
|
|
3547
3547
|
return atProjectRoot(args, runPublishCommand, "path");
|
|
3548
3548
|
}
|
|
3549
3549
|
if (command === "tenant") {
|
|
3550
|
-
const { runTenantCommand } = await import("./tenant-command-
|
|
3550
|
+
const { runTenantCommand } = await import("./tenant-command-XQAWT46C.js");
|
|
3551
3551
|
return atProjectRoot(args, runTenantCommand);
|
|
3552
3552
|
}
|
|
3553
3553
|
if (command === "test") {
|
|
3554
|
-
const { runTestCommand } = await import("./test-command-
|
|
3554
|
+
const { runTestCommand } = await import("./test-command-W4AD4KT4.js");
|
|
3555
3555
|
return atProjectRoot(args, runTestCommand);
|
|
3556
3556
|
}
|
|
3557
3557
|
if (command === "workspace") {
|
|
3558
|
-
const { runWorkspaceCommand } = await import("./workspace-command-
|
|
3558
|
+
const { runWorkspaceCommand } = await import("./workspace-command-W4ANGLCZ.js");
|
|
3559
3559
|
return runWorkspaceCommand(args);
|
|
3560
3560
|
}
|
|
3561
3561
|
if (command === "status") {
|
|
3562
|
-
const { runStatusCommand } = await import("./status-command-
|
|
3562
|
+
const { runStatusCommand } = await import("./status-command-CD72PXIT.js");
|
|
3563
3563
|
return runStatusCommand(args);
|
|
3564
3564
|
}
|
|
3565
3565
|
if (command === "whoami") {
|
|
3566
|
-
const { runWhoamiCommand } = await import("./whoami-command-
|
|
3566
|
+
const { runWhoamiCommand } = await import("./whoami-command-KWRP2CII.js");
|
|
3567
3567
|
return runWhoamiCommand(args);
|
|
3568
3568
|
}
|
|
3569
3569
|
if (command === "profile") {
|
|
3570
|
-
const { runProfileCommand } = await import("./profile-command-
|
|
3570
|
+
const { runProfileCommand } = await import("./profile-command-LDPLTJEJ.js");
|
|
3571
3571
|
return runProfileCommand(args);
|
|
3572
3572
|
}
|
|
3573
3573
|
if (command === "marketplace") {
|
|
3574
3574
|
if (!["list", "search", "details", "install", "reinstall", "remove"].includes(args.subcommand ?? "")) {
|
|
3575
3575
|
throw unknownSubcommand("marketplace", args.subcommand);
|
|
3576
3576
|
}
|
|
3577
|
-
const marketplace = await import("./marketplace-command-
|
|
3578
|
-
const { withCatalogueRerun } = await import("./marketplace-resolve-
|
|
3577
|
+
const marketplace = await import("./marketplace-command-UCSHDZGO.js");
|
|
3578
|
+
const { withCatalogueRerun } = await import("./marketplace-resolve-JR4BBJ6K.js");
|
|
3579
3579
|
try {
|
|
3580
3580
|
if (args.subcommand === "list") return await marketplace.runMarketplaceListCommand(args);
|
|
3581
3581
|
if (args.subcommand === "search") return await marketplace.runMarketplaceSearchCommand(args);
|
|
@@ -3588,7 +3588,7 @@ async function dispatch(rawArgv) {
|
|
|
3588
3588
|
}
|
|
3589
3589
|
}
|
|
3590
3590
|
if (command === "preflight") {
|
|
3591
|
-
const { runPreflightCommand } = await import("./preflight-command-
|
|
3591
|
+
const { runPreflightCommand } = await import("./preflight-command-TJ7FURXB.js");
|
|
3592
3592
|
return runPreflightCommand(args);
|
|
3593
3593
|
}
|
|
3594
3594
|
if (command !== "compile" && command !== "export" && command !== "paths" && command !== "routes") {
|
|
@@ -3603,12 +3603,12 @@ async function dispatch(rawArgv) {
|
|
|
3603
3603
|
if (command === "paths" || command === "routes") {
|
|
3604
3604
|
return runPaths(args);
|
|
3605
3605
|
}
|
|
3606
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
3606
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-S3MPHCUI.js");
|
|
3607
3607
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
3608
3608
|
frozen: args.frozenLock === true || args.check === true
|
|
3609
3609
|
});
|
|
3610
3610
|
if (out && !args.check) {
|
|
3611
|
-
const { assertWritableTarget } = await import("./output-target-
|
|
3611
|
+
const { assertWritableTarget } = await import("./output-target-67LHZKCO.js");
|
|
3612
3612
|
assertWritableTarget(out, "--out");
|
|
3613
3613
|
}
|
|
3614
3614
|
const { bundle: json, bundleObject, omittedSeedTables, lock: lockOutcome, declaredEnvNames } = await compileBundle(args);
|
|
@@ -3626,7 +3626,7 @@ async function dispatch(rawArgv) {
|
|
|
3626
3626
|
"export.hosted-files-omitted"
|
|
3627
3627
|
);
|
|
3628
3628
|
}
|
|
3629
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
3629
|
+
const { runBundleHooks } = await import("./toolchain-hooks-UAJBPSTC.js");
|
|
3630
3630
|
await runBundleHooks(
|
|
3631
3631
|
toolchain.loaded,
|
|
3632
3632
|
{
|
|
@@ -3639,15 +3639,15 @@ async function dispatch(rawArgv) {
|
|
|
3639
3639
|
},
|
|
3640
3640
|
""
|
|
3641
3641
|
);
|
|
3642
|
-
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-
|
|
3643
|
-
const { backendDirFor } = await import("./backend-dir-
|
|
3642
|
+
const { refreshEnvExample, bundleEnvNames: bundleEnvNames2 } = await import("./env-example-refresh-4V2OCDJE.js");
|
|
3643
|
+
const { backendDirFor } = await import("./backend-dir-ISP7RVF2.js");
|
|
3644
3644
|
const declaredSet = new Set(declaredEnvNames);
|
|
3645
3645
|
const templateDir = backendDirFor(args.file);
|
|
3646
3646
|
const ownsTemplate = isWithin(resolve2(args.file), templateDir) && (dirname2(resolve2(args.file)) === templateDir || !existsSync2(join2(templateDir, "index.ts")));
|
|
3647
3647
|
const templateEnv = Object.fromEntries(
|
|
3648
3648
|
Object.entries(bundleEnvNames2(bundleObject)).filter(([name]) => declaredSet.has(name))
|
|
3649
3649
|
);
|
|
3650
|
-
const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3650
|
+
const { skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-YHJZRCNB.js");
|
|
3651
3651
|
const projectSdk = skewedProjectSdk(dirname2(resolve2(args.file)), readVersion());
|
|
3652
3652
|
const regenerate = projectSdk === void 0 ? `xanosdk export ${shellWord(pastePath(args.file))} --out ${NULL_DEVICE}` : installedCliCommand(projectSdk.root, (path) => `export ${path(args.file)} --out ${NULL_DEVICE}`);
|
|
3653
3653
|
if (args.check) {
|
|
@@ -3698,15 +3698,15 @@ async function dispatch(rawArgv) {
|
|
|
3698
3698
|
info(`${hadEnvExample ? "Updated" : "Wrote"} ${displayPath(refreshed)} to list the env names this source declares.`);
|
|
3699
3699
|
}
|
|
3700
3700
|
if (out) {
|
|
3701
|
-
const { secretsCarriedBy } = await import("./live-diff-
|
|
3702
|
-
const { writeExportFile } = await import("./output-target-
|
|
3701
|
+
const { secretsCarriedBy } = await import("./live-diff-UMSOGPX3.js");
|
|
3702
|
+
const { writeExportFile } = await import("./output-target-67LHZKCO.js");
|
|
3703
3703
|
const written = lockOutcome?.changed ? `Only ${lockOutcome.path} was written` : void 0;
|
|
3704
3704
|
writeExportFile(out, json + "\n", secretsCarriedBy(bundleObject), "--out", written);
|
|
3705
3705
|
reportWrote(args, out, lockOutcome);
|
|
3706
3706
|
} else {
|
|
3707
3707
|
process.stdout.write(json + "\n");
|
|
3708
|
-
const { secretsCarriedBy } = await import("./live-diff-
|
|
3709
|
-
const { secretsPhrase } = await import("./output-target-
|
|
3708
|
+
const { secretsCarriedBy } = await import("./live-diff-UMSOGPX3.js");
|
|
3709
|
+
const { secretsPhrase } = await import("./output-target-67LHZKCO.js");
|
|
3710
3710
|
const secrets = secretsCarriedBy(bundleObject);
|
|
3711
3711
|
if (secrets.length > 0) {
|
|
3712
3712
|
warn(
|
|
@@ -3725,11 +3725,11 @@ async function refreshAgentGuidance(args) {
|
|
|
3725
3725
|
if (args.noRefresh) return;
|
|
3726
3726
|
if (args.check || args.frozenLock || args.dryRun) return;
|
|
3727
3727
|
try {
|
|
3728
|
-
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
3728
|
+
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-YHJZRCNB.js");
|
|
3729
3729
|
const entryProject = args.file === void 0 ? void 0 : installedSdk(dirname2(resolve2(args.file)))?.root;
|
|
3730
3730
|
const projectDir = existsSync2(join2(process.cwd(), "AGENTS.md")) || entryProject === void 0 ? process.cwd() : entryProject;
|
|
3731
3731
|
const projectSdk = skewedProjectSdk(projectDir, readVersion());
|
|
3732
|
-
const { refreshAgentFiles } = await import("./agent-file-refresh-
|
|
3732
|
+
const { refreshAgentFiles } = await import("./agent-file-refresh-3J6YRVFL.js");
|
|
3733
3733
|
if (projectSdk !== void 0) {
|
|
3734
3734
|
const stale = refreshAgentFiles({ projectDir, sdkVersion: readVersion(), write: false });
|
|
3735
3735
|
const file = args.file;
|
|
@@ -3963,7 +3963,7 @@ async function runPaths(args) {
|
|
|
3963
3963
|
const lockPath = resolveLockPath(args, file);
|
|
3964
3964
|
resetLockOverrides();
|
|
3965
3965
|
const lockModel = existsSync2(lockPath) ? readLockFile(lockPath) : void 0;
|
|
3966
|
-
const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-
|
|
3966
|
+
const toolchain = args.emit !== void 0 ? await (await import("./toolchain-modules-S3MPHCUI.js")).discoverToolchainPlugins(emitProjectDir(args.emit, file), {
|
|
3967
3967
|
frozen: args.strict === true,
|
|
3968
3968
|
// A module outside its SDK peer range keeps its block and is named,
|
|
3969
3969
|
// as any other skip is; it does not abort every `dev` and `build`.
|
|
@@ -3985,7 +3985,7 @@ async function runPaths(args) {
|
|
|
3985
3985
|
setDiagnosticSink(outerSink);
|
|
3986
3986
|
}
|
|
3987
3987
|
const payload = bundle.payload;
|
|
3988
|
-
const { planRouteManifest, manifestCounts, describeManifestCounts, routesListing, formatRoutesListing, NO_MANIFEST_COUNTS } = await import("./routes-manifest-
|
|
3988
|
+
const { planRouteManifest, manifestCounts, describeManifestCounts, routesListing, formatRoutesListing, NO_MANIFEST_COUNTS } = await import("./routes-manifest-R3TQRB24.js");
|
|
3989
3989
|
const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
|
|
3990
3990
|
const queryCount = plan.rows.length;
|
|
3991
3991
|
const serverCount = plan.servers.length + plan.unresolvedServers.length + plan.mcpServers.length + plan.unresolvedMcpServers.length;
|
|
@@ -4015,7 +4015,7 @@ async function runPaths(args) {
|
|
|
4015
4015
|
if (args.emit !== void 0) {
|
|
4016
4016
|
const counts = manifestCounts(plan);
|
|
4017
4017
|
if (unresolved.length > 0) {
|
|
4018
|
-
const { unresolvedCanonicalMessage } = await import("./routes-manifest-
|
|
4018
|
+
const { unresolvedCanonicalMessage } = await import("./routes-manifest-R3TQRB24.js");
|
|
4019
4019
|
const why = `${args.emit} was not written: ${unresolvedCanonicalMessage(unresolved, shellWord(file))}`;
|
|
4020
4020
|
if (args.strict) throw new Error(`--strict: ${why}`);
|
|
4021
4021
|
warn(why, "routes.not-written");
|
|
@@ -4027,7 +4027,7 @@ async function runPaths(args) {
|
|
|
4027
4027
|
if (machine && args.emit !== "-") writeJson(emitDoc(false));
|
|
4028
4028
|
return;
|
|
4029
4029
|
}
|
|
4030
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
4030
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-GYNYFKAH.js");
|
|
4031
4031
|
const loaded = toolchain?.loaded ?? [];
|
|
4032
4032
|
const skipped = toolchain?.skipped ?? [];
|
|
4033
4033
|
const rendered = renderManifestFile(
|
|
@@ -4049,7 +4049,7 @@ async function runPaths(args) {
|
|
|
4049
4049
|
writeData(process.stdout, source);
|
|
4050
4050
|
return;
|
|
4051
4051
|
}
|
|
4052
|
-
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-
|
|
4052
|
+
const { installedSdk, skewedProjectSdk, skewNote, installedCliCommand } = await import("./project-sdk-YHJZRCNB.js");
|
|
4053
4053
|
const emitDir = dirname2(resolve2(args.emit));
|
|
4054
4054
|
const projectSdk = skewedProjectSdk(installedSdk(emitDir) !== void 0 ? emitDir : dirname2(resolve2(file)), readVersion());
|
|
4055
4055
|
if (projectSdk !== void 0 && existsSync2(args.emit) && readFileSync3(args.emit, "utf8") !== source) {
|
|
@@ -4104,7 +4104,7 @@ async function runPaths(args) {
|
|
|
4104
4104
|
process.stdout.write(formatRoutesListing(routesListing(plan)));
|
|
4105
4105
|
}
|
|
4106
4106
|
if (unresolved.length > 0) {
|
|
4107
|
-
const { unresolvedCanonicalMessage } = await import("./routes-manifest-
|
|
4107
|
+
const { unresolvedCanonicalMessage } = await import("./routes-manifest-R3TQRB24.js");
|
|
4108
4108
|
throw new UsageError(`${commandLabel(args)}: ${unresolvedCanonicalMessage(unresolved, shellWord(file))}`);
|
|
4109
4109
|
}
|
|
4110
4110
|
}
|
|
@@ -4112,7 +4112,7 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
|
|
|
4112
4112
|
resetLockOverrides();
|
|
4113
4113
|
const lockPath = join2(dirname2(resolve2(entry)), "xano.lock");
|
|
4114
4114
|
const lockModel = existsSync2(lockPath) ? readLockFile(lockPath) : void 0;
|
|
4115
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
4115
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-S3MPHCUI.js");
|
|
4116
4116
|
const toolchain = existsSync2(emit2) ? await discoverToolchainPlugins(projectDir, { frozen: false, configuring: true, peerSkew: "skip" }) : void 0;
|
|
4117
4117
|
const def = await loadDefault(entry);
|
|
4118
4118
|
if (!Xano.isXano(def)) return { manifest: "absent", lockOrphans: 0 };
|
|
@@ -4124,12 +4124,12 @@ async function refreshRouteManifest(entry, emit2, projectDir) {
|
|
|
4124
4124
|
} finally {
|
|
4125
4125
|
setDiagnosticSink(previousSink);
|
|
4126
4126
|
}
|
|
4127
|
-
const { pulledIdentities } = await import("./pull-command-
|
|
4127
|
+
const { pulledIdentities } = await import("./pull-command-ITO76ENU.js");
|
|
4128
4128
|
const live = pulledIdentities(payload);
|
|
4129
4129
|
const lockOrphans = lockModel === void 0 ? 0 : Object.keys(lockModel.objects).filter((k) => k !== WORKSPACE_KEY && !live.has(k)).length;
|
|
4130
4130
|
if (!existsSync2(emit2)) return { manifest: "absent", lockOrphans };
|
|
4131
|
-
const { planRouteManifest, RouteManifestError } = await import("./routes-manifest-
|
|
4132
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
4131
|
+
const { planRouteManifest, RouteManifestError } = await import("./routes-manifest-R3TQRB24.js");
|
|
4132
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-GYNYFKAH.js");
|
|
4133
4133
|
const plan = planRouteManifest(payload, (kind, name) => lockModel?.objects[lockKey(kind, name)]?.canonical);
|
|
4134
4134
|
if (plan.unresolved.length > 0) return { manifest: "skipped", lockOrphans };
|
|
4135
4135
|
const current = readFileSync3(emit2, "utf8");
|
|
@@ -4653,7 +4653,7 @@ async function refineGonePullHint(err) {
|
|
|
4653
4653
|
if (offer === void 0 || auth === void 0 || !(err instanceof Error) || !err.message.includes(offer.clause)) return;
|
|
4654
4654
|
let gone;
|
|
4655
4655
|
try {
|
|
4656
|
-
const { lookupEphemeral } = await import("./source-resolve-
|
|
4656
|
+
const { lookupEphemeral } = await import("./source-resolve-U4SJR7ZA.js");
|
|
4657
4657
|
gone = await lookupEphemeral(auth, offer.name) === null;
|
|
4658
4658
|
} catch {
|
|
4659
4659
|
return;
|
|
@@ -4857,4 +4857,4 @@ export {
|
|
|
4857
4857
|
docTokenRefusalIfReplaced,
|
|
4858
4858
|
envRefusalIfReplaced
|
|
4859
4859
|
};
|
|
4860
|
-
//# sourceMappingURL=chunk-
|
|
4860
|
+
//# sourceMappingURL=chunk-J3XLCYTQ.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
envExampleNames
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BSGU4HS6.js";
|
|
4
4
|
import {
|
|
5
5
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
6
6
|
renderWorkspaceEnvExample
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DERQSEB5.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-J62TYONQ.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
XANO_DIR
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SUKO4SZG.js";
|
|
4
4
|
import {
|
|
5
5
|
projectRootFrom
|
|
6
6
|
} from "./chunk-HU7F56VF.js";
|
|
7
7
|
import {
|
|
8
8
|
relForwardSlash
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
10
10
|
|
|
11
11
|
// src/emit/backend-dir.ts
|
|
12
12
|
import { existsSync, readdirSync } from "fs";
|
|
@@ -67,4 +67,4 @@ export {
|
|
|
67
67
|
backendDirIn,
|
|
68
68
|
resolveBackendDir
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=chunk-
|
|
70
|
+
//# sourceMappingURL=chunk-KDEU5FUJ.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
findBranch,
|
|
3
3
|
listBranches,
|
|
4
4
|
liveBranchLabel
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2LF734YB.js";
|
|
6
6
|
import {
|
|
7
7
|
readLockFile,
|
|
8
8
|
recordSyncInLockFile,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
displayPath,
|
|
16
16
|
info,
|
|
17
17
|
warn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
19
19
|
|
|
20
20
|
// src/emit/sync-record.ts
|
|
21
21
|
import { existsSync } from "fs";
|
|
@@ -64,4 +64,4 @@ export {
|
|
|
64
64
|
storedBranchLabel,
|
|
65
65
|
syncBranchLabel
|
|
66
66
|
};
|
|
67
|
-
//# sourceMappingURL=chunk-
|
|
67
|
+
//# sourceMappingURL=chunk-KMKUH2IO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
statementLabel
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IHL2O7VY.js";
|
|
4
4
|
import {
|
|
5
5
|
PROTO_KEY,
|
|
6
6
|
describeEntry,
|
|
@@ -319,4 +319,4 @@ export {
|
|
|
319
319
|
encodeTags,
|
|
320
320
|
defaultHistory
|
|
321
321
|
};
|
|
322
|
-
//# sourceMappingURL=chunk-
|
|
322
|
+
//# sourceMappingURL=chunk-L34DM6QB.js.map
|