@xano/sdk 1.0.6 → 1.0.8-mesh0.1
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 +30 -0
- package/README.md +32 -4
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-67QIX45H.js → agent-file-refresh-YBE5LZFJ.js} +13 -13
- package/dist/agent-skill-command-DDHOBL3L.js +414 -0
- package/dist/{answer-shape-UCDUKPAN.js → answer-shape-UMQRXMCX.js} +5 -5
- package/dist/{backend-dir-3LIL6SCT.js → backend-dir-5GL5WFFV.js} +15 -15
- package/dist/{backend-slot-JREP27UD.js → backend-slot-TTRNOQF5.js} +4 -4
- package/dist/bin.js +54 -53
- package/dist/{branch-2IPHOAYS.js → branch-Q7CDJRU6.js} +12 -11
- package/dist/{branch-commands-KTKAXBAN.js → branch-commands-QI575RSG.js} +27 -26
- package/dist/bundle.js +5 -5
- package/dist/{chunk-LAOMN6QQ.js → chunk-2EQBS63A.js} +3 -3
- package/dist/{chunk-2FLIJGBZ.js → chunk-3UZQ5TMG.js} +47 -8
- package/dist/{chunk-FNLTFOUD.js → chunk-4AE3AVY3.js} +2 -2
- package/dist/{chunk-ENMBEXOP.js → chunk-4BPUM6DK.js} +3 -3
- package/dist/{chunk-AWQ7BQTQ.js → chunk-4GPIOIAC.js} +6 -1
- package/dist/{chunk-JRVQ7M7W.js → chunk-4HQE5CXQ.js} +8 -8
- package/dist/{chunk-YYLUBYXM.js → chunk-4JKXGPXB.js} +3 -3
- package/dist/{chunk-YYC2DZMG.js → chunk-4KBZ6ZEW.js} +6 -6
- package/dist/{chunk-EQFYOOO6.js → chunk-5GIOCDUM.js} +829 -893
- package/dist/{chunk-26MOFAJT.js → chunk-5QOV52V4.js} +6 -3
- package/dist/{chunk-Q22BMRPF.js → chunk-5Y5HWQ2P.js} +2 -2
- package/dist/{chunk-TTEIDD5Q.js → chunk-64FL5VXX.js} +4 -4
- package/dist/{chunk-T4LJ5UR2.js → chunk-6BOKCTCM.js} +52 -22
- package/dist/{chunk-ND43ZOS3.js → chunk-6P3ISGGI.js} +7 -7
- package/dist/{chunk-QJM5XZ4K.js → chunk-6PTITS3M.js} +8 -8
- package/dist/{chunk-N5I37JFB.js → chunk-6S263KTM.js} +2 -2
- package/dist/{chunk-3II44CUJ.js → chunk-6TMB3UUM.js} +24 -24
- package/dist/{chunk-5QMJOE2K.js → chunk-6ZFJEJXZ.js} +5 -3
- package/dist/{chunk-NPODGBVJ.js → chunk-75MKIQON.js} +4 -4
- package/dist/{chunk-SPITRSOF.js → chunk-76UAME77.js} +2 -2
- package/dist/{chunk-GWTFI3GA.js → chunk-7JKNWDYN.js} +2 -2
- package/dist/{chunk-6X6BJN6Y.js → chunk-7MPI7NIW.js} +3 -3
- package/dist/{chunk-UD2Z7K6W.js → chunk-AQ34CEDI.js} +4 -4
- package/dist/{chunk-PFBXSVZF.js → chunk-AQG4FFDT.js} +7 -7
- package/dist/{chunk-PMMHSX4H.js → chunk-B3NH5UBI.js} +4 -4
- package/dist/{chunk-SLGJIWCY.js → chunk-B5N6EWOM.js} +2 -2
- package/dist/chunk-BRANWM4U.js +853 -0
- package/dist/{chunk-ATJ2W7DC.js → chunk-BVPGV55J.js} +286 -126
- package/dist/{chunk-6X3MY2JP.js → chunk-C2GHFADU.js} +2 -2
- package/dist/{chunk-D7BUMOKU.js → chunk-C6KBZH7M.js} +82 -6
- package/dist/{chunk-5YQV35C2.js → chunk-CKJK2QTT.js} +7 -7
- package/dist/{chunk-IF4PEGVD.js → chunk-D57SMZVV.js} +11 -11
- package/dist/{chunk-AVS4WPPY.js → chunk-DER2CVNC.js} +2 -2
- package/dist/{chunk-GLY552SI.js → chunk-DESS5BLU.js} +128 -60
- package/dist/{chunk-UIVMR7UK.js → chunk-DY3EJWWH.js} +2 -2
- package/dist/{chunk-I3H3HCPY.js → chunk-EFJBGKRK.js} +34 -31
- package/dist/{chunk-SKEG3V2V.js → chunk-EKTIGGFO.js} +2 -2
- package/dist/{chunk-PL7AIAWS.js → chunk-F3IA3YWI.js} +4 -111
- package/dist/{chunk-FQ53GTII.js → chunk-F5RPNTN7.js} +6 -6
- package/dist/{chunk-GHQ4BVI4.js → chunk-F647T23K.js} +14 -14
- package/dist/{chunk-GW5RHGOB.js → chunk-FPQBPJPS.js} +9 -9
- package/dist/{chunk-ZDP6GDAB.js → chunk-GH6ZWSTH.js} +103 -94
- package/dist/{chunk-3BBIDW3Y.js → chunk-GN5SQMIQ.js} +5 -5
- package/dist/{chunk-SSITMX7I.js → chunk-H3ZBAR2L.js} +16 -14
- package/dist/{chunk-OIKLDDYC.js → chunk-HFOGQIII.js} +3 -3
- package/dist/{chunk-2WBH5HUY.js → chunk-HOKRELBK.js} +7 -7
- package/dist/{chunk-JXVJGF3Y.js → chunk-HQPL34O6.js} +2 -2
- package/dist/{chunk-ROY4YAEQ.js → chunk-HU7F56VF.js} +22 -2
- package/dist/{chunk-TECTL2NU.js → chunk-HVPSDQJB.js} +4 -4
- package/dist/{chunk-M5CSVB23.js → chunk-IB6SKACE.js} +11 -8
- package/dist/{chunk-YKP4ZKVO.js → chunk-IBTPQQI6.js} +3 -3
- package/dist/chunk-IXISAJ67.js +995 -0
- package/dist/{chunk-YGLMRH5U.js → chunk-JZ4WNPKY.js} +12 -12
- package/dist/{chunk-D3KEPRRN.js → chunk-LC3KQ5SO.js} +13 -1
- package/dist/chunk-LCOCRJ4K.js +116 -0
- package/dist/{local-engine-command-RYLGMQ2O.js → chunk-LDWK6F57.js} +22 -77
- package/dist/{chunk-7VR4IO5B.js → chunk-LI3UQFJY.js} +2 -2
- package/dist/{chunk-3EDSPMXN.js → chunk-LJM5CIY4.js} +5 -1
- package/dist/{chunk-Z4ZGTCCD.js → chunk-LZ2E76UO.js} +6 -6
- package/dist/{chunk-IXFJORNH.js → chunk-NFSUGVDY.js} +4 -4
- package/dist/{chunk-U35MTOXQ.js → chunk-NJHUQSDH.js} +3 -3
- package/dist/{chunk-LBJA7IEM.js → chunk-O376UAZS.js} +2 -2
- package/dist/{chunk-LD6ARK3A.js → chunk-OBJ7FQDX.js} +2 -2
- package/dist/{chunk-VJFMUJWZ.js → chunk-OHTHG3LL.js} +2 -2
- package/dist/{chunk-ITC2R2OT.js → chunk-P2IPFNP4.js} +7 -7
- package/dist/{chunk-WZHLMU6T.js → chunk-PBK257CI.js} +2 -2
- package/dist/{chunk-SPKA2LV6.js → chunk-PFW7WFAT.js} +4 -4
- package/dist/{chunk-GOLFAEUV.js → chunk-QC3MKMDK.js} +2 -2
- package/dist/{chunk-763M6LX3.js → chunk-QL3ZJWGG.js} +2 -2
- package/dist/{chunk-KPFS3RGM.js → chunk-QTMXJQZN.js} +4 -4
- package/dist/{chunk-BTVUYHWV.js → chunk-QXOBZSQD.js} +4 -4
- package/dist/{chunk-NDWVJ2QZ.js → chunk-R3LANPQZ.js} +3 -3
- package/dist/{chunk-QXYMDARD.js → chunk-R4NOZBOY.js} +4 -4
- package/dist/{chunk-JI3BLXWQ.js → chunk-RB3UNDOE.js} +11 -5
- package/dist/{chunk-CCU5CCRX.js → chunk-RGJ7UZFP.js} +8 -8
- package/dist/{chunk-U6MTGB46.js → chunk-S42TFTM5.js} +5 -5
- package/dist/{chunk-7GAIJW62.js → chunk-TG65NWUR.js} +2 -2
- package/dist/{chunk-ZJSTUD6D.js → chunk-TGHRAXKL.js} +8 -8
- package/dist/{chunk-YR2I5HGE.js → chunk-TR7EOUQE.js} +2 -2
- package/dist/{chunk-IYXL5NYU.js → chunk-TXPWOFJS.js} +2 -2
- package/dist/{chunk-A7MRZ4GF.js → chunk-U32NHVSS.js} +5 -5
- package/dist/{chunk-HCG7NDIL.js → chunk-UICFYANB.js} +5 -5
- package/dist/{chunk-5TVFLG3C.js → chunk-ULUUOUQX.js} +2 -2
- package/dist/{chunk-GZHLCUZ6.js → chunk-UM42ZIEU.js} +7 -7
- package/dist/{chunk-VDHA5SSQ.js → chunk-VD7YTLWL.js} +2 -2
- package/dist/{chunk-I3VHW6XM.js → chunk-VDG4UKGP.js} +18 -18
- package/dist/{chunk-EADVVTDK.js → chunk-VHV25AAO.js} +7 -7
- package/dist/{chunk-BL3AZ3AP.js → chunk-VJTTTIIB.js} +2 -2
- package/dist/{chunk-FU3VCE5A.js → chunk-VK76LFW2.js} +13 -9
- package/dist/{chunk-RIN4YY34.js → chunk-VL3JRW4S.js} +106 -69
- package/dist/{chunk-QZEAANWP.js → chunk-XC4E3PUJ.js} +8 -8
- package/dist/{chunk-XFBGXB7X.js → chunk-XFHLOYUZ.js} +163 -107
- package/dist/{chunk-JFBRXRJD.js → chunk-XMV3E7EC.js} +40 -40
- package/dist/{chunk-WBH4KJWM.js → chunk-XQO4A4Q4.js} +3 -3
- package/dist/{chunk-VW4CWVYX.js → chunk-YE7MHW45.js} +4 -4
- package/dist/{chunk-YHB34BN6.js → chunk-YEH5OIPF.js} +2 -1
- package/dist/{chunk-MBDFH7XB.js → chunk-YP76ZCQ5.js} +4 -4
- package/dist/{chunk-CHINR7WD.js → chunk-ZEUEYKQ6.js} +5 -5
- package/dist/{chunk-IMELQ2I6.js → chunk-ZO3QWFNV.js} +3 -3
- package/dist/cli.d.ts +32 -4
- package/dist/cli.js +51 -48
- package/dist/{codegen-command-R5IASBFC.js → codegen-command-AIZB3FUC.js} +69 -68
- package/dist/{commands-H7CPMMHH.js → commands-FOHIPDKZ.js} +3 -3
- package/dist/{completion-W5ZAI6TN.js → completion-XUBGMKGV.js} +9 -5
- package/dist/{config-MZ5KG4EP.js → config-544VCRKP.js} +8 -8
- package/dist/{deploy-command-34T2LKQ5.js → deploy-command-V5DMS4ZX.js} +56 -55
- package/dist/{deploy-source-YLQ7WMYR.js → deploy-source-2TSXX3VB.js} +34 -33
- package/dist/{dev-env-sync-TMJTNU3U.js → dev-env-sync-EQQ3AJGG.js} +54 -53
- package/dist/{diagnostics-OMN5Y2AH.js → diagnostics-FNVNRYMB.js} +2 -2
- package/dist/{display-name-hint-ZJGFNJKQ.js → display-name-hint-EZQK2PDU.js} +14 -13
- package/dist/{emit-D125xxty.d.ts → emit-8lcNcRrd.d.ts} +12 -12
- package/dist/env-example-refresh-4IBD3MBJ.js +134 -0
- package/dist/{env-pull-command-UTG6IC2K.js → env-pull-command-DBRHTBWT.js} +46 -45
- package/dist/{env-target-FZROWYFS.js → env-target-K23V5FZA.js} +13 -12
- package/dist/{env-var-command-VYDBQJJW.js → env-var-command-W7ZSG2Z3.js} +50 -49
- package/dist/{ephemeral-BIE6FMJV.js → ephemeral-H24NF6WP.js} +11 -10
- package/dist/{ephemeral-command-OZ26RGXF.js → ephemeral-command-JSCJSX22.js} +64 -63
- package/dist/{ephemeral-state-SNZOX2YK.js → ephemeral-state-YLZQIOBF.js} +11 -10
- package/dist/{generate-command-4HR7MR36.js → generate-command-M2C6ZZUQ.js} +84 -82
- package/dist/{gitignore-EWQBXNX2.js → gitignore-Z6B3GR2I.js} +19 -19
- package/dist/{guards-KYEOCVHN.js → guards-4VPSEOAI.js} +6 -4
- package/dist/{impersonate-command-WC7OGKUM.js → impersonate-command-P63YGMQM.js} +42 -41
- package/dist/{import-7Z4GCCPO.js → import-TXYVFYJS.js} +5 -5
- package/dist/index.d.ts +4 -4
- package/dist/index.js +8 -8
- package/dist/{init-command-HAO3WXH3.js → init-command-EUJ6MUM2.js} +68 -53
- package/dist/{init-modules-NSKD4ASY.js → init-modules-GP3KBD4E.js} +8 -8
- package/dist/{init-web-MKFFOQUU.js → init-web-MSXDARRF.js} +3 -3
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +10 -10
- package/dist/{keep-data-merge-QR2TMKEO.js → keep-data-merge-V7NUOHLT.js} +28 -28
- package/dist/{lambda-config-reconcile-7FJXXV6V.js → lambda-config-reconcile-47X5C2E4.js} +6 -5
- package/dist/{landing-record-MWXFIRCP.js → landing-record-7UKEQ25N.js} +22 -22
- package/dist/{live-diff-5E2BQWQ7.js → live-diff-Y5VDHSZM.js} +3 -3
- package/dist/{local-engine-choice-VD5LNXJU.js → local-engine-choice-AFCKFASJ.js} +37 -36
- package/dist/local-engine-command-MTPDD4ID.js +85 -0
- package/dist/{local-engine-config-W3KB7RWM.js → local-engine-config-6CB6FOEJ.js} +3 -2
- package/dist/{local-engine-deploy-6O7NKZCA.js → local-engine-deploy-ID4JJXB5.js} +18 -16
- package/dist/local-engine-lookup-IC7BKAYP.js +43 -0
- package/dist/local-engine-mcp-bridge-3SOJMZ5T.js +423 -0
- package/dist/local-engine-mcp-command-WXZVCUJD.js +181 -0
- package/dist/{local-engine-process-ZLLZEIRF.js → local-engine-process-HG5BGG3F.js} +12 -9
- package/dist/{local-engine-state-OCW5YDD7.js → local-engine-state-JZHTKHDG.js} +4 -3
- package/dist/{local-engine-update-check-LVX4HBBI.js → local-engine-update-check-SKZR7YSC.js} +7 -6
- package/dist/{lock-commands-X2OECR4R.js → lock-commands-2I3X22S2.js} +57 -56
- package/dist/{login-command-RLLKD565.js → login-command-RVM2IFKQ.js} +33 -33
- package/dist/{logout-command-XDMSXCDO.js → logout-command-EPWRAN3N.js} +16 -15
- package/dist/{loop-SUB6C2LK.js → loop-67FOZNJN.js} +3 -3
- package/dist/{marketplace-command-2NHHY2X3.js → marketplace-command-HN35TMQO.js} +34 -34
- package/dist/{marketplace-resolve-OTZYT4FG.js → marketplace-resolve-PWEYJ2XS.js} +6 -6
- package/dist/{meta-client-TMHVBZFY.js → meta-client-52JNOTRR.js} +14 -13
- package/dist/{module-manifest-FNMW23IX.js → module-manifest-KY7J63HG.js} +4 -4
- package/dist/node.d.ts +4 -4
- package/dist/node.js +60 -59
- package/dist/operation-outcome-SZRJPLHR.js +53 -0
- package/dist/{output-target-MOLCTPBP.js → output-target-OEPSECGR.js} +20 -20
- package/dist/{plan-disclosure-CY7AF6KP.js → plan-disclosure-NPTMOR2Q.js} +17 -16
- package/dist/{plugin-contributions-WR26U7NT.js → plugin-contributions-PAGG6SUP.js} +6 -6
- package/dist/{plugin-prompt-ZUYQQIX4.js → plugin-prompt-2MX6LF6X.js} +5 -5
- package/dist/{plugin-questions-HAZOQ67R.js → plugin-questions-AP6VUTOB.js} +4 -4
- package/dist/{preflight-command-OHJXYND3.js → preflight-command-ZB7HRYVT.js} +61 -60
- package/dist/{profile-command-6JWT2BTL.js → profile-command-RX47NDY4.js} +34 -34
- package/dist/{profile-pointer-PDA5XBIB.js → profile-pointer-4HJQH5ZR.js} +5 -4
- package/dist/{project-dependency-GZWWGWEW.js → project-dependency-ORX45I74.js} +7 -7
- package/dist/{project-sdk-3W72H5QO.js → project-sdk-IYMFVQRC.js} +4 -4
- package/dist/promote-command-KOEKHI34.js +147 -0
- package/dist/{prompt-U37K5RPQ.js → prompt-ZZUYWFQX.js} +4 -4
- package/dist/{publish-command-BUS27HGB.js → publish-command-ARKUFNJ3.js} +61 -60
- package/dist/{pull-command-ZGUNP27P.js → pull-command-QHPQPFZX.js} +72 -71
- package/dist/{pull-superseded-EZBGYRZF.js → pull-superseded-UZ3MB53B.js} +4 -4
- package/dist/{release-command-BQ6OHS3P.js → release-command-KUQ5ZBMW.js} +67 -66
- package/dist/{release-ns-command-ATGVBVIU.js → release-ns-command-AKHCEYGS.js} +92 -91
- package/dist/{retry-command-QJ57WVW7.js → retry-command-VZYLYDVX.js} +10 -9
- package/dist/{routes-manifest-YR4ZIMLM.js → routes-manifest-RIZGSOZC.js} +4 -4
- package/dist/{routes-manifest-file-UALYSZLY.js → routes-manifest-file-6MSRYJTC.js} +8 -8
- package/dist/scaffold.js +4 -4
- package/dist/secrets-IV4N5HYI.js +20 -0
- package/dist/{secrets-file-LMS7KX3E.js → secrets-file-6HPZRMHS.js} +19 -19
- package/dist/{secrets-fill-command-QNBDGCGM.js → secrets-fill-command-ANBQVXOR.js} +55 -54
- package/dist/{seed-SZ6OS5DQ.js → seed-KEPIS7UZ.js} +6 -6
- package/dist/{source-resolve-MKLNYFWG.js → source-resolve-CI7JQVTM.js} +24 -22
- package/dist/{static-host-ONEHA4LI.js → static-host-JAOT3N3E.js} +5 -5
- package/dist/{status-command-XKIFKBGM.js → status-command-RS57KOKP.js} +53 -52
- package/dist/{store-Bg4Na6Sm.d.ts → store-CuD1k4kV.d.ts} +1 -1
- package/dist/{store-X6ZH7EC3.js → store-YFNDD6GZ.js} +8 -7
- package/dist/{sync-baseline-DOV5AGIO.js → sync-baseline-WDN3J7NI.js} +7 -5
- package/dist/{sync-contributions-HNVHDIQW.js → sync-contributions-WUL5TGW6.js} +10 -10
- package/dist/{sync-record-PRXHLK4S.js → sync-record-U65BCPSP.js} +14 -13
- package/dist/{table-DC36QA4Y.js → table-E5YTK7QX.js} +7 -7
- package/dist/{tables-command-UQLKTELN.js → tables-command-QYLUJV7Y.js} +40 -39
- package/dist/{tenant-EKNQGG5A.js → tenant-DAXJ4P4D.js} +12 -11
- package/dist/{tenant-command-2LWP2MPB.js → tenant-command-PAMMMYXG.js} +97 -96
- package/dist/{test-command-IU5MBBXY.js → test-command-METJGZ5E.js} +42 -41
- package/dist/{tests-RG2Y5EQ4.js → tests-CLDZWLKF.js} +6 -6
- package/dist/{token-7AWSJLKO.js → token-XBCHSFRV.js} +12 -11
- package/dist/{toolchain-hooks-4ZMQLBPQ.js → toolchain-hooks-3ZAAAWPL.js} +7 -7
- package/dist/{toolchain-modules-VU7SURVJ.js → toolchain-modules-H2X4YWST.js} +5 -5
- package/dist/{toolchain-peers-CIDNEEQV.js → toolchain-peers-AIKWKJH7.js} +8 -8
- package/dist/{tracked-backend-4BHSV7NC.js → tracked-backend-KTLIMNNQ.js} +37 -36
- package/dist/{update-check-A7FXIINW.js → update-check-5XQA5WRN.js} +52 -51
- package/dist/{upgrade-command-C5KBITFI.js → upgrade-command-ULPZNSVS.js} +58 -55
- package/dist/{whoami-command-7WQII2H4.js → whoami-command-IBLF4B3G.js} +15 -14
- package/dist/{workspace-Z46PUZNI.js → workspace-OB2PKO6N.js} +5 -5
- package/dist/{workspace-binding-JE6YNDZJ.js → workspace-binding-UEFR3SZX.js} +14 -13
- package/dist/{workspace-command-FC4IMLAE.js → workspace-command-JMVE42JJ.js} +99 -103
- package/dist/{workspace-env-N4ZPFT6A.js → workspace-env-D34C7PFJ.js} +16 -16
- package/dist/{workspace-export-3A5BZTPS.js → workspace-export-UHY22VBI.js} +5 -5
- package/dist/{writable-D7KCZI5N.js → writable-2A6MBSFD.js} +4 -4
- package/dist/{xano-LCI7VWPS.js → xano-6T6L7TTI.js} +5 -5
- package/dist/{xanosdk-import-P2A2KSXM.js → xanosdk-import-KACWOZ2Y.js} +6 -6
- package/dist/{xanosdk-project-6AGMW2SL.js → xanosdk-project-PTONYVWE.js} +16 -16
- package/guides/README.md +2 -2
- package/guides/cli.md +69 -0
- package/guides/codegen.md +23 -5
- package/guides/codes.md +5 -1
- package/guides/coverage.md +5 -0
- package/guides/deploying.md +45 -1
- package/guides/scaffold.md +61 -10
- package/llms/errors.md +1 -1
- package/llms/kinds-agent-mcp.md +1 -1
- package/llms-full.txt +3 -3
- package/llms.txt +1 -1
- package/manifest.json +67 -5
- package/package.json +5 -2
- package/skills/xano-backend/SKILL.md +119 -0
- package/dist/chunk-LL7SGTRC.js +0 -663
- package/dist/chunk-M6ZFSTIZ.js +0 -630
- package/dist/env-example-refresh-CQP3ZMKM.js +0 -133
- package/dist/operation-outcome-RN62735X.js +0 -51
- package/dist/promote-command-UYAMUXKB.js +0 -146
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readEphemeralState
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S42TFTM5.js";
|
|
4
4
|
import {
|
|
5
5
|
OpenIdProvider,
|
|
6
6
|
addProfileHint,
|
|
@@ -30,11 +30,7 @@ import {
|
|
|
30
30
|
withCredentialLock,
|
|
31
31
|
writeCredentialFile,
|
|
32
32
|
writeOrRemoveCredentialFile
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import {
|
|
35
|
-
registerSecret,
|
|
36
|
-
tokenTextProblem
|
|
37
|
-
} from "./chunk-AWQ7BQTQ.js";
|
|
33
|
+
} from "./chunk-IB6SKACE.js";
|
|
38
34
|
import {
|
|
39
35
|
expandHome,
|
|
40
36
|
readPathEnvVar
|
|
@@ -44,11 +40,11 @@ import {
|
|
|
44
40
|
noteResolvedAuth,
|
|
45
41
|
retryAfterSeconds,
|
|
46
42
|
serverMessage
|
|
47
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-TR7EOUQE.js";
|
|
48
44
|
import {
|
|
49
45
|
POINTER_FILE,
|
|
50
46
|
findProjectPointer
|
|
51
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-5QOV52V4.js";
|
|
52
48
|
import {
|
|
53
49
|
DEFAULT_PROFILE,
|
|
54
50
|
ENV_PROFILE,
|
|
@@ -60,6 +56,10 @@ import {
|
|
|
60
56
|
import {
|
|
61
57
|
readEnvVar
|
|
62
58
|
} from "./chunk-X2NL4KUO.js";
|
|
59
|
+
import {
|
|
60
|
+
registerSecret,
|
|
61
|
+
tokenTextProblem
|
|
62
|
+
} from "./chunk-4GPIOIAC.js";
|
|
63
63
|
import {
|
|
64
64
|
EXIT_SOURCE_UNRESOLVABLE,
|
|
65
65
|
UsageError,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
quotedNames,
|
|
71
71
|
safeText,
|
|
72
72
|
warn
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-C6KBZH7M.js";
|
|
74
74
|
import {
|
|
75
75
|
suggest
|
|
76
76
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -381,7 +381,7 @@ The refresh token may be expired or already spent \u2014 refresh tokens rotate o
|
|
|
381
381
|
);
|
|
382
382
|
}
|
|
383
383
|
assertHttpsOrigin(instance, "instance");
|
|
384
|
-
const { resolveScopedWorkspaceId } = await import("./workspace-
|
|
384
|
+
const { resolveScopedWorkspaceId } = await import("./workspace-OB2PKO6N.js");
|
|
385
385
|
const workspaceId = await resolveScopedWorkspaceId({ access_token: set.access_token, instance });
|
|
386
386
|
return { access_token: set.access_token, instance, workspaceId, credentialType: "oauth-refresh" };
|
|
387
387
|
}
|
|
@@ -499,7 +499,7 @@ async function warnIfUnpinnedMachineDefault(file, selection, pin, saved, path) {
|
|
|
499
499
|
if (selection.source !== "file-default" && selection.source !== "implicit") return;
|
|
500
500
|
const stored = file === null ? [] : profileNames(file);
|
|
501
501
|
if (stored.length < 2) return;
|
|
502
|
-
const { projectDirFrom } = await import("./xanosdk-project-
|
|
502
|
+
const { projectDirFrom } = await import("./xanosdk-project-PTONYVWE.js");
|
|
503
503
|
if (projectDirFrom(process.cwd()) === void 0) return;
|
|
504
504
|
const target = targetOf(saved);
|
|
505
505
|
credentialWarning(
|
|
@@ -862,4 +862,4 @@ export {
|
|
|
862
862
|
notSignedIn,
|
|
863
863
|
assertStoredAuthHost
|
|
864
864
|
};
|
|
865
|
-
//# sourceMappingURL=chunk-
|
|
865
|
+
//# sourceMappingURL=chunk-JZ4WNPKY.js.map
|
|
@@ -285,6 +285,13 @@ var DEFAULT_CORS = {
|
|
|
285
285
|
};
|
|
286
286
|
var DEFAULT_DOCUMENTATION = { require_token: false, token: "" };
|
|
287
287
|
var DEFAULT_MIDDLEWARE = { pre: [], post: [], pre_customize: false, post_customize: false };
|
|
288
|
+
function isDefaultMesh0Block(v) {
|
|
289
|
+
if (isEmptyArray(v)) return true;
|
|
290
|
+
if (v === null || typeof v !== "object" || Array.isArray(v)) return false;
|
|
291
|
+
return Object.entries(v).every(
|
|
292
|
+
([member, value]) => member === "inherit" ? value === true : /^(?:[a-z]+_)?logging$/.test(member) && value === "inherit"
|
|
293
|
+
);
|
|
294
|
+
}
|
|
288
295
|
function isRawSqlContext(container) {
|
|
289
296
|
return container !== null && typeof container === "object" && typeof container.code === "string";
|
|
290
297
|
}
|
|
@@ -437,6 +444,10 @@ function isDefaultEnvelopeMember(key, v) {
|
|
|
437
444
|
// customized to run nothing still compares — that is not inheriting.
|
|
438
445
|
case "middleware":
|
|
439
446
|
return isEmptyArray(v) || deepEqual(normalize(v), normalize(DEFAULT_MIDDLEWARE));
|
|
447
|
+
// An object's or container's telemetry block, when it only inherits. See
|
|
448
|
+
// {@link isDefaultMesh0Block}.
|
|
449
|
+
case "mesh0":
|
|
450
|
+
return isDefaultMesh0Block(v);
|
|
440
451
|
// Two unrelated `offset`s, both at a default. An addon's is the response path
|
|
441
452
|
// its rows are spliced into, `""` when spliced at the root. A list context's
|
|
442
453
|
// paging offset is declared to default to 0. Neither carries information at
|
|
@@ -1021,6 +1032,7 @@ function normalize(value) {
|
|
|
1021
1032
|
continue;
|
|
1022
1033
|
}
|
|
1023
1034
|
if (k === "arg" && Array.isArray(v)) {
|
|
1035
|
+
if (isEmptyArray(v)) continue;
|
|
1024
1036
|
out[k] = v.map((e) => typeof e === "number" ? String(e) : normalize(e));
|
|
1025
1037
|
continue;
|
|
1026
1038
|
}
|
|
@@ -1062,4 +1074,4 @@ export {
|
|
|
1062
1074
|
filledContext,
|
|
1063
1075
|
normalize
|
|
1064
1076
|
};
|
|
1065
|
-
//# sourceMappingURL=chunk-
|
|
1077
|
+
//# sourceMappingURL=chunk-LC3KQ5SO.js.map
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
// src/deploy/local-engine-handshake.ts
|
|
2
|
+
var LOOPBACK_HOSTS = ["127.0.0.1", "::1", "localhost"];
|
|
3
|
+
var ALLOWED_PROTOCOLS = ["http:", "https:"];
|
|
4
|
+
function isLoopbackUrl(url) {
|
|
5
|
+
let parsed;
|
|
6
|
+
try {
|
|
7
|
+
parsed = new URL(url);
|
|
8
|
+
} catch {
|
|
9
|
+
return false;
|
|
10
|
+
}
|
|
11
|
+
if (!ALLOWED_PROTOCOLS.includes(parsed.protocol)) return false;
|
|
12
|
+
const host = parsed.hostname.replace(/^\[|\]$/g, "");
|
|
13
|
+
if (!LOOPBACK_HOSTS.includes(host)) return false;
|
|
14
|
+
return /^[0-9]+$/.test(parsed.port);
|
|
15
|
+
}
|
|
16
|
+
function assertLoopbackUrl(url, what) {
|
|
17
|
+
if (isLoopbackUrl(url)) return;
|
|
18
|
+
throw new Error(
|
|
19
|
+
`${what} reports a url this SDK will not send a token to: ${url}
|
|
20
|
+
A Xano Engine has to serve loopback over http on a port of its own \u2014 ${LOOPBACK_HOSTS.join(", ")} \u2014 and anything else is reachable from off this machine. Stop that engine and start a fresh one without binding it to all interfaces.`
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
function requireString(raw, key, source) {
|
|
24
|
+
const value = raw[key];
|
|
25
|
+
if (typeof value !== "string" || value === "") {
|
|
26
|
+
throw new Error(
|
|
27
|
+
`${source} is missing \`${key}\`, or gave it as something other than text.
|
|
28
|
+
That is not an engine this SDK knows how to drive \u2014 the engine on this machine is older or newer than the one it was built against. Move to a current one with \`xanosdk local update\`.`
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
function optionalString(raw, key, source) {
|
|
34
|
+
return raw[key] === void 0 ? void 0 : requireString(raw, key, source);
|
|
35
|
+
}
|
|
36
|
+
function requireNumber(raw, key, source) {
|
|
37
|
+
const value = raw[key];
|
|
38
|
+
if (typeof value !== "number" || !Number.isFinite(value)) {
|
|
39
|
+
throw new Error(
|
|
40
|
+
`${source} is missing \`${key}\`, or gave it as something other than a number.
|
|
41
|
+
That is not an engine this SDK knows how to drive \u2014 the engine on this machine is older or newer than the one it was built against. Move to a current one with \`xanosdk local update\`.`
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
function readEngine(value, source) {
|
|
47
|
+
if (value === null || typeof value !== "object" || Array.isArray(value)) {
|
|
48
|
+
throw new Error(
|
|
49
|
+
`${source} did not print an engine description.
|
|
50
|
+
Re-run, and if it happens again fetch a fresh copy with \`xanosdk local cache clear\`, then \`xanosdk deploy --local\`.`
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
const raw = value;
|
|
54
|
+
const mcpUrl = optionalString(raw, "mcp_url", source);
|
|
55
|
+
return {
|
|
56
|
+
name: requireString(raw, "name", source),
|
|
57
|
+
url: requireString(raw, "url", source),
|
|
58
|
+
workspaceId: requireNumber(raw, "workspace_id", source),
|
|
59
|
+
token: requireString(raw, "access_token", source),
|
|
60
|
+
pid: requireNumber(raw, "pid", source),
|
|
61
|
+
signInUrl: requireString(raw, "sign_in_url", source),
|
|
62
|
+
loginLinkEndpoint: requireString(raw, "login_link_endpoint", source),
|
|
63
|
+
logPath: requireString(raw, "log", source),
|
|
64
|
+
...mcpUrl === void 0 ? {} : { mcpUrl }
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
var HANDSHAKE_SOURCE = "The engine's start handshake";
|
|
68
|
+
var LISTING_SOURCE = "The engine's list of running engines";
|
|
69
|
+
function parseEngineHandshake(stdout) {
|
|
70
|
+
let value;
|
|
71
|
+
try {
|
|
72
|
+
value = JSON.parse(stdout.trim());
|
|
73
|
+
} catch {
|
|
74
|
+
throw new Error(
|
|
75
|
+
`${HANDSHAKE_SOURCE} did not print an engine description.
|
|
76
|
+
Re-run, and if it happens again fetch a fresh copy with \`xanosdk local cache clear\`, then \`xanosdk deploy --local\`.`
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
const engine = readEngine(value, HANDSHAKE_SOURCE);
|
|
80
|
+
assertLoopbackUrl(engine.url, "The engine that just started");
|
|
81
|
+
return engine;
|
|
82
|
+
}
|
|
83
|
+
function parseEngineListing(stdout) {
|
|
84
|
+
const text = stdout.trim();
|
|
85
|
+
if (text === "") return [];
|
|
86
|
+
let value;
|
|
87
|
+
try {
|
|
88
|
+
value = JSON.parse(text);
|
|
89
|
+
} catch {
|
|
90
|
+
throw new Error(
|
|
91
|
+
`${LISTING_SOURCE} was not readable.
|
|
92
|
+
Re-run, and if it happens again fetch a fresh copy with \`xanosdk local cache clear\`, then \`xanosdk deploy --local\`.`
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
if (!Array.isArray(value)) {
|
|
96
|
+
throw new Error(
|
|
97
|
+
`${LISTING_SOURCE} was not a list.
|
|
98
|
+
Re-run, and if it happens again fetch a fresh copy with \`xanosdk local cache clear\`, then \`xanosdk deploy --local\`.`
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
return value.filter((entry) => !isForeignEngine(entry)).map((entry) => readEngine(entry, LISTING_SOURCE));
|
|
102
|
+
}
|
|
103
|
+
function isForeignEngine(entry) {
|
|
104
|
+
if (entry === null || typeof entry !== "object" || Array.isArray(entry)) return false;
|
|
105
|
+
const raw = entry;
|
|
106
|
+
return raw.workspace_id === void 0 && raw.access_token === void 0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export {
|
|
110
|
+
LOOPBACK_HOSTS,
|
|
111
|
+
isLoopbackUrl,
|
|
112
|
+
assertLoopbackUrl,
|
|
113
|
+
parseEngineHandshake,
|
|
114
|
+
parseEngineListing
|
|
115
|
+
};
|
|
116
|
+
//# sourceMappingURL=chunk-LCOCRJ4K.js.map
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pinWrittenText
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FPQBPJPS.js";
|
|
4
4
|
import {
|
|
5
5
|
acquireEngine,
|
|
6
6
|
restartMismatchedEngine
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
confirm
|
|
10
|
-
} from "./chunk-JXVJGF3Y.js";
|
|
7
|
+
} from "./chunk-H3ZBAR2L.js";
|
|
11
8
|
import {
|
|
12
9
|
resolveProjectEntry
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
} from "./chunk-LZ2E76UO.js";
|
|
11
|
+
import {
|
|
12
|
+
confirm
|
|
13
|
+
} from "./chunk-HQPL34O6.js";
|
|
17
14
|
import {
|
|
18
15
|
cachedEngineEntry,
|
|
19
16
|
engineVersion,
|
|
@@ -23,7 +20,7 @@ import {
|
|
|
23
20
|
stopAllEngines,
|
|
24
21
|
stopEngineNamed,
|
|
25
22
|
stopOrphanedEngineProcesses
|
|
26
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3UZQ5TMG.js";
|
|
27
24
|
import {
|
|
28
25
|
diskBytes,
|
|
29
26
|
listLegacyCacheDirs,
|
|
@@ -32,74 +29,33 @@ import {
|
|
|
32
29
|
readEngineEntry,
|
|
33
30
|
readPin,
|
|
34
31
|
writePin
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-64WWE3EF.js";
|
|
32
|
+
} from "./chunk-4JKXGPXB.js";
|
|
37
33
|
import {
|
|
38
34
|
ENGINE_RELEASES_URL_ENV,
|
|
39
35
|
normalizeEngineVersion,
|
|
40
36
|
resolveEngineRelease,
|
|
41
37
|
usesCustomReleaseManager
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-2TFRR6JV.js";
|
|
44
|
-
import "./chunk-WZHLMU6T.js";
|
|
38
|
+
} from "./chunk-HFOGQIII.js";
|
|
45
39
|
import {
|
|
46
40
|
NO_CREDENTIAL,
|
|
47
41
|
SourceError,
|
|
48
42
|
resolveSource
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-GWTFI3GA.js";
|
|
51
|
-
import "./chunk-BL3AZ3AP.js";
|
|
52
|
-
import "./chunk-ITC2R2OT.js";
|
|
53
|
-
import "./chunk-IXFJORNH.js";
|
|
54
|
-
import "./chunk-VW4CWVYX.js";
|
|
55
|
-
import "./chunk-2MNLRIOX.js";
|
|
43
|
+
} from "./chunk-6TMB3UUM.js";
|
|
56
44
|
import {
|
|
57
45
|
clearEngineRecordsNamed,
|
|
58
46
|
clearEngineRecordsStillMatching,
|
|
59
47
|
listEngineRecords
|
|
60
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-5Y5HWQ2P.js";
|
|
61
49
|
import {
|
|
62
50
|
SUPPORTED_PLATFORMS,
|
|
63
51
|
engineRunHome,
|
|
64
52
|
legacyRuntimeDirs,
|
|
65
53
|
localEngineBinDir,
|
|
66
54
|
resolveEnginePlatform
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import "./chunk-U6MTGB46.js";
|
|
69
|
-
import "./chunk-ZYJP6BOO.js";
|
|
70
|
-
import "./chunk-QO6BVGS5.js";
|
|
71
|
-
import "./chunk-5TVFLG3C.js";
|
|
72
|
-
import "./chunk-SPKA2LV6.js";
|
|
73
|
-
import "./chunk-7GAIJW62.js";
|
|
55
|
+
} from "./chunk-F3IA3YWI.js";
|
|
74
56
|
import {
|
|
75
57
|
yesRerun
|
|
76
|
-
} from "./chunk-
|
|
77
|
-
import "./chunk-622HUCZT.js";
|
|
78
|
-
import "./chunk-N5I37JFB.js";
|
|
79
|
-
import "./chunk-TTEIDD5Q.js";
|
|
80
|
-
import "./chunk-LL7SGTRC.js";
|
|
81
|
-
import "./chunk-YYC2DZMG.js";
|
|
82
|
-
import "./chunk-PMMHSX4H.js";
|
|
83
|
-
import "./chunk-ZFDZKNGG.js";
|
|
84
|
-
import "./chunk-FWD7AL6N.js";
|
|
85
|
-
import "./chunk-QJM5XZ4K.js";
|
|
86
|
-
import "./chunk-DXUICABI.js";
|
|
87
|
-
import "./chunk-4KHEMC32.js";
|
|
88
|
-
import "./chunk-ROY4YAEQ.js";
|
|
89
|
-
import "./chunk-MFWF2NZJ.js";
|
|
90
|
-
import "./chunk-DNBP4GJN.js";
|
|
91
|
-
import "./chunk-763M6LX3.js";
|
|
92
|
-
import "./chunk-WAVNUTMT.js";
|
|
93
|
-
import "./chunk-M5CSVB23.js";
|
|
94
|
-
import "./chunk-AWQ7BQTQ.js";
|
|
95
|
-
import "./chunk-EUUUMY7J.js";
|
|
96
|
-
import "./chunk-YR2I5HGE.js";
|
|
97
|
-
import "./chunk-26MOFAJT.js";
|
|
98
|
-
import "./chunk-LLNZGEFK.js";
|
|
99
|
-
import "./chunk-MF4W6FHU.js";
|
|
100
|
-
import "./chunk-X2NL4KUO.js";
|
|
101
|
-
import "./chunk-M6ZFSTIZ.js";
|
|
102
|
-
import "./chunk-3EDSPMXN.js";
|
|
58
|
+
} from "./chunk-C2GHFADU.js";
|
|
103
59
|
import {
|
|
104
60
|
UsageError,
|
|
105
61
|
detail,
|
|
@@ -112,25 +68,11 @@ import {
|
|
|
112
68
|
unknownSubcommand,
|
|
113
69
|
warn,
|
|
114
70
|
writeJson
|
|
115
|
-
} from "./chunk-
|
|
116
|
-
import "./chunk-7FIMUFBP.js";
|
|
117
|
-
import "./chunk-H2V3N23D.js";
|
|
118
|
-
import "./chunk-3JDU4VRL.js";
|
|
119
|
-
import "./chunk-YHB34BN6.js";
|
|
71
|
+
} from "./chunk-C6KBZH7M.js";
|
|
120
72
|
import {
|
|
121
73
|
suggest,
|
|
122
74
|
suggestAll
|
|
123
75
|
} from "./chunk-UTI5G6OJ.js";
|
|
124
|
-
import "./chunk-5KJBWIDZ.js";
|
|
125
|
-
import "./chunk-5ZSO4T2G.js";
|
|
126
|
-
import "./chunk-VQPDATQT.js";
|
|
127
|
-
import "./chunk-TFFGOFVZ.js";
|
|
128
|
-
import "./chunk-LL6ED5IB.js";
|
|
129
|
-
import "./chunk-4BW2SG2N.js";
|
|
130
|
-
import "./chunk-4MIV244X.js";
|
|
131
|
-
import "./chunk-OHX6MIUZ.js";
|
|
132
|
-
import "./chunk-36JUQZVQ.js";
|
|
133
|
-
import "./chunk-PZ5AY32C.js";
|
|
134
76
|
|
|
135
77
|
// src/emit/local-engine-command.ts
|
|
136
78
|
import { readdirSync, rmSync } from "fs";
|
|
@@ -141,6 +83,8 @@ async function runLocalEngineCommand(args, opts = {}) {
|
|
|
141
83
|
return runList(args, opts);
|
|
142
84
|
case "token":
|
|
143
85
|
return runToken(args, opts);
|
|
86
|
+
case "mcp":
|
|
87
|
+
return (await import("./local-engine-mcp-command-WXZVCUJD.js")).runMcp(args, opts);
|
|
144
88
|
case "stop":
|
|
145
89
|
return runStop(args, opts);
|
|
146
90
|
case "update":
|
|
@@ -428,7 +372,7 @@ Run this from the project's root.`
|
|
|
428
372
|
}
|
|
429
373
|
async function repointDevEnvAfterRestart(dir, restarted) {
|
|
430
374
|
if (restarted.previousUrl === void 0) return void 0;
|
|
431
|
-
const { repointDevEnv } = await import("./dev-env-sync-
|
|
375
|
+
const { repointDevEnv } = await import("./dev-env-sync-EQQ3AJGG.js");
|
|
432
376
|
try {
|
|
433
377
|
return repointDevEnv(dir, restarted.previousUrl, restarted.url);
|
|
434
378
|
} catch (err) {
|
|
@@ -753,10 +697,11 @@ function formatBytes(bytes) {
|
|
|
753
697
|
}
|
|
754
698
|
return unit === 0 ? `${n} B` : `${n.toFixed(1)} ${units[unit]}`;
|
|
755
699
|
}
|
|
700
|
+
|
|
756
701
|
export {
|
|
757
|
-
reportOrphanSweep,
|
|
758
|
-
resolveLiveEngine,
|
|
759
702
|
runLocalEngineCommand,
|
|
760
|
-
sweepOptions
|
|
703
|
+
sweepOptions,
|
|
704
|
+
reportOrphanSweep,
|
|
705
|
+
resolveLiveEngine
|
|
761
706
|
};
|
|
762
|
-
//# sourceMappingURL=
|
|
707
|
+
//# sourceMappingURL=chunk-LDWK6F57.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalize
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LC3KQ5SO.js";
|
|
4
4
|
import {
|
|
5
5
|
sha1Bytes
|
|
6
6
|
} from "./chunk-OHX6MIUZ.js";
|
|
@@ -41,4 +41,4 @@ export {
|
|
|
41
41
|
canonicalJson,
|
|
42
42
|
structuralHash
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=chunk-
|
|
44
|
+
//# sourceMappingURL=chunk-LI3UQFJY.js.map
|
|
@@ -38,6 +38,9 @@ function assertNoForgedMarkers(body, spec) {
|
|
|
38
38
|
function gitattributesSpec(pkg) {
|
|
39
39
|
return { dialect: HASH_DIALECT, pkg, file: ".gitattributes" };
|
|
40
40
|
}
|
|
41
|
+
function gitignoreSpec() {
|
|
42
|
+
return { dialect: HASH_DIALECT, pkg: "@xano/sdk", file: ".gitignore" };
|
|
43
|
+
}
|
|
41
44
|
function linesOutsideBlocks(text, dialect) {
|
|
42
45
|
const begin = dialect.begin("");
|
|
43
46
|
const end = dialect.end("");
|
|
@@ -163,6 +166,7 @@ export {
|
|
|
163
166
|
htmlDialect,
|
|
164
167
|
composeBlock,
|
|
165
168
|
gitattributesSpec,
|
|
169
|
+
gitignoreSpec,
|
|
166
170
|
linesOutsideBlocks,
|
|
167
171
|
blockPackages,
|
|
168
172
|
findBlock,
|
|
@@ -170,4 +174,4 @@ export {
|
|
|
170
174
|
upsertBlock,
|
|
171
175
|
removeBlock
|
|
172
176
|
};
|
|
173
|
-
//# sourceMappingURL=chunk-
|
|
177
|
+
//# sourceMappingURL=chunk-LJM5CIY4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exportWorkspaceBundle
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QC3MKMDK.js";
|
|
4
4
|
import {
|
|
5
5
|
encodeWorkspaceArchive,
|
|
6
6
|
readArchiveEntries
|
|
@@ -10,20 +10,20 @@ import {
|
|
|
10
10
|
} from "./chunk-X4DVXBFY.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveSource
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6TMB3UUM.js";
|
|
14
14
|
import {
|
|
15
15
|
downloadRelease
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7JKNWDYN.js";
|
|
17
17
|
import {
|
|
18
18
|
backendDirIn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-64FL5VXX.js";
|
|
20
20
|
import {
|
|
21
21
|
BARE,
|
|
22
22
|
UsageError,
|
|
23
23
|
isKindShaped,
|
|
24
24
|
parseSource,
|
|
25
25
|
relForwardSlash
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-C6KBZH7M.js";
|
|
27
27
|
import {
|
|
28
28
|
calcSignatureJson
|
|
29
29
|
} from "./chunk-7FIMUFBP.js";
|
|
@@ -144,4 +144,4 @@ export {
|
|
|
144
144
|
gatedApiGroups,
|
|
145
145
|
asWorkspaceArchive
|
|
146
146
|
};
|
|
147
|
-
//# sourceMappingURL=chunk-
|
|
147
|
+
//# sourceMappingURL=chunk-LZ2E76UO.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listTenants
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YE7MHW45.js";
|
|
4
4
|
import {
|
|
5
5
|
listEphemeral
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PFW7WFAT.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-C6KBZH7M.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-NFSUGVDY.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
envExampleNames
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VL3JRW4S.js";
|
|
4
4
|
import {
|
|
5
5
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
6
6
|
renderWorkspaceEnvExample
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UICFYANB.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-NJHUQSDH.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
parsePathParams,
|
|
6
6
|
pathSegment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OHTHG3LL.js";
|
|
8
8
|
import {
|
|
9
9
|
linkedTableOf,
|
|
10
10
|
tableRefOf
|
|
@@ -769,4 +769,4 @@ export {
|
|
|
769
769
|
unresolvedCanonicalMessage,
|
|
770
770
|
renderPlannedManifest
|
|
771
771
|
};
|
|
772
|
-
//# sourceMappingURL=chunk-
|
|
772
|
+
//# sourceMappingURL=chunk-O376UAZS.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
installedCliAt,
|
|
10
10
|
pathsShownFrom
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-C6KBZH7M.js";
|
|
12
12
|
|
|
13
13
|
// src/emit/project-sdk.ts
|
|
14
14
|
import { existsSync, readFileSync, realpathSync } from "fs";
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
installedCliCommand,
|
|
88
88
|
skewNote
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-OBJ7FQDX.js.map
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-VTMTIBKP.js";
|
|
21
21
|
import {
|
|
22
22
|
emitDiagnostic
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-YEH5OIPF.js";
|
|
24
24
|
import {
|
|
25
25
|
lockKey
|
|
26
26
|
} from "./chunk-5KJBWIDZ.js";
|
|
@@ -454,4 +454,4 @@ export {
|
|
|
454
454
|
toSearchParams,
|
|
455
455
|
query
|
|
456
456
|
};
|
|
457
|
-
//# sourceMappingURL=chunk-
|
|
457
|
+
//# sourceMappingURL=chunk-OHTHG3LL.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
environmentKey,
|
|
3
3
|
getEnvironment,
|
|
4
4
|
readEphemeralState
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-S42TFTM5.js";
|
|
6
6
|
import {
|
|
7
7
|
andList
|
|
8
8
|
} from "./chunk-622HUCZT.js";
|
|
@@ -12,17 +12,17 @@ import {
|
|
|
12
12
|
credentialFileFlagFor,
|
|
13
13
|
credentialFileOf,
|
|
14
14
|
recordedByEnvCredential
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6S263KTM.js";
|
|
16
16
|
import {
|
|
17
17
|
loginCommand,
|
|
18
18
|
profileAddCommand,
|
|
19
19
|
recordedCredentialPath,
|
|
20
20
|
recordedProfileStored
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IB6SKACE.js";
|
|
22
22
|
import {
|
|
23
23
|
findPointerFile,
|
|
24
24
|
readPointerFile
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-5QOV52V4.js";
|
|
26
26
|
import {
|
|
27
27
|
DEFAULT_PROFILE
|
|
28
28
|
} from "./chunk-MF4W6FHU.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
CliError,
|
|
34
34
|
EXIT_SOURCE_UNRESOLVABLE,
|
|
35
35
|
UsageError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-C6KBZH7M.js";
|
|
37
37
|
|
|
38
38
|
// src/emit/env-target.ts
|
|
39
39
|
var ENV_CREDENTIAL_NAMES = ["XANO_INSTANCE_URL", "XANO_WORKSPACE_ID", "XANO_META_TOKEN", "XANO_REFRESH_TOKEN", "XANO_CLIENT_ID"];
|
|
@@ -142,7 +142,7 @@ var SENDS_ELSEWHERE = /* @__PURE__ */ new WeakSet();
|
|
|
142
142
|
async function reachableFirst(refusal, auth) {
|
|
143
143
|
if (!(refusal instanceof Error) || !SENDS_ELSEWHERE.has(refusal)) return refusal;
|
|
144
144
|
if (auth === void 0 || !("access_token" in auth)) return refusal;
|
|
145
|
-
const { refuseUnreachableWorkspace } = await import("./workspace-binding-
|
|
145
|
+
const { refuseUnreachableWorkspace } = await import("./workspace-binding-UEFR3SZX.js");
|
|
146
146
|
try {
|
|
147
147
|
await refuseUnreachableWorkspace(auth);
|
|
148
148
|
} catch (unreachable) {
|
|
@@ -167,4 +167,4 @@ export {
|
|
|
167
167
|
otherCredentialRefusal,
|
|
168
168
|
reachableFirst
|
|
169
169
|
};
|
|
170
|
-
//# sourceMappingURL=chunk-
|
|
170
|
+
//# sourceMappingURL=chunk-P2IPFNP4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureGitignored
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IB6SKACE.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-PBK257CI.js.map
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
listAnswer,
|
|
5
5
|
recordAnswer,
|
|
6
6
|
writeTransportFailure
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TG65NWUR.js";
|
|
8
8
|
import {
|
|
9
9
|
contextFlags
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6S263KTM.js";
|
|
11
11
|
import {
|
|
12
12
|
TransportError,
|
|
13
13
|
fetchOrExplain,
|
|
14
14
|
httpFailure,
|
|
15
15
|
readBodyText,
|
|
16
16
|
withWriteStatusAftermath
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TR7EOUQE.js";
|
|
18
18
|
import {
|
|
19
19
|
shellQuote
|
|
20
20
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -283,4 +283,4 @@ export {
|
|
|
283
283
|
waitUntilReady,
|
|
284
284
|
isUnansweredPoll
|
|
285
285
|
};
|
|
286
|
-
//# sourceMappingURL=chunk-
|
|
286
|
+
//# sourceMappingURL=chunk-PFW7WFAT.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
serverMessage,
|
|
10
10
|
statusLabel,
|
|
11
11
|
transportTarget
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TR7EOUQE.js";
|
|
13
13
|
import {
|
|
14
14
|
withArticle
|
|
15
15
|
} from "./chunk-36JUQZVQ.js";
|
|
@@ -110,4 +110,4 @@ export {
|
|
|
110
110
|
assertBranchReadSupported,
|
|
111
111
|
exportWorkspaceBundle
|
|
112
112
|
};
|
|
113
|
-
//# sourceMappingURL=chunk-
|
|
113
|
+
//# sourceMappingURL=chunk-QC3MKMDK.js.map
|