@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
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
contextFlags,
|
|
6
6
|
isCredentialStoreCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZRXDPCMN.js";
|
|
8
8
|
import {
|
|
9
9
|
shellQuote
|
|
10
10
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
pipedYes,
|
|
107
107
|
withheldNote
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-GCINMMFL.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureGitignored
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WS4BA75E.js";
|
|
4
4
|
import {
|
|
5
5
|
atomicWrite
|
|
6
6
|
} from "./chunk-LLNZGEFK.js";
|
|
@@ -52,4 +52,4 @@ export {
|
|
|
52
52
|
readDeployed,
|
|
53
53
|
recordDeployed
|
|
54
54
|
};
|
|
55
|
-
//# sourceMappingURL=chunk-
|
|
55
|
+
//# sourceMappingURL=chunk-GKQTXUOW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
classifyFailure
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XCFQLP6G.js";
|
|
4
4
|
import {
|
|
5
5
|
describeWrite
|
|
6
6
|
} from "./chunk-4KHEMC32.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
warn,
|
|
15
15
|
writeJson,
|
|
16
16
|
writeTargetPayload
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
18
18
|
|
|
19
19
|
// src/emit/operation-result.ts
|
|
20
20
|
var SERVER_PROCESSING_BOUND_MS = 6e5;
|
|
@@ -253,4 +253,4 @@ export {
|
|
|
253
253
|
OperationError,
|
|
254
254
|
runOperation
|
|
255
255
|
};
|
|
256
|
-
//# sourceMappingURL=chunk-
|
|
256
|
+
//# sourceMappingURL=chunk-GOKRKTCX.js.map
|
|
@@ -61,9 +61,8 @@ function withBackendFields(value) {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
// src/emit/invocation.ts
|
|
64
|
-
import { existsSync, readFileSync
|
|
65
|
-
import {
|
|
66
|
-
import { homedir } from "os";
|
|
64
|
+
import { existsSync, readFileSync } from "fs";
|
|
65
|
+
import { dirname, isAbsolute as isAbsolute3, join, relative as relative3, resolve as resolve3, sep as sep3 } from "path";
|
|
67
66
|
|
|
68
67
|
// src/emit/typed-cwd.ts
|
|
69
68
|
import { isAbsolute as isAbsolute2, relative as relative2, resolve as resolve2, sep as sep2 } from "path";
|
|
@@ -108,24 +107,9 @@ function pastePath(path) {
|
|
|
108
107
|
}
|
|
109
108
|
|
|
110
109
|
// src/emit/invocation.ts
|
|
111
|
-
var
|
|
112
|
-
`${sep3}lib${sep3}node_modules${sep3}`,
|
|
113
|
-
`${sep3}npm${sep3}node_modules${sep3}`,
|
|
114
|
-
`${sep3}pnpm${sep3}global${sep3}`,
|
|
115
|
-
`${sep3}yarn${sep3}global${sep3}`
|
|
116
|
-
];
|
|
110
|
+
var PROJECT_CLI = "npx @xano/sdk";
|
|
117
111
|
function launcherFor(facts) {
|
|
118
|
-
|
|
119
|
-
const marker = `${sep3}node_modules${sep3}`;
|
|
120
|
-
const at = bin.lastIndexOf(marker);
|
|
121
|
-
if (at === -1) return "path";
|
|
122
|
-
if (bin.includes(`${sep3}_npx${sep3}`) || facts.env.npm_command === "exec") return "npx";
|
|
123
|
-
const installRoot = bin.slice(0, at);
|
|
124
|
-
const cwd = facts.cwd;
|
|
125
|
-
if (cwd === installRoot || cwd.startsWith(installRoot + sep3)) return "npx";
|
|
126
|
-
const store = bin.slice(0, at + marker.length);
|
|
127
|
-
if (GLOBAL_STORES.some((s) => store.endsWith(s) || bin.includes(s))) return "path";
|
|
128
|
-
return "npx";
|
|
112
|
+
return facts.binPath.includes(`${sep3}node_modules${sep3}`) ? "npx" : "path";
|
|
129
113
|
}
|
|
130
114
|
function typedDirFor(cwd, env) {
|
|
131
115
|
const init = env.INIT_CWD;
|
|
@@ -134,14 +118,6 @@ function typedDirFor(cwd, env) {
|
|
|
134
118
|
const rel = relative3(cwd, init);
|
|
135
119
|
return rel === "" || !rel.startsWith("..") && !isAbsolute3(rel) ? resolve3(init) : cwd;
|
|
136
120
|
}
|
|
137
|
-
var installedCache = /* @__PURE__ */ new Map();
|
|
138
|
-
function binDirAbove(from) {
|
|
139
|
-
for (let d = from; ; d = dirname(d)) {
|
|
140
|
-
const bin = join(d, "node_modules", ".bin");
|
|
141
|
-
if (existsSync(join(bin, "xanosdk")) || existsSync(join(bin, "xanosdk.cmd"))) return bin;
|
|
142
|
-
if (dirname(d) === d) return void 0;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
121
|
function readManifest(dir) {
|
|
146
122
|
try {
|
|
147
123
|
return JSON.parse(readFileSync(join(dir, "package.json"), "utf8"));
|
|
@@ -149,13 +125,6 @@ function readManifest(dir) {
|
|
|
149
125
|
return void 0;
|
|
150
126
|
}
|
|
151
127
|
}
|
|
152
|
-
function isDir(path) {
|
|
153
|
-
try {
|
|
154
|
-
return statSync(path).isDirectory();
|
|
155
|
-
} catch {
|
|
156
|
-
return false;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
128
|
function workspaceGlob(glob) {
|
|
160
129
|
const segs = glob.replace(/^\.\//, "").replace(/\/+$/, "").split("/");
|
|
161
130
|
const source = segs.map(
|
|
@@ -171,18 +140,6 @@ function listsWorkspace(root, workspaces, member) {
|
|
|
171
140
|
const hit = (g) => workspaceGlob(g).test(rel);
|
|
172
141
|
return globs.some((g) => !g.startsWith("!") && hit(g)) && !globs.some((g) => g.startsWith("!") && hit(g.slice(1)));
|
|
173
142
|
}
|
|
174
|
-
function npxBinDir(from) {
|
|
175
|
-
let prefix;
|
|
176
|
-
for (let d = from; prefix === void 0; d = dirname(d)) {
|
|
177
|
-
if (existsSync(join(d, "package.json")) || isDir(join(d, "node_modules"))) prefix = d;
|
|
178
|
-
else if (dirname(d) === d) break;
|
|
179
|
-
}
|
|
180
|
-
if (prefix === void 0) return binDirAbove(from);
|
|
181
|
-
const root = listingWorkspaceRoot(prefix);
|
|
182
|
-
if (root === void 0) return binDirAbove(prefix);
|
|
183
|
-
const name = readManifest(prefix)?.name;
|
|
184
|
-
return binDirAbove(join(root, "node_modules", typeof name === "string" && name !== "" ? name : basename(prefix)));
|
|
185
|
-
}
|
|
186
143
|
function listingWorkspaceRoot(prefix) {
|
|
187
144
|
for (let d = dirname(prefix); ; d = dirname(d)) {
|
|
188
145
|
if (existsSync(join(d, "package.json"))) {
|
|
@@ -192,34 +149,16 @@ function listingWorkspaceRoot(prefix) {
|
|
|
192
149
|
if (dirname(d) === d) return void 0;
|
|
193
150
|
}
|
|
194
151
|
}
|
|
195
|
-
function projectFileCli(dir, manager) {
|
|
196
|
-
if (manager === "npm" || manager === "yarn") return "npx xanosdk";
|
|
197
|
-
return listingWorkspaceRoot(resolve3(dir)) === void 0 ? "npx xanosdk" : "npx --workspaces=false xanosdk";
|
|
198
|
-
}
|
|
199
152
|
var MCP_SERVER_NAME = "xano-local";
|
|
200
153
|
var MCP_CONFIGS = [
|
|
201
154
|
{ path: ".mcp.json", agent: "Claude Code" },
|
|
202
155
|
{ path: ".cursor/mcp.json", agent: "Cursor", workspaceFolder: "${workspaceFolder}" }
|
|
203
156
|
];
|
|
204
|
-
function mcpServerCommand(
|
|
157
|
+
function mcpServerCommand(opts = {}) {
|
|
205
158
|
const folder = opts.workspaceFolder;
|
|
206
|
-
const npx = [
|
|
207
|
-
"npx",
|
|
208
|
-
"--yes",
|
|
209
|
-
"--package",
|
|
210
|
-
"@xano/sdk",
|
|
211
|
-
...projectFileCli(dir, manager) === "npx xanosdk" ? [] : ["--workspaces=false"],
|
|
212
|
-
"xanosdk",
|
|
213
|
-
"local",
|
|
214
|
-
"mcp",
|
|
215
|
-
"--stdio",
|
|
216
|
-
...folder === void 0 ? [] : ["--project", folder]
|
|
217
|
-
];
|
|
159
|
+
const npx = ["npx", "--yes", "@xano/sdk", "local", "mcp", "--stdio", ...folder === void 0 ? [] : ["--project", folder]];
|
|
218
160
|
return (opts.platform ?? process.platform) === "win32" ? { command: "cmd", args: ["/c", ...npx] } : { command: npx[0], args: npx.slice(1) };
|
|
219
161
|
}
|
|
220
|
-
function spellProjectCli(text2, cli) {
|
|
221
|
-
return cli === void 0 || cli === "npx xanosdk" ? text2 : text2.replace(/\bnpx xanosdk(?=[\s`'")\]]|$)/g, cli);
|
|
222
|
-
}
|
|
223
162
|
var PROJECT_SDK_DIR = "node_modules/@xano/sdk";
|
|
224
163
|
function projectSdkDir(dir, manager) {
|
|
225
164
|
const project = resolve3(dir);
|
|
@@ -233,35 +172,12 @@ function spellProjectSdkDir(text2, sdkDir) {
|
|
|
233
172
|
if (sdkDir === void 0 || sdkDir === PROJECT_SDK_DIR) return text2;
|
|
234
173
|
return text2.replace(/(?<![\w./-])node_modules\/@xano\/sdk(?=\/)/g, sdkDir);
|
|
235
174
|
}
|
|
236
|
-
function installedCliAt(dir) {
|
|
237
|
-
return sdkInstalledAt(dir) === "member-only" ? "npx --workspaces=false xanosdk" : "npx xanosdk";
|
|
238
|
-
}
|
|
239
|
-
function sameDir(a, b) {
|
|
240
|
-
try {
|
|
241
|
-
return realpathSync(a) === realpathSync(b);
|
|
242
|
-
} catch {
|
|
243
|
-
return false;
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
function sdkInstalledAt(dir) {
|
|
247
|
-
const start = resolve3(dir);
|
|
248
|
-
const cached = installedCache.get(start);
|
|
249
|
-
if (cached !== void 0) return cached;
|
|
250
|
-
const own = binDirAbove(start);
|
|
251
|
-
if (own === void 0) return false;
|
|
252
|
-
const npx = npxBinDir(start);
|
|
253
|
-
const found = npx !== void 0 && sameDir(npx, own) ? true : "member-only";
|
|
254
|
-
installedCache.set(start, found);
|
|
255
|
-
return found;
|
|
256
|
-
}
|
|
257
175
|
var state;
|
|
258
|
-
function setCliLauncher(launcher, typedDir
|
|
259
|
-
state = launcher === "path" ? void 0 : { launcher, typedDir: typedDir ?? process.cwd()
|
|
176
|
+
function setCliLauncher(launcher, typedDir) {
|
|
177
|
+
state = launcher === "path" ? void 0 : { launcher, typedDir: typedDir ?? process.cwd() };
|
|
260
178
|
}
|
|
261
|
-
function
|
|
262
|
-
|
|
263
|
-
const installed = s.installedAt(resolve3(s.typedDir, dir ?? "."));
|
|
264
|
-
return installed === true ? "npx xanosdk" : installed === "member-only" ? "npx --workspaces=false xanosdk" : "npx @xano/sdk";
|
|
179
|
+
function cliPrefix(s = state) {
|
|
180
|
+
return s === void 0 ? "xanosdk" : PROJECT_CLI;
|
|
265
181
|
}
|
|
266
182
|
var pattern;
|
|
267
183
|
function commandPattern() {
|
|
@@ -273,21 +189,9 @@ function commandPattern() {
|
|
|
273
189
|
);
|
|
274
190
|
return pattern;
|
|
275
191
|
}
|
|
276
|
-
function cdTarget(text2, at) {
|
|
277
|
-
const from = Math.max(text2.lastIndexOf("`", at - 1), text2.lastIndexOf("\n", at - 1)) + 1;
|
|
278
|
-
const m = [...text2.slice(from, at).matchAll(/(?:^|\s)cd ('(?:[^']|'\\'')*'|"(?:[^"\\]|\\.)*"|[^\s`'"]+) && /g)].at(-1);
|
|
279
|
-
if (m === void 0) return void 0;
|
|
280
|
-
const word = m[1];
|
|
281
|
-
if (word.startsWith("'")) return word.slice(1, -1).replace(/'\\''/g, "'");
|
|
282
|
-
if (word.startsWith('"')) return word.slice(1, -1).replace(/\\(.)/g, "$1");
|
|
283
|
-
return word.startsWith("~/") ? join(homedir(), word.slice(2)) : word;
|
|
284
|
-
}
|
|
285
192
|
function withCliPrefix(text2, s = state) {
|
|
286
193
|
if (s === void 0 || !text2.includes("xanosdk ")) return text2;
|
|
287
|
-
return text2.replace(commandPattern(), (_whole, boundary, indent
|
|
288
|
-
const dir = boundary === "`" || boundary === "\n" ? void 0 : cdTarget(text2, offset + boundary.length);
|
|
289
|
-
return `${boundary}${indent}${cliPrefixAt(dir, s)} `;
|
|
290
|
-
});
|
|
194
|
+
return text2.replace(commandPattern(), (_whole, boundary, indent) => `${boundary}${indent}${cliPrefix(s)} `);
|
|
291
195
|
}
|
|
292
196
|
function withCliPrefixDeep(value, s = state) {
|
|
293
197
|
if (s === void 0) return value;
|
|
@@ -3031,15 +2935,12 @@ export {
|
|
|
3031
2935
|
displayPath,
|
|
3032
2936
|
setTypedCwd,
|
|
3033
2937
|
pastePath,
|
|
3034
|
-
|
|
2938
|
+
PROJECT_CLI,
|
|
3035
2939
|
MCP_SERVER_NAME,
|
|
3036
2940
|
MCP_CONFIGS,
|
|
3037
2941
|
mcpServerCommand,
|
|
3038
|
-
spellProjectCli,
|
|
3039
2942
|
projectSdkDir,
|
|
3040
2943
|
spellProjectSdkDir,
|
|
3041
|
-
installedCliAt,
|
|
3042
|
-
cliPrefixAt,
|
|
3043
2944
|
withCliPrefix,
|
|
3044
2945
|
installCliPrefix,
|
|
3045
2946
|
isMachineOutput,
|
|
@@ -3116,4 +3017,4 @@ export {
|
|
|
3116
3017
|
movedVerb,
|
|
3117
3018
|
installCliDiagnosticSink
|
|
3118
3019
|
};
|
|
3119
|
-
//# sourceMappingURL=chunk-
|
|
3020
|
+
//# sourceMappingURL=chunk-GRXX2TOJ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
listAnswer,
|
|
5
5
|
recordAnswer,
|
|
6
6
|
writeTransportFailure
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QRMKQYCB.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-HXFLHA5K.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-GVHWIDEJ.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
assertCanonical,
|
|
12
12
|
buildMiddlewareBlock,
|
|
13
13
|
encodeContainerHistory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6ILHYSLR.js";
|
|
15
15
|
import {
|
|
16
16
|
safeNames
|
|
17
17
|
} from "./chunk-GSGDWJB5.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
tableColumns,
|
|
38
38
|
tableIndexes,
|
|
39
39
|
unusableColumns
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-UQ2OD7D4.js";
|
|
41
41
|
import {
|
|
42
42
|
brandDef
|
|
43
43
|
} from "./chunk-ERVIASGL.js";
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
assertDefShape,
|
|
46
46
|
encodeTags,
|
|
47
47
|
registerKind
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-L34DM6QB.js";
|
|
49
49
|
import {
|
|
50
50
|
findNonJson,
|
|
51
51
|
nonJsonMessage
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
registerStatement,
|
|
84
84
|
statementLabel,
|
|
85
85
|
statementMark
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-IHL2O7VY.js";
|
|
87
87
|
import {
|
|
88
88
|
LAMBDA_CODE_FILTERS,
|
|
89
89
|
assertLambdaStatement,
|
|
@@ -8247,4 +8247,4 @@ export {
|
|
|
8247
8247
|
checkAgentArgPlaceholders,
|
|
8248
8248
|
checkAgentToolsOff
|
|
8249
8249
|
};
|
|
8250
|
-
//# sourceMappingURL=chunk-
|
|
8250
|
+
//# sourceMappingURL=chunk-HINRE3UM.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
confirm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RVAEPPRH.js";
|
|
4
4
|
import {
|
|
5
5
|
ProfileNotFoundError,
|
|
6
6
|
describeRefreshAnswer,
|
|
7
7
|
environmentCredentialVars
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3SZ7QRYA.js";
|
|
9
9
|
import {
|
|
10
10
|
yesRerun
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GCINMMFL.js";
|
|
12
12
|
import {
|
|
13
13
|
OpenIdProvider,
|
|
14
14
|
assertCredentialFileRemovable,
|
|
@@ -31,11 +31,11 @@ import {
|
|
|
31
31
|
resolveScope,
|
|
32
32
|
withCredentialLock,
|
|
33
33
|
writeOrRemoveCredentialFile
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-WS4BA75E.js";
|
|
35
35
|
import {
|
|
36
36
|
findProjectPointer,
|
|
37
37
|
resolveProjectProfile
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ECQXASG3.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveActiveProfile
|
|
41
41
|
} from "./chunk-MF4W6FHU.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
success,
|
|
51
51
|
warn,
|
|
52
52
|
writeJson
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
54
54
|
import {
|
|
55
55
|
suggestAll
|
|
56
56
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -429,4 +429,4 @@ export {
|
|
|
429
429
|
salvageRevocable,
|
|
430
430
|
signInAgain
|
|
431
431
|
};
|
|
432
|
-
//# sourceMappingURL=chunk-
|
|
432
|
+
//# sourceMappingURL=chunk-HK554MDD.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findRelease,
|
|
3
3
|
listReleases
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NDV6CBR7.js";
|
|
5
5
|
import {
|
|
6
6
|
isSignatureRefusal
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RYWNNJK5.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveEphemeralName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LB76VK6D.js";
|
|
11
11
|
import {
|
|
12
12
|
clearEngineRecordsNamed,
|
|
13
13
|
getEngineRecord,
|
|
@@ -25,26 +25,26 @@ import {
|
|
|
25
25
|
selectorFix,
|
|
26
26
|
sentenceCase,
|
|
27
27
|
sharedDisplayHint
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-DBDTQR23.js";
|
|
29
29
|
import {
|
|
30
30
|
getTenant,
|
|
31
31
|
tenantHasWorkspace
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MIS6F4HM.js";
|
|
33
33
|
import {
|
|
34
34
|
getEphemeral,
|
|
35
35
|
isExpired
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-Y5XAPLZS.js";
|
|
37
37
|
import {
|
|
38
38
|
clearEnvironment,
|
|
39
39
|
getEnvironment,
|
|
40
40
|
readEphemeralState
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-XY4OBD26.js";
|
|
42
42
|
import {
|
|
43
43
|
pipedYes
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-GCINMMFL.js";
|
|
45
45
|
import {
|
|
46
46
|
contextFlags
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-ZRXDPCMN.js";
|
|
48
48
|
import {
|
|
49
49
|
TransportError,
|
|
50
50
|
UNTRUSTED_CERTIFICATE,
|
|
@@ -52,12 +52,12 @@ import {
|
|
|
52
52
|
certificateFailureCode,
|
|
53
53
|
isTimeoutError,
|
|
54
54
|
lastRateLimitRetryAfter
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-HXFLHA5K.js";
|
|
56
56
|
import {
|
|
57
57
|
CliError,
|
|
58
58
|
EXIT_SOURCE_UNRESOLVABLE,
|
|
59
59
|
safeText
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
61
61
|
import {
|
|
62
62
|
suggest,
|
|
63
63
|
suggestAll
|
|
@@ -561,13 +561,13 @@ function engineNotRunning(name, clearedProjects, deployFallback = true, nearest,
|
|
|
561
561
|
}
|
|
562
562
|
function defaultSweep(env) {
|
|
563
563
|
return async () => {
|
|
564
|
-
const { stopOrphanedEngineProcesses } = await import("./local-engine-process-
|
|
564
|
+
const { stopOrphanedEngineProcesses } = await import("./local-engine-process-OD5OSWDG.js");
|
|
565
565
|
return stopOrphanedEngineProcesses({ env }).stopped;
|
|
566
566
|
};
|
|
567
567
|
}
|
|
568
568
|
function defaultEnumeration(env, cwd) {
|
|
569
569
|
return async () => {
|
|
570
|
-
const { cachedEngineEntry, listEngines } = await import("./local-engine-process-
|
|
570
|
+
const { cachedEngineEntry, listEngines } = await import("./local-engine-process-OD5OSWDG.js");
|
|
571
571
|
const entry = cachedEngineEntry(env, cwd);
|
|
572
572
|
return entry === void 0 ? void 0 : listEngines({ entry, env });
|
|
573
573
|
};
|
|
@@ -598,4 +598,4 @@ export {
|
|
|
598
598
|
releaseNames,
|
|
599
599
|
resolveSource
|
|
600
600
|
};
|
|
601
|
-
//# sourceMappingURL=chunk-
|
|
601
|
+
//# sourceMappingURL=chunk-HKI5Y5KW.js.map
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
keptDuplicates,
|
|
3
3
|
replacedRegistrations,
|
|
4
4
|
reportSuperseded
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BEKEOXNG.js";
|
|
6
6
|
import {
|
|
7
7
|
rerenderEnvExample
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-J62TYONQ.js";
|
|
9
9
|
import {
|
|
10
10
|
carriedSeedRows,
|
|
11
11
|
decodeBundle,
|
|
@@ -17,62 +17,62 @@ import {
|
|
|
17
17
|
verifyPulledTree,
|
|
18
18
|
withSourceIdentities,
|
|
19
19
|
writeDocumentationTokens
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BSGU4HS6.js";
|
|
21
21
|
import {
|
|
22
22
|
ROUTES_MANIFEST_BASENAME
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RPBB7P4Q.js";
|
|
24
24
|
import {
|
|
25
25
|
syncDigests
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-FBSGFPZ4.js";
|
|
27
27
|
import {
|
|
28
28
|
fetchSourceArchive
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-LPQZICYN.js";
|
|
30
30
|
import {
|
|
31
31
|
confirm
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-RVAEPPRH.js";
|
|
33
33
|
import {
|
|
34
34
|
recordSync,
|
|
35
35
|
syncBranchLabel
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-KMKUH2IO.js";
|
|
37
37
|
import {
|
|
38
38
|
decodeWorkspaceArchive,
|
|
39
39
|
encodeWorkspaceArchive
|
|
40
40
|
} from "./chunk-3DRXWLJ5.js";
|
|
41
41
|
import {
|
|
42
42
|
ensureSecretPathGitignored
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-5TWLVFYB.js";
|
|
44
44
|
import {
|
|
45
45
|
readVersion,
|
|
46
46
|
refreshAgentGuidance
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-J3XLCYTQ.js";
|
|
48
48
|
import {
|
|
49
49
|
WORKSPACE_ENV_BASENAME,
|
|
50
50
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
51
51
|
namesInEnvExample,
|
|
52
52
|
readWorkspaceEnvFile
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-DERQSEB5.js";
|
|
54
54
|
import {
|
|
55
55
|
memoCredential,
|
|
56
56
|
refuseProfileForLocal,
|
|
57
57
|
selectBackend
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-NOW522B4.js";
|
|
59
59
|
import {
|
|
60
60
|
getAccessToken
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-3SZ7QRYA.js";
|
|
62
62
|
import {
|
|
63
63
|
readLockFile,
|
|
64
64
|
writeLockFile
|
|
65
65
|
} from "./chunk-CJDPSCMX.js";
|
|
66
66
|
import {
|
|
67
67
|
requireBackendSlot
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-75QC66XI.js";
|
|
69
69
|
import {
|
|
70
70
|
contextFlags
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-ZRXDPCMN.js";
|
|
72
72
|
import {
|
|
73
73
|
backendDirIn,
|
|
74
74
|
resolveBackendDir
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-KDEU5FUJ.js";
|
|
76
76
|
import {
|
|
77
77
|
CODEGEN_MARKER,
|
|
78
78
|
DECODE_MARKER,
|
|
@@ -87,14 +87,14 @@ import {
|
|
|
87
87
|
readDecodeRecord,
|
|
88
88
|
removeEmptiedDirs,
|
|
89
89
|
removeFiles
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-SUKO4SZG.js";
|
|
91
91
|
import {
|
|
92
92
|
holdsProjectManifest
|
|
93
93
|
} from "./chunk-HU7F56VF.js";
|
|
94
94
|
import {
|
|
95
95
|
decodeMarkerHead,
|
|
96
96
|
decodeMarkerWith
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-5FJ4M4HB.js";
|
|
98
98
|
import {
|
|
99
99
|
CliError,
|
|
100
100
|
UsageError,
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
terminalText,
|
|
108
108
|
warn,
|
|
109
109
|
writeJson
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
111
111
|
import {
|
|
112
112
|
WORKSPACE_SECRETS_BASENAME
|
|
113
113
|
} from "./chunk-3JDU4VRL.js";
|
|
@@ -319,7 +319,7 @@ async function runPullCommand(args) {
|
|
|
319
319
|
});
|
|
320
320
|
refuseDuplicateSourceGuids(project);
|
|
321
321
|
const seedRows = carriedSeedRows(fetched.archive, bundle.payload);
|
|
322
|
-
const { discoverManifestModules } = await import("./routes-manifest-file-
|
|
322
|
+
const { discoverManifestModules } = await import("./routes-manifest-file-GYNYFKAH.js");
|
|
323
323
|
const modules = await discoverManifestModules(cwd, join(cwd, backendDir, ROUTES_MANIFEST_BASENAME), readVersion());
|
|
324
324
|
const placed = placeGeneratedFiles(project, backendDir, void 0, void 0, modules);
|
|
325
325
|
const settings = source.kind === "release" ? keepProjectSettings(placed, backendDir, join(cwd, backendDir)) : { files: placed, kept: false, lost: [], from: WORKSPACE_SETTINGS_FILE };
|
|
@@ -440,7 +440,7 @@ async function runPullCommand(args) {
|
|
|
440
440
|
);
|
|
441
441
|
}
|
|
442
442
|
if (args.yes !== true) {
|
|
443
|
-
const { yesRerun } = await import("./retry-command-
|
|
443
|
+
const { yesRerun } = await import("./retry-command-LFZYEVRU.js");
|
|
444
444
|
const { rerun, note } = yesRerun(args, "pull");
|
|
445
445
|
const ok = await confirm(`Replace ${backendDir}/ from ${fetched.label}?`, {
|
|
446
446
|
flag: "--yes",
|
|
@@ -915,7 +915,7 @@ function envFillRemedy(kind, args, one = false) {
|
|
|
915
915
|
return `fill ${them} in, or run \`xanosdk env pull${from}${flags}\`.`;
|
|
916
916
|
}
|
|
917
917
|
async function needsYes(args, head, why, details) {
|
|
918
|
-
const { yesRerun } = await import("./retry-command-
|
|
918
|
+
const { yesRerun } = await import("./retry-command-LFZYEVRU.js");
|
|
919
919
|
const { rerun, note } = yesRerun(args, "pull");
|
|
920
920
|
return new CliError("SDK_USAGE", `${head} Re-run as \`${rerun}\` ${why}.${note}`, {
|
|
921
921
|
exitCode: 1,
|
|
@@ -944,4 +944,4 @@ export {
|
|
|
944
944
|
projectWorkspaceName,
|
|
945
945
|
envFillRemedy
|
|
946
946
|
};
|
|
947
|
-
//# sourceMappingURL=chunk-
|
|
947
|
+
//# sourceMappingURL=chunk-HMYJOQXT.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-GRXX2TOJ.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-HXFLHA5K.js.map
|
|
@@ -187,7 +187,7 @@ function encodeStatementBytes(stmt) {
|
|
|
187
187
|
if (rawEnvelope !== void 0) return rawEnvelope;
|
|
188
188
|
if (!isRegisteredStatement(stmt.name)) {
|
|
189
189
|
throw new Error(
|
|
190
|
-
`Cannot encode unregistered statement "${readableStatementName(stmt.name)}": it is not registered in this copy of @xano/sdk. A def is encoded by the SDK copy that built it \u2014 when two copies are loaded (a global \`xanosdk\` and a project install), run the project's own (\`npx
|
|
190
|
+
`Cannot encode unregistered statement "${readableStatementName(stmt.name)}": it is not registered in this copy of @xano/sdk. A def is encoded by the SDK copy that built it \u2014 when two copies are loaded (a global \`xanosdk\` and a project install), run the project's own (\`npx @xano/sdk\`), or encode through the def's own workspace.`
|
|
191
191
|
);
|
|
192
192
|
}
|
|
193
193
|
assertAnnotations(stmt);
|
|
@@ -233,4 +233,4 @@ export {
|
|
|
233
233
|
statementMark,
|
|
234
234
|
encodeStatement
|
|
235
235
|
};
|
|
236
|
-
//# sourceMappingURL=chunk-
|
|
236
|
+
//# sourceMappingURL=chunk-IHL2O7VY.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-2TFRR6JV.js";
|
|
4
4
|
import {
|
|
5
5
|
addDependencies
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5W7S2SCA.js";
|
|
7
7
|
import {
|
|
8
8
|
condenseNpmError
|
|
9
9
|
} from "./chunk-ZFDZKNGG.js";
|
|
@@ -22,14 +22,14 @@ import {
|
|
|
22
22
|
readInstalledManifest,
|
|
23
23
|
readInstalledManifestState,
|
|
24
24
|
requiredPeersOf
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-SPLRKCFV.js";
|
|
26
26
|
import {
|
|
27
27
|
spinner,
|
|
28
28
|
style,
|
|
29
29
|
success,
|
|
30
30
|
terminalText,
|
|
31
31
|
warn
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
33
33
|
|
|
34
34
|
// src/emit/toolchain-peers.ts
|
|
35
35
|
async function addToolchainPeers(dir, pkg, rerun) {
|
|
@@ -108,4 +108,4 @@ function projectDeclaredRanges(manifest) {
|
|
|
108
108
|
export {
|
|
109
109
|
addToolchainPeers
|
|
110
110
|
};
|
|
111
|
-
//# sourceMappingURL=chunk-
|
|
111
|
+
//# sourceMappingURL=chunk-IKXXTRMN.js.map
|