@xano/sdk 1.0.16 → 1.0.17
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 +19 -0
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-DBHTEFYM.js → agent-file-refresh-QTFMNYPY.js} +4 -4
- package/dist/{agent-skill-command-LHNTU7MH.js → agent-skill-command-XZVBG34H.js} +18 -18
- package/dist/{backend-dir-AXR43HNV.js → backend-dir-DCT3T6HP.js} +4 -4
- package/dist/bin.js +18 -18
- package/dist/{branch-commands-KGR52SZU.js → branch-commands-OEMOFAKC.js} +3 -3
- package/dist/{chunk-U4UAWGIT.js → chunk-2IC3K22K.js} +2 -2
- package/dist/{chunk-LWBGPPI5.js → chunk-3QQFP3AD.js} +7 -7
- package/dist/{chunk-YHT7TDSH.js → chunk-4LT5AVHF.js} +5 -5
- package/dist/{chunk-OLXYZQR7.js → chunk-573RRKNT.js} +2 -2
- package/dist/{chunk-R7DS2TRZ.js → chunk-5AVFVC22.js} +3 -3
- package/dist/{chunk-MBSHONP3.js → chunk-6DSA6W4O.js} +2 -2
- package/dist/{chunk-NQPPUNWP.js → chunk-7NKC4MBT.js} +3 -3
- package/dist/{chunk-AJQFUJEQ.js → chunk-ACFBRMCS.js} +2 -2
- package/dist/{chunk-4ZBXS7YN.js → chunk-ANUBTY3C.js} +2 -2
- package/dist/{chunk-Y3RH35KM.js → chunk-C6RBLPFY.js} +18 -18
- package/dist/{chunk-ZJQFKBX7.js → chunk-CNNGNK46.js} +4 -4
- package/dist/{chunk-IOWNQEMW.js → chunk-CWC6HE66.js} +14 -14
- package/dist/{chunk-S7MVI4W7.js → chunk-DNUU4IEM.js} +3 -3
- package/dist/{chunk-QCVH32T2.js → chunk-ES6FBPLY.js} +2 -2
- package/dist/{chunk-WVVUE7LU.js → chunk-FSHW3GQU.js} +1 -1
- package/dist/{chunk-IUJDUFT7.js → chunk-FYPTWYCU.js} +2 -2
- package/dist/{chunk-3ZV23FVR.js → chunk-GBPIFCWL.js} +2 -2
- package/dist/{chunk-57PGTPT3.js → chunk-GUC73LRA.js} +3 -3
- package/dist/{chunk-ZF4LCHCT.js → chunk-GYM22X2X.js} +2 -2
- package/dist/{chunk-EINZSVEU.js → chunk-H3R4PAOI.js} +2 -2
- package/dist/{chunk-QSJH5AFU.js → chunk-H5OM5G3O.js} +57 -57
- package/dist/{chunk-Q7KXMIR3.js → chunk-HM5X73PY.js} +2 -2
- package/dist/{chunk-DLD4FVRP.js → chunk-HMV2VGTU.js} +22 -22
- package/dist/{chunk-74YCPI4G.js → chunk-HXFUCPZO.js} +2 -2
- package/dist/{chunk-XKMZYU5B.js → chunk-J2KY2VNC.js} +21 -21
- package/dist/{chunk-WXQ7BHVQ.js → chunk-LWGCUB2A.js} +2 -2
- package/dist/{chunk-ZZC5VSLP.js → chunk-LXJ72GY2.js} +2 -2
- package/dist/{chunk-KGHJ74HF.js → chunk-M2IB6N4V.js} +2 -2
- package/dist/{chunk-NJVY3GAX.js → chunk-NDRIMFSH.js} +1 -1
- package/dist/{chunk-YJXJOMXW.js → chunk-NLWYNVJV.js} +2 -2
- package/dist/{chunk-23GEFHRX.js → chunk-O2BLNQEC.js} +2 -2
- package/dist/{chunk-TXU34ELY.js → chunk-PCY4IPXK.js} +12 -12
- package/dist/{chunk-VAQPQXOI.js → chunk-PODT53SQ.js} +2 -2
- package/dist/{chunk-LLBEPJBO.js → chunk-Q3CBDXKL.js} +2 -2
- package/dist/{chunk-4XYXUK5H.js → chunk-Q4LJCCH5.js} +4 -4
- package/dist/{chunk-GRZ62LLU.js → chunk-QTOW6YXL.js} +2 -2
- package/dist/{chunk-OQNYZ2OM.js → chunk-QYZSNN35.js} +1 -1
- package/dist/{chunk-L3Q2QYIQ.js → chunk-R7Y6S7FF.js} +39 -39
- package/dist/{chunk-ISIZFK5Q.js → chunk-RH3NQTGQ.js} +2 -2
- package/dist/{chunk-47XIVDJ6.js → chunk-V4466NNS.js} +2 -2
- package/dist/{chunk-C7AYP4H6.js → chunk-WDN4QIJ4.js} +6 -6
- package/dist/{chunk-L2O5KG5Q.js → chunk-WGGATSIP.js} +2 -2
- package/dist/{chunk-YPLHVRMS.js → chunk-WLZSKD7E.js} +2 -2
- package/dist/{chunk-HXPQXCOZ.js → chunk-Z73I7Q2H.js} +2 -2
- package/dist/{chunk-DJMGDCVX.js → chunk-ZQUBCGGR.js} +2 -2
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +17 -17
- package/dist/{codegen-command-NAY6YAOD.js → codegen-command-HCHTNHDF.js} +25 -25
- package/dist/{deploy-command-PBM3S4ZL.js → deploy-command-LYZ76OBA.js} +21 -21
- package/dist/{deploy-source-JW7DAN75.js → deploy-source-AJESF6J2.js} +7 -7
- package/dist/{dev-env-sync-FHJTFH3V.js → dev-env-sync-PZEIRCFC.js} +18 -18
- package/dist/{emit-t-gDE1BL.d.ts → emit-DlOKIJER.d.ts} +4 -3
- package/dist/{env-example-refresh-HHEGMFNH.js → env-example-refresh-HLE2HRV4.js} +26 -26
- package/dist/{env-pull-command-FFPNRVWD.js → env-pull-command-OTTZHTLK.js} +13 -13
- package/dist/{env-target-XHVRZXHX.js → env-target-VXOMKCMO.js} +2 -2
- package/dist/{env-var-command-DJS62YRR.js → env-var-command-TDVSO3JY.js} +13 -13
- package/dist/{ephemeral-command-VLQIQ5TS.js → ephemeral-command-AX5TRR23.js} +14 -14
- package/dist/{generate-command-PSDIIOTU.js → generate-command-LMSKMR4J.js} +29 -29
- package/dist/{gitignore-PMJ6MFNA.js → gitignore-GKM5G2DJ.js} +6 -6
- package/dist/{guards-YICHJKX3.js → guards-LQ7PSXOL.js} +3 -3
- package/dist/{impersonate-command-IKV4KUYA.js → impersonate-command-QTEOBL5N.js} +9 -9
- package/dist/index.d.ts +49 -5
- package/dist/index.js +7 -7
- package/dist/{init-command-LEQIE6GC.js → init-command-OMZVE54Z.js} +20 -20
- package/dist/{init-modules-G47Q7ABV.js → init-modules-OTISW6LL.js} +2 -2
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +9 -8
- package/dist/{keep-data-merge-XCPCX7BZ.js → keep-data-merge-ECLY5DYP.js} +7 -7
- package/dist/{landing-record-JQ7HZDGI.js → landing-record-RVE5WLFS.js} +5 -5
- package/dist/{local-engine-choice-DFAMYOIF.js → local-engine-choice-CMG5V7RL.js} +8 -8
- package/dist/{local-engine-command-5RP2J5QZ.js → local-engine-command-UMY37AZL.js} +9 -9
- package/dist/{local-engine-mcp-command-JSYVVZKK.js → local-engine-mcp-command-AV2T3U4B.js} +9 -9
- package/dist/{lock-commands-7VO6YWOV.js → lock-commands-PSKHBOKS.js} +18 -18
- package/dist/{login-command-WTZUBCW6.js → login-command-M7RKU3DR.js} +9 -9
- package/dist/{logout-command-5BJUNK3C.js → logout-command-DAC3XKLT.js} +3 -3
- package/dist/{marketplace-command-NMOH4XOV.js → marketplace-command-2M33OTSN.js} +13 -13
- package/dist/{meta-client-MRAMWUKV.js → meta-client-FC4DWPAC.js} +2 -2
- package/dist/node.d.ts +4 -4
- package/dist/node.js +22 -22
- package/dist/{operation-outcome-WK7UW6PJ.js → operation-outcome-3V4G7QD3.js} +4 -4
- package/dist/{output-target-5PYRCCK4.js → output-target-LTU4L3IA.js} +7 -7
- package/dist/{preflight-command-3BX2WW3S.js → preflight-command-724B7Y73.js} +23 -23
- package/dist/{profile-command-GSUX3UMB.js → profile-command-REIJ4F3Y.js} +10 -10
- package/dist/{promote-command-3LQTXWCD.js → promote-command-5FK2NFHG.js} +33 -33
- package/dist/{publish-command-3BQCV4NE.js → publish-command-VEDUWLVB.js} +21 -21
- package/dist/{pull-command-B7OVWTZD.js → pull-command-UXNEJSDI.js} +27 -27
- package/dist/{release-command-XSDICMJE.js → release-command-BCKJ4BUN.js} +24 -24
- package/dist/{release-ns-command-EVAHK4CU.js → release-ns-command-VFI4PPSX.js} +37 -37
- package/dist/{routes-manifest-file-LDUDIVFJ.js → routes-manifest-file-R3JLJ5CA.js} +2 -2
- package/dist/{secrets-file-7XWR7HW3.js → secrets-file-GF46TDY7.js} +5 -5
- package/dist/{secrets-fill-command-NKCGC75L.js → secrets-fill-command-HKNROT6W.js} +20 -20
- package/dist/{seed-YKTZDS2Q.js → seed-W5FNE6IB.js} +3 -3
- package/dist/{source-resolve-CQGDFQQC.js → source-resolve-QYSVNJMY.js} +3 -3
- package/dist/{status-command-TBMQ3GJP.js → status-command-RLXDDCZA.js} +12 -12
- package/dist/{store-in7gSpMS.d.ts → store-Dg9FLJkx.d.ts} +1 -1
- package/dist/{sync-contributions-RKPLZPPO.js → sync-contributions-BV7DFWBZ.js} +2 -2
- package/dist/{table-ONGT3JGE.js → table-WJ7YDJ6Q.js} +3 -3
- package/dist/{tables-command-UYQ277TJ.js → tables-command-EXHXLLN6.js} +12 -12
- package/dist/{tenant-command-7LWZUK2V.js → tenant-command-D5H7MR3C.js} +39 -39
- package/dist/{test-command-7KTT5EAF.js → test-command-ORMWZXC3.js} +10 -10
- package/dist/{token-3TCMW2AP.js → token-EFSD6WSQ.js} +2 -2
- package/dist/{toolchain-modules-PBVBCPQJ.js → toolchain-modules-BC37MYYD.js} +2 -2
- package/dist/{tracked-backend-YDUUQZQF.js → tracked-backend-IPEGNGNI.js} +9 -9
- package/dist/{update-check-C6KDFGMT.js → update-check-4YTFF7NB.js} +19 -19
- package/dist/{upgrade-command-ZSBTSMBR.js → upgrade-command-J4CPYEGO.js} +21 -21
- package/dist/{whoami-command-L6ERHR5K.js → whoami-command-XGVTKQSL.js} +4 -4
- package/dist/{workspace-5DPSDM4A.js → workspace-JGUNVFRE.js} +2 -2
- package/dist/{workspace-binding-MVOWGNYW.js → workspace-binding-MQ2QIWOJ.js} +3 -3
- package/dist/{workspace-command-PKQ5TDR7.js → workspace-command-LSEG62RA.js} +37 -37
- package/dist/{workspace-env-UZJZUIYV.js → workspace-env-7U7OLRUO.js} +5 -5
- package/dist/{xano-YB6Y2IJS.js → xano-RLSNDM7O.js} +4 -4
- package/dist/{xanosdk-import-HHMQDK2I.js → xanosdk-import-Y5SBF4LP.js} +2 -2
- package/dist/{xanosdk-project-CKEUNJU4.js → xanosdk-project-5XARMFZ7.js} +5 -5
- package/llms/fields.md +3 -2
- package/llms/triggers.md +1 -1
- package/llms-full.txt +5 -4
- package/llms.txt +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,25 @@ one release and links to its full notes.
|
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
## 1.0.16 — Fewer silent failures
|
|
12
|
+
|
|
13
|
+
_2026-10-23_ · [release notes](https://github.com/xano-sdk/sdk/releases/tag/v1.0.16)
|
|
14
|
+
|
|
15
|
+
This release is about failures that used to pass quietly. The compiler now refuses shapes the engine runs wrong, `export()` warns on about 30 more patterns that deploy fine and then misbehave, and the types now match what the engine actually binds. The grounding docs were fact-checked and shortened. Some calls that compiled before now fail to type-check or throw at build; each one was a runtime 500 or a wrong answer.
|
|
16
|
+
|
|
17
|
+
- ⚠️ A `where` must be a comparison, and `auth()` needs a path
|
|
18
|
+
- ⚠️ Types now match what the engine binds
|
|
19
|
+
- `export()` warns on about 30 more silent-failure shapes
|
|
20
|
+
- `s.realtime.kick` evicts a revoked member
|
|
21
|
+
- `s.throw` takes a `status`
|
|
22
|
+
- `xanosdk local update` downloads a current pin the machine lacks
|
|
23
|
+
- `s.api.request` accepts `method: "QUERY"`
|
|
24
|
+
- `routes.gen.ts` exports a dependency-free `routeQuery()`
|
|
25
|
+
- `s.util.send_email`'s built-in provider sends only to the workspace owner
|
|
26
|
+
- Grounding docs fact-checked and condensed
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
11
30
|
## 1.0.15 — Statements that can run
|
|
12
31
|
|
|
13
32
|
_2026-10-18_ · [release notes](https://github.com/xano-sdk/sdk/releases/tag/v1.0.15)
|
package/dist/.build-fingerprint
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
73ee2a72b1bd1c11fb3686883e26265936dab2bbf20a966e8a29def3969d8f4e
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
codingAgentDetected,
|
|
4
4
|
isCI,
|
|
5
5
|
refreshAgentFiles
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-H3R4PAOI.js";
|
|
7
|
+
import "./chunk-RH3NQTGQ.js";
|
|
8
|
+
import "./chunk-M2IB6N4V.js";
|
|
9
9
|
import "./chunk-XAE4NIZ2.js";
|
|
10
10
|
import "./chunk-ZFDZKNGG.js";
|
|
11
11
|
import "./chunk-FWD7AL6N.js";
|
|
@@ -37,4 +37,4 @@ export {
|
|
|
37
37
|
isCI,
|
|
38
38
|
refreshAgentFiles
|
|
39
39
|
};
|
|
40
|
-
//# sourceMappingURL=agent-file-refresh-
|
|
40
|
+
//# sourceMappingURL=agent-file-refresh-QTFMNYPY.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readVersion
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-H5OM5G3O.js";
|
|
4
4
|
import "./chunk-PRSNMSVG.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-5AVFVC22.js";
|
|
6
|
+
import "./chunk-3QQFP3AD.js";
|
|
7
7
|
import "./chunk-MOVRSULZ.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-V4466NNS.js";
|
|
9
9
|
import "./chunk-UH5VQGNR.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-FYPTWYCU.js";
|
|
11
11
|
import "./chunk-GA6HTO3O.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-GUC73LRA.js";
|
|
13
|
+
import "./chunk-LWGCUB2A.js";
|
|
14
14
|
import "./chunk-5Y5HWQ2P.js";
|
|
15
15
|
import "./chunk-F3IA3YWI.js";
|
|
16
16
|
import "./chunk-LCOCRJ4K.js";
|
|
@@ -19,9 +19,9 @@ import "./chunk-G2XSDIYS.js";
|
|
|
19
19
|
import "./chunk-2MNLRIOX.js";
|
|
20
20
|
import "./chunk-7UQZ7C4W.js";
|
|
21
21
|
import "./chunk-7ZVQIKNL.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-H3R4PAOI.js";
|
|
23
23
|
import "./chunk-V2MIBJZU.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-PODT53SQ.js";
|
|
25
25
|
import "./chunk-WGKKDGSA.js";
|
|
26
26
|
import "./chunk-ZYJP6BOO.js";
|
|
27
27
|
import "./chunk-QO6BVGS5.js";
|
|
@@ -34,11 +34,11 @@ import "./chunk-AJBOGO5U.js";
|
|
|
34
34
|
import {
|
|
35
35
|
expandHome
|
|
36
36
|
} from "./chunk-EUUUMY7J.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-NLWYNVJV.js";
|
|
38
38
|
import {
|
|
39
39
|
AGENT_RULE_BACKENDS
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-RH3NQTGQ.js";
|
|
41
|
+
import "./chunk-M2IB6N4V.js";
|
|
42
42
|
import "./chunk-XAE4NIZ2.js";
|
|
43
43
|
import "./chunk-ZFDZKNGG.js";
|
|
44
44
|
import "./chunk-FWD7AL6N.js";
|
|
@@ -46,7 +46,7 @@ import "./chunk-YYBBJPCL.js";
|
|
|
46
46
|
import "./chunk-DXUICABI.js";
|
|
47
47
|
import "./chunk-NH5Z2NOD.js";
|
|
48
48
|
import "./chunk-4KHEMC32.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-WGGATSIP.js";
|
|
50
50
|
import "./chunk-2H5BQRHF.js";
|
|
51
51
|
import "./chunk-DNBP4GJN.js";
|
|
52
52
|
import "./chunk-XDGLYIB2.js";
|
|
@@ -74,19 +74,19 @@ import {
|
|
|
74
74
|
unknownSubcommand,
|
|
75
75
|
writeJson
|
|
76
76
|
} from "./chunk-ZHFSIQ6E.js";
|
|
77
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-Q4LJCCH5.js";
|
|
78
78
|
import "./chunk-52QAENY6.js";
|
|
79
79
|
import "./chunk-RKTVXFBV.js";
|
|
80
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-O2BLNQEC.js";
|
|
81
81
|
import "./chunk-TPUAXIPR.js";
|
|
82
82
|
import "./chunk-QDPY7RN3.js";
|
|
83
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-Z73I7Q2H.js";
|
|
84
84
|
import "./chunk-4EVDCSEY.js";
|
|
85
85
|
import "./chunk-RLQX6LHW.js";
|
|
86
86
|
import "./chunk-U56HK2RG.js";
|
|
87
87
|
import "./chunk-WAP5362D.js";
|
|
88
88
|
import "./chunk-GSGDWJB5.js";
|
|
89
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-FSHW3GQU.js";
|
|
90
90
|
import "./chunk-ERVIASGL.js";
|
|
91
91
|
import "./chunk-JHAZK4RY.js";
|
|
92
92
|
import "./chunk-H2V3N23D.js";
|
|
@@ -413,4 +413,4 @@ function report(verb, outcomes, args) {
|
|
|
413
413
|
export {
|
|
414
414
|
runAgentSkillCommand
|
|
415
415
|
};
|
|
416
|
-
//# sourceMappingURL=agent-skill-command-
|
|
416
|
+
//# sourceMappingURL=agent-skill-command-XZVBG34H.js.map
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
backendDirFor,
|
|
3
3
|
backendDirIn,
|
|
4
4
|
resolveBackendDir
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-NLWYNVJV.js";
|
|
6
|
+
import "./chunk-RH3NQTGQ.js";
|
|
7
|
+
import "./chunk-M2IB6N4V.js";
|
|
8
8
|
import "./chunk-XAE4NIZ2.js";
|
|
9
9
|
import "./chunk-ZFDZKNGG.js";
|
|
10
10
|
import "./chunk-FWD7AL6N.js";
|
|
@@ -38,4 +38,4 @@ export {
|
|
|
38
38
|
projectRootFrom,
|
|
39
39
|
resolveBackendDir
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=backend-dir-
|
|
41
|
+
//# sourceMappingURL=backend-dir-DCT3T6HP.js.map
|
package/dist/bin.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
maybeNotifyUpdate
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GYM22X2X.js";
|
|
5
5
|
import "./chunk-Q6AKSLD2.js";
|
|
6
6
|
import "./chunk-2TFRR6JV.js";
|
|
7
7
|
import {
|
|
8
8
|
readVersion,
|
|
9
9
|
run
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-H5OM5G3O.js";
|
|
11
11
|
import "./chunk-PRSNMSVG.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-5AVFVC22.js";
|
|
13
|
+
import "./chunk-3QQFP3AD.js";
|
|
14
14
|
import "./chunk-MOVRSULZ.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-V4466NNS.js";
|
|
16
16
|
import "./chunk-UH5VQGNR.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-FYPTWYCU.js";
|
|
18
18
|
import "./chunk-GA6HTO3O.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-GUC73LRA.js";
|
|
20
|
+
import "./chunk-LWGCUB2A.js";
|
|
21
21
|
import "./chunk-5Y5HWQ2P.js";
|
|
22
22
|
import "./chunk-F3IA3YWI.js";
|
|
23
23
|
import "./chunk-LCOCRJ4K.js";
|
|
@@ -26,9 +26,9 @@ import "./chunk-G2XSDIYS.js";
|
|
|
26
26
|
import "./chunk-2MNLRIOX.js";
|
|
27
27
|
import "./chunk-7UQZ7C4W.js";
|
|
28
28
|
import "./chunk-7ZVQIKNL.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-H3R4PAOI.js";
|
|
30
30
|
import "./chunk-V2MIBJZU.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-PODT53SQ.js";
|
|
32
32
|
import "./chunk-WGKKDGSA.js";
|
|
33
33
|
import "./chunk-ZYJP6BOO.js";
|
|
34
34
|
import "./chunk-QO6BVGS5.js";
|
|
@@ -39,9 +39,9 @@ import "./chunk-622HUCZT.js";
|
|
|
39
39
|
import "./chunk-ZYZ7GRX3.js";
|
|
40
40
|
import "./chunk-AJBOGO5U.js";
|
|
41
41
|
import "./chunk-EUUUMY7J.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-NLWYNVJV.js";
|
|
43
|
+
import "./chunk-RH3NQTGQ.js";
|
|
44
|
+
import "./chunk-M2IB6N4V.js";
|
|
45
45
|
import "./chunk-XAE4NIZ2.js";
|
|
46
46
|
import "./chunk-ZFDZKNGG.js";
|
|
47
47
|
import "./chunk-FWD7AL6N.js";
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
landedStep,
|
|
54
54
|
pendingWrite
|
|
55
55
|
} from "./chunk-4KHEMC32.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-WGGATSIP.js";
|
|
57
57
|
import "./chunk-2H5BQRHF.js";
|
|
58
58
|
import "./chunk-DNBP4GJN.js";
|
|
59
59
|
import "./chunk-XDGLYIB2.js";
|
|
@@ -90,19 +90,19 @@ import {
|
|
|
90
90
|
reportFailure,
|
|
91
91
|
success
|
|
92
92
|
} from "./chunk-ZHFSIQ6E.js";
|
|
93
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-Q4LJCCH5.js";
|
|
94
94
|
import "./chunk-52QAENY6.js";
|
|
95
95
|
import "./chunk-RKTVXFBV.js";
|
|
96
|
-
import "./chunk-
|
|
96
|
+
import "./chunk-O2BLNQEC.js";
|
|
97
97
|
import "./chunk-TPUAXIPR.js";
|
|
98
98
|
import "./chunk-QDPY7RN3.js";
|
|
99
|
-
import "./chunk-
|
|
99
|
+
import "./chunk-Z73I7Q2H.js";
|
|
100
100
|
import "./chunk-4EVDCSEY.js";
|
|
101
101
|
import "./chunk-RLQX6LHW.js";
|
|
102
102
|
import "./chunk-U56HK2RG.js";
|
|
103
103
|
import "./chunk-WAP5362D.js";
|
|
104
104
|
import "./chunk-GSGDWJB5.js";
|
|
105
|
-
import "./chunk-
|
|
105
|
+
import "./chunk-FSHW3GQU.js";
|
|
106
106
|
import "./chunk-ERVIASGL.js";
|
|
107
107
|
import "./chunk-JHAZK4RY.js";
|
|
108
108
|
import "./chunk-H2V3N23D.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
runBranchCommand,
|
|
5
5
|
shownLabel,
|
|
6
6
|
staleSchemaRefs
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4LT5AVHF.js";
|
|
8
8
|
import "./chunk-AICWDCLJ.js";
|
|
9
9
|
import "./chunk-UDW2KAVF.js";
|
|
10
10
|
import "./chunk-SOAZIMWL.js";
|
|
@@ -15,7 +15,7 @@ import "./chunk-54CJ74BH.js";
|
|
|
15
15
|
import "./chunk-RIT3WBBX.js";
|
|
16
16
|
import "./chunk-PRSNMSVG.js";
|
|
17
17
|
import "./chunk-UH5VQGNR.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-GUC73LRA.js";
|
|
19
19
|
import "./chunk-G2XSDIYS.js";
|
|
20
20
|
import "./chunk-2MNLRIOX.js";
|
|
21
21
|
import "./chunk-7UQZ7C4W.js";
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
shownLabel,
|
|
78
78
|
staleSchemaRefs
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=branch-commands-
|
|
80
|
+
//# sourceMappingURL=branch-commands-OEMOFAKC.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
HEADER_NAME,
|
|
4
4
|
generated,
|
|
5
5
|
literalText
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z73I7Q2H.js";
|
|
7
7
|
import {
|
|
8
8
|
fl
|
|
9
9
|
} from "./chunk-RLQX6LHW.js";
|
|
@@ -242,4 +242,4 @@ export {
|
|
|
242
242
|
TEST_EXPECT_TYPES,
|
|
243
243
|
expect
|
|
244
244
|
};
|
|
245
|
-
//# sourceMappingURL=chunk-
|
|
245
|
+
//# sourceMappingURL=chunk-2IC3K22K.js.map
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
LookupFailedError,
|
|
6
6
|
SourceError,
|
|
7
7
|
resolveSource
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-V4466NNS.js";
|
|
9
9
|
import {
|
|
10
10
|
isProjectDir
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FYPTWYCU.js";
|
|
12
12
|
import {
|
|
13
13
|
NotSignedInError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GUC73LRA.js";
|
|
15
15
|
import {
|
|
16
16
|
otherCredentialRefusal
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LWGCUB2A.js";
|
|
18
18
|
import {
|
|
19
19
|
getEngineRecord
|
|
20
20
|
} from "./chunk-5Y5HWQ2P.js";
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
} from "./chunk-AJBOGO5U.js";
|
|
48
48
|
import {
|
|
49
49
|
backendDirIn
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-NLWYNVJV.js";
|
|
51
51
|
import {
|
|
52
52
|
UsageError,
|
|
53
53
|
displayPath,
|
|
@@ -86,7 +86,7 @@ async function selectBackend(slot, raw, ctx) {
|
|
|
86
86
|
}
|
|
87
87
|
const decided = decide({ cwd, pointer, state, scope, engineRecorded: getEngineRecord(cwd, env) !== void 0 }, slot);
|
|
88
88
|
if ("refusal" in decided) {
|
|
89
|
-
const { reachableFirst } = await import("./env-target-
|
|
89
|
+
const { reachableFirst } = await import("./env-target-VXOMKCMO.js");
|
|
90
90
|
throw await reachableFirst(decided.refusal, scope);
|
|
91
91
|
}
|
|
92
92
|
refuseUnservable(slot, decided.kind);
|
|
@@ -368,4 +368,4 @@ export {
|
|
|
368
368
|
NothingTrackedError,
|
|
369
369
|
nestedBackendEntries
|
|
370
370
|
};
|
|
371
|
-
//# sourceMappingURL=chunk-
|
|
371
|
+
//# sourceMappingURL=chunk-3QQFP3AD.js.map
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-PRSNMSVG.js";
|
|
27
27
|
import {
|
|
28
28
|
getAccessToken
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-GUC73LRA.js";
|
|
30
30
|
import {
|
|
31
31
|
pipedYes
|
|
32
32
|
} from "./chunk-GJZMKMWO.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-QYSVNJMY.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-QYSVNJMY.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-QYSVNJMY.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-4LT5AVHF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ENV_WORKSPACE
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GUC73LRA.js";
|
|
4
4
|
import {
|
|
5
5
|
credentialFileOf
|
|
6
6
|
} from "./chunk-ZYZ7GRX3.js";
|
|
@@ -162,4 +162,4 @@ export {
|
|
|
162
162
|
rerunInWorkspace,
|
|
163
163
|
heldElsewhereError
|
|
164
164
|
};
|
|
165
|
-
//# sourceMappingURL=chunk-
|
|
165
|
+
//# sourceMappingURL=chunk-573RRKNT.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backendDirFor,
|
|
3
3
|
backendDirIn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NLWYNVJV.js";
|
|
5
5
|
import {
|
|
6
6
|
XANO_DIR
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RH3NQTGQ.js";
|
|
8
8
|
import {
|
|
9
9
|
projectRootFrom
|
|
10
10
|
} from "./chunk-HU7F56VF.js";
|
|
@@ -258,4 +258,4 @@ export {
|
|
|
258
258
|
namesInEnvExample,
|
|
259
259
|
renderWorkspaceEnvFile
|
|
260
260
|
};
|
|
261
|
-
//# sourceMappingURL=chunk-
|
|
261
|
+
//# sourceMappingURL=chunk-5AVFVC22.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
classifyFailure
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZQUBCGGR.js";
|
|
4
4
|
import {
|
|
5
5
|
describeWrite
|
|
6
6
|
} from "./chunk-4KHEMC32.js";
|
|
@@ -253,4 +253,4 @@ export {
|
|
|
253
253
|
OperationError,
|
|
254
254
|
runOperation
|
|
255
255
|
};
|
|
256
|
-
//# sourceMappingURL=chunk-
|
|
256
|
+
//# sourceMappingURL=chunk-6DSA6W4O.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
envExampleNames
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J2KY2VNC.js";
|
|
4
4
|
import {
|
|
5
5
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
6
6
|
renderWorkspaceEnvExample
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5AVFVC22.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-7NKC4MBT.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveProjectEntry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DNUU4IEM.js";
|
|
4
4
|
import {
|
|
5
5
|
isUnusablePin,
|
|
6
6
|
readPin,
|
|
@@ -170,4 +170,4 @@ export {
|
|
|
170
170
|
pinAfterAcquire,
|
|
171
171
|
pinWrittenText
|
|
172
172
|
};
|
|
173
|
-
//# sourceMappingURL=chunk-
|
|
173
|
+
//# sourceMappingURL=chunk-ACFBRMCS.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-ZYZ7GRX3.js";
|
|
16
16
|
import {
|
|
17
17
|
backendDirIn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NLWYNVJV.js";
|
|
19
19
|
import {
|
|
20
20
|
destinationKey,
|
|
21
21
|
isEphemeralDestinationKey,
|
|
@@ -260,4 +260,4 @@ export {
|
|
|
260
260
|
holdsLanding,
|
|
261
261
|
forgetLanding
|
|
262
262
|
};
|
|
263
|
-
//# sourceMappingURL=chunk-
|
|
263
|
+
//# sourceMappingURL=chunk-ANUBTY3C.js.map
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk-AICWDCLJ.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureWorkspaceEnvGitignored
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LXJ72GY2.js";
|
|
10
10
|
import {
|
|
11
11
|
readVersion
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-H5OM5G3O.js";
|
|
13
13
|
import {
|
|
14
14
|
WORKSPACE_ENV_EXAMPLE_FILE,
|
|
15
15
|
renderWorkspaceEnvExample
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5AVFVC22.js";
|
|
17
17
|
import {
|
|
18
18
|
parseSlot,
|
|
19
19
|
requireBackendSlot
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
existingProjectClashes,
|
|
27
27
|
isNonEmptyDir,
|
|
28
28
|
scaffoldProject
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RH3NQTGQ.js";
|
|
30
30
|
import {
|
|
31
31
|
inProject,
|
|
32
32
|
installModules,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
preflightPackages,
|
|
35
35
|
rebaseLocalSpec,
|
|
36
36
|
renderXanoIndexWithModules
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-M2IB6N4V.js";
|
|
38
38
|
import {
|
|
39
39
|
npmViewVersion
|
|
40
40
|
} from "./chunk-ZFDZKNGG.js";
|
|
@@ -725,7 +725,7 @@ async function runInitCommand(args) {
|
|
|
725
725
|
}
|
|
726
726
|
const source = resolveFromSource(args.from);
|
|
727
727
|
if (source.kind === "file") await refuseUnknownProfileFlag(args, resolve(args.positionals[0] ?? "."));
|
|
728
|
-
const { runInitFromCommand } = await import("./codegen-command-
|
|
728
|
+
const { runInitFromCommand } = await import("./codegen-command-HCHTNHDF.js");
|
|
729
729
|
return runInitFromCommand(args, source);
|
|
730
730
|
}
|
|
731
731
|
rejectPullOnlyFlags(args);
|
|
@@ -789,7 +789,7 @@ async function runInitCommand(args) {
|
|
|
789
789
|
}
|
|
790
790
|
let scaffolded = false;
|
|
791
791
|
try {
|
|
792
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
792
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-BC37MYYD.js");
|
|
793
793
|
const toolchain = await discoverToolchainPlugins(targetDir, { frozen: false, configuring: true });
|
|
794
794
|
const preset = flagFrontend !== void 0 ? flagFrontend : await resolveFrontendPreset(args.framework);
|
|
795
795
|
if (preset === null && flagFrontend === void 0) refuseFrontendOnlyFlags(args, "no frontend was chosen");
|
|
@@ -924,7 +924,7 @@ async function runInitCommand(args) {
|
|
|
924
924
|
const { skewedProjectSdk } = await import("./project-sdk-DKZBK5H5.js");
|
|
925
925
|
const installedSdk = skewedProjectSdk(targetDir, readVersion());
|
|
926
926
|
if (installedSdk !== void 0) {
|
|
927
|
-
const { reconcileWithInstalled } = await import("./upgrade-command-
|
|
927
|
+
const { reconcileWithInstalled } = await import("./upgrade-command-J4CPYEGO.js");
|
|
928
928
|
const rendered = reconcileWithInstalled(targetDir);
|
|
929
929
|
if (rendered.length > 0) {
|
|
930
930
|
info(`Rendered ${rendered.join(", ")} with the installed @xano/sdk ${installedSdk.version} (this CLI is ${readVersion()}).`);
|
|
@@ -1062,20 +1062,20 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv, toolchain) {
|
|
|
1062
1062
|
const routesPath = join(targetDir, ROUTES_REL);
|
|
1063
1063
|
try {
|
|
1064
1064
|
const { loadDefault, checkStandInTokens } = await import("./cli.js");
|
|
1065
|
-
const { Xano } = await import("./xano-
|
|
1065
|
+
const { Xano } = await import("./xano-RLSNDM7O.js");
|
|
1066
1066
|
const { createLockContext, lockKey, mergeObserved } = await import("./lock-JBKTDEDO.js");
|
|
1067
1067
|
const { resetLockOverrides, seedLockOverrides } = await import("./store-6VNCD4D7.js");
|
|
1068
1068
|
const { readLockFile, writeLockFile } = await import("./io-47TFRYDB.js");
|
|
1069
1069
|
const { setDiagnosticSink } = await import("./diagnostics-T3RN3372.js");
|
|
1070
1070
|
const { planRouteManifest } = await import("./routes-manifest-N73THJB3.js");
|
|
1071
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
1072
|
-
const { isEnabled } = await import("./toolchain-modules-
|
|
1071
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-R3JLJ5CA.js");
|
|
1072
|
+
const { isEnabled } = await import("./toolchain-modules-BC37MYYD.js");
|
|
1073
1073
|
const existing = existsSync(lockPath) ? readLockFile(lockPath) : void 0;
|
|
1074
1074
|
resetLockOverrides();
|
|
1075
1075
|
if (existing !== void 0) seedLockOverrides(existing);
|
|
1076
1076
|
const ctx = createLockContext(existing);
|
|
1077
|
-
const { envNamesRead } = await import("./guards-
|
|
1078
|
-
const { refreshEnvExample } = await import("./env-example-refresh-
|
|
1077
|
+
const { envNamesRead } = await import("./guards-LQ7PSXOL.js");
|
|
1078
|
+
const { refreshEnvExample } = await import("./env-example-refresh-HLE2HRV4.js");
|
|
1079
1079
|
const def = await loadDefault(join(targetDir, XANO_DIR, "index.ts"));
|
|
1080
1080
|
if (!Xano.isXano(def)) return { written, env: declaredEnv };
|
|
1081
1081
|
const previousSink = setDiagnosticSink(() => {
|
|
@@ -1142,7 +1142,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1142
1142
|
const file = readCredentialFile(path);
|
|
1143
1143
|
const stored = file === null ? [] : profileNames(file);
|
|
1144
1144
|
if (stored.includes(name)) return;
|
|
1145
|
-
const { ProfileNotFoundError } = await import("./token-
|
|
1145
|
+
const { ProfileNotFoundError } = await import("./token-EFSD6WSQ.js");
|
|
1146
1146
|
const have = stored.length === 0 ? "Nothing is signed in on this machine." : `Stored profiles: ${quotedNames(stored)}.`;
|
|
1147
1147
|
throw new ProfileNotFoundError(
|
|
1148
1148
|
`No credential profile "${name}" in ${path} (from ${fromEnv ? `$${ENV_PROFILE}` : "--profile"}), so there is nothing to pin this project to. ${have} Run ${loginHint(name)} to add it, or name a stored one${fromEnv ? ` (or unset ${ENV_PROFILE})` : ""}.`,
|
|
@@ -1151,7 +1151,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1151
1151
|
);
|
|
1152
1152
|
}
|
|
1153
1153
|
async function envCredentialSet() {
|
|
1154
|
-
const { envMetaCredentialVarsSet } = await import("./token-
|
|
1154
|
+
const { envMetaCredentialVarsSet } = await import("./token-EFSD6WSQ.js");
|
|
1155
1155
|
return envMetaCredentialVarsSet().length > 0;
|
|
1156
1156
|
}
|
|
1157
1157
|
function loginNextStep(pin) {
|
|
@@ -1202,7 +1202,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1202
1202
|
};
|
|
1203
1203
|
}
|
|
1204
1204
|
if (opts.credentialRead === true) {
|
|
1205
|
-
const { environmentCredentialVars } = await import("./token-
|
|
1205
|
+
const { environmentCredentialVars } = await import("./token-EFSD6WSQ.js");
|
|
1206
1206
|
const env = environmentCredentialVars();
|
|
1207
1207
|
if (env.complete) {
|
|
1208
1208
|
return {
|
|
@@ -1225,7 +1225,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1225
1225
|
});
|
|
1226
1226
|
const stored = file === null ? [] : profileNames(file);
|
|
1227
1227
|
if (!stored.includes(selection.name)) {
|
|
1228
|
-
const env = stored.length === 0 ? (await import("./token-
|
|
1228
|
+
const env = stored.length === 0 ? (await import("./token-EFSD6WSQ.js")).environmentCredentialVars() : void 0;
|
|
1229
1229
|
const storeEnv = env?.complete === true ? await storeEnvCredentialCommand(credentialPath, targetDir) : "";
|
|
1230
1230
|
return {
|
|
1231
1231
|
name: null,
|
|
@@ -1317,4 +1317,4 @@ export {
|
|
|
1317
1317
|
runFiles,
|
|
1318
1318
|
planProfilePin
|
|
1319
1319
|
};
|
|
1320
|
-
//# sourceMappingURL=chunk-
|
|
1320
|
+
//# sourceMappingURL=chunk-C6RBLPFY.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
reachableLines,
|
|
4
4
|
readReachableWorkspaces,
|
|
5
5
|
workspaceIdFix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-573RRKNT.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialRejected,
|
|
9
9
|
getAccessToken
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GUC73LRA.js";
|
|
11
11
|
import {
|
|
12
12
|
CREDENTIAL_FILE_VERSION,
|
|
13
13
|
DEFAULT_AUTH_HOST,
|
|
@@ -183,7 +183,7 @@ function prettyProfile(p) {
|
|
|
183
183
|
}
|
|
184
184
|
async function runWhoamiCommand(args) {
|
|
185
185
|
const profile = await fetchProfile(args).catch(async (err) => {
|
|
186
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
186
|
+
const { unansweredRead } = await import("./source-resolve-QYSVNJMY.js");
|
|
187
187
|
throw unansweredRead(err, "read the signed-in user", "workspace");
|
|
188
188
|
});
|
|
189
189
|
if (isMachineOutput(args)) {
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
profileValue,
|
|
204
204
|
runWhoamiCommand
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=chunk-
|
|
206
|
+
//# sourceMappingURL=chunk-CNNGNK46.js.map
|