@xano/sdk 1.0.14 → 1.0.15
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 +13 -0
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-3J6YRVFL.js → agent-file-refresh-ZRGNOA6Q.js} +4 -4
- package/dist/{agent-skill-command-VWDMQWCT.js → agent-skill-command-DV26SDA2.js} +23 -23
- package/dist/{backend-dir-ISP7RVF2.js → backend-dir-NTMXWE5R.js} +4 -4
- package/dist/bin.js +23 -23
- package/dist/{branch-commands-75IYFTBS.js → branch-commands-4PJEBNRK.js} +9 -9
- package/dist/{chunk-DERQSEB5.js → chunk-3GZMP7II.js} +3 -3
- package/dist/{chunk-7F3V6CFP.js → chunk-5SJQAJLF.js} +1 -1
- package/dist/{chunk-LJZIBT75.js → chunk-5SKWGCAJ.js} +2 -2
- package/dist/{chunk-Z3DQ7ULY.js → chunk-66ZU2CD5.js} +4 -4
- package/dist/{chunk-6ILHYSLR.js → chunk-6EFXPTHT.js} +3 -3
- package/dist/{chunk-L34DM6QB.js → chunk-74OPNM2Z.js} +2 -2
- package/dist/{chunk-BSGU4HS6.js → chunk-7AKH4QDJ.js} +30 -30
- package/dist/{chunk-P4OWRYE7.js → chunk-7ZQ73AHJ.js} +18 -18
- package/dist/{chunk-LPQZICYN.js → chunk-A2N2C2WD.js} +3 -3
- package/dist/{chunk-MAXDJZQR.js → chunk-AE5CRAKS.js} +2 -2
- package/dist/{chunk-B7CPSWQX.js → chunk-ASQX477B.js} +2 -2
- package/dist/{chunk-FBSGFPZ4.js → chunk-AXMUYBWQ.js} +2 -2
- package/dist/{chunk-IWJ6GFST.js → chunk-B6AFJVG4.js} +2 -2
- package/dist/{chunk-5TWLVFYB.js → chunk-CJGLAQRD.js} +2 -2
- package/dist/{chunk-2KOB4QPW.js → chunk-DH6O5NQU.js} +6 -6
- package/dist/{chunk-IHL2O7VY.js → chunk-FKQX6KU7.js} +2 -1
- package/dist/{chunk-2FDHIBEU.js → chunk-FOBVJ2UR.js} +2 -2
- package/dist/{chunk-KDEU5FUJ.js → chunk-FXZEZAV2.js} +2 -2
- package/dist/{chunk-HK554MDD.js → chunk-G4WRZU5T.js} +2 -2
- package/dist/{chunk-MTBKTGZT.js → chunk-GDJCWQIK.js} +2 -2
- package/dist/{chunk-YFQCDLCQ.js → chunk-GIQIMWTK.js} +7 -7
- package/dist/{chunk-QJ25N4W6.js → chunk-HCNIB3EC.js} +2 -2
- package/dist/{chunk-LB76VK6D.js → chunk-JAYHFXWH.js} +2 -2
- package/dist/{chunk-ZMJRAMLA.js → chunk-JWASCOHO.js} +4 -4
- package/dist/{chunk-VBSCWV5H.js → chunk-K6SWZ6H4.js} +31 -31
- package/dist/{chunk-Z4BQPABS.js → chunk-M7O3T7IM.js} +2 -2
- package/dist/{chunk-DLDYQNGP.js → chunk-MGG4CHO4.js} +2 -2
- package/dist/{chunk-HKI5Y5KW.js → chunk-N72XNQNJ.js} +2 -2
- package/dist/{chunk-L4WG4BKJ.js → chunk-NNI5R6V6.js} +42 -42
- package/dist/{chunk-6LJS4M6P.js → chunk-NPYYDTXS.js} +3 -3
- package/dist/{chunk-YL3WVBR5.js → chunk-OZWAITII.js} +2 -2
- package/dist/{chunk-EYVIUX2T.js → chunk-P7GKTV7N.js} +10 -10
- package/dist/{chunk-J3XLCYTQ.js → chunk-QW7NGUYW.js} +65 -65
- package/dist/{chunk-RPBB7P4Q.js → chunk-R3GPRNBT.js} +2 -2
- package/dist/{chunk-GOKRKTCX.js → chunk-RBTZEHXF.js} +2 -2
- package/dist/{chunk-RV2BDU7V.js → chunk-RXNMZM6H.js} +2 -2
- package/dist/{chunk-HINRE3UM.js → chunk-SH4RY6QX.js} +290 -98
- package/dist/{chunk-CB67GIR3.js → chunk-SHHXLI2K.js} +4 -4
- package/dist/{chunk-HMYJOQXT.js → chunk-SL55XKVL.js} +14 -14
- package/dist/{chunk-XCFQLP6G.js → chunk-SXMZNSQ6.js} +2 -2
- package/dist/{chunk-3SZ7QRYA.js → chunk-TT6LN55R.js} +3 -3
- package/dist/{chunk-UQ2OD7D4.js → chunk-TXFOQZUQ.js} +3 -3
- package/dist/{chunk-SAEIVQLP.js → chunk-UNFQN3TT.js} +2 -2
- package/dist/{chunk-OLQN4Z5R.js → chunk-UVHSMANV.js} +20 -20
- package/dist/{chunk-QX5XQEYB.js → chunk-V7WCTXEH.js} +2 -2
- package/dist/{chunk-NOW522B4.js → chunk-VUWR5YLE.js} +7 -7
- package/dist/{chunk-LW7TOIS7.js → chunk-VXHXSGPU.js} +2 -2
- package/dist/{chunk-YTQYP7UJ.js → chunk-WXKSB2N3.js} +3 -3
- package/dist/{chunk-NUZXSIEA.js → chunk-XLP4CNSF.js} +2 -2
- package/dist/{chunk-SUKO4SZG.js → chunk-YCKKL5PD.js} +2 -2
- package/dist/{chunk-MYIIBV6A.js → chunk-ZC6H2ERE.js} +2 -2
- package/dist/{chunk-RDZBXTZ3.js → chunk-ZDVVIJPU.js} +2 -2
- package/dist/{chunk-J62TYONQ.js → chunk-ZF2CBXT5.js} +3 -3
- package/dist/{chunk-N6LGLNAC.js → chunk-ZPJXWMHK.js} +2 -2
- package/dist/{chunk-QKHNJ7LE.js → chunk-ZYECXDVV.js} +4 -4
- package/dist/cli.js +22 -22
- package/dist/{codegen-command-JWOW6HE5.js → codegen-command-RDD4GL35.js} +35 -35
- package/dist/codegen.js +2 -2
- package/dist/{deploy-command-WESYWFJN.js → deploy-command-BYAZZF37.js} +26 -26
- package/dist/{deploy-source-ZQQNMDFX.js → deploy-source-QCPZWNJO.js} +7 -7
- package/dist/{dev-env-sync-4XJT7WOT.js → dev-env-sync-6MHK3UHC.js} +23 -23
- package/dist/{env-example-refresh-4V2OCDJE.js → env-example-refresh-MQWHY7ZS.js} +36 -36
- package/dist/{env-pull-command-SK5FS477.js → env-pull-command-KUIEKBTM.js} +18 -18
- package/dist/{env-target-TEFSYACA.js → env-target-Y77RLRS5.js} +2 -2
- package/dist/{env-var-command-IJHKA2WJ.js → env-var-command-BZWJD75C.js} +13 -13
- package/dist/{ephemeral-command-WCO5J4SN.js → ephemeral-command-SYKDPALW.js} +19 -19
- package/dist/{generate-command-3WCOUOEQ.js → generate-command-CSQDQZSW.js} +39 -39
- package/dist/{gitignore-WYS3GMOX.js → gitignore-OQGYM7DO.js} +6 -6
- package/dist/{guards-PPIBIMFZ.js → guards-JUYBDLZY.js} +6 -6
- package/dist/{impersonate-command-UMYVQTCG.js → impersonate-command-HSFCZBV6.js} +9 -9
- package/dist/index.d.ts +105 -109
- package/dist/index.js +11 -11
- package/dist/{init-command-UR5MSXIH.js → init-command-6Z7QNVDY.js} +26 -26
- package/dist/{init-modules-7KALFI5C.js → init-modules-BL2SR5RK.js} +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +10 -10
- package/dist/{keep-data-merge-OVHCIEBG.js → keep-data-merge-SHF75FC7.js} +13 -13
- package/dist/{landing-record-AIHNW4AZ.js → landing-record-7EOLEKH3.js} +5 -5
- package/dist/{live-diff-UMSOGPX3.js → live-diff-M2OLXKM6.js} +6 -6
- package/dist/{local-engine-choice-XDGTATKJ.js → local-engine-choice-TOC3UYZZ.js} +8 -8
- package/dist/{local-engine-command-VQWNQ7UK.js → local-engine-command-6KSRDZBR.js} +9 -9
- package/dist/{local-engine-mcp-command-AIMNMXQG.js → local-engine-mcp-command-XTP3EATV.js} +9 -9
- package/dist/{lock-commands-H3YV2D6M.js → lock-commands-437P6BHY.js} +23 -23
- package/dist/{login-command-NMM3JNDZ.js → login-command-BNRDAVFV.js} +9 -9
- package/dist/{logout-command-7DYC6G32.js → logout-command-FCGCHB7Y.js} +3 -3
- package/dist/{loop-DJNIHC7O.js → loop-WOAEXMTC.js} +6 -6
- package/dist/{marketplace-command-UCSHDZGO.js → marketplace-command-SUBJZPJV.js} +13 -13
- package/dist/{meta-client-CD3TXQP6.js → meta-client-AYJS3RQ3.js} +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/node.js +27 -27
- package/dist/{operation-outcome-2ONIIDRU.js → operation-outcome-ORQPVJKB.js} +4 -4
- package/dist/{output-target-67LHZKCO.js → output-target-KNHHNDM3.js} +7 -7
- package/dist/{plan-disclosure-T7DF4SRJ.js → plan-disclosure-4DUFRGCP.js} +7 -7
- package/dist/{preflight-command-TJ7FURXB.js → preflight-command-32GFVKSN.js} +32 -32
- package/dist/{profile-command-LDPLTJEJ.js → profile-command-U2XTKOMF.js} +10 -10
- package/dist/{promote-command-RURHOLNR.js → promote-command-OO56IZBT.js} +44 -44
- package/dist/{publish-command-IIRN6NWN.js → publish-command-5ZVZ6IYT.js} +26 -26
- package/dist/{pull-command-ITO76ENU.js → pull-command-LT5PCEIW.js} +37 -37
- package/dist/{release-command-CVGIUD4M.js → release-command-RBUOXIH7.js} +32 -32
- package/dist/{release-ns-command-YLCQPVH3.js → release-ns-command-LDN5DOKQ.js} +43 -43
- package/dist/{routes-manifest-R3TQRB24.js → routes-manifest-BMAOL6WN.js} +6 -6
- package/dist/{routes-manifest-file-GYNYFKAH.js → routes-manifest-file-MPOVKD6N.js} +8 -8
- package/dist/{secrets-file-PCNAFXNV.js → secrets-file-7QM3ORGX.js} +5 -5
- package/dist/{secrets-fill-command-G7NQMRXU.js → secrets-fill-command-OZ537VOD.js} +25 -25
- package/dist/{seed-4CD55LB4.js → seed-ATGBOEJP.js} +5 -5
- package/dist/{source-resolve-U4SJR7ZA.js → source-resolve-QYSWA3QR.js} +3 -3
- package/dist/{status-command-CD72PXIT.js → status-command-IEB4K7ME.js} +12 -12
- package/dist/{store-BM7SQcUt.d.ts → store-DspGMsFY.d.ts} +112 -118
- package/dist/{sync-baseline-BJDKG4F2.js → sync-baseline-IB7MABZO.js} +7 -7
- package/dist/{sync-contributions-XK6LHISZ.js → sync-contributions-DLV5JZUK.js} +2 -2
- package/dist/{table-WPRAM4VW.js → table-TFD4ZQXA.js} +5 -5
- package/dist/{tables-command-NMTKR52H.js → tables-command-IMCVPUFY.js} +14 -14
- package/dist/{tenant-command-XQAWT46C.js → tenant-command-77KG76MU.js} +50 -50
- package/dist/{test-command-W4AD4KT4.js → test-command-NSPU4RUO.js} +10 -10
- package/dist/{token-P3VQ6ITJ.js → token-BDHD7GU3.js} +2 -2
- package/dist/{toolchain-hooks-UAJBPSTC.js → toolchain-hooks-QHJRDCRW.js} +7 -7
- package/dist/{toolchain-modules-S3MPHCUI.js → toolchain-modules-LY7BMYG6.js} +2 -2
- package/dist/{tracked-backend-WWEPNUD5.js → tracked-backend-BIR7YJCE.js} +9 -9
- package/dist/{update-check-O7QC5TBB.js → update-check-JDARCXAX.js} +24 -24
- package/dist/{upgrade-command-J6LRNHYF.js → upgrade-command-YCADQCIA.js} +26 -26
- package/dist/{whoami-command-KWRP2CII.js → whoami-command-IZCTUPM4.js} +4 -4
- package/dist/{workspace-3YNK4XO4.js → workspace-TK52V7WO.js} +2 -2
- package/dist/{workspace-binding-TTDNXHO5.js → workspace-binding-3UT6PP4B.js} +3 -3
- package/dist/{workspace-command-W4ANGLCZ.js → workspace-command-46OCB6XT.js} +49 -49
- package/dist/{workspace-env-6LJGCTZA.js → workspace-env-PVPOWFNZ.js} +5 -5
- package/dist/{xano-Z3SRHYOR.js → xano-EOUVXNQX.js} +7 -7
- package/dist/{xanosdk-import-PNNMZ4SF.js → xanosdk-import-XXJT365U.js} +2 -2
- package/dist/{xanosdk-project-YW3BQY2E.js → xanosdk-project-CJKRLQ6U.js} +5 -5
- package/llms/statements-catalog.md +57 -57
- package/llms-full.txt +58 -58
- package/llms.txt +1 -1
- package/manifest.json +82 -152
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createOperation,
|
|
3
3
|
runOperation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RBTZEHXF.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchWorkspaceBundle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7AKH4QDJ.js";
|
|
8
8
|
import {
|
|
9
9
|
assertReleaseIdentitiesFree,
|
|
10
10
|
pinnedCanonicalGuids,
|
|
11
11
|
setLiveRollback
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-K6SWZ6H4.js";
|
|
13
13
|
import {
|
|
14
14
|
objectDigests,
|
|
15
15
|
syncDigests
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AXMUYBWQ.js";
|
|
17
17
|
import {
|
|
18
18
|
asWorkspaceArchive,
|
|
19
19
|
resolveProjectEntry
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-A2N2C2WD.js";
|
|
21
21
|
import {
|
|
22
22
|
liveBranchMismatch,
|
|
23
23
|
liveMismatch
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GIQIMWTK.js";
|
|
25
25
|
import {
|
|
26
26
|
confirm
|
|
27
27
|
} from "./chunk-RVAEPPRH.js";
|
|
@@ -43,21 +43,21 @@ import {
|
|
|
43
43
|
releaseTableEffects,
|
|
44
44
|
renameHint,
|
|
45
45
|
tableEffectsPayload
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-RXNMZM6H.js";
|
|
47
47
|
import {
|
|
48
48
|
tableRowCounter
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-ZPJXWMHK.js";
|
|
50
50
|
import {
|
|
51
51
|
landingLockPath,
|
|
52
52
|
recordForeignLanding
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-AE5CRAKS.js";
|
|
54
54
|
import {
|
|
55
55
|
recordSync
|
|
56
56
|
} from "./chunk-KMKUH2IO.js";
|
|
57
57
|
import {
|
|
58
58
|
SettledWriteFailure,
|
|
59
59
|
classifyFailure
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-SXMZNSQ6.js";
|
|
61
61
|
import {
|
|
62
62
|
exportWorkspaceBundle
|
|
63
63
|
} from "./chunk-3H7R4ISR.js";
|
|
@@ -77,13 +77,13 @@ import {
|
|
|
77
77
|
} from "./chunk-2LF734YB.js";
|
|
78
78
|
import {
|
|
79
79
|
envValuesOf
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-M7O3T7IM.js";
|
|
81
81
|
import {
|
|
82
82
|
assertOneName
|
|
83
83
|
} from "./chunk-GBSHHNSD.js";
|
|
84
84
|
import {
|
|
85
85
|
resolveSource
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-N72XNQNJ.js";
|
|
87
87
|
import {
|
|
88
88
|
ReleaseHttpError,
|
|
89
89
|
UNPROMOTABLE_RELEASE_PARTS,
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
} from "./chunk-NDV6CBR7.js";
|
|
96
96
|
import {
|
|
97
97
|
getAccessToken
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-TT6LN55R.js";
|
|
99
99
|
import {
|
|
100
100
|
readLockFile
|
|
101
101
|
} from "./chunk-CJDPSCMX.js";
|
|
@@ -133,7 +133,7 @@ import {
|
|
|
133
133
|
} from "./chunk-GRXX2TOJ.js";
|
|
134
134
|
import {
|
|
135
135
|
envNamesRead
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-SH4RY6QX.js";
|
|
137
137
|
import {
|
|
138
138
|
safeNames
|
|
139
139
|
} from "./chunk-GSGDWJB5.js";
|
|
@@ -299,7 +299,7 @@ async function verifyLanding(auth, opts) {
|
|
|
299
299
|
} catch (err) {
|
|
300
300
|
return unverified(shortReason(err));
|
|
301
301
|
}
|
|
302
|
-
const { compareToLive, declaredLabels } = await import("./live-diff-
|
|
302
|
+
const { compareToLive, declaredLabels } = await import("./live-diff-M2OLXKM6.js");
|
|
303
303
|
let result;
|
|
304
304
|
try {
|
|
305
305
|
result = compareToLive(declared, landedBundle, void 0, { sample: "all" });
|
|
@@ -472,7 +472,7 @@ async function runPromoteCommand(args) {
|
|
|
472
472
|
discloseWriteTarget(destination);
|
|
473
473
|
const lockPath = landingLockPath(args, args.entryPath === void 0 ? {} : { entryFile: args.entryPath });
|
|
474
474
|
if (lockPath === void 0 && args.noLock !== true) {
|
|
475
|
-
const { nestedBackendEntries } = await import("./tracked-backend-
|
|
475
|
+
const { nestedBackendEntries } = await import("./tracked-backend-BIR7YJCE.js");
|
|
476
476
|
const nested = nestedBackendEntries(process.cwd());
|
|
477
477
|
if (nested.length > 0) {
|
|
478
478
|
warn(
|
|
@@ -935,7 +935,7 @@ Nothing was switched. Serve it deliberately with \`xanosdk workspace branch set-
|
|
|
935
935
|
}
|
|
936
936
|
}
|
|
937
937
|
async function unansweredBranchRead(err, args, what) {
|
|
938
|
-
const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-
|
|
938
|
+
const { LookupFailedError, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-QYSWA3QR.js");
|
|
939
939
|
const transport = isTransportFailure(err);
|
|
940
940
|
if (!transport && !isServerError(err)) return err;
|
|
941
941
|
const first = what !== void 0 ? `could not read ${what}` : ((err instanceof Error ? err.message : String(err)).trim().split("\n")[0] ?? "").replace(/[.:]$/, "");
|
|
@@ -961,4 +961,4 @@ export {
|
|
|
961
961
|
reportNotRun,
|
|
962
962
|
runPromoteCommand
|
|
963
963
|
};
|
|
964
|
-
//# sourceMappingURL=chunk-
|
|
964
|
+
//# sourceMappingURL=chunk-7ZQ73AHJ.js.map
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
} from "./chunk-X4DVXBFY.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveSource
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-N72XNQNJ.js";
|
|
14
14
|
import {
|
|
15
15
|
downloadRelease
|
|
16
16
|
} from "./chunk-NDV6CBR7.js";
|
|
17
17
|
import {
|
|
18
18
|
backendDirIn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FXZEZAV2.js";
|
|
20
20
|
import {
|
|
21
21
|
BARE,
|
|
22
22
|
UsageError,
|
|
@@ -144,4 +144,4 @@ export {
|
|
|
144
144
|
gatedApiGroups,
|
|
145
145
|
asWorkspaceArchive
|
|
146
146
|
};
|
|
147
|
-
//# sourceMappingURL=chunk-
|
|
147
|
+
//# sourceMappingURL=chunk-A2N2C2WD.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-ZRXDPCMN.js";
|
|
16
16
|
import {
|
|
17
17
|
backendDirIn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FXZEZAV2.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-AE5CRAKS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ENV_WORKSPACE
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TT6LN55R.js";
|
|
4
4
|
import {
|
|
5
5
|
credentialFileOf
|
|
6
6
|
} from "./chunk-ZRXDPCMN.js";
|
|
@@ -162,4 +162,4 @@ export {
|
|
|
162
162
|
rerunInWorkspace,
|
|
163
163
|
heldElsewhereError
|
|
164
164
|
};
|
|
165
|
-
//# sourceMappingURL=chunk-
|
|
165
|
+
//# sourceMappingURL=chunk-ASQX477B.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
rowLabeler,
|
|
7
7
|
sectionKind,
|
|
8
8
|
sectionOmission
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-M7O3T7IM.js";
|
|
10
10
|
import {
|
|
11
11
|
canonicalJson
|
|
12
12
|
} from "./chunk-IDOVZLPK.js";
|
|
@@ -110,4 +110,4 @@ export {
|
|
|
110
110
|
syncDirection,
|
|
111
111
|
directedComparison
|
|
112
112
|
};
|
|
113
|
-
//# sourceMappingURL=chunk-
|
|
113
|
+
//# sourceMappingURL=chunk-AXMUYBWQ.js.map
|
|
@@ -461,7 +461,7 @@ async function post(auth, url, opts, action) {
|
|
|
461
461
|
const aftermath = !writes ? `A dry run writes nothing, so ${target} is untouched. Retry when the instance is reachable.` : opts.mode === "replace" ? `The request did not complete, so the import may or may not have landed, in whole or in part. A replace rewrites all of ${target}, so it is safe to run again once the instance is reachable.` : `The request did not complete, so the import may or may not have landed, in whole or in part.` + (opts.stateCheck !== void 0 ? ` ${opts.stateCheck}` : "");
|
|
462
462
|
const where = `${transportTarget(url)}${opts.label !== void 0 ? ` (${opts.label})` : ""}`;
|
|
463
463
|
if (res === void 0) {
|
|
464
|
-
const { classifyFailure } = await import("./operation-outcome-
|
|
464
|
+
const { classifyFailure } = await import("./operation-outcome-ORQPVJKB.js");
|
|
465
465
|
if (writes && !isTimeoutError(failure) && classifyFailure(failure, { writeSent: true }) === "no") {
|
|
466
466
|
const untrusted = certificateFailureCode(failure) !== void 0;
|
|
467
467
|
throw new ImportNotSentError(
|
|
@@ -557,4 +557,4 @@ export {
|
|
|
557
557
|
withDefaultBranchPointer,
|
|
558
558
|
xanosdkImport
|
|
559
559
|
};
|
|
560
|
-
//# sourceMappingURL=chunk-
|
|
560
|
+
//# sourceMappingURL=chunk-B6AFJVG4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
workspaceEnvPathIn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3GZMP7II.js";
|
|
4
4
|
import {
|
|
5
5
|
addGitignoreRule,
|
|
6
6
|
ensureGitignored,
|
|
@@ -183,4 +183,4 @@ export {
|
|
|
183
183
|
secretPathLabel,
|
|
184
184
|
refuseIfTracked
|
|
185
185
|
};
|
|
186
|
-
//# sourceMappingURL=chunk-
|
|
186
|
+
//# sourceMappingURL=chunk-CJGLAQRD.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pinWrittenText
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FOBVJ2UR.js";
|
|
4
4
|
import {
|
|
5
5
|
acquireEngine,
|
|
6
6
|
restartMismatchedEngine
|
|
7
7
|
} from "./chunk-YR3MNGWZ.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveProjectEntry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-A2N2C2WD.js";
|
|
11
11
|
import {
|
|
12
12
|
confirm
|
|
13
13
|
} from "./chunk-RVAEPPRH.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
NO_CREDENTIAL,
|
|
41
41
|
SourceError,
|
|
42
42
|
resolveSource
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-N72XNQNJ.js";
|
|
44
44
|
import {
|
|
45
45
|
clearEngineRecordsNamed,
|
|
46
46
|
clearEngineRecordsStillMatching,
|
|
@@ -84,7 +84,7 @@ async function runLocalEngineCommand(args, opts = {}) {
|
|
|
84
84
|
case "token":
|
|
85
85
|
return runToken(args, opts);
|
|
86
86
|
case "mcp":
|
|
87
|
-
return (await import("./local-engine-mcp-command-
|
|
87
|
+
return (await import("./local-engine-mcp-command-XTP3EATV.js")).runMcp(args, opts);
|
|
88
88
|
case "stop":
|
|
89
89
|
return runStop(args, opts);
|
|
90
90
|
case "update":
|
|
@@ -372,7 +372,7 @@ Run this from the project's root.`
|
|
|
372
372
|
}
|
|
373
373
|
async function repointDevEnvAfterRestart(dir, restarted) {
|
|
374
374
|
if (restarted.previousUrl === void 0) return void 0;
|
|
375
|
-
const { repointDevEnv } = await import("./dev-env-sync-
|
|
375
|
+
const { repointDevEnv } = await import("./dev-env-sync-6MHK3UHC.js");
|
|
376
376
|
try {
|
|
377
377
|
return repointDevEnv(dir, restarted.previousUrl, restarted.url);
|
|
378
378
|
} catch (err) {
|
|
@@ -704,4 +704,4 @@ export {
|
|
|
704
704
|
reportOrphanSweep,
|
|
705
705
|
resolveLiveEngine
|
|
706
706
|
};
|
|
707
|
-
//# sourceMappingURL=chunk-
|
|
707
|
+
//# sourceMappingURL=chunk-DH6O5NQU.js.map
|
|
@@ -221,6 +221,7 @@ export {
|
|
|
221
221
|
ANNOTATION_KEYS,
|
|
222
222
|
OPTION_KEYS,
|
|
223
223
|
annotate,
|
|
224
|
+
assertBindsAs,
|
|
224
225
|
statements,
|
|
225
226
|
RAW_ENVELOPE,
|
|
226
227
|
registerStatement,
|
|
@@ -233,4 +234,4 @@ export {
|
|
|
233
234
|
statementMark,
|
|
234
235
|
encodeStatement
|
|
235
236
|
};
|
|
236
|
-
//# sourceMappingURL=chunk-
|
|
237
|
+
//# sourceMappingURL=chunk-FKQX6KU7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveProjectEntry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-A2N2C2WD.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-FOBVJ2UR.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
XANO_DIR
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YCKKL5PD.js";
|
|
4
4
|
import {
|
|
5
5
|
projectRootFrom
|
|
6
6
|
} from "./chunk-HU7F56VF.js";
|
|
@@ -67,4 +67,4 @@ export {
|
|
|
67
67
|
backendDirIn,
|
|
68
68
|
resolveBackendDir
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=chunk-
|
|
70
|
+
//# sourceMappingURL=chunk-FXZEZAV2.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ProfileNotFoundError,
|
|
6
6
|
describeRefreshAnswer,
|
|
7
7
|
environmentCredentialVars
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TT6LN55R.js";
|
|
9
9
|
import {
|
|
10
10
|
yesRerun
|
|
11
11
|
} from "./chunk-GCINMMFL.js";
|
|
@@ -429,4 +429,4 @@ export {
|
|
|
429
429
|
salvageRevocable,
|
|
430
430
|
signInAgain
|
|
431
431
|
};
|
|
432
|
-
//# sourceMappingURL=chunk-
|
|
432
|
+
//# sourceMappingURL=chunk-G4WRZU5T.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
HEADER_NAME,
|
|
4
4
|
generated,
|
|
5
5
|
literalText
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SH4RY6QX.js";
|
|
7
7
|
import {
|
|
8
8
|
fl
|
|
9
9
|
} from "./chunk-AXNX4NWN.js";
|
|
@@ -238,4 +238,4 @@ export {
|
|
|
238
238
|
TEST_EXPECT_TYPES,
|
|
239
239
|
expect
|
|
240
240
|
};
|
|
241
|
-
//# sourceMappingURL=chunk-
|
|
241
|
+
//# sourceMappingURL=chunk-GDJCWQIK.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
discloseCanonicalMoves,
|
|
6
6
|
movesClause,
|
|
7
7
|
releaseCanonicalMoves
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RXNMZM6H.js";
|
|
9
9
|
import {
|
|
10
10
|
exportWorkspaceBundle
|
|
11
11
|
} from "./chunk-3H7R4ISR.js";
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
} from "./chunk-2LF734YB.js";
|
|
21
21
|
import {
|
|
22
22
|
sectionKind
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-M7O3T7IM.js";
|
|
24
24
|
import {
|
|
25
25
|
assertOneName
|
|
26
26
|
} from "./chunk-GBSHHNSD.js";
|
|
27
27
|
import {
|
|
28
28
|
getAccessToken
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-TT6LN55R.js";
|
|
30
30
|
import {
|
|
31
31
|
pipedYes
|
|
32
32
|
} from "./chunk-GCINMMFL.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-QYSWA3QR.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-QYSWA3QR.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-QYSWA3QR.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-GIQIMWTK.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-EUUUMY7J.js";
|
|
4
4
|
import {
|
|
5
5
|
backendDirIn
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FXZEZAV2.js";
|
|
7
7
|
import {
|
|
8
8
|
shellWord
|
|
9
9
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -154,4 +154,4 @@ export {
|
|
|
154
154
|
RELATIVE_PATH_ARGS,
|
|
155
155
|
enterProjectRoot
|
|
156
156
|
};
|
|
157
|
-
//# sourceMappingURL=chunk-
|
|
157
|
+
//# sourceMappingURL=chunk-HCNIB3EC.js.map
|
|
@@ -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-3UT6PP4B.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-JAYHFXWH.js.map
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
assertStoredName,
|
|
13
13
|
buildMiddlewareBlock,
|
|
14
14
|
encodeHistory
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6EFXPTHT.js";
|
|
16
16
|
import {
|
|
17
17
|
encodeTags,
|
|
18
18
|
registerKind,
|
|
19
19
|
resolveMockKeys
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-74OPNM2Z.js";
|
|
21
21
|
import {
|
|
22
22
|
emitDiagnostic
|
|
23
23
|
} from "./chunk-YEH5OIPF.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-UDZX2ZL4.js";
|
|
30
30
|
import {
|
|
31
31
|
encodeStack
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-FKQX6KU7.js";
|
|
33
33
|
import {
|
|
34
34
|
encodeInput
|
|
35
35
|
} from "./chunk-VIRFG3WG.js";
|
|
@@ -454,4 +454,4 @@ export {
|
|
|
454
454
|
toSearchParams,
|
|
455
455
|
query
|
|
456
456
|
};
|
|
457
|
-
//# sourceMappingURL=chunk-
|
|
457
|
+
//# sourceMappingURL=chunk-JWASCOHO.js.map
|