@xano/sdk 1.0.10 → 1.0.11
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-VOGTQ3JE.js → agent-file-refresh-CKLYJRIS.js} +4 -4
- package/dist/{agent-skill-command-LDT5JXIO.js → agent-skill-command-QKQG5NIZ.js} +24 -24
- package/dist/{backend-dir-UNUO7TNL.js → backend-dir-V2FELHYM.js} +4 -4
- package/dist/bin.js +24 -24
- package/dist/{branch-commands-IJ7SK5AM.js → branch-commands-ZY2W3ICB.js} +14 -14
- package/dist/bundle.d.ts +2 -2
- package/dist/bundle.js +5 -5
- package/dist/{chunk-HTP2CLRQ.js → chunk-3BI62SPQ.js} +2 -2
- package/dist/{chunk-6NXIRULE.js → chunk-3Q43PZGI.js} +17 -17
- package/dist/{chunk-TWBENPZR.js → chunk-4BR5TEXI.js} +14 -14
- package/dist/{chunk-QTMXJQZN.js → chunk-4WBZ6T76.js} +2 -2
- package/dist/{chunk-V5RXO5AK.js → chunk-4ZTXYT3T.js} +2 -2
- package/dist/{chunk-6BIOLAJ4.js → chunk-64ODZADR.js} +7 -7
- package/dist/{chunk-OHTHG3LL.js → chunk-6LECAG3Y.js} +4 -4
- package/dist/{chunk-7KPKDHHI.js → chunk-76SBT7KS.js} +2 -2
- package/dist/{chunk-THGELNPV.js → chunk-7FPFYYCW.js} +4 -4
- package/dist/{chunk-JSPFDMTV.js → chunk-7YSZSEZL.js} +2 -2
- package/dist/{chunk-Z52FKP34.js → chunk-AM5T76NQ.js} +6 -6
- package/dist/{chunk-BEXZ4XRV.js → chunk-AXNX4NWN.js} +2 -2
- package/dist/{chunk-FDZ2ANSS.js → chunk-B7JRCM2S.js} +2 -2
- package/dist/{chunk-436AOVZS.js → chunk-D2PSNKZD.js} +2 -2
- package/dist/{chunk-77IFWJ53.js → chunk-D5NAWB4P.js} +2 -2
- package/dist/{chunk-GDAWYDHY.js → chunk-DRWUMFSP.js} +2 -2
- package/dist/{chunk-ETAZIGNT.js → chunk-F2NFNYCB.js} +2 -2
- package/dist/{chunk-DHU3EGGF.js → chunk-FDPW2M3S.js} +2 -2
- package/dist/{chunk-U4JD5NMP.js → chunk-FGNDJBT4.js} +2 -2
- package/dist/{chunk-IIAF7VKN.js → chunk-FNA5CUVN.js} +2 -2
- package/dist/{chunk-4XHAT7C5.js → chunk-HJZUI2ZU.js} +2 -2
- package/dist/{chunk-DSD2NNTX.js → chunk-HUEFVPYW.js} +2 -2
- package/dist/{chunk-DW47JVXI.js → chunk-HW2JPR5W.js} +20 -20
- package/dist/{chunk-PPI647YF.js → chunk-HXRXQAZE.js} +29 -29
- package/dist/{chunk-IW6E3LES.js → chunk-I5XSXMJQ.js} +2 -2
- package/dist/{chunk-3P35HT64.js → chunk-IDOVZLPK.js} +2 -2
- package/dist/{chunk-6NEV2PEC.js → chunk-IEDQT4Z3.js} +6 -6
- package/dist/{chunk-6JAEMMZ7.js → chunk-IFXPHVPY.js} +3 -3
- package/dist/{chunk-HDKSHL4Z.js → chunk-J746QNTP.js} +1 -1
- package/dist/{chunk-6YOH2L3G.js → chunk-JFPLHK6Y.js} +3 -3
- package/dist/{chunk-I53OTC3O.js → chunk-JHQAVWHW.js} +3 -3
- package/dist/{chunk-3IFRZXHN.js → chunk-KCCZCIDJ.js} +2 -2
- package/dist/{chunk-KSGITXNE.js → chunk-KDPXO5PO.js} +5 -5
- package/dist/{chunk-JE7BL5IF.js → chunk-KI6U2GD2.js} +7 -7
- package/dist/{chunk-6ZFJEJXZ.js → chunk-KICERNAP.js} +5 -5
- package/dist/{chunk-3TTR4BHW.js → chunk-KSBUHLNF.js} +2 -2
- package/dist/{chunk-ECGRCTVI.js → chunk-KYTQW3YT.js} +2 -2
- package/dist/{chunk-45A3AF2B.js → chunk-LYN3XNDE.js} +74 -68
- package/dist/{chunk-HMFEWTI7.js → chunk-NHXBKFHG.js} +42 -42
- package/dist/{chunk-5DLDRUCQ.js → chunk-NPW6DSZB.js} +3 -3
- package/dist/{chunk-BYYVOX2P.js → chunk-NU7EME32.js} +29 -29
- package/dist/{chunk-6BOKCTCM.js → chunk-NZ7ML6LG.js} +4 -4
- package/dist/{chunk-T3ZVNOJC.js → chunk-ONNSFD73.js} +10 -10
- package/dist/{chunk-XUSL2Z5C.js → chunk-QAY4RW2E.js} +3 -3
- package/dist/{chunk-NIANORYB.js → chunk-RNKP5TA2.js} +2 -2
- package/dist/{chunk-O376UAZS.js → chunk-SFOUFU4C.js} +110 -6
- package/dist/{chunk-KA3JN4SH.js → chunk-SNKABK5L.js} +2 -2
- package/dist/{chunk-EOIJ7MVW.js → chunk-T3HNISBN.js} +3 -3
- package/dist/{chunk-CTKBGPM6.js → chunk-U4LRDTIM.js} +3 -3
- package/dist/{chunk-FZGK4VM5.js → chunk-UUYKEIHP.js} +2 -2
- package/dist/{chunk-S56YBYMN.js → chunk-VIRFG3WG.js} +2 -2
- package/dist/{chunk-2ND7WS3E.js → chunk-VTZF3ZNR.js} +2 -2
- package/dist/{chunk-LTPF25L2.js → chunk-W2QFR3ZJ.js} +2 -2
- package/dist/{chunk-HU6D6PYT.js → chunk-WM7Y3MDE.js} +2 -2
- package/dist/{chunk-EKTIGGFO.js → chunk-WZXEQUIM.js} +4 -4
- package/dist/{chunk-3TWQDGQY.js → chunk-YKCDUHBR.js} +2 -2
- package/dist/{chunk-UVF45BVU.js → chunk-Z6N5N4MN.js} +1 -1
- package/dist/{chunk-KCCZGDQG.js → chunk-ZS7VI7RK.js} +3 -3
- package/dist/cli.d.ts +3 -3
- package/dist/cli.js +23 -23
- package/dist/{codegen-command-A7M5JLLY.js → codegen-command-6AB3REIV.js} +38 -38
- package/dist/codegen.d.ts +3 -3
- package/dist/{deploy-command-RP7Q4XBE.js → deploy-command-LRJBO4LX.js} +27 -27
- package/dist/{deploy-source-ITSAHJW7.js → deploy-source-JTPMMO3B.js} +7 -7
- package/dist/{dev-env-sync-SN6TL22O.js → dev-env-sync-ODJYGSWT.js} +24 -24
- package/dist/{emit-D-a6JznN.d.ts → emit-YLt3GfsZ.d.ts} +3 -3
- package/dist/{env-example-refresh-USAGYVJ2.js → env-example-refresh-DR44A6YZ.js} +39 -39
- package/dist/{env-pull-command-6KEESNVU.js → env-pull-command-47XQO5J2.js} +20 -20
- package/dist/{env-target-HOGLLJN5.js → env-target-HBY2LQUA.js} +2 -2
- package/dist/{env-var-command-VOAINMHX.js → env-var-command-HTKKTBOC.js} +13 -13
- package/dist/{ephemeral-command-I7VPCBVQ.js → ephemeral-command-T5EFYCEY.js} +21 -21
- package/dist/{generate-command-G7EJ7GW4.js → generate-command-36OWZF23.js} +42 -42
- package/dist/{gitignore-WFZ2BTMS.js → gitignore-NLLQURLD.js} +6 -6
- package/dist/{guards-4VPSEOAI.js → guards-RU4C7TFG.js} +5 -5
- package/dist/{impersonate-command-ZJDK7ZYO.js → impersonate-command-HJYBQV6X.js} +9 -9
- package/dist/index.d.ts +8 -8
- package/dist/index.js +14 -14
- package/dist/{init-command-CTWDNYAZ.js → init-command-54M3AA27.js} +27 -27
- package/dist/{init-modules-FJITJ6IB.js → init-modules-MVULNRKR.js} +2 -2
- package/dist/internal.d.ts +6 -6
- package/dist/internal.js +27 -16
- package/dist/{keep-data-merge-KLNLVBYK.js → keep-data-merge-Y6PYJOPW.js} +15 -15
- package/dist/{landing-record-ZB4OJQF2.js → landing-record-LBJMKORB.js} +5 -5
- package/dist/{live-diff-CGTGOH3S.js → live-diff-HARRGFV4.js} +8 -8
- package/dist/{local-engine-choice-FO7LABXX.js → local-engine-choice-SXSWNCZT.js} +8 -8
- package/dist/{local-engine-command-LI7HUH5Y.js → local-engine-command-3GICPJPL.js} +9 -9
- package/dist/{local-engine-mcp-command-EVYRLPE7.js → local-engine-mcp-command-ZUS7LQ7F.js} +9 -9
- package/dist/{lock-commands-I4RARW5F.js → lock-commands-PTBKQE72.js} +24 -24
- package/dist/{login-command-MJT5CCXL.js → login-command-HH4FA65C.js} +9 -9
- package/dist/{logout-command-GSQ2R3XL.js → logout-command-WPUWLZSW.js} +3 -3
- package/dist/{loop-XFDS65OD.js → loop-QHZD37KX.js} +8 -8
- package/dist/{marketplace-command-GK4F5ZZ2.js → marketplace-command-ISG2U5NA.js} +13 -13
- package/dist/{meta-client-2A7LYGUQ.js → meta-client-P7E6PCB7.js} +2 -2
- package/dist/node.d.ts +7 -7
- package/dist/node.js +30 -30
- package/dist/{operation-outcome-UK5ALWRE.js → operation-outcome-2Z6II4HB.js} +4 -4
- package/dist/{output-target-GFPSLLEJ.js → output-target-MWYZ5HYN.js} +7 -7
- package/dist/{plan-disclosure-GNLDYV2A.js → plan-disclosure-PQAXSAUH.js} +12 -12
- package/dist/{preflight-command-LP5D6UOD.js → preflight-command-6LCPYVTV.js} +34 -34
- package/dist/{profile-command-R7XLNTY6.js → profile-command-74AR3FB7.js} +10 -10
- package/dist/{promote-command-TEVVCM77.js → promote-command-YD3YQWJG.js} +46 -46
- package/dist/{publish-command-WTVINN5E.js → publish-command-7VKTBVVP.js} +27 -27
- package/dist/{pull-command-KFHHW2BA.js → pull-command-XIYO7WTF.js} +40 -40
- package/dist/{raw-where-ZMLND6AG.d.ts → raw-where-gWGr-E4t.d.ts} +1 -1
- package/dist/{release-command-QUKHOKIY.js → release-command-NADSTRM2.js} +35 -35
- package/dist/{release-ns-command-T4R3VODA.js → release-ns-command-2VUTJ4A6.js} +44 -44
- package/dist/{routes-manifest-RIZGSOZC.js → routes-manifest-Z7I4TZIL.js} +7 -7
- package/dist/{routes-manifest-file-QFPNFJMZ.js → routes-manifest-file-BDJ6XQXF.js} +9 -9
- package/dist/{secrets-file-J4KFYNFP.js → secrets-file-KBMEY2SS.js} +5 -5
- package/dist/{secrets-fill-command-YIU6ESFN.js → secrets-fill-command-YUAJSOZW.js} +26 -26
- package/dist/{source-resolve-WHXNMVJT.js → source-resolve-KB7NWL3I.js} +3 -3
- package/dist/{status-command-DIDOS3JC.js → status-command-YRIB6UJP.js} +12 -12
- package/dist/{store-xUySg-KR.d.ts → store-BM7SQcUt.d.ts} +3 -3
- package/dist/{sync-baseline-3CDL4PKT.js → sync-baseline-JGAAOS25.js} +10 -10
- package/dist/{sync-contributions-VAGROOWY.js → sync-contributions-LMLYV7VL.js} +2 -2
- package/dist/{tables-command-UJLYYMME.js → tables-command-IONX4ZF2.js} +10 -10
- package/dist/{tenant-command-NGKJD3AX.js → tenant-command-635Y2YCR.js} +52 -52
- package/dist/{test-command-JOPQCHJA.js → test-command-CN76VVUK.js} +10 -10
- package/dist/{token-NJ5XPGGM.js → token-WL7SSK64.js} +2 -2
- package/dist/{toolchain-hooks-3ZAAAWPL.js → toolchain-hooks-VI2WOPST.js} +8 -8
- package/dist/{toolchain-modules-4KS3SSJW.js → toolchain-modules-OXUU342N.js} +2 -2
- package/dist/{tracked-backend-3U4T6ZA7.js → tracked-backend-ON5V2RBJ.js} +9 -9
- package/dist/{update-check-5KCA4TE6.js → update-check-I75SHTAD.js} +25 -25
- package/dist/{upgrade-command-MNP6G752.js → upgrade-command-2J7P5NSX.js} +27 -27
- package/dist/{whoami-command-E5CSF3E6.js → whoami-command-HJJK2QJS.js} +4 -4
- package/dist/{workspace-WZMBLK4P.js → workspace-7QVUA7HI.js} +2 -2
- package/dist/{workspace-binding-JT4EK4HU.js → workspace-binding-D7HZTF7N.js} +3 -3
- package/dist/{workspace-command-Z7BUA6A5.js → workspace-command-KXTR5SOE.js} +48 -48
- package/dist/{workspace-env-KFWW2G7G.js → workspace-env-RASIOYSN.js} +5 -5
- package/dist/{xano-6T6L7TTI.js → xano-2A2GT7EH.js} +7 -7
- package/dist/{xanosdk-import-FUS3ZGGQ.js → xanosdk-import-767BQ2HP.js} +2 -2
- package/dist/{xanosdk-project-NM2J5YFK.js → xanosdk-project-PETOFVUQ.js} +5 -5
- package/dist/{xdo-CxDr2Q1C.d.ts → xdo-D4OwfF2J.d.ts} +10 -4
- package/guides/codes.md +1 -0
- package/llms/client.md +2 -1
- package/llms/errors.md +2 -0
- package/llms/filters.md +2 -1
- package/llms/kinds-agent-mcp.md +2 -0
- package/llms/values.md +1 -1
- package/llms-full.txt +10 -4
- package/llms.txt +1 -1
- package/manifest.json +2 -2
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
discloseCanonicalMoves,
|
|
6
6
|
movesClause,
|
|
7
7
|
releaseCanonicalMoves
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3BI62SPQ.js";
|
|
9
9
|
import {
|
|
10
10
|
exportWorkspaceBundle
|
|
11
11
|
} from "./chunk-QC3MKMDK.js";
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
} from "./chunk-75MKIQON.js";
|
|
21
21
|
import {
|
|
22
22
|
sectionKind
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-JHQAVWHW.js";
|
|
24
24
|
import {
|
|
25
25
|
assertOneName
|
|
26
26
|
} from "./chunk-XQO4A4Q4.js";
|
|
27
27
|
import {
|
|
28
28
|
getAccessToken
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-U4LRDTIM.js";
|
|
30
30
|
import {
|
|
31
31
|
pipedYes
|
|
32
32
|
} from "./chunk-C2GHFADU.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-KB7NWL3I.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-KB7NWL3I.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-KB7NWL3I.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-64ODZADR.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-45ZUMF4E.js";
|
|
4
4
|
import {
|
|
5
5
|
obj
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-76SBT7KS.js";
|
|
7
7
|
import {
|
|
8
8
|
assertOneOf,
|
|
9
9
|
leanInput
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
assertStoredName,
|
|
13
13
|
buildMiddlewareBlock,
|
|
14
14
|
encodeHistory
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-F2NFNYCB.js";
|
|
16
16
|
import {
|
|
17
17
|
encodeTags,
|
|
18
18
|
registerKind,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-A2AOUBJS.js";
|
|
33
33
|
import {
|
|
34
34
|
encodeInput
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-VIRFG3WG.js";
|
|
36
36
|
import {
|
|
37
37
|
deriveGuid,
|
|
38
38
|
deriveQueryGuid,
|
|
@@ -454,4 +454,4 @@ export {
|
|
|
454
454
|
toSearchParams,
|
|
455
455
|
query
|
|
456
456
|
};
|
|
457
|
-
//# sourceMappingURL=chunk-
|
|
457
|
+
//# sourceMappingURL=chunk-6LECAG3Y.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTaggedValue
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Z6N5N4MN.js";
|
|
4
4
|
import {
|
|
5
5
|
describeEntry,
|
|
6
6
|
protoKeyed
|
|
@@ -214,4 +214,4 @@ function obj(fields) {
|
|
|
214
214
|
export {
|
|
215
215
|
obj
|
|
216
216
|
};
|
|
217
|
-
//# sourceMappingURL=chunk-
|
|
217
|
+
//# sourceMappingURL=chunk-76SBT7KS.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
reachableLines,
|
|
4
4
|
readReachableWorkspaces,
|
|
5
5
|
workspaceIdFix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KYTQW3YT.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialRejected,
|
|
9
9
|
getAccessToken
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-U4LRDTIM.js";
|
|
11
11
|
import {
|
|
12
12
|
CREDENTIAL_FILE_VERSION,
|
|
13
13
|
UPGRADE_REMEDY,
|
|
@@ -165,7 +165,7 @@ function prettyProfile(p) {
|
|
|
165
165
|
}
|
|
166
166
|
async function runWhoamiCommand(args) {
|
|
167
167
|
const profile = await fetchProfile(args).catch(async (err) => {
|
|
168
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
168
|
+
const { unansweredRead } = await import("./source-resolve-KB7NWL3I.js");
|
|
169
169
|
throw unansweredRead(err, "read the signed-in user", "workspace");
|
|
170
170
|
});
|
|
171
171
|
if (isMachineOutput(args)) {
|
|
@@ -185,4 +185,4 @@ export {
|
|
|
185
185
|
profileValue,
|
|
186
186
|
runWhoamiCommand
|
|
187
187
|
};
|
|
188
|
-
//# sourceMappingURL=chunk-
|
|
188
|
+
//# sourceMappingURL=chunk-7FPFYYCW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
classifyNpmFailure
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FGNDJBT4.js";
|
|
4
4
|
import {
|
|
5
5
|
condenseNpmError,
|
|
6
6
|
runNpmQuiet,
|
|
@@ -992,4 +992,4 @@ export {
|
|
|
992
992
|
changedOnDisk,
|
|
993
993
|
scaffoldProject
|
|
994
994
|
};
|
|
995
|
-
//# sourceMappingURL=chunk-
|
|
995
|
+
//# sourceMappingURL=chunk-7YSZSEZL.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pinWrittenText
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-D2PSNKZD.js";
|
|
4
4
|
import {
|
|
5
5
|
acquireEngine,
|
|
6
6
|
restartMismatchedEngine
|
|
7
7
|
} from "./chunk-H3ZBAR2L.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveProjectEntry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NPW6DSZB.js";
|
|
11
11
|
import {
|
|
12
12
|
confirm
|
|
13
13
|
} from "./chunk-HQPL34O6.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
NO_CREDENTIAL,
|
|
41
41
|
SourceError,
|
|
42
42
|
resolveSource
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-WM7Y3MDE.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-ZUS7LQ7F.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-ODJYGSWT.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-AM5T76NQ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
filter,
|
|
5
5
|
isTaggedValue,
|
|
6
6
|
toLambdaValue
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Z6N5N4MN.js";
|
|
8
8
|
|
|
9
9
|
// src/values/generated/filters.generated.ts
|
|
10
10
|
var v = (x) => {
|
|
@@ -1052,4 +1052,4 @@ export {
|
|
|
1052
1052
|
FILTER_REQUIRED_ARGS,
|
|
1053
1053
|
fl
|
|
1054
1054
|
};
|
|
1055
|
-
//# sourceMappingURL=chunk-
|
|
1055
|
+
//# sourceMappingURL=chunk-AXNX4NWN.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-2Z6II4HB.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-B7JRCM2S.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveProjectEntry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NPW6DSZB.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-D2PSNKZD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
XANO_DIR
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7YSZSEZL.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-D5NAWB4P.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
managedBlockVersion,
|
|
5
5
|
renderAgentsMd,
|
|
6
6
|
upsertManagedBlock
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7YSZSEZL.js";
|
|
8
8
|
import {
|
|
9
9
|
detectPackageManager
|
|
10
10
|
} from "./chunk-DNBP4GJN.js";
|
|
@@ -209,4 +209,4 @@ export {
|
|
|
209
209
|
isCI,
|
|
210
210
|
refreshAgentFiles
|
|
211
211
|
};
|
|
212
|
-
//# sourceMappingURL=chunk-
|
|
212
|
+
//# sourceMappingURL=chunk-DRWUMFSP.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-A2AOUBJS.js";
|
|
10
10
|
import {
|
|
11
11
|
isTaggedValue
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Z6N5N4MN.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveRef
|
|
15
15
|
} from "./chunk-LL6ED5IB.js";
|
|
@@ -188,4 +188,4 @@ export {
|
|
|
188
188
|
assertStoredName,
|
|
189
189
|
assertNameAsStored
|
|
190
190
|
};
|
|
191
|
-
//# sourceMappingURL=chunk-
|
|
191
|
+
//# sourceMappingURL=chunk-F2NFNYCB.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-75MKIQON.js";
|
|
5
5
|
import {
|
|
6
6
|
SourceError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WM7Y3MDE.js";
|
|
8
8
|
import {
|
|
9
9
|
ReleaseHttpError
|
|
10
10
|
} from "./chunk-7JKNWDYN.js";
|
|
@@ -82,4 +82,4 @@ export {
|
|
|
82
82
|
SettledWriteFailure,
|
|
83
83
|
classifyFailure
|
|
84
84
|
};
|
|
85
|
-
//# sourceMappingURL=chunk-
|
|
85
|
+
//# sourceMappingURL=chunk-FDPW2M3S.js.map
|
|
@@ -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-OXUU342N.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-FGNDJBT4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
workspaceEnvPathIn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QAY4RW2E.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-FNA5CUVN.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
encodeInput,
|
|
3
3
|
f,
|
|
4
4
|
input
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VIRFG3WG.js";
|
|
6
6
|
|
|
7
7
|
// src/kinds/trigger-inputs.ts
|
|
8
8
|
var ERROR_EVENT_DESCRIPTION = `Which event fired the trigger. "new" fires on first capture and on every snapshot re-capture for non-ignored signatures (rate-limited by the ~5min snapshot dedup window). "regression" fires when a previously-fixed signature re-occurs (the fix didn't hold, or the same bug regressed back). "fixed" fires when a user marks a signature as fixed.`;
|
|
@@ -207,4 +207,4 @@ export {
|
|
|
207
207
|
impliedInputs,
|
|
208
208
|
isTriggerObjType
|
|
209
209
|
};
|
|
210
|
-
//# sourceMappingURL=chunk-
|
|
210
|
+
//# sourceMappingURL=chunk-HJZUI2ZU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encodeFunction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ONNSFD73.js";
|
|
4
4
|
import {
|
|
5
5
|
assertNoProtoKeys
|
|
6
6
|
} from "./chunk-VTMTIBKP.js";
|
|
@@ -14,4 +14,4 @@ function compile(fn) {
|
|
|
14
14
|
export {
|
|
15
15
|
compile
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
17
|
+
//# sourceMappingURL=chunk-HUEFVPYW.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ROUTES_MANIFEST_BASENAME
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SFOUFU4C.js";
|
|
4
4
|
import {
|
|
5
5
|
questionOrCancel
|
|
6
6
|
} from "./chunk-HQPL34O6.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureWorkspaceEnvGitignored
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FNA5CUVN.js";
|
|
10
10
|
import {
|
|
11
11
|
readVersion
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LYN3XNDE.js";
|
|
13
13
|
import {
|
|
14
14
|
WORKSPACE_ENV_EXAMPLE_FILE,
|
|
15
15
|
renderWorkspaceEnvExample
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QAY4RW2E.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-7YSZSEZL.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-FGNDJBT4.js";
|
|
38
38
|
import {
|
|
39
39
|
npmViewVersion
|
|
40
40
|
} from "./chunk-ZFDZKNGG.js";
|
|
@@ -728,7 +728,7 @@ async function runInitCommand(args) {
|
|
|
728
728
|
}
|
|
729
729
|
const source = resolveFromSource(args.from);
|
|
730
730
|
if (source.kind === "file") await refuseUnknownProfileFlag(args, resolve(args.positionals[0] ?? "."));
|
|
731
|
-
const { runInitFromCommand } = await import("./codegen-command-
|
|
731
|
+
const { runInitFromCommand } = await import("./codegen-command-6AB3REIV.js");
|
|
732
732
|
return runInitFromCommand(args, source);
|
|
733
733
|
}
|
|
734
734
|
rejectPullOnlyFlags(args);
|
|
@@ -792,7 +792,7 @@ async function runInitCommand(args) {
|
|
|
792
792
|
}
|
|
793
793
|
let scaffolded = false;
|
|
794
794
|
try {
|
|
795
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
795
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-OXUU342N.js");
|
|
796
796
|
const toolchain = await discoverToolchainPlugins(targetDir, { frozen: false, configuring: true });
|
|
797
797
|
const preset = flagFrontend !== void 0 ? flagFrontend : await resolveFrontendPreset(args.framework);
|
|
798
798
|
if (preset === null && flagFrontend === void 0) refuseFrontendOnlyFlags(args, "no frontend was chosen");
|
|
@@ -927,7 +927,7 @@ async function runInitCommand(args) {
|
|
|
927
927
|
const { skewedProjectSdk } = await import("./project-sdk-IYMFVQRC.js");
|
|
928
928
|
const installedSdk = skewedProjectSdk(targetDir, readVersion());
|
|
929
929
|
if (installedSdk !== void 0) {
|
|
930
|
-
const { reconcileWithInstalled } = await import("./upgrade-command-
|
|
930
|
+
const { reconcileWithInstalled } = await import("./upgrade-command-2J7P5NSX.js");
|
|
931
931
|
const rendered = reconcileWithInstalled(targetDir);
|
|
932
932
|
if (rendered.length > 0) {
|
|
933
933
|
info(`Rendered ${rendered.join(", ")} with the installed @xano/sdk ${installedSdk.version} (this CLI is ${readVersion()}).`);
|
|
@@ -1065,20 +1065,20 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv, toolchain) {
|
|
|
1065
1065
|
const routesPath = join(targetDir, ROUTES_REL);
|
|
1066
1066
|
try {
|
|
1067
1067
|
const { loadDefault, checkStandInTokens } = await import("./cli.js");
|
|
1068
|
-
const { Xano } = await import("./xano-
|
|
1068
|
+
const { Xano } = await import("./xano-2A2GT7EH.js");
|
|
1069
1069
|
const { createLockContext, lockKey, mergeObserved } = await import("./lock-HDCHD2ON.js");
|
|
1070
1070
|
const { resetLockOverrides, seedLockOverrides } = await import("./store-6VNCD4D7.js");
|
|
1071
1071
|
const { readLockFile, writeLockFile } = await import("./io-PGTCBSIQ.js");
|
|
1072
1072
|
const { setDiagnosticSink } = await import("./diagnostics-FNVNRYMB.js");
|
|
1073
|
-
const { planRouteManifest } = await import("./routes-manifest-
|
|
1074
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
1075
|
-
const { isEnabled } = await import("./toolchain-modules-
|
|
1073
|
+
const { planRouteManifest } = await import("./routes-manifest-Z7I4TZIL.js");
|
|
1074
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-BDJ6XQXF.js");
|
|
1075
|
+
const { isEnabled } = await import("./toolchain-modules-OXUU342N.js");
|
|
1076
1076
|
const existing = existsSync(lockPath) ? readLockFile(lockPath) : void 0;
|
|
1077
1077
|
resetLockOverrides();
|
|
1078
1078
|
if (existing !== void 0) seedLockOverrides(existing);
|
|
1079
1079
|
const ctx = createLockContext(existing);
|
|
1080
|
-
const { envNamesRead } = await import("./guards-
|
|
1081
|
-
const { refreshEnvExample } = await import("./env-example-refresh-
|
|
1080
|
+
const { envNamesRead } = await import("./guards-RU4C7TFG.js");
|
|
1081
|
+
const { refreshEnvExample } = await import("./env-example-refresh-DR44A6YZ.js");
|
|
1082
1082
|
const def = await loadDefault(join(targetDir, XANO_DIR, "index.ts"));
|
|
1083
1083
|
if (!Xano.isXano(def)) return { written, env: declaredEnv };
|
|
1084
1084
|
const previousSink = setDiagnosticSink(() => {
|
|
@@ -1145,7 +1145,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1145
1145
|
const file = readCredentialFile(path);
|
|
1146
1146
|
const stored = file === null ? [] : profileNames(file);
|
|
1147
1147
|
if (stored.includes(name)) return;
|
|
1148
|
-
const { ProfileNotFoundError } = await import("./token-
|
|
1148
|
+
const { ProfileNotFoundError } = await import("./token-WL7SSK64.js");
|
|
1149
1149
|
const have = stored.length === 0 ? "Nothing is signed in on this machine." : `Stored profiles: ${quotedNames(stored)}.`;
|
|
1150
1150
|
throw new ProfileNotFoundError(
|
|
1151
1151
|
`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})` : ""}.`,
|
|
@@ -1154,7 +1154,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1154
1154
|
);
|
|
1155
1155
|
}
|
|
1156
1156
|
async function envCredentialSet() {
|
|
1157
|
-
const { envMetaCredentialVarsSet } = await import("./token-
|
|
1157
|
+
const { envMetaCredentialVarsSet } = await import("./token-WL7SSK64.js");
|
|
1158
1158
|
return envMetaCredentialVarsSet().length > 0;
|
|
1159
1159
|
}
|
|
1160
1160
|
function loginNextStep(pin, projectDir) {
|
|
@@ -1209,7 +1209,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1209
1209
|
};
|
|
1210
1210
|
}
|
|
1211
1211
|
if (opts.credentialRead === true) {
|
|
1212
|
-
const { environmentCredentialVars } = await import("./token-
|
|
1212
|
+
const { environmentCredentialVars } = await import("./token-WL7SSK64.js");
|
|
1213
1213
|
const env = environmentCredentialVars();
|
|
1214
1214
|
if (env.complete) {
|
|
1215
1215
|
return {
|
|
@@ -1232,7 +1232,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1232
1232
|
});
|
|
1233
1233
|
const stored = file === null ? [] : profileNames(file);
|
|
1234
1234
|
if (!stored.includes(selection.name)) {
|
|
1235
|
-
const env = stored.length === 0 ? (await import("./token-
|
|
1235
|
+
const env = stored.length === 0 ? (await import("./token-WL7SSK64.js")).environmentCredentialVars() : void 0;
|
|
1236
1236
|
const storeEnv = env?.complete === true ? await storeEnvCredentialCommand(credentialPath, targetDir) : "";
|
|
1237
1237
|
return {
|
|
1238
1238
|
name: null,
|
|
@@ -1325,4 +1325,4 @@ export {
|
|
|
1325
1325
|
projectCli,
|
|
1326
1326
|
planProfilePin
|
|
1327
1327
|
};
|
|
1328
|
-
//# sourceMappingURL=chunk-
|
|
1328
|
+
//# sourceMappingURL=chunk-HW2JPR5W.js.map
|