@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,6 @@ import {
|
|
|
4
4
|
ephemeralNextStep,
|
|
5
5
|
loginNextStep,
|
|
6
6
|
planProfilePin,
|
|
7
|
-
projectCli,
|
|
8
7
|
projectShellFiles,
|
|
9
8
|
refuseFrontendOnlyFlags,
|
|
10
9
|
reportWorkflowPlacement,
|
|
@@ -16,26 +15,26 @@ import {
|
|
|
16
15
|
sanitizeAppName,
|
|
17
16
|
settleClashes,
|
|
18
17
|
templateVarsFor
|
|
19
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OLQN4Z5R.js";
|
|
20
19
|
import {
|
|
21
20
|
renderManifestFile,
|
|
22
21
|
reportModuleFailures
|
|
23
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QKHNJ7LE.js";
|
|
24
23
|
import {
|
|
25
24
|
ROUTES_MANIFEST_BASENAME,
|
|
26
25
|
RouteManifestError,
|
|
27
26
|
planRouteManifest
|
|
28
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RPBB7P4Q.js";
|
|
29
28
|
import {
|
|
30
29
|
syncDigests
|
|
31
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FBSGFPZ4.js";
|
|
32
31
|
import {
|
|
33
32
|
archiveSeedContent,
|
|
34
33
|
fetchSourceArchive
|
|
35
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-LPQZICYN.js";
|
|
36
35
|
import {
|
|
37
36
|
confirm
|
|
38
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-RVAEPPRH.js";
|
|
39
38
|
import {
|
|
40
39
|
CODEGEN_MODULE,
|
|
41
40
|
DecodeContext,
|
|
@@ -75,21 +74,21 @@ import {
|
|
|
75
74
|
import {
|
|
76
75
|
recordSync,
|
|
77
76
|
syncBranchLabel
|
|
78
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-KMKUH2IO.js";
|
|
79
78
|
import {
|
|
80
79
|
assertBranchReadSupported,
|
|
81
80
|
exportWorkspaceBundle
|
|
82
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-3H7R4ISR.js";
|
|
83
82
|
import {
|
|
84
83
|
decodeWorkspaceArchive
|
|
85
84
|
} from "./chunk-3DRXWLJ5.js";
|
|
86
85
|
import {
|
|
87
86
|
listBranches,
|
|
88
87
|
requireBranch
|
|
89
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-2LF734YB.js";
|
|
90
89
|
import {
|
|
91
90
|
detectInstallMode
|
|
92
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-MYIIBV6A.js";
|
|
93
92
|
import {
|
|
94
93
|
UNSUPPORTED_SECTIONS,
|
|
95
94
|
decodedCounts,
|
|
@@ -100,30 +99,30 @@ import {
|
|
|
100
99
|
sectionOmission,
|
|
101
100
|
subtractDefaults,
|
|
102
101
|
workspaceKeyOmission
|
|
103
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-Z4BQPABS.js";
|
|
104
103
|
import {
|
|
105
104
|
ensureWorkspaceEnvGitignored,
|
|
106
105
|
requireSecretPathGitignored
|
|
107
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-5TWLVFYB.js";
|
|
108
107
|
import {
|
|
109
108
|
loadDefault,
|
|
110
109
|
readVersion,
|
|
111
110
|
resolveKnowledge
|
|
112
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-J3XLCYTQ.js";
|
|
113
112
|
import {
|
|
114
113
|
WORKSPACE_ENV_BASENAME,
|
|
115
114
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
116
115
|
renderWorkspaceEnvExample,
|
|
117
116
|
renderWorkspaceEnvFile,
|
|
118
117
|
valueProblem
|
|
119
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-DERQSEB5.js";
|
|
120
119
|
import {
|
|
121
120
|
memoCredential,
|
|
122
121
|
refuseProfileForLocal
|
|
123
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-NOW522B4.js";
|
|
124
123
|
import {
|
|
125
124
|
getAccessToken
|
|
126
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-3SZ7QRYA.js";
|
|
127
126
|
import {
|
|
128
127
|
getEngineRecord
|
|
129
128
|
} from "./chunk-5Y5HWQ2P.js";
|
|
@@ -133,18 +132,18 @@ import {
|
|
|
133
132
|
} from "./chunk-CJDPSCMX.js";
|
|
134
133
|
import {
|
|
135
134
|
requireBackendSlot
|
|
136
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-75QC66XI.js";
|
|
137
136
|
import {
|
|
138
137
|
SECRETS_FILE_VERSION,
|
|
139
138
|
workspaceSecretsPathIn,
|
|
140
139
|
writeSecretsFile
|
|
141
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-RDZBXTZ3.js";
|
|
142
141
|
import {
|
|
143
142
|
yesRerun
|
|
144
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-GCINMMFL.js";
|
|
145
144
|
import {
|
|
146
145
|
contextFlags
|
|
147
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-ZRXDPCMN.js";
|
|
148
147
|
import {
|
|
149
148
|
CODEGEN_MARKER,
|
|
150
149
|
MERGED_IN_EXISTING,
|
|
@@ -161,44 +160,45 @@ import {
|
|
|
161
160
|
plannedAgentsMd,
|
|
162
161
|
readDecodeRecord,
|
|
163
162
|
scaffoldProject
|
|
164
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-SUKO4SZG.js";
|
|
165
164
|
import {
|
|
166
165
|
shellWord
|
|
167
166
|
} from "./chunk-FWD7AL6N.js";
|
|
168
167
|
import {
|
|
169
168
|
seedRowsByTableGuid
|
|
170
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-NUZXSIEA.js";
|
|
171
170
|
import {
|
|
172
171
|
detectPackageManager,
|
|
173
172
|
installCommandFor
|
|
174
173
|
} from "./chunk-DNBP4GJN.js";
|
|
175
174
|
import {
|
|
176
175
|
readInstalledManifest
|
|
177
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-SPLRKCFV.js";
|
|
178
177
|
import {
|
|
179
178
|
atomicWrite
|
|
180
179
|
} from "./chunk-LLNZGEFK.js";
|
|
181
180
|
import {
|
|
182
181
|
TEST_EXPECT_TYPES,
|
|
183
182
|
respond
|
|
184
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-MTBKTGZT.js";
|
|
185
184
|
import {
|
|
186
185
|
codegen_entry_exports,
|
|
187
186
|
raw
|
|
188
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-LJZIBT75.js";
|
|
189
188
|
import {
|
|
190
189
|
BACKEND_TSCONFIG_PATH,
|
|
191
190
|
codegenLanding,
|
|
192
191
|
describeOrigin,
|
|
193
192
|
renderCodegenMarker,
|
|
194
193
|
renderCodegenReadme
|
|
195
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-5FJ4M4HB.js";
|
|
196
195
|
import {
|
|
197
196
|
SUPERSEDED_STATEMENTS,
|
|
198
197
|
supersededBy
|
|
199
198
|
} from "./chunk-7THDHQ4R.js";
|
|
200
199
|
import {
|
|
201
200
|
LocalFileNotFoundError,
|
|
201
|
+
PROJECT_CLI,
|
|
202
202
|
UsageError,
|
|
203
203
|
blank,
|
|
204
204
|
detail,
|
|
@@ -213,7 +213,7 @@ import {
|
|
|
213
213
|
terminalText,
|
|
214
214
|
warn,
|
|
215
215
|
writeJson
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
217
217
|
import {
|
|
218
218
|
TOOL_ANNOTATION_WIRE,
|
|
219
219
|
agentTrigger,
|
|
@@ -227,19 +227,19 @@ import {
|
|
|
227
227
|
s,
|
|
228
228
|
tableTrigger,
|
|
229
229
|
workspaceTrigger
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-EYVIUX2T.js";
|
|
231
231
|
import {
|
|
232
232
|
parsePathParams,
|
|
233
233
|
unboundPathParams
|
|
234
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-ZMJRAMLA.js";
|
|
235
235
|
import {
|
|
236
236
|
DEFAULT_DOCUMENTATION,
|
|
237
237
|
DEFAULT_PREFERENCES,
|
|
238
238
|
DEFAULT_SETTINGS
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-6LJS4M6P.js";
|
|
240
240
|
import {
|
|
241
241
|
MCP_OAUTH_ENV_REF
|
|
242
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-Z3DQ7ULY.js";
|
|
243
243
|
import {
|
|
244
244
|
PAYLOAD_ARRAY_KEYS
|
|
245
245
|
} from "./chunk-7FIMUFBP.js";
|
|
@@ -266,10 +266,10 @@ import {
|
|
|
266
266
|
searchConstrainsRows,
|
|
267
267
|
specLabel,
|
|
268
268
|
unmatchableOrigins
|
|
269
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-HINRE3UM.js";
|
|
270
270
|
import {
|
|
271
271
|
WORKSPACE_HISTORY_TYPES
|
|
272
|
-
} from "./chunk-
|
|
272
|
+
} from "./chunk-6ILHYSLR.js";
|
|
273
273
|
import {
|
|
274
274
|
isRepresentableName,
|
|
275
275
|
safeNames
|
|
@@ -281,10 +281,10 @@ import {
|
|
|
281
281
|
isRuntimeConditionOp,
|
|
282
282
|
isSearchOp,
|
|
283
283
|
unusableColumns
|
|
284
|
-
} from "./chunk-
|
|
284
|
+
} from "./chunk-UQ2OD7D4.js";
|
|
285
285
|
import {
|
|
286
286
|
AUTHOR_KIND_NAME
|
|
287
|
-
} from "./chunk-
|
|
287
|
+
} from "./chunk-L34DM6QB.js";
|
|
288
288
|
import {
|
|
289
289
|
apiGroupScope,
|
|
290
290
|
documentationScopeFlagLabel,
|
|
@@ -316,7 +316,7 @@ import {
|
|
|
316
316
|
import {
|
|
317
317
|
encodeMockMap,
|
|
318
318
|
encodeStatement
|
|
319
|
-
} from "./chunk-
|
|
319
|
+
} from "./chunk-IHL2O7VY.js";
|
|
320
320
|
import {
|
|
321
321
|
ENGINE_HISTORY_LIMIT,
|
|
322
322
|
configuredDeadReturnBlocks,
|
|
@@ -6303,7 +6303,7 @@ async function fetchBundle(args, source) {
|
|
|
6303
6303
|
...branch === void 0 ? {} : { syncTarget: { instance: auth.instance, workspaceId: auth.workspaceId, branch } }
|
|
6304
6304
|
};
|
|
6305
6305
|
}
|
|
6306
|
-
const { projectDirFrom } = await import("./xanosdk-project-
|
|
6306
|
+
const { projectDirFrom } = await import("./xanosdk-project-YW3BQY2E.js");
|
|
6307
6307
|
const cwd = projectDirFrom(process.cwd()) ?? process.cwd();
|
|
6308
6308
|
const raw2 = "name" in source && source.name !== void 0 ? `${source.kind}:${source.name}` : source.kind;
|
|
6309
6309
|
step(`Reading ${raw2}`);
|
|
@@ -6783,7 +6783,7 @@ async function runInitFromCommand(args, source) {
|
|
|
6783
6783
|
for (const line of routesDeferred) warn(line, "routes.not-written");
|
|
6784
6784
|
if (seed !== void 0) reportSeedRows(seed.rows, seed.label, seed.provenance, XANO_DIR, contextFlags(args));
|
|
6785
6785
|
if (replace.lock !== void 0) {
|
|
6786
|
-
const { reconciledLock } = await import("./pull-command-
|
|
6786
|
+
const { reconciledLock } = await import("./pull-command-ITO76ENU.js");
|
|
6787
6787
|
writeLockFile(
|
|
6788
6788
|
replace.lock.path,
|
|
6789
6789
|
reconciledLock(replace.lock.model, replace.lock.reconciliation, bundle.payload)
|
|
@@ -6894,7 +6894,7 @@ async function planXanoReplace(out, files, payload, args, label, agentsMd) {
|
|
|
6894
6894
|
if (shell.length > 0 && !await confirmShellOverwrite(out, shell, args, label)) return "cancelled";
|
|
6895
6895
|
return { removals: void 0, removedEdited: [], rewrittenEdited: [], kept: [] };
|
|
6896
6896
|
}
|
|
6897
|
-
const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-
|
|
6897
|
+
const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-ITO76ENU.js");
|
|
6898
6898
|
const prefix = `${XANO_DIR}/`;
|
|
6899
6899
|
const incoming = new Map(
|
|
6900
6900
|
files.filter((f) => f.path.startsWith(prefix)).map((f) => [f.path.slice(prefix.length), f.content])
|
|
@@ -6942,7 +6942,7 @@ async function planXanoReplace(out, files, payload, args, label, agentsMd) {
|
|
|
6942
6942
|
list(lock.reconciliation.dropped.map((key) => displayLockKey(key)), "")
|
|
6943
6943
|
);
|
|
6944
6944
|
}
|
|
6945
|
-
const { keptDuplicates, replacedRegistrations, reportSuperseded } = await import("./pull-superseded-
|
|
6945
|
+
const { keptDuplicates, replacedRegistrations, reportSuperseded } = await import("./pull-superseded-6HADGGC5.js");
|
|
6946
6946
|
const shown = relative(process.cwd(), xanoDir).split(sep).join("/") || XANO_DIR;
|
|
6947
6947
|
reportSuperseded(
|
|
6948
6948
|
keptDuplicates(xanoDir, incoming, kept, shown),
|
|
@@ -7164,7 +7164,7 @@ function summarize(args, project, verified, out, origin, install, mode, scaffold
|
|
|
7164
7164
|
`) + // An unverified tree: the check the warning above asks for is a step.
|
|
7165
7165
|
(verified === null ? ` npm run xano:check # confirm the tree compiles and the lock agrees
|
|
7166
7166
|
` : ``) + ` npm run xano:deploy # run it on the Xano Engine, on this machine
|
|
7167
|
-
` + loginNextStep(pin
|
|
7167
|
+
` + loginNextStep(pin) + ephemeralNextStep(scaffolded.framework !== "none");
|
|
7168
7168
|
detail(`Next steps:
|
|
7169
7169
|
` + steps.replace(/^ {2}/gm, " "));
|
|
7170
7170
|
for (const line of [
|
|
@@ -7173,7 +7173,7 @@ function summarize(args, project, verified, out, origin, install, mode, scaffold
|
|
|
7173
7173
|
])
|
|
7174
7174
|
detail(line);
|
|
7175
7175
|
const selector = refreshSelector(origin);
|
|
7176
|
-
const refresh = selector === void 0 ? `\`${
|
|
7176
|
+
const refresh = selector === void 0 ? `\`${PROJECT_CLI} pull <source>\` refreshes it from a live backend` : `\`${PROJECT_CLI} pull ${shellWord(selector)}${origin.branch === void 0 ? "" : ` --branch ${shellWord(origin.branch)}`}\` refreshes it from the same source`;
|
|
7177
7177
|
detail(
|
|
7178
7178
|
`${s2.bold(`${XANO_DIR}/`)} is your source now \u2014 commit it. ${refresh} (listing changes, keeping files you add). \`deploy\` REPLACES an ephemeral; \`promote\` reaches a real workspace.`
|
|
7179
7179
|
);
|
|
@@ -7247,4 +7247,4 @@ export {
|
|
|
7247
7247
|
seedRowsListed,
|
|
7248
7248
|
seedRowsLanding
|
|
7249
7249
|
};
|
|
7250
|
-
//# sourceMappingURL=chunk-
|
|
7250
|
+
//# sourceMappingURL=chunk-BSGU4HS6.js.map
|
|
@@ -3,24 +3,28 @@ import {
|
|
|
3
3
|
reachableLines,
|
|
4
4
|
readReachableWorkspaces,
|
|
5
5
|
workspaceIdFix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-B7CPSWQX.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialRejected,
|
|
9
9
|
getAccessToken
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3SZ7QRYA.js";
|
|
11
11
|
import {
|
|
12
12
|
CREDENTIAL_FILE_VERSION,
|
|
13
|
+
DEFAULT_AUTH_HOST,
|
|
13
14
|
UPGRADE_REMEDY,
|
|
14
15
|
credentialFileFlag,
|
|
16
|
+
decodeExpiry,
|
|
17
|
+
decodeIssuer,
|
|
18
|
+
isXanoOrigin,
|
|
15
19
|
loginCommand,
|
|
16
20
|
readCredentialFile,
|
|
17
21
|
resolveAuthFilePath
|
|
18
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WS4BA75E.js";
|
|
19
23
|
import {
|
|
20
24
|
fetchOrExplain,
|
|
21
25
|
httpFailure,
|
|
22
26
|
parseJsonAnswer
|
|
23
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HXFLHA5K.js";
|
|
24
28
|
import {
|
|
25
29
|
profileSourceLabel,
|
|
26
30
|
selectionDocument
|
|
@@ -32,7 +36,7 @@ import {
|
|
|
32
36
|
stdoutStyle,
|
|
33
37
|
warn,
|
|
34
38
|
writeJson
|
|
35
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
36
40
|
import {
|
|
37
41
|
shellQuote
|
|
38
42
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -48,8 +52,12 @@ function asString(v) {
|
|
|
48
52
|
function rejectedRemedy(auth, args) {
|
|
49
53
|
const p = auth.profile;
|
|
50
54
|
const command = rejectedFixCommand(auth, args);
|
|
55
|
+
const expired = expiredTokenNote(auth);
|
|
51
56
|
if (p === void 0) {
|
|
52
|
-
return auth.credentialType === "token" ? "The meta API token in XANO_META_TOKEN was rejected \u2014 replace it with a valid token for XANO_INSTANCE_URL." : "The environment's refresh credential was rejected \u2014 replace XANO_REFRESH_TOKEN, or unset it to use a stored profile.";
|
|
57
|
+
return auth.credentialType === "token" ? expired === void 0 ? "The meta API token in XANO_META_TOKEN was rejected \u2014 replace it with a valid token for XANO_INSTANCE_URL." : `The meta API token in XANO_META_TOKEN was rejected: ${expired} Sign in for real with \`${realLogin(auth)}\`, or replace it with a valid token for XANO_INSTANCE_URL.` : "The environment's refresh credential was rejected \u2014 replace XANO_REFRESH_TOKEN, or unset it to use a stored profile.";
|
|
58
|
+
}
|
|
59
|
+
if (expired !== void 0 && command !== null) {
|
|
60
|
+
return `The instance rejected the meta API token stored for profile "${p.name}" (${profileSourceLabel(p.source, p.defaultIn)}): ${expired} Sign in for real with \`${realLogin(auth)}\`, or replace it with \`${command}\`.`;
|
|
53
61
|
}
|
|
54
62
|
const what = auth.credentialType === "token" ? "meta API token" : "session";
|
|
55
63
|
const head = `The instance rejected the ${what} stored for profile "${p.name}" (${profileSourceLabel(p.source, p.defaultIn)}). `;
|
|
@@ -59,6 +67,16 @@ function rejectedRemedy(auth, args) {
|
|
|
59
67
|
}
|
|
60
68
|
return auth.credentialType === "token" ? head + `Replace it with \`${command}\`.` : head + `Sign in again with \`${command}\`.`;
|
|
61
69
|
}
|
|
70
|
+
function expiredTokenNote(auth) {
|
|
71
|
+
if (auth.credentialType !== "token") return void 0;
|
|
72
|
+
const exp = decodeExpiry(auth.access_token);
|
|
73
|
+
if (exp === void 0 || exp * 1e3 > Date.now()) return void 0;
|
|
74
|
+
return `it expired at ${new Date(exp * 1e3).toISOString()}. Temporary credentials, like the one agentic signup issues, last one day and cannot be refreshed.`;
|
|
75
|
+
}
|
|
76
|
+
function realLogin(auth) {
|
|
77
|
+
const iss = decodeIssuer(auth.access_token);
|
|
78
|
+
return iss === void 0 || iss === DEFAULT_AUTH_HOST || !isXanoOrigin(iss) ? "xanosdk login" : `xanosdk login --origin ${shellQuote(iss)}`;
|
|
79
|
+
}
|
|
62
80
|
function asRejectedCredential(err, auth, args) {
|
|
63
81
|
return credentialRejected(err, {
|
|
64
82
|
profile: auth.profile?.name ?? null,
|
|
@@ -165,7 +183,7 @@ function prettyProfile(p) {
|
|
|
165
183
|
}
|
|
166
184
|
async function runWhoamiCommand(args) {
|
|
167
185
|
const profile = await fetchProfile(args).catch(async (err) => {
|
|
168
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
186
|
+
const { unansweredRead } = await import("./source-resolve-U4SJR7ZA.js");
|
|
169
187
|
throw unansweredRead(err, "read the signed-in user", "workspace");
|
|
170
188
|
});
|
|
171
189
|
if (isMachineOutput(args)) {
|
|
@@ -185,4 +203,4 @@ export {
|
|
|
185
203
|
profileValue,
|
|
186
204
|
runWhoamiCommand
|
|
187
205
|
};
|
|
188
|
-
//# sourceMappingURL=chunk-
|
|
206
|
+
//# sourceMappingURL=chunk-CB67GIR3.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listTenants
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MIS6F4HM.js";
|
|
4
4
|
import {
|
|
5
5
|
listEphemeral
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Y5XAPLZS.js";
|
|
7
7
|
import {
|
|
8
8
|
shellWord
|
|
9
9
|
} from "./chunk-FWD7AL6N.js";
|
|
10
10
|
import {
|
|
11
11
|
safeText
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
13
13
|
|
|
14
14
|
// src/emit/display-name-hint.ts
|
|
15
15
|
function isShared(owner) {
|
|
@@ -117,4 +117,4 @@ export {
|
|
|
117
117
|
displayNameHint,
|
|
118
118
|
selectorFix
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
120
|
+
//# sourceMappingURL=chunk-DBDTQR23.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backendDirFor,
|
|
3
3
|
backendDirIn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KDEU5FUJ.js";
|
|
5
5
|
import {
|
|
6
6
|
XANO_DIR
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SUKO4SZG.js";
|
|
8
8
|
import {
|
|
9
9
|
projectRootFrom
|
|
10
10
|
} from "./chunk-HU7F56VF.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
LocalFileNotFoundError,
|
|
13
13
|
UsageError,
|
|
14
14
|
displayPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
16
16
|
import {
|
|
17
17
|
isRepresentableName
|
|
18
18
|
} from "./chunk-GSGDWJB5.js";
|
|
@@ -123,7 +123,7 @@ function renderWorkspaceEnvExample(names, backendDir = XANO_DIR) {
|
|
|
123
123
|
# Those names are listed below; the values are yours to fill in.
|
|
124
124
|
# - ${backendDir}/.secrets.json \u2014 DOCUMENTATION tokens, addressed by the OBJECT
|
|
125
125
|
# that holds them (the workspace, or an API group). They have no name of
|
|
126
|
-
# their own, so they are not listed here at all. \`npx
|
|
126
|
+
# their own, so they are not listed here at all. \`npx @xano/sdk pull\` writes that
|
|
127
127
|
# file and every build reads it back; nobody edits it by hand. They are NOT
|
|
128
128
|
# backend variables: they never reach the workspace's env, and
|
|
129
129
|
# \`env("NAME")\` does not read them.
|
|
@@ -131,7 +131,7 @@ function renderWorkspaceEnvExample(names, backendDir = XANO_DIR) {
|
|
|
131
131
|
# To fill it in:
|
|
132
132
|
#
|
|
133
133
|
# cp ${exampleFile} ${envFile} # then edit in the values
|
|
134
|
-
# npx
|
|
134
|
+
# npx @xano/sdk env pull # or fetch them from a running backend
|
|
135
135
|
#
|
|
136
136
|
# Every command that compiles a bundle (deploy, export, preflight) reads
|
|
137
137
|
# ${envFile} by default. CI does not have it \u2014 the file is ignored \u2014 so an
|
|
@@ -153,8 +153,8 @@ function renderWorkspaceEnvExample(names, backendDir = XANO_DIR) {
|
|
|
153
153
|
#
|
|
154
154
|
# This file is generated. Every pull, and every export, rewrites it from the
|
|
155
155
|
# names the backend declares. ${envFile} is yours: neither touches it. Only
|
|
156
|
-
# \`npx
|
|
157
|
-
# or \`npx
|
|
156
|
+
# \`npx @xano/sdk env pull\` (which asks before replacing it), and \`npx @xano/sdk init --from\`
|
|
157
|
+
# or \`npx @xano/sdk generate\` on a bundle that carries values, write it.
|
|
158
158
|
`;
|
|
159
159
|
if (names.length === 0) {
|
|
160
160
|
return `${header}#
|
|
@@ -204,7 +204,7 @@ function renderWorkspaceEnvFile(values, provenance, backendDir = XANO_DIR, examp
|
|
|
204
204
|
# at ${provenance.at}
|
|
205
205
|
#
|
|
206
206
|
# Every command that compiles a bundle reads this file by default. Re-running
|
|
207
|
-
# \`npx
|
|
207
|
+
# \`npx @xano/sdk env pull\` REPLACES it wholesale.
|
|
208
208
|
${// A NAME no env var can have is said as the name's fault: blaming its value
|
|
209
209
|
// ("no newlines or edge whitespace") sent the reader to a value that was fine.
|
|
210
210
|
badValues.length === 0 ? "" : `#
|
|
@@ -242,4 +242,4 @@ export {
|
|
|
242
242
|
namesInEnvExample,
|
|
243
243
|
renderWorkspaceEnvFile
|
|
244
244
|
};
|
|
245
|
-
//# sourceMappingURL=chunk-
|
|
245
|
+
//# sourceMappingURL=chunk-DERQSEB5.js.map
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
shellWord
|
|
7
7
|
} from "./chunk-FWD7AL6N.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
PROJECT_CLI,
|
|
10
10
|
pathsShownFrom
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
12
12
|
|
|
13
13
|
// src/emit/project-sdk.ts
|
|
14
14
|
import { existsSync, readFileSync, realpathSync } from "fs";
|
|
@@ -64,7 +64,7 @@ function installedCliCommand(root, tail) {
|
|
|
64
64
|
const home = real(root);
|
|
65
65
|
const typed = real(pathsShownFrom() ?? process.cwd());
|
|
66
66
|
const spelled = (from, to) => shellWord(relative(from, to).split(sep).join("/") || ".");
|
|
67
|
-
const command = `${
|
|
67
|
+
const command = `${PROJECT_CLI} ${tail((p) => spelled(home, real(p)))}`;
|
|
68
68
|
return typed === home ? command : `cd ${spelled(typed, home)} && ${command}`;
|
|
69
69
|
}
|
|
70
70
|
function real(path) {
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
installedCliCommand,
|
|
88
88
|
skewNote
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-DGYXCIBV.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
MANIFEST_HEADER,
|
|
3
3
|
ROUTES_MANIFEST_BASENAME,
|
|
4
4
|
RouteManifestError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RPBB7P4Q.js";
|
|
6
6
|
import {
|
|
7
7
|
byCodeUnit
|
|
8
8
|
} from "./chunk-WAVNUTMT.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
detail,
|
|
17
17
|
info,
|
|
18
18
|
warn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
20
20
|
|
|
21
21
|
// src/emit/routes-manifest-modules.ts
|
|
22
22
|
var MODULE_DIALECT = {
|
|
@@ -254,4 +254,4 @@ export {
|
|
|
254
254
|
fireRoutesManifest,
|
|
255
255
|
anyDeclares
|
|
256
256
|
};
|
|
257
|
-
//# sourceMappingURL=chunk-
|
|
257
|
+
//# sourceMappingURL=chunk-DLDYQNGP.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-MF4W6FHU.js";
|
|
10
10
|
import {
|
|
11
11
|
UsageError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
13
13
|
import {
|
|
14
14
|
shellQuote
|
|
15
15
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -159,4 +159,4 @@ export {
|
|
|
159
159
|
pointerRootFor,
|
|
160
160
|
projectRootFor
|
|
161
161
|
};
|
|
162
|
-
//# sourceMappingURL=chunk-
|
|
162
|
+
//# sourceMappingURL=chunk-ECQXASG3.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-64WWE3EF.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeEngineVersion
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6X73VFCX.js";
|
|
7
7
|
import {
|
|
8
8
|
localEngineBinDir,
|
|
9
9
|
localEngineHome
|
|
@@ -362,4 +362,4 @@ export {
|
|
|
362
362
|
readPin,
|
|
363
363
|
writePin
|
|
364
364
|
};
|
|
365
|
-
//# sourceMappingURL=chunk-
|
|
365
|
+
//# sourceMappingURL=chunk-EQXHUWUO.js.map
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
parsePathParams,
|
|
8
8
|
queryKind,
|
|
9
9
|
warnUnboundReturn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZMJRAMLA.js";
|
|
11
11
|
import {
|
|
12
12
|
workspaceKind
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6LJS4M6P.js";
|
|
14
14
|
import {
|
|
15
15
|
Xano,
|
|
16
16
|
encodeMcpOauth,
|
|
17
17
|
refuseUnknown,
|
|
18
18
|
standaloneDefKind
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Z3DQ7ULY.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveAuthRef
|
|
22
22
|
} from "./chunk-45ZUMF4E.js";
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
registerSpec,
|
|
69
69
|
resolveEnumValue,
|
|
70
70
|
throwError
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-HINRE3UM.js";
|
|
72
72
|
import {
|
|
73
73
|
assertCanonical,
|
|
74
74
|
assertStoredName,
|
|
@@ -76,14 +76,14 @@ import {
|
|
|
76
76
|
clear,
|
|
77
77
|
encodeContainerHistory,
|
|
78
78
|
encodeHistory
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-6ILHYSLR.js";
|
|
80
80
|
import {
|
|
81
81
|
assertKnownKeys,
|
|
82
82
|
conditional,
|
|
83
83
|
encodeExpression,
|
|
84
84
|
encodeRuntimeCondition,
|
|
85
85
|
tableKind
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-UQ2OD7D4.js";
|
|
87
87
|
import {
|
|
88
88
|
brandDef
|
|
89
89
|
} from "./chunk-ERVIASGL.js";
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
encodeTags,
|
|
94
94
|
registerKind,
|
|
95
95
|
resolveMockKeys
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-L34DM6QB.js";
|
|
97
97
|
import {
|
|
98
98
|
nearestKey
|
|
99
99
|
} from "./chunk-WTPZRR4I.js";
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
isRegisteredStatement,
|
|
118
118
|
registerFactoryPaths,
|
|
119
119
|
registerStatement
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-IHL2O7VY.js";
|
|
121
121
|
import {
|
|
122
122
|
impliedInputs,
|
|
123
123
|
isTriggerObjType
|
|
@@ -3058,4 +3058,4 @@ export {
|
|
|
3058
3058
|
serializeBundle,
|
|
3059
3059
|
emitBundle
|
|
3060
3060
|
};
|
|
3061
|
-
//# sourceMappingURL=chunk-
|
|
3061
|
+
//# sourceMappingURL=chunk-EYVIUX2T.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
rowLabeler,
|
|
7
7
|
sectionKind,
|
|
8
8
|
sectionOmission
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Z4BQPABS.js";
|
|
10
10
|
import {
|
|
11
11
|
canonicalJson
|
|
12
12
|
} from "./chunk-IDOVZLPK.js";
|
|
@@ -110,4 +110,4 @@ export {
|
|
|
110
110
|
syncDirection,
|
|
111
111
|
directedComparison
|
|
112
112
|
};
|
|
113
|
-
//# sourceMappingURL=chunk-
|
|
113
|
+
//# sourceMappingURL=chunk-FBSGFPZ4.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
UsageError,
|
|
3
3
|
flagNames,
|
|
4
4
|
unknownFlag
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
6
6
|
|
|
7
7
|
// src/emit/plugin-questions.ts
|
|
8
8
|
function hostLabel(host) {
|
|
@@ -156,4 +156,4 @@ export {
|
|
|
156
156
|
assertNoFlagCollisions,
|
|
157
157
|
resolvePluginAnswers
|
|
158
158
|
};
|
|
159
|
-
//# sourceMappingURL=chunk-
|
|
159
|
+
//# sourceMappingURL=chunk-FIERONKM.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
retryCommand,
|
|
3
3
|
withheldNote
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GCINMMFL.js";
|
|
5
5
|
import {
|
|
6
6
|
checkOneName,
|
|
7
7
|
setRunNameContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
9
9
|
import {
|
|
10
10
|
shellQuote
|
|
11
11
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -46,4 +46,4 @@ export {
|
|
|
46
46
|
assertOneName,
|
|
47
47
|
noteRunArgs
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=chunk-
|
|
49
|
+
//# sourceMappingURL=chunk-GBSHHNSD.js.map
|