@xano/sdk 1.0.21 → 1.0.22
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 +11 -0
- package/README.md +1 -1
- package/dist/{agent-file-refresh-5R5ALFEV.js → agent-file-refresh-LV5ZBJEW.js} +14 -14
- package/dist/{agent-skill-command-JBX7Z6AK.js → agent-skill-command-NPWUUIKI.js} +47 -47
- package/dist/{ai-models-command-I3FU6GYP.js → ai-models-command-BVOVIC6C.js} +9 -9
- package/dist/{answer-shape-BCGPH73R.js → answer-shape-4HVMTHYM.js} +5 -5
- package/dist/{backend-dir-VOMHDVFP.js → backend-dir-6S23WBVQ.js} +13 -13
- package/dist/{backend-slot-WSWAHL2W.js → backend-slot-FS7G67MV.js} +4 -4
- package/dist/bin.js +50 -49
- package/dist/{branch-6DBHVVUT.js → branch-EV4K6G2F.js} +9 -9
- package/dist/{branch-commands-JOSHDOXH.js → branch-commands-VZKHIPDP.js} +25 -25
- package/dist/bundle.d.ts +2 -2
- package/dist/{chunk-OG6WYZNA.js → chunk-2T73ZZEB.js} +5 -5
- package/dist/{chunk-C7KO5KKB.js → chunk-2XRO4TQP.js} +7 -6
- package/dist/{chunk-4QRDNBPY.js → chunk-3WPQOIE5.js} +2 -2
- package/dist/{chunk-DAXFWXSV.js → chunk-4EFBDSVU.js} +3 -3
- package/dist/{chunk-QLXGLHK3.js → chunk-4RE636YS.js} +47 -44
- package/dist/{chunk-4DVP42ZC.js → chunk-5MVSDE67.js} +2 -2
- package/dist/{chunk-KU4HLYWT.js → chunk-5WCHWKLJ.js} +3 -3
- package/dist/{chunk-LZDH5COS.js → chunk-6H57HQFN.js} +3 -3
- package/dist/{chunk-T2LFOMOP.js → chunk-6JOQSH5G.js} +4 -4
- package/dist/{chunk-JHAZK4RY.js → chunk-6VKDIKJI.js} +2 -2
- package/dist/{chunk-M42Y53Z4.js → chunk-7GE6FZVU.js} +7 -6
- package/dist/{chunk-FSHW3GQU.js → chunk-A2TTPUAG.js} +3 -3
- package/dist/{chunk-PAWLPNBA.js → chunk-A2YRUMSZ.js} +7 -7
- package/dist/{chunk-OFKFZSHS.js → chunk-A5IFOUCW.js} +4 -4
- package/dist/{chunk-QZ2PC6B7.js → chunk-ABC7LY6Q.js} +69 -3
- package/dist/{chunk-KL4PGJ2G.js → chunk-AEEZIZ2A.js} +3 -3
- package/dist/{chunk-HXVNBJVA.js → chunk-ATEB3WHX.js} +49 -49
- package/dist/{chunk-WXY24GKO.js → chunk-ATRMTNSR.js} +4 -4
- package/dist/{chunk-N2JZU6VR.js → chunk-BISPJIDL.js} +3 -3
- package/dist/{chunk-LYR6W5LV.js → chunk-BJFO44A3.js} +5 -5
- package/dist/{chunk-YF7PDN6T.js → chunk-BQ7PALBF.js} +29 -29
- package/dist/{chunk-I5YD7QPI.js → chunk-BUNNVRO3.js} +41 -5
- package/dist/{chunk-5KSVMHFS.js → chunk-CUS54UAR.js} +3 -3
- package/dist/{chunk-ZCXWOGFL.js → chunk-CUVZ3RT5.js} +3 -3
- package/dist/{chunk-SVQMDVND.js → chunk-CZISUZJ6.js} +2 -2
- package/dist/{chunk-YSSAJQH4.js → chunk-E4I6DR7F.js} +3 -3
- package/dist/{chunk-N3LPULRE.js → chunk-EAR66AGQ.js} +11 -8
- package/dist/{chunk-MGC5S6OE.js → chunk-ED6N6TMS.js} +23 -15
- package/dist/{chunk-TDSRZDQP.js → chunk-EFP5WRUV.js} +2 -2
- package/dist/{chunk-Q77C32ZB.js → chunk-EPMDBGJ6.js} +4 -4
- package/dist/{chunk-FLM6TN7Q.js → chunk-EU63V7YR.js} +3 -3
- package/dist/{chunk-XWEDFVJ6.js → chunk-F7YI4K7J.js} +14 -14
- package/dist/{chunk-VJCUFHTQ.js → chunk-F7YMUAEI.js} +15 -15
- package/dist/{chunk-EPD5J3WA.js → chunk-FIVLDAIK.js} +3 -3
- package/dist/{chunk-DJ7JH4UE.js → chunk-FTGMEKYL.js} +7 -7
- package/dist/{chunk-KHX6VQ4M.js → chunk-FWGPIQMW.js} +2 -2
- package/dist/{chunk-MJA5BP2M.js → chunk-GG4KEISG.js} +5 -5
- package/dist/{chunk-YFVD3LNL.js → chunk-HDY5IY5M.js} +2 -2
- package/dist/{chunk-5Z4WQQHC.js → chunk-HWD2Z72H.js} +2 -2
- package/dist/{chunk-IUBGFCJJ.js → chunk-IH6NGW5Z.js} +6 -6
- package/dist/{chunk-ZNGUETV7.js → chunk-ILPZJJVY.js} +88 -120
- package/dist/{chunk-QHNSBURP.js → chunk-IMU3T4B3.js} +60 -18
- package/dist/{chunk-VV7FVGOX.js → chunk-KSW6PW36.js} +8 -8
- package/dist/{chunk-J564PMKW.js → chunk-KYZ6QCR3.js} +6 -6
- package/dist/{chunk-QZXSPUNS.js → chunk-L37MTTU4.js} +6 -6
- package/dist/{chunk-EOWNLLLV.js → chunk-LAZUQLWU.js} +7 -6
- package/dist/{chunk-FMXPV5JI.js → chunk-LEODZXR7.js} +4 -4
- package/dist/{chunk-OTUPQ7M3.js → chunk-LJSYTEPF.js} +14 -14
- package/dist/{chunk-64F6ET45.js → chunk-LOXVHC7B.js} +8 -8
- package/dist/{chunk-CGLYG2VF.js → chunk-M3DIFMJX.js} +2 -2
- package/dist/{chunk-GODAKJ3L.js → chunk-MKZDHVVE.js} +46 -46
- package/dist/{chunk-3HK7VELD.js → chunk-MO4SSEPP.js} +2 -2
- package/dist/{chunk-M5GXZEX7.js → chunk-N5O76SCI.js} +4 -4
- package/dist/{chunk-IWFKPEWJ.js → chunk-NHGED6BY.js} +9 -9
- package/dist/{chunk-LMX4VE4H.js → chunk-NRFE7KLI.js} +4 -4
- package/dist/{chunk-4TVHSC4V.js → chunk-ODS5M4Y7.js} +5 -5
- package/dist/{chunk-6ODQ5GDZ.js → chunk-OI34XIHM.js} +2 -2
- package/dist/{chunk-X7EK5PTK.js → chunk-OT3DSWIT.js} +5 -5
- package/dist/{chunk-6TAYTKFM.js → chunk-P3G2Z2L3.js} +4 -4
- package/dist/{chunk-GUHJV7C5.js → chunk-Q25OESFL.js} +3 -3
- package/dist/{chunk-4Y3SWNPE.js → chunk-Q2ADIN5G.js} +2 -2
- package/dist/{chunk-PC7XEO7F.js → chunk-Q5VLI567.js} +2 -2
- package/dist/{chunk-CJ5WRCVE.js → chunk-Q6ZLVVJW.js} +5 -5
- package/dist/{chunk-WK5QDV25.js → chunk-QXGRUEU7.js} +3 -3
- package/dist/{chunk-OF5YFPSK.js → chunk-RQ7EYCPF.js} +6 -6
- package/dist/{chunk-5ABAIJVV.js → chunk-TANRKGHA.js} +2 -2
- package/dist/{chunk-Z7IINILG.js → chunk-TSCO37LJ.js} +5 -5
- package/dist/{chunk-SQVETROU.js → chunk-TW64BHNV.js} +4 -4
- package/dist/{chunk-T6KQYCAU.js → chunk-TXA37G44.js} +3 -3
- package/dist/{chunk-FJS5I6V4.js → chunk-U27YUJE2.js} +4 -4
- package/dist/{chunk-7J7YRAZB.js → chunk-U66T5MAB.js} +4 -4
- package/dist/{chunk-DORGB2Y2.js → chunk-UEY2ADOJ.js} +2 -2
- package/dist/{chunk-OZVZ3KCH.js → chunk-UMQRDEZG.js} +4 -4
- package/dist/{chunk-RHH6SCB4.js → chunk-UO5ZFNIV.js} +4 -4
- package/dist/{chunk-BBFHZMQA.js → chunk-VBOCHX7Y.js} +2 -2
- package/dist/{chunk-VEA6EXJL.js → chunk-VEW3ESAC.js} +3 -3
- package/dist/{chunk-T4HTNHXR.js → chunk-VRDEZVLP.js} +7 -7
- package/dist/{chunk-6L32HAIP.js → chunk-VRHJTYBO.js} +2 -2
- package/dist/{chunk-6534P3VH.js → chunk-VZIGBEF4.js} +2 -2
- package/dist/{chunk-YAZEB255.js → chunk-WAUIPPMF.js} +2 -2
- package/dist/{chunk-IA4FMPJ3.js → chunk-WHZJWZTF.js} +7 -7
- package/dist/{chunk-745NOWB7.js → chunk-WNDTIUTA.js} +4 -4
- package/dist/{chunk-52QAENY6.js → chunk-WYOQNVM2.js} +4 -4
- package/dist/{chunk-JXX2QXPP.js → chunk-X7BDJ6WU.js} +2 -2
- package/dist/{chunk-EME5G4YP.js → chunk-XGNYUZLW.js} +9 -8
- package/dist/{chunk-7SGMHGLI.js → chunk-XJ7SRNW2.js} +21 -18
- package/dist/{chunk-P3WIMLG2.js → chunk-XNXZZU3W.js} +2 -2
- package/dist/{chunk-XD5FOBMZ.js → chunk-XTDSS57C.js} +8 -8
- package/dist/{chunk-OSMPI45P.js → chunk-XXVP7E62.js} +3 -3
- package/dist/{chunk-MKRREVNB.js → chunk-Y7TZZ6NW.js} +8 -2
- package/dist/{chunk-I52AKG2O.js → chunk-YDGBFJUA.js} +4 -4
- package/dist/{chunk-OQMXCNN7.js → chunk-YDZJN26I.js} +4 -4
- package/dist/{chunk-WAP5362D.js → chunk-YHENFBYW.js} +2 -2
- package/dist/{chunk-ANCNHQCH.js → chunk-YLHAGHS6.js} +23 -23
- package/dist/{chunk-EBSJUSID.js → chunk-ZBAINZJB.js} +2 -2
- package/dist/{chunk-JVMAWMO3.js → chunk-ZCGGTZQY.js} +74 -78
- package/dist/{chunk-FVBJKM6N.js → chunk-ZV2AEGZA.js} +2 -2
- package/dist/cli.d.ts +3 -3
- package/dist/cli.js +46 -46
- package/dist/{codegen-command-ZXABRPVP.js → codegen-command-BLQBH3TH.js} +63 -63
- package/dist/codegen.d.ts +3 -3
- package/dist/{commands-EN4RLPOP.js → commands-VHQIAW5C.js} +3 -3
- package/dist/{completion-KH45QD3E.js → completion-6R3KZY4A.js} +3 -3
- package/dist/{config-AKHBFTKA.js → config-KGXHN3JU.js} +4 -4
- package/dist/{deploy-command-KO5FATR6.js → deploy-command-TID6CA7V.js} +53 -53
- package/dist/{deploy-source-7GCMMZKV.js → deploy-source-2XGWS4YS.js} +29 -29
- package/dist/{dev-env-sync-LZ22CSKD.js → dev-env-sync-QJIIUU7R.js} +47 -47
- package/dist/{diagnostics-T3RN3372.js → diagnostics-EYMAH4DV.js} +2 -2
- package/dist/{display-name-hint-QMT562BI.js → display-name-hint-5UJ3HFXY.js} +11 -11
- package/dist/{emit-BfHifhJy.d.ts → emit-CezfsIMN.d.ts} +44 -6
- package/dist/{env-example-refresh-DWGV4DFX.js → env-example-refresh-POWYBDLK.js} +64 -64
- package/dist/{env-pull-command-5N5AUKJK.js → env-pull-command-7IZ6YGTU.js} +43 -43
- package/dist/{env-target-CXZXMK3W.js → env-target-KAVQVPDO.js} +10 -10
- package/dist/{env-var-command-4RGQALIH.js → env-var-command-Q5ZWB7GA.js} +39 -39
- package/dist/{ephemeral-MNHEWSZ6.js → ephemeral-XJO3TZCY.js} +9 -9
- package/dist/{ephemeral-command-GIB63YX3.js → ephemeral-command-2P6K6LKO.js} +44 -44
- package/dist/{ephemeral-state-QTT5JHD5.js → ephemeral-state-X5HR4FAK.js} +8 -8
- package/dist/{generate-command-GW42CN4I.js → generate-command-6EIPQUYK.js} +68 -68
- package/dist/{gitignore-RDEUQHHG.js → gitignore-KNOLQB42.js} +17 -17
- package/dist/{guards-N4PUFKN5.js → guards-6KAY65CV.js} +6 -6
- package/dist/{impersonate-command-H72JM5IF.js → impersonate-command-2SZFKFTW.js} +35 -35
- package/dist/{import-7HFTOT7M.js → import-7TYP5VND.js} +5 -5
- package/dist/index.d.ts +8 -8
- package/dist/index.js +11 -11
- package/dist/{init-command-ERRMSKPB.js → init-command-25SUJRAE.js} +51 -51
- package/dist/{init-modules-UH7PPQTB.js → init-modules-A73RV2OJ.js} +10 -10
- package/dist/{init-web-YCPD6BYN.js → init-web-KRQCA43B.js} +3 -3
- package/dist/internal.d.ts +6 -6
- package/dist/internal.js +18 -17
- package/dist/{keep-data-merge-BNX3HEHM.js → keep-data-merge-4QFPEJBN.js} +24 -24
- package/dist/{lambda-config-reconcile-CC5QIP6E.js → lambda-config-reconcile-GWEMI2PL.js} +3 -3
- package/dist/{landing-record-ZY4O7OLQ.js → landing-record-4CZTNKZT.js} +19 -19
- package/dist/{live-diff-GZ6JUNP6.js → live-diff-CPFDW6T4.js} +5 -5
- package/dist/{local-engine-ai-YWAMTHME.js → local-engine-ai-6FF34RSX.js} +11 -11
- package/dist/{local-engine-choice-PCM45R3A.js → local-engine-choice-P3GZBFTE.js} +37 -37
- package/dist/{local-engine-command-ACJ6YUP7.js → local-engine-command-A76ADITM.js} +43 -43
- package/dist/{local-engine-deploy-IUHWB43Q.js → local-engine-deploy-SEPTWYYD.js} +18 -16
- package/dist/{local-engine-lookup-2VSUWEQY.js → local-engine-lookup-C6YIQY7S.js} +3 -3
- package/dist/{local-engine-mcp-bridge-ECGTK7LF.js → local-engine-mcp-bridge-HQDIYT26.js} +10 -7
- package/dist/{local-engine-mcp-command-EODMA3X5.js → local-engine-mcp-command-4OXNZDCM.js} +46 -46
- package/dist/{local-engine-process-P5T2766M.js → local-engine-process-YHQTPIK2.js} +22 -12
- package/dist/{local-engine-release-OK6GKULS.js → local-engine-release-DV4NJS24.js} +6 -6
- package/dist/{local-engine-state-BOKHLNRQ.js → local-engine-state-QJRY4IVD.js} +2 -2
- package/dist/{local-engine-update-check-C72LSVUQ.js → local-engine-update-check-YJ655C6V.js} +5 -5
- package/dist/{lock-commands-YBBTZB6M.js → lock-commands-CSUAP3CZ.js} +51 -51
- package/dist/{login-command-DJCCEN5O.js → login-command-TE4CGIEZ.js} +25 -25
- package/dist/{logout-command-6FQLSD5H.js → logout-command-YR2G5OIN.js} +13 -13
- package/dist/{loop-EMTBWN4X.js → loop-H44NE3R6.js} +5 -5
- package/dist/{marketplace-command-2JZERTJW.js → marketplace-command-4N5IIDSA.js} +32 -32
- package/dist/{marketplace-resolve-LT76KHJD.js → marketplace-resolve-NSCLONXK.js} +8 -8
- package/dist/{meta-client-KDTBLP6X.js → meta-client-XEMGHUUK.js} +14 -13
- package/dist/{module-manifest-B432UFBK.js → module-manifest-FGT5VXFQ.js} +4 -4
- package/dist/node.d.ts +7 -7
- package/dist/node.js +51 -51
- package/dist/{operation-outcome-POYID3M6.js → operation-outcome-D5QHO5LT.js} +21 -21
- package/dist/{output-target-55RSDDTO.js → output-target-CYAPGP3A.js} +18 -18
- package/dist/{plan-disclosure-5HM7CMRW.js → plan-disclosure-MWMOGKX2.js} +16 -16
- package/dist/{plugin-contributions-MEXUR7TY.js → plugin-contributions-6FOQ7TWS.js} +5 -5
- package/dist/{plugin-prompt-XM4ATAWA.js → plugin-prompt-CP5EVTAD.js} +5 -5
- package/dist/{plugin-questions-VGU3B4LE.js → plugin-questions-5R3CBBNM.js} +4 -4
- package/dist/{preflight-command-ZP7VVE5T.js → preflight-command-WT4RIL5P.js} +57 -57
- package/dist/{profile-command-EP7N7LNQ.js → profile-command-5RXNMDIX.js} +26 -26
- package/dist/{profile-pointer-DHOU26Q2.js → profile-pointer-UURS2P3M.js} +4 -4
- package/dist/{project-config-SGRYMHBT.js → project-config-2DVU3VV6.js} +6 -6
- package/dist/{project-dependency-WTH776QE.js → project-dependency-IEGZVZNO.js} +9 -9
- package/dist/{project-sdk-FYNY7RTO.js → project-sdk-ZYTIHEVU.js} +4 -4
- package/dist/promote-command-HOW24EMD.js +150 -0
- package/dist/{prompt-JVYQH4OR.js → prompt-H2XC5AR7.js} +4 -4
- package/dist/{publish-command-DW5VLFJN.js → publish-command-E6F5D3FY.js} +56 -56
- package/dist/{pull-command-ZUDJRRXV.js → pull-command-ZBJJ6MDT.js} +66 -66
- package/dist/{pull-superseded-7EZ7M54I.js → pull-superseded-2UECGKGU.js} +4 -4
- package/dist/{raw-where-CinW0keO.d.ts → raw-where-B8Bx158p.d.ts} +1 -1
- package/dist/{release-command-Z3HXXLLO.js → release-command-65Z3VDBQ.js} +61 -61
- package/dist/{release-ns-command-JS3OUEFQ.js → release-ns-command-CH23BRI3.js} +79 -79
- package/dist/{retry-command-HG4IFE65.js → retry-command-FXAPSP5X.js} +8 -8
- package/dist/{routes-manifest-N73THJB3.js → routes-manifest-SXKLGPSQ.js} +6 -6
- package/dist/{routes-manifest-file-PIKQ3BIJ.js → routes-manifest-file-NAXVFRVN.js} +9 -9
- package/dist/scaffold.js +2 -2
- package/dist/{secrets-file-QLVCR2JD.js → secrets-file-KKGISTCY.js} +17 -17
- package/dist/{secrets-fill-command-BK7NVKPY.js → secrets-fill-command-R3JTP2VN.js} +50 -50
- package/dist/{seed-M33F4OJW.js → seed-WQJYWO3I.js} +6 -6
- package/dist/{source-resolve-GGRHO6NW.js → source-resolve-TS2CWDZ6.js} +19 -19
- package/dist/{static-host-HCKD26Q3.js → static-host-K4YVJQNR.js} +5 -5
- package/dist/{status-command-3DISBMGH.js → status-command-FWE65NQQ.js} +36 -36
- package/dist/{store-Dt-5vOSe.d.ts → store-CscLDS9B.d.ts} +3 -3
- package/dist/{store-ZWQFSXH5.js → store-UIIOQ4G3.js} +6 -6
- package/dist/{sync-baseline-XLRJQZCS.js → sync-baseline-6J7SQUPN.js} +6 -6
- package/dist/{sync-contributions-GAV6PZEY.js → sync-contributions-MV7UXGUN.js} +12 -12
- package/dist/{sync-record-UFEJDNLR.js → sync-record-ASVPKPKZ.js} +10 -10
- package/dist/{table-JHPGUJ2Z.js → table-RYGYFUV6.js} +8 -8
- package/dist/{tables-command-D7DSJAXI.js → tables-command-W3KSMKYR.js} +36 -36
- package/dist/{tenant-SSWC7B3V.js → tenant-C7TDXCIN.js} +10 -10
- package/dist/{tenant-command-6S5RU4PP.js → tenant-command-ZPNAY7AM.js} +83 -83
- package/dist/{test-command-FSRARFF7.js → test-command-7Z5F5SKW.js} +34 -34
- package/dist/{tests-ZFQWDWS2.js → tests-6OXEGO3H.js} +6 -6
- package/dist/{token-XTU3C2DI.js → token-UPSKG3BH.js} +9 -9
- package/dist/{toolchain-hooks-IRPM6LYL.js → toolchain-hooks-GST2SEDT.js} +8 -8
- package/dist/{toolchain-modules-YSM6DMDB.js → toolchain-modules-V7AOUVZ3.js} +8 -8
- package/dist/{toolchain-peers-NOIM44ED.js → toolchain-peers-7PXXNC4P.js} +10 -10
- package/dist/{tracked-backend-7XW4KPIR.js → tracked-backend-CCBFWEJV.js} +32 -32
- package/dist/{update-check-KKDYZG3X.js → update-check-D7EVYWDB.js} +49 -49
- package/dist/{upgrade-command-LRJ7V3UW.js → upgrade-command-7AJQ265B.js} +52 -52
- package/dist/{whoami-command-FBRWLX5Q.js → whoami-command-LNFEE5XP.js} +12 -12
- package/dist/{workspace-DTM3ZNTM.js → workspace-KNMGO3LZ.js} +5 -5
- package/dist/{workspace-binding-M7XSJIWC.js → workspace-binding-CEB7LD2Y.js} +11 -11
- package/dist/{workspace-command-3T6CT7UA.js → workspace-command-DY5K6A5L.js} +79 -79
- package/dist/{workspace-env-RIKENQFC.js → workspace-env-VPEHJVRV.js} +14 -14
- package/dist/{workspace-export-A4L6272C.js → workspace-export-O33G7GRU.js} +5 -5
- package/dist/{writable-762DMPHW.js → writable-YP3UI2XU.js} +4 -4
- package/dist/{xano-XZN5SRDH.js → xano-Y3J4S433.js} +7 -7
- package/dist/{xanosdk-import-L3ZZIT6I.js → xanosdk-import-TC2YGIEJ.js} +6 -6
- package/dist/{xanosdk-project-YVLCGM3Y.js → xanosdk-project-J5VAVLCA.js} +15 -15
- package/dist/{xdo-DNGZGO1j.d.ts → xdo-BEYX5ihv.d.ts} +2 -2
- package/guides/deploying.md +13 -4
- package/guides/environment.md +15 -0
- package/llms/kinds-agent-mcp.md +2 -2
- package/llms/kinds-core.md +1 -1
- package/llms/object-kinds.md +1 -1
- package/llms/tests.md +3 -2
- package/llms-full.txt +9 -8
- package/llms.txt +2 -2
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
- package/dist/promote-command-LX5UWQYG.js +0 -150
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
acquireEngine
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-N5O76SCI.js";
|
|
4
4
|
import {
|
|
5
|
+
ENGINE_TELEMETRY_ENV,
|
|
6
|
+
engineMayReport,
|
|
5
7
|
engineRunsUntilStopped,
|
|
8
|
+
engineTelemetryEnv,
|
|
6
9
|
engineVersion,
|
|
7
10
|
engineVersionToken,
|
|
8
11
|
listEngines,
|
|
9
12
|
resolveRecordedEngine,
|
|
10
13
|
startEngine,
|
|
11
14
|
stopEngineNamed,
|
|
12
|
-
stopOrphanedEngineProcesses
|
|
13
|
-
|
|
15
|
+
stopOrphanedEngineProcesses,
|
|
16
|
+
telemetryOptedOut
|
|
17
|
+
} from "./chunk-BUNNVRO3.js";
|
|
14
18
|
import {
|
|
15
19
|
RELEASE_VERSION,
|
|
16
20
|
readEngineEntry
|
|
@@ -21,15 +25,15 @@ import {
|
|
|
21
25
|
} from "./chunk-2TFRR6JV.js";
|
|
22
26
|
import {
|
|
23
27
|
recordDeployed
|
|
24
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-HWD2Z72H.js";
|
|
25
29
|
import {
|
|
26
30
|
ImportHttpError
|
|
27
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ZBAINZJB.js";
|
|
28
32
|
import {
|
|
29
33
|
engineNameForProject,
|
|
30
34
|
getEngineRecord,
|
|
31
35
|
setEngineRecord
|
|
32
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-Y7TZZ6NW.js";
|
|
33
37
|
import {
|
|
34
38
|
ENGINE_AI_MAX_TTL_S,
|
|
35
39
|
clampEngineAiTtl,
|
|
@@ -41,6 +45,16 @@ import {
|
|
|
41
45
|
|
|
42
46
|
// src/deploy/local-engine-deploy.ts
|
|
43
47
|
import { rmSync } from "fs";
|
|
48
|
+
function replacedEngineLine(replaced) {
|
|
49
|
+
const empty = "It starts empty, so this deploy seeds it.";
|
|
50
|
+
if (replaced.telemetry === "unknown") {
|
|
51
|
+
return `Restarted Xano Engine ${replaced.name}: its record does not say which telemetry settings it was started with, so they may differ from this deploy's. ${empty}`;
|
|
52
|
+
}
|
|
53
|
+
if (replaced.telemetry !== void 0) {
|
|
54
|
+
return `Restarted Xano Engine ${replaced.name}: it was started with other telemetry settings (${replaced.telemetry.join(", ")}) than this deploy's. ${empty}`;
|
|
55
|
+
}
|
|
56
|
+
return `Replaced Xano Engine ${replaced.name} (${replaced.from ?? "an unrecorded version"} \u2192 ${replaced.to ?? "the resolved engine"}). ${empty}`;
|
|
57
|
+
}
|
|
44
58
|
async function ensureProjectEngine(opts) {
|
|
45
59
|
try {
|
|
46
60
|
return await ensureProjectEngineUnnoted(opts);
|
|
@@ -85,7 +99,8 @@ async function ensureProjectEngineUnnoted(opts) {
|
|
|
85
99
|
const priorFilled = record?.filled;
|
|
86
100
|
const carry = opts.carryFilled?.({ reused, hadRecord, priorFilled, url: engine.url }) === true;
|
|
87
101
|
const aiGatewayUrl = reused ? record?.aiGatewayUrl : ai?.gatewayUrl;
|
|
88
|
-
|
|
102
|
+
const telemetryEnv = reused ? record?.telemetryEnv : engineTelemetryEnv(env);
|
|
103
|
+
writeRecord(opts.dir, engine, entry, shownVersion, reused && carry ? priorFilled : void 0, env, aiGatewayUrl, telemetryEnv);
|
|
89
104
|
if (!reused) recordDeployed(opts.dir, "local");
|
|
90
105
|
return {
|
|
91
106
|
engine,
|
|
@@ -107,7 +122,7 @@ async function engineAi(opts, name, reuse, ttl, env) {
|
|
|
107
122
|
if (reuse !== void 0 && booted === void 0) {
|
|
108
123
|
return restartToEnable(name, opts.billing, "was started before it could take a Xano AI credential", env);
|
|
109
124
|
}
|
|
110
|
-
const request = opts.request ?? (await import("./local-engine-ai-
|
|
125
|
+
const request = opts.request ?? (await import("./local-engine-ai-6FF34RSX.js")).requestEngineAiCredential;
|
|
111
126
|
const outcome = await request({ billing: opts.billing, engineName: name, ttl, env });
|
|
112
127
|
if (reuse !== void 0 && outcome.status === "on" && outcome.gatewayUrl !== void 0 && outcome.gatewayUrl !== booted) {
|
|
113
128
|
return restartToEnable(name, opts.billing, "was started with another Xano AI gateway than this sign-in uses", env);
|
|
@@ -151,7 +166,7 @@ async function restartMismatchedEngine(opts) {
|
|
|
151
166
|
...opts.spawn === void 0 ? {} : { spawn: opts.spawn },
|
|
152
167
|
ai: wiringFor(name, ai, env)
|
|
153
168
|
});
|
|
154
|
-
writeRecord(opts.dir, engine, entry, shownVersion, void 0, env, ai?.gatewayUrl);
|
|
169
|
+
writeRecord(opts.dir, engine, entry, shownVersion, void 0, env, ai?.gatewayUrl, engineTelemetryEnv(env));
|
|
155
170
|
return { ...replaced, url: engine.url, previousUrl: record?.url, ...ai === void 0 ? {} : { ai } };
|
|
156
171
|
}
|
|
157
172
|
function reconcileLive(dir, entry, shownVersion, env, run) {
|
|
@@ -159,11 +174,34 @@ function reconcileLive(dir, entry, shownVersion, env, run) {
|
|
|
159
174
|
const name = record?.name ?? engineNameForProject(dir);
|
|
160
175
|
const running = listEngines({ entry, env, ...run === void 0 ? {} : { run } });
|
|
161
176
|
const found = reuseCandidate(name, record, running);
|
|
162
|
-
if (found === void 0
|
|
163
|
-
|
|
164
|
-
|
|
177
|
+
if (found === void 0) return { record, name, live: void 0 };
|
|
178
|
+
const sameBinary = record?.engineDigest === entry.digest;
|
|
179
|
+
const telemetry = sameBinary ? telemetryChange(record?.telemetryEnv, engineTelemetryEnv(env)) : void 0;
|
|
180
|
+
if (sameBinary && telemetry === void 0) return { record, name, live: found };
|
|
181
|
+
stopMismatched(found.name, record, entry, env, run, telemetry === void 0 ? void 0 : "telemetry");
|
|
182
|
+
return {
|
|
183
|
+
record,
|
|
184
|
+
name,
|
|
185
|
+
live: void 0,
|
|
186
|
+
replaced: {
|
|
187
|
+
name: found.name,
|
|
188
|
+
from: record?.engineVersion,
|
|
189
|
+
to: shownVersion,
|
|
190
|
+
...telemetry === void 0 ? {} : { telemetry }
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
function telemetryChange(recorded, current) {
|
|
195
|
+
if (recorded === null) return "unknown";
|
|
196
|
+
if (recorded === void 0) {
|
|
197
|
+
return engineMayReport(current) || telemetryOptedOut(current) ? "unknown" : void 0;
|
|
198
|
+
}
|
|
199
|
+
if (!engineMayReport(recorded) && !engineMayReport(current)) return void 0;
|
|
200
|
+
const names = [.../* @__PURE__ */ new Set([...ENGINE_TELEMETRY_ENV, ...Object.keys(recorded), ...Object.keys(current)])];
|
|
201
|
+
const changed = names.filter((key) => recorded[key] !== current[key]);
|
|
202
|
+
return changed.length === 0 ? void 0 : changed;
|
|
165
203
|
}
|
|
166
|
-
function writeRecord(dir, engine, entry, shownVersion, filled, env, aiGatewayUrl) {
|
|
204
|
+
function writeRecord(dir, engine, entry, shownVersion, filled, env, aiGatewayUrl, telemetryEnv) {
|
|
167
205
|
setEngineRecord(
|
|
168
206
|
dir,
|
|
169
207
|
{
|
|
@@ -176,7 +214,8 @@ function writeRecord(dir, engine, entry, shownVersion, filled, env, aiGatewayUrl
|
|
|
176
214
|
...shownVersion === void 0 ? {} : { engineVersion: shownVersion },
|
|
177
215
|
startedAt: Date.now(),
|
|
178
216
|
...filled === void 0 ? {} : { filled },
|
|
179
|
-
...aiGatewayUrl === void 0 ? {} : { aiGatewayUrl }
|
|
217
|
+
...aiGatewayUrl === void 0 ? {} : { aiGatewayUrl },
|
|
218
|
+
...telemetryEnv === void 0 ? {} : { telemetryEnv }
|
|
180
219
|
},
|
|
181
220
|
env
|
|
182
221
|
);
|
|
@@ -190,7 +229,7 @@ function overrideVersion(entry, env, run) {
|
|
|
190
229
|
}
|
|
191
230
|
return engineVersionToken(out);
|
|
192
231
|
}
|
|
193
|
-
function stopMismatched(name, record, entry, env, run) {
|
|
232
|
+
function stopMismatched(name, record, entry, env, run, why) {
|
|
194
233
|
const seam = run === void 0 ? {} : { run };
|
|
195
234
|
const attempt = (binary) => {
|
|
196
235
|
try {
|
|
@@ -201,9 +240,11 @@ function stopMismatched(name, record, entry, env, run) {
|
|
|
201
240
|
};
|
|
202
241
|
if (attempt(entry)) return;
|
|
203
242
|
const previous = recordedBinary(record, env);
|
|
204
|
-
|
|
243
|
+
const second = previous !== void 0 && previous.digest !== entry.digest ? previous : void 0;
|
|
244
|
+
if (second !== void 0 && attempt(second)) return;
|
|
245
|
+
const mismatch = why === "telemetry" ? `was started with other telemetry settings than this deploy's` : `is not the engine this deploy resolved to`;
|
|
205
246
|
throw new Error(
|
|
206
|
-
`The Xano Engine "${name}" already serving this project
|
|
247
|
+
`The Xano Engine "${name}" already serving this project ${mismatch}, and it could not be stopped` + (second === void 0 ? `` : ` by either engine version`) + `.
|
|
207
248
|
Stop it with \`xanosdk local stop ${name}\` (or end the process), then deploy again.`
|
|
208
249
|
);
|
|
209
250
|
}
|
|
@@ -256,9 +297,10 @@ function newerRelease(current, latest) {
|
|
|
256
297
|
}
|
|
257
298
|
|
|
258
299
|
export {
|
|
300
|
+
replacedEngineLine,
|
|
259
301
|
ensureProjectEngine,
|
|
260
302
|
DEPLOY_FALLBACK_NOTE,
|
|
261
303
|
restartMismatchedEngine,
|
|
262
304
|
explainUnsupportedEngineImport
|
|
263
305
|
};
|
|
264
|
-
//# sourceMappingURL=chunk-
|
|
306
|
+
//# sourceMappingURL=chunk-IMU3T4B3.js.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_BRANCH_LABEL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2XRO4TQP.js";
|
|
4
4
|
import {
|
|
5
5
|
assertOneName
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CUVZ3RT5.js";
|
|
7
7
|
import {
|
|
8
8
|
LookupFailedError,
|
|
9
9
|
isUnansweredLookup,
|
|
10
10
|
lookupFailed,
|
|
11
11
|
unansweredCause
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-F7YMUAEI.js";
|
|
13
13
|
import {
|
|
14
14
|
findRelease
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-X7BDJ6WU.js";
|
|
16
16
|
import {
|
|
17
17
|
contextFlags
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5MVSDE67.js";
|
|
19
19
|
import {
|
|
20
20
|
fetchOrExplain,
|
|
21
21
|
parseJsonAnswer,
|
|
22
22
|
safeHttpFailure
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ABC7LY6Q.js";
|
|
24
24
|
import {
|
|
25
25
|
UsageError,
|
|
26
26
|
safeText
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VZIGBEF4.js";
|
|
28
28
|
|
|
29
29
|
// src/deploy/audit-log.ts
|
|
30
30
|
var TIMEOUT_MS = 3e4;
|
|
@@ -215,4 +215,4 @@ export {
|
|
|
215
215
|
readUnanswered,
|
|
216
216
|
lookupRelease
|
|
217
217
|
};
|
|
218
|
-
//# sourceMappingURL=chunk-
|
|
218
|
+
//# sourceMappingURL=chunk-KSW6PW36.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exportWorkspaceBundle
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FWGPIQMW.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-F7YMUAEI.js";
|
|
14
14
|
import {
|
|
15
15
|
downloadRelease
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-X7BDJ6WU.js";
|
|
17
17
|
import {
|
|
18
18
|
backendDirIn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BISPJIDL.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-VZIGBEF4.js";
|
|
27
27
|
import {
|
|
28
28
|
calcSignatureJson
|
|
29
29
|
} from "./chunk-QDPY7RN3.js";
|
|
@@ -144,4 +144,4 @@ export {
|
|
|
144
144
|
gatedApiGroups,
|
|
145
145
|
asWorkspaceArchive
|
|
146
146
|
};
|
|
147
|
-
//# sourceMappingURL=chunk-
|
|
147
|
+
//# sourceMappingURL=chunk-KYZ6QCR3.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addDependency,
|
|
3
3
|
removeDependency
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-U66T5MAB.js";
|
|
5
5
|
import {
|
|
6
6
|
condenseNpmError,
|
|
7
7
|
npmViewVersion
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-FWD7AL6N.js";
|
|
12
12
|
import {
|
|
13
13
|
isLocalSpecifier
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IH6NGW5Z.js";
|
|
15
15
|
import {
|
|
16
16
|
addArgs,
|
|
17
17
|
installSite,
|
|
@@ -25,14 +25,14 @@ import {
|
|
|
25
25
|
moduleKind,
|
|
26
26
|
packageNameOf,
|
|
27
27
|
readInstalledManifest
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-UEY2ADOJ.js";
|
|
29
29
|
import {
|
|
30
30
|
UsageError,
|
|
31
31
|
spinner,
|
|
32
32
|
step,
|
|
33
33
|
success,
|
|
34
34
|
warn
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-VZIGBEF4.js";
|
|
36
36
|
|
|
37
37
|
// src/emit/init-modules.ts
|
|
38
38
|
import { existsSync, readFileSync, realpathSync } from "fs";
|
|
@@ -448,7 +448,7 @@ async function sdkPeerSkewOf(dir, pkg) {
|
|
|
448
448
|
const manifest = readInstalledManifest(dir, pkg);
|
|
449
449
|
if (manifest === null) return null;
|
|
450
450
|
const [{ sdkPeerSkew }, { readVersion }] = await Promise.all([
|
|
451
|
-
import("./toolchain-modules-
|
|
451
|
+
import("./toolchain-modules-V7AOUVZ3.js"),
|
|
452
452
|
import("./cli.js")
|
|
453
453
|
]);
|
|
454
454
|
const sdkVersion = readVersion();
|
|
@@ -480,4 +480,4 @@ export {
|
|
|
480
480
|
inProject,
|
|
481
481
|
installModules
|
|
482
482
|
};
|
|
483
|
-
//# sourceMappingURL=chunk-
|
|
483
|
+
//# sourceMappingURL=chunk-L37MTTU4.js.map
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hasString,
|
|
3
3
|
listAnswer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Q2ADIN5G.js";
|
|
5
5
|
import {
|
|
6
6
|
READ_AFTERMATH,
|
|
7
7
|
explainFetchFailure,
|
|
8
8
|
httpFailure,
|
|
9
|
-
readBodyText
|
|
10
|
-
|
|
9
|
+
readBodyText,
|
|
10
|
+
withUserAgentHeaders
|
|
11
|
+
} from "./chunk-ABC7LY6Q.js";
|
|
11
12
|
import {
|
|
12
13
|
detail,
|
|
13
14
|
info,
|
|
14
15
|
warn
|
|
15
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VZIGBEF4.js";
|
|
16
17
|
|
|
17
18
|
// src/deploy/microservice-status.ts
|
|
18
19
|
var TIMEOUT_MS = 3e4;
|
|
@@ -76,7 +77,7 @@ async function listMicroservices(auth, target, opts = {}) {
|
|
|
76
77
|
try {
|
|
77
78
|
res = await fetchFn(url, {
|
|
78
79
|
method: "GET",
|
|
79
|
-
headers: { accept: "application/json", Authorization: `Bearer ${auth.access_token}` },
|
|
80
|
+
headers: withUserAgentHeaders({ accept: "application/json", Authorization: `Bearer ${auth.access_token}` }),
|
|
80
81
|
signal: AbortSignal.timeout(TIMEOUT_MS)
|
|
81
82
|
});
|
|
82
83
|
} catch (err) {
|
|
@@ -168,4 +169,4 @@ export {
|
|
|
168
169
|
readyRatio,
|
|
169
170
|
printMicroserviceSection
|
|
170
171
|
};
|
|
171
|
-
//# sourceMappingURL=chunk-
|
|
172
|
+
//# sourceMappingURL=chunk-LAZUQLWU.js.map
|
|
@@ -124,9 +124,9 @@ var ALLOWABLE_WARNINGS = /* @__PURE__ */ (() => ({
|
|
|
124
124
|
"realtime.deliver-without-per-recipient",
|
|
125
125
|
"response.return-outside-type"
|
|
126
126
|
],
|
|
127
|
-
tool: [...STACK, ELICIT, "mcp.elicit-duplicate-key", "tool.output-mismatch", "tool.description-shadowed", "response.return-outside-type"],
|
|
128
|
-
prompt: [...STACK, ELICIT, "mcp.elicit-duplicate-key", "mcp.prompt-no-response", "response.return-outside-type"],
|
|
129
|
-
resource: [...STACK, ELICIT, "mcp.elicit-duplicate-key", "response.return-outside-type"],
|
|
127
|
+
tool: [TEST_LIVE, ...STACK, TEST_INPUT, ELICIT, "mcp.elicit-duplicate-key", "tool.output-mismatch", "tool.description-shadowed", "response.return-outside-type"],
|
|
128
|
+
prompt: [TEST_LIVE, ...STACK, TEST_INPUT, ELICIT, "mcp.elicit-duplicate-key", "mcp.prompt-no-response", "response.return-outside-type"],
|
|
129
|
+
resource: [TEST_LIVE, ...STACK, TEST_INPUT, ELICIT, "mcp.elicit-duplicate-key", "response.return-outside-type"],
|
|
130
130
|
agent: TOOLSET,
|
|
131
131
|
mcp_server: [...TOOLSET, "toolset.primitive-reads-auth-ungated"],
|
|
132
132
|
message: [...STACK, "realtime.deliver-explicit", "realtime.precondition-fails-open", "response.return-outside-type"],
|
|
@@ -340,4 +340,4 @@ export {
|
|
|
340
340
|
problemCount,
|
|
341
341
|
numberedList
|
|
342
342
|
};
|
|
343
|
-
//# sourceMappingURL=chunk-
|
|
343
|
+
//# sourceMappingURL=chunk-LEODZXR7.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exportWorkspaceBundle
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FWGPIQMW.js";
|
|
4
4
|
import {
|
|
5
5
|
confirm
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VBOCHX7Y.js";
|
|
7
7
|
import {
|
|
8
8
|
discloseCanonicalMoves,
|
|
9
9
|
movesClause,
|
|
10
10
|
releaseCanonicalMoves
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TSCO37LJ.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_BRANCH_LABEL,
|
|
14
14
|
deleteBranch,
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
liveBranchLabel,
|
|
18
18
|
requireBranch,
|
|
19
19
|
setLiveBranch
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2XRO4TQP.js";
|
|
21
21
|
import {
|
|
22
22
|
sectionKind
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-XNXZZU3W.js";
|
|
24
24
|
import {
|
|
25
25
|
assertOneName
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-CUVZ3RT5.js";
|
|
27
27
|
import {
|
|
28
28
|
getAccessToken
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-LOXVHC7B.js";
|
|
30
30
|
import {
|
|
31
31
|
pipedYes
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-Q5VLI567.js";
|
|
33
33
|
import {
|
|
34
34
|
contextFlags
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-5MVSDE67.js";
|
|
36
36
|
import {
|
|
37
37
|
shellWord
|
|
38
38
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
warn,
|
|
57
57
|
writeJson,
|
|
58
58
|
writeTargetPayload
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-VZIGBEF4.js";
|
|
60
60
|
import {
|
|
61
61
|
suggestAll
|
|
62
62
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -139,7 +139,7 @@ async function runBranchCommand(args) {
|
|
|
139
139
|
const workspaceId = auth.workspaceId;
|
|
140
140
|
const target = { baseUrl: auth.instance, workspaceId };
|
|
141
141
|
const { branches, unaddressable } = await listBranchListing(auth, target).catch(async (err) => {
|
|
142
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
142
|
+
const { unansweredRead } = await import("./source-resolve-TS2CWDZ6.js");
|
|
143
143
|
throw unansweredRead(err, `list the branches of workspace ${workspaceId}`, "workspace");
|
|
144
144
|
});
|
|
145
145
|
if (verb === "list") {
|
|
@@ -161,7 +161,7 @@ async function runBranchCommand(args) {
|
|
|
161
161
|
const meant = near.map((n) => `Did you mean "${safeText(n)}"? \`xanosdk workspace branch delete ${shellWord(n)}${again}\` deletes it, after asking to confirm.`);
|
|
162
162
|
const branchesLine = known !== "" ? [`Its branches: ${known}.`] : [];
|
|
163
163
|
if (near.length > 0) {
|
|
164
|
-
const { SourceError } = await import("./source-resolve-
|
|
164
|
+
const { SourceError } = await import("./source-resolve-TS2CWDZ6.js");
|
|
165
165
|
throw new SourceError([missed, ...meant, ...branchesLine].join("\n"), "gone", "workspace", near[0], near.length > 1 ? near : void 0);
|
|
166
166
|
}
|
|
167
167
|
warn(missed, "branch.not-found", branchesLine);
|
|
@@ -280,7 +280,7 @@ Check what is serving with \`xanosdk workspace branch list${contextFlags()}\`, t
|
|
|
280
280
|
}
|
|
281
281
|
if (args.expectLive !== void 0) {
|
|
282
282
|
const now = await listBranchListing(auth, target).catch(async (err) => {
|
|
283
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
283
|
+
const { unansweredRead } = await import("./source-resolve-TS2CWDZ6.js");
|
|
284
284
|
throw unansweredRead(err, `list the branches of workspace ${workspaceId}`, "workspace");
|
|
285
285
|
});
|
|
286
286
|
const drift = liveMismatch(now, args.expectLive);
|
|
@@ -424,4 +424,4 @@ export {
|
|
|
424
424
|
liveBranchMismatch,
|
|
425
425
|
staleSchemaRefs
|
|
426
426
|
};
|
|
427
|
-
//# sourceMappingURL=chunk-
|
|
427
|
+
//# sourceMappingURL=chunk-LJSYTEPF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readEphemeralState
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4EFBDSVU.js";
|
|
4
4
|
import {
|
|
5
5
|
OpenIdProvider,
|
|
6
6
|
addProfileHint,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
withCredentialLock,
|
|
31
31
|
writeCredentialFile,
|
|
32
32
|
writeOrRemoveCredentialFile
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-YDZJN26I.js";
|
|
34
34
|
import {
|
|
35
35
|
expandHome,
|
|
36
36
|
readPathEnvVar
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
POINTER_FILE,
|
|
40
40
|
findProjectPointer
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-TANRKGHA.js";
|
|
42
42
|
import {
|
|
43
43
|
registerSecret,
|
|
44
44
|
tokenTextProblem
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
noteResolvedAuth,
|
|
49
49
|
retryAfterSeconds,
|
|
50
50
|
serverMessage
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ABC7LY6Q.js";
|
|
52
52
|
import {
|
|
53
53
|
DEFAULT_PROFILE,
|
|
54
54
|
ENV_PROFILE,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
quotedNames,
|
|
71
71
|
safeText,
|
|
72
72
|
warn
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-VZIGBEF4.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-KNMGO3LZ.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
|
}
|
|
@@ -526,7 +526,7 @@ async function warnIfUnpinnedMachineDefault(file, selection, pin, saved, path) {
|
|
|
526
526
|
if (selection.source !== "file-default" && selection.source !== "implicit") return;
|
|
527
527
|
const stored = file === null ? [] : profileNames(file);
|
|
528
528
|
if (stored.length < 2) return;
|
|
529
|
-
const { projectDirFrom } = await import("./xanosdk-project-
|
|
529
|
+
const { projectDirFrom } = await import("./xanosdk-project-J5VAVLCA.js");
|
|
530
530
|
if (projectDirFrom(process.cwd()) === void 0) return;
|
|
531
531
|
const target = targetOf(saved);
|
|
532
532
|
credentialWarning(
|
|
@@ -890,4 +890,4 @@ export {
|
|
|
890
890
|
notSignedIn,
|
|
891
891
|
assertStoredAuthHost
|
|
892
892
|
};
|
|
893
|
-
//# sourceMappingURL=chunk-
|
|
893
|
+
//# sourceMappingURL=chunk-LOXVHC7B.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
isKindShaped,
|
|
8
8
|
parseSource,
|
|
9
9
|
sourceSpellings
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VZIGBEF4.js";
|
|
11
11
|
|
|
12
12
|
// src/emit/backend-slot.ts
|
|
13
13
|
function commandPath(command, subcommand) {
|
|
@@ -124,4 +124,4 @@ export {
|
|
|
124
124
|
refusedKind,
|
|
125
125
|
parseSlot
|
|
126
126
|
};
|
|
127
|
-
//# sourceMappingURL=chunk-
|
|
127
|
+
//# sourceMappingURL=chunk-M3DIFMJX.js.map
|