@xano/sdk 1.0.8 → 1.0.9
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 +12 -0
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-QJO3MT6Q.js → agent-file-refresh-XXCQOTWN.js} +4 -4
- package/dist/{agent-skill-command-GBR4KUUG.js → agent-skill-command-VDSMXH4M.js} +14 -14
- package/dist/{backend-dir-PFUIPCV3.js → backend-dir-G44PETFO.js} +4 -4
- package/dist/bin.js +14 -14
- package/dist/{branch-commands-CR3SAHMV.js → branch-commands-Q6E66PMM.js} +3 -3
- package/dist/{chunk-QRKBFXIB.js → chunk-2VWSUG2B.js} +2 -2
- package/dist/{chunk-FN7E6XGD.js → chunk-3XSTC3TM.js} +2 -2
- package/dist/{chunk-RYMGK2K5.js → chunk-5BEK7YKY.js} +2 -2
- package/dist/{chunk-C2I4GC36.js → chunk-5VOGPS5O.js} +2 -2
- package/dist/{chunk-W2BVP27L.js → chunk-6IOQRBRX.js} +2 -2
- package/dist/{chunk-P5W6DBV6.js → chunk-ADKC3EII.js} +3 -3
- package/dist/{chunk-Y5ET37NN.js → chunk-BUTGFWWA.js} +2 -2
- package/dist/{chunk-UU7EEREQ.js → chunk-CXWCWYX3.js} +2 -2
- package/dist/{chunk-JPRZ4ZGU.js → chunk-DDUOMOIP.js} +6 -6
- package/dist/{chunk-DER2CVNC.js → chunk-DSD2NNTX.js} +2 -2
- package/dist/{chunk-JJGK7XGC.js → chunk-FFB3YCUO.js} +2 -2
- package/dist/{chunk-PAS5HOG3.js → chunk-GAU2FCT7.js} +2 -2
- package/dist/{chunk-XYTVP4WI.js → chunk-GHPC52TD.js} +3 -3
- package/dist/{chunk-CRE7P7P2.js → chunk-HBFXR4OJ.js} +2 -2
- package/dist/{chunk-JG642U5D.js → chunk-HETQSTGG.js} +2 -2
- package/dist/{chunk-V7KMIEMF.js → chunk-HVSIS47X.js} +16 -16
- package/dist/{chunk-QE2GNFMP.js → chunk-IFCQCM2Q.js} +3 -3
- package/dist/{chunk-7UWUEUVJ.js → chunk-INAM6KR6.js} +2 -2
- package/dist/{chunk-HKLBDSML.js → chunk-KDS4PDFD.js} +2 -2
- package/dist/{chunk-UKJFCEMI.js → chunk-NI56XX5Z.js} +2 -2
- package/dist/{chunk-77GV772V.js → chunk-OYRQLU66.js} +2 -2
- package/dist/{chunk-S3WN6GGO.js → chunk-QGDT52FA.js} +12 -12
- package/dist/{chunk-AS4G2MIE.js → chunk-S5RZYUP2.js} +2 -2
- package/dist/{chunk-S3STXOAO.js → chunk-SGYDFEXD.js} +7 -7
- package/dist/{chunk-ZT2B22VQ.js → chunk-SSOTLVOJ.js} +2 -2
- package/dist/{chunk-F5RPNTN7.js → chunk-T3ZVNOJC.js} +1 -1
- package/dist/{chunk-ZJCHS7FM.js → chunk-U7XSQXOA.js} +54 -54
- package/dist/{chunk-YG7S3N7P.js → chunk-UZUY6VPB.js} +20 -20
- package/dist/{chunk-NFZUXS7D.js → chunk-WKCA66SH.js} +5 -5
- package/dist/{chunk-FHQYXGAY.js → chunk-WLFANUXE.js} +2 -2
- package/dist/{chunk-U7XNJ33Q.js → chunk-XLQT3CCF.js} +12 -12
- package/dist/{chunk-WEQFI55W.js → chunk-XPLBTV77.js} +4 -4
- package/dist/{chunk-ZQ5WZWHF.js → chunk-XTUYIX5H.js} +16 -16
- package/dist/{chunk-M3RLLT4O.js → chunk-Y2LKSXFK.js} +3 -3
- package/dist/{chunk-2HZDWZM2.js → chunk-Y3FM4BSZ.js} +1 -1
- package/dist/{chunk-33KELF2X.js → chunk-YMVCKGY2.js} +39 -39
- package/dist/{chunk-K75BFHQQ.js → chunk-YVXUYDHC.js} +2 -2
- package/dist/{chunk-S2F7KVUL.js → chunk-ZYPEH64F.js} +2 -2
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +13 -13
- package/dist/{codegen-command-4YXDJSLU.js → codegen-command-KZJ7LYHW.js} +20 -20
- package/dist/{deploy-command-FIDS56ZC.js → deploy-command-RXPJAM7M.js} +17 -17
- package/dist/{deploy-source-FPNNNNOW.js → deploy-source-TD77W4SA.js} +7 -7
- package/dist/{dev-env-sync-RBJ2U3HG.js → dev-env-sync-2UCNSIJL.js} +14 -14
- package/dist/{emit-8lcNcRrd.d.ts → emit-D-a6JznN.d.ts} +10 -4
- package/dist/{env-example-refresh-6UTTMDOI.js → env-example-refresh-QKZI26F2.js} +21 -21
- package/dist/{env-pull-command-P5MATITQ.js → env-pull-command-72PQOMKW.js} +13 -13
- package/dist/{env-target-F75YF25S.js → env-target-AZJ4JXT7.js} +2 -2
- package/dist/{env-var-command-H3GHROVB.js → env-var-command-ALJITZDL.js} +13 -13
- package/dist/{ephemeral-command-NH2XW3YK.js → ephemeral-command-T276HQBO.js} +14 -14
- package/dist/{generate-command-IANKN6WV.js → generate-command-M6LAT4XU.js} +24 -24
- package/dist/{gitignore-FT2LVOMI.js → gitignore-V6QHYKIR.js} +6 -6
- package/dist/{impersonate-command-7B67ICPL.js → impersonate-command-S6PYDMHQ.js} +9 -9
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/{init-command-QOA4TJI2.js → init-command-ENAZKPZA.js} +16 -16
- package/dist/{init-modules-KEEJ4HAF.js → init-modules-AIKWWTVQ.js} +2 -2
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +21 -4
- package/dist/{keep-data-merge-BIBW4QR4.js → keep-data-merge-3WPUPPTY.js} +4 -4
- package/dist/{landing-record-DO3PM7QP.js → landing-record-SJ5HG7T5.js} +5 -5
- package/dist/{local-engine-choice-2UF7S5QZ.js → local-engine-choice-BD5O7SAU.js} +8 -8
- package/dist/{local-engine-command-WGMMZRQL.js → local-engine-command-MXQUXXAA.js} +9 -9
- package/dist/{local-engine-mcp-command-RMVUH4FL.js → local-engine-mcp-command-6G3TDWDI.js} +9 -9
- package/dist/{lock-commands-5NMQWBGH.js → lock-commands-SUPQOEVU.js} +14 -14
- package/dist/{login-command-GLLFZWHT.js → login-command-LTYO3EK7.js} +9 -9
- package/dist/{logout-command-NCMKMJWF.js → logout-command-QRRT36DY.js} +3 -3
- package/dist/{marketplace-command-Y3RRUEWL.js → marketplace-command-POQH5GVT.js} +13 -13
- package/dist/{meta-client-Y7N6WDS2.js → meta-client-PDUP4EOW.js} +2 -2
- package/dist/node.d.ts +4 -4
- package/dist/node.js +16 -16
- package/dist/{operation-outcome-4BFISK2R.js → operation-outcome-IXMC5SBN.js} +4 -4
- package/dist/{output-target-MFANTVGZ.js → output-target-4XN43WIB.js} +7 -7
- package/dist/{preflight-command-Q6XOKRM6.js → preflight-command-QWZL4O2N.js} +19 -19
- package/dist/{profile-command-XPQIXFWN.js → profile-command-V6WFDYZW.js} +10 -10
- package/dist/{promote-command-DN64QK7O.js → promote-command-B3QODJNT.js} +27 -27
- package/dist/{publish-command-SLE46MQX.js → publish-command-JOL6LXH6.js} +17 -17
- package/dist/{pull-command-UVK3IOXM.js → pull-command-RPGL6LXP.js} +22 -22
- package/dist/{release-command-MKNESNGB.js → release-command-USZAWVXO.js} +19 -19
- package/dist/{release-ns-command-HLR46IKP.js → release-ns-command-3XDRQKJD.js} +32 -32
- package/dist/{routes-manifest-file-UHVVL2YB.js → routes-manifest-file-V5JJVIPH.js} +2 -2
- package/dist/{secrets-file-HST7BMQC.js → secrets-file-ZA6K4J6W.js} +5 -5
- package/dist/{secrets-fill-command-FQJ4QFBP.js → secrets-fill-command-MH53XR45.js} +16 -16
- package/dist/{source-resolve-LNRUITLS.js → source-resolve-I55GN6ZC.js} +3 -3
- package/dist/{status-command-S5CBG2SW.js → status-command-I6S2TVAY.js} +12 -12
- package/dist/{store-CuD1k4kV.d.ts → store-xUySg-KR.d.ts} +1 -1
- package/dist/{sync-contributions-O5ZRM2JN.js → sync-contributions-4HHBUGJ4.js} +2 -2
- package/dist/{tables-command-7KI2KZOS.js → tables-command-L4JRA7JF.js} +10 -10
- package/dist/{tenant-command-MQTLNETR.js → tenant-command-IZ3R4BDG.js} +33 -33
- package/dist/{test-command-NLYMAAPD.js → test-command-GCKZRRSL.js} +10 -10
- package/dist/{token-3IPTVEEW.js → token-XQCIFX7R.js} +2 -2
- package/dist/{toolchain-modules-K46KYJ4G.js → toolchain-modules-C53NXT3S.js} +2 -2
- package/dist/{tracked-backend-FQFXTTYZ.js → tracked-backend-UHKPD2JU.js} +9 -9
- package/dist/{update-check-FHRRUDEC.js → update-check-KMAC4VEJ.js} +15 -15
- package/dist/{upgrade-command-WNBPKUXN.js → upgrade-command-HQBSUFNE.js} +17 -17
- package/dist/{whoami-command-DPGDK35H.js → whoami-command-23UXAC6F.js} +4 -4
- package/dist/{workspace-2GMONZ2A.js → workspace-TZMAJ7NF.js} +2 -2
- package/dist/{workspace-binding-PAUOIK3V.js → workspace-binding-RBU22BBX.js} +3 -3
- package/dist/{workspace-command-KEKL27Y4.js → workspace-command-N4BTEHSW.js} +28 -28
- package/dist/{workspace-env-GGEZVZDY.js → workspace-env-O3RK26FR.js} +5 -5
- package/dist/{xanosdk-import-HYHABD5U.js → xanosdk-import-WPCHIVP6.js} +2 -2
- package/dist/{xanosdk-project-2T56DRYS.js → xanosdk-project-TEAXYQZW.js} +5 -5
- package/guides/cli.md +8 -7
- package/guides/deploying.md +11 -8
- package/llms/kinds-agent-mcp.md +3 -2
- package/llms/object-kinds.md +14 -0
- package/llms-full.txt +19 -4
- package/llms.txt +2 -2
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
} from "./chunk-6YOH2L3G.js";
|
|
17
17
|
import {
|
|
18
18
|
archiveSeedContent
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GHPC52TD.js";
|
|
20
20
|
import {
|
|
21
21
|
shownLabel
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WKCA66SH.js";
|
|
23
23
|
import {
|
|
24
24
|
confirm,
|
|
25
25
|
needsConfirmation
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
landingLockPath,
|
|
41
41
|
recordForeignLanding,
|
|
42
42
|
recordLanding
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-ZYPEH64F.js";
|
|
44
44
|
import {
|
|
45
45
|
recordSync
|
|
46
46
|
} from "./chunk-R3LANPQZ.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
XANOSDK_IMPORT_UNIQUENESS_CODE,
|
|
50
50
|
XanoSdkImportRefusal,
|
|
51
51
|
xanosdkImport
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-3XSTC3TM.js";
|
|
53
53
|
import {
|
|
54
54
|
encodeWorkspaceArchive
|
|
55
55
|
} from "./chunk-3DRXWLJ5.js";
|
|
@@ -79,18 +79,18 @@ import {
|
|
|
79
79
|
assertBundleInput,
|
|
80
80
|
loadBundleText,
|
|
81
81
|
resolveLockPath
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-U7XSQXOA.js";
|
|
83
83
|
import {
|
|
84
84
|
LookupFailedError,
|
|
85
85
|
isUnansweredLookup,
|
|
86
86
|
unansweredCause
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-INAM6KR6.js";
|
|
88
88
|
import {
|
|
89
89
|
isSignatureRefusal
|
|
90
90
|
} from "./chunk-VJTTTIIB.js";
|
|
91
91
|
import {
|
|
92
92
|
getAccessToken
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-IFCQCM2Q.js";
|
|
94
94
|
import {
|
|
95
95
|
readLockFile
|
|
96
96
|
} from "./chunk-CJDPSCMX.js";
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
} from "./chunk-6S263KTM.js";
|
|
108
108
|
import {
|
|
109
109
|
backendDirIn
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-6IOQRBRX.js";
|
|
111
111
|
import {
|
|
112
112
|
shellWord
|
|
113
113
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -793,7 +793,7 @@ function markUnchanged(presented, unchanged, noun) {
|
|
|
793
793
|
}
|
|
794
794
|
var REPLACE_DROPS = "which deletes every table's rows there (only seed rows come back)";
|
|
795
795
|
async function replaceCommandHint(args) {
|
|
796
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-
|
|
796
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-RXPJAM7M.js");
|
|
797
797
|
const valued = /* @__PURE__ */ new Set(["--branch", "--backup-branch", "--expect-live"]);
|
|
798
798
|
const dropped = /* @__PURE__ */ new Set(["--prune", "--reset-data", "--seed", "--set-live", "--dry-run", "--replace", "--yes", "-y"]);
|
|
799
799
|
const argv = [];
|
|
@@ -1609,7 +1609,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1609
1609
|
const held = guidsOf(live);
|
|
1610
1610
|
const codePinned = codePinnedTables(outgoingDoc, lock, classified);
|
|
1611
1611
|
const { orphanFixUps } = await import("./cli.js");
|
|
1612
|
-
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-
|
|
1612
|
+
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-3WPUPPTY.js");
|
|
1613
1613
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1614
1614
|
const out = [];
|
|
1615
1615
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -1653,7 +1653,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1653
1653
|
return out;
|
|
1654
1654
|
}
|
|
1655
1655
|
async function pendingRenameRefusal(frame, pending, prune, branch) {
|
|
1656
|
-
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-
|
|
1656
|
+
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-3WPUPPTY.js");
|
|
1657
1657
|
const one = pending.length === 1;
|
|
1658
1658
|
const lines = pending.flatMap(
|
|
1659
1659
|
(p) => pendingRenameLines(
|
|
@@ -2109,7 +2109,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2109
2109
|
assertBundleFile(args, { command: "deploy" });
|
|
2110
2110
|
const auth = opts.auth ?? await getAccessToken(args);
|
|
2111
2111
|
const withSeed = req.mode === "replace" || req.records === true;
|
|
2112
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
2112
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-C53NXT3S.js");
|
|
2113
2113
|
const toolchain = await discoverToolchainPlugins(process.cwd(), { frozen: args.frozenLock === true });
|
|
2114
2114
|
const loaded = await loadBundleText(
|
|
2115
2115
|
args.dryRun ? { ...args, lockReadOnly: true } : args,
|
|
@@ -2135,11 +2135,11 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2135
2135
|
});
|
|
2136
2136
|
};
|
|
2137
2137
|
if (!args.dryRun && args.file !== void 0) {
|
|
2138
|
-
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-
|
|
2138
|
+
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-RXPJAM7M.js");
|
|
2139
2139
|
await ignoreBackendSecretFilesRead(args);
|
|
2140
2140
|
}
|
|
2141
2141
|
if (args.static !== void 0) {
|
|
2142
|
-
const { assertNoSeedLeaks } = await import("./deploy-command-
|
|
2142
|
+
const { assertNoSeedLeaks } = await import("./deploy-command-RXPJAM7M.js");
|
|
2143
2143
|
await assertNoSeedLeaks(args.static, nonPublicSeedValues);
|
|
2144
2144
|
}
|
|
2145
2145
|
{
|
|
@@ -2249,7 +2249,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2249
2249
|
pinned: pinned.map((p) => p.guid).filter((g) => g !== void 0)
|
|
2250
2250
|
}).catch(async (err) => {
|
|
2251
2251
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2252
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2252
|
+
const { importInProgressError } = await import("./keep-data-merge-3WPUPPTY.js");
|
|
2253
2253
|
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-VZYLYDVX.js");
|
|
2254
2254
|
const retry = retryCommand2(args);
|
|
2255
2255
|
throw importInProgressError(
|
|
@@ -2384,7 +2384,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2384
2384
|
});
|
|
2385
2385
|
})() : [];
|
|
2386
2386
|
if (req.mode === "merge" && destIsTenant && live !== void 0 && !dryRunUpToDate) {
|
|
2387
|
-
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-
|
|
2387
|
+
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-3WPUPPTY.js");
|
|
2388
2388
|
const triggers = liveTableTriggers(live);
|
|
2389
2389
|
if (triggers.length > 0) {
|
|
2390
2390
|
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-VZYLYDVX.js");
|
|
@@ -2767,7 +2767,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2767
2767
|
if (isMachineOutput(args)) writeJson(summary);
|
|
2768
2768
|
assertStaticMatchesServedUrls(servedDifferences, planContext);
|
|
2769
2769
|
}
|
|
2770
|
-
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-
|
|
2770
|
+
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-RXPJAM7M.js");
|
|
2771
2771
|
const env = buildStaticEnv(destBase, args.staticEnv);
|
|
2772
2772
|
const explicit = Object.keys(args.staticEnv).length > 0;
|
|
2773
2773
|
const to = dest?.kind === "tenant" ? `${dest.type === "ephemeral" ? "ephemeral" : "tenant"}:${dest.name ?? ""}` : "workspace";
|
|
@@ -2819,14 +2819,14 @@ function setLiveRollback(previous, args) {
|
|
|
2819
2819
|
async function assertReleaseIdentitiesFree(args, auth, opts) {
|
|
2820
2820
|
const tenant = opts.tenant;
|
|
2821
2821
|
const target = tenant === void 0 ? { baseUrl: auth.instance, workspaceId: auth.workspaceId } : { baseUrl: tenant.base, workspaceId: tenant.workspaceId };
|
|
2822
|
-
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-
|
|
2822
|
+
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-WPCHIVP6.js");
|
|
2823
2823
|
let capable;
|
|
2824
2824
|
try {
|
|
2825
2825
|
capable = await detectXanoSdkImportRoute(auth, target);
|
|
2826
2826
|
} catch (err) {
|
|
2827
2827
|
if (err?.status === 501) capable = false;
|
|
2828
2828
|
else {
|
|
2829
|
-
const { unreachableProbeError } = await import("./keep-data-merge-
|
|
2829
|
+
const { unreachableProbeError } = await import("./keep-data-merge-3WPUPPTY.js");
|
|
2830
2830
|
const retry = retryCommand(args, {
|
|
2831
2831
|
add: pipedYes(args) === "" ? [] : ["--yes"],
|
|
2832
2832
|
command: [opts.verb, ...args.positionals.map(shellWord)].join(" ")
|
|
@@ -2915,4 +2915,4 @@ export {
|
|
|
2915
2915
|
setLiveRollback,
|
|
2916
2916
|
assertReleaseIdentitiesFree
|
|
2917
2917
|
};
|
|
2918
|
-
//# sourceMappingURL=chunk-
|
|
2918
|
+
//# sourceMappingURL=chunk-UZUY6VPB.js.map
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-XQO4A4Q4.js";
|
|
27
27
|
import {
|
|
28
28
|
getAccessToken
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-IFCQCM2Q.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-I55GN6ZC.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-I55GN6ZC.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-I55GN6ZC.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-WKCA66SH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ENV_WORKSPACE
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IFCQCM2Q.js";
|
|
4
4
|
import {
|
|
5
5
|
credentialFileOf
|
|
6
6
|
} from "./chunk-6S263KTM.js";
|
|
@@ -162,4 +162,4 @@ export {
|
|
|
162
162
|
rerunInWorkspace,
|
|
163
163
|
heldElsewhereError
|
|
164
164
|
};
|
|
165
|
-
//# sourceMappingURL=chunk-
|
|
165
|
+
//# sourceMappingURL=chunk-WLFANUXE.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-76UAME77.js";
|
|
6
6
|
import {
|
|
7
7
|
rerenderEnvExample
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ADKC3EII.js";
|
|
9
9
|
import {
|
|
10
10
|
carriedSeedRows,
|
|
11
11
|
decodeBundle,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
verifyPulledTree,
|
|
18
18
|
withSourceIdentities,
|
|
19
19
|
writeDocumentationTokens
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XTUYIX5H.js";
|
|
21
21
|
import {
|
|
22
22
|
ROUTES_MANIFEST_BASENAME
|
|
23
23
|
} from "./chunk-O376UAZS.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-6YOH2L3G.js";
|
|
27
27
|
import {
|
|
28
28
|
fetchSourceArchive
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-GHPC52TD.js";
|
|
30
30
|
import {
|
|
31
31
|
confirm
|
|
32
32
|
} from "./chunk-HQPL34O6.js";
|
|
@@ -40,25 +40,25 @@ import {
|
|
|
40
40
|
} from "./chunk-3DRXWLJ5.js";
|
|
41
41
|
import {
|
|
42
42
|
ensureSecretPathGitignored
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-HETQSTGG.js";
|
|
44
44
|
import {
|
|
45
45
|
readVersion,
|
|
46
46
|
refreshAgentGuidance
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-U7XSQXOA.js";
|
|
48
48
|
import {
|
|
49
49
|
WORKSPACE_ENV_BASENAME,
|
|
50
50
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
51
51
|
namesInEnvExample,
|
|
52
52
|
readWorkspaceEnvFile
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-Y2LKSXFK.js";
|
|
54
54
|
import {
|
|
55
55
|
memoCredential,
|
|
56
56
|
refuseProfileForLocal,
|
|
57
57
|
selectBackend
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-SGYDFEXD.js";
|
|
59
59
|
import {
|
|
60
60
|
getAccessToken
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-IFCQCM2Q.js";
|
|
62
62
|
import {
|
|
63
63
|
readLockFile,
|
|
64
64
|
writeLockFile
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
import {
|
|
73
73
|
backendDirIn,
|
|
74
74
|
resolveBackendDir
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-6IOQRBRX.js";
|
|
76
76
|
import {
|
|
77
77
|
CODEGEN_MARKER,
|
|
78
78
|
DECODE_MARKER,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
readDecodeRecord,
|
|
88
88
|
removeEmptiedDirs,
|
|
89
89
|
removeFiles
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-KDS4PDFD.js";
|
|
91
91
|
import {
|
|
92
92
|
holdsProjectManifest
|
|
93
93
|
} from "./chunk-HU7F56VF.js";
|
|
@@ -319,7 +319,7 @@ async function runPullCommand(args) {
|
|
|
319
319
|
});
|
|
320
320
|
refuseDuplicateSourceGuids(project);
|
|
321
321
|
const seedRows = carriedSeedRows(fetched.archive, bundle.payload);
|
|
322
|
-
const { discoverManifestModules } = await import("./routes-manifest-file-
|
|
322
|
+
const { discoverManifestModules } = await import("./routes-manifest-file-V5JJVIPH.js");
|
|
323
323
|
const modules = await discoverManifestModules(cwd, join(cwd, backendDir, ROUTES_MANIFEST_BASENAME), readVersion());
|
|
324
324
|
const placed = placeGeneratedFiles(project, backendDir, void 0, void 0, modules);
|
|
325
325
|
const settings = source.kind === "release" ? keepProjectSettings(placed, backendDir, join(cwd, backendDir)) : { files: placed, kept: false, lost: [], from: WORKSPACE_SETTINGS_FILE };
|
|
@@ -944,4 +944,4 @@ export {
|
|
|
944
944
|
projectWorkspaceName,
|
|
945
945
|
envFillRemedy
|
|
946
946
|
};
|
|
947
|
-
//# sourceMappingURL=chunk-
|
|
947
|
+
//# sourceMappingURL=chunk-XLQT3CCF.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
reachableLines,
|
|
4
4
|
readReachableWorkspaces,
|
|
5
5
|
workspaceIdFix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WLFANUXE.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialRejected,
|
|
9
9
|
getAccessToken
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IFCQCM2Q.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-I55GN6ZC.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-XPLBTV77.js.map
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
sanitizeAppName,
|
|
17
17
|
settleClashes,
|
|
18
18
|
templateVarsFor
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HVSIS47X.js";
|
|
20
20
|
import {
|
|
21
21
|
renderManifestFile,
|
|
22
22
|
reportModuleFailures
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GAU2FCT7.js";
|
|
24
24
|
import {
|
|
25
25
|
ROUTES_MANIFEST_BASENAME,
|
|
26
26
|
RouteManifestError,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
archiveSeedContent,
|
|
34
34
|
fetchSourceArchive
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-GHPC52TD.js";
|
|
36
36
|
import {
|
|
37
37
|
confirm
|
|
38
38
|
} from "./chunk-HQPL34O6.js";
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
} from "./chunk-75MKIQON.js";
|
|
90
90
|
import {
|
|
91
91
|
detectInstallMode
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-YVXUYDHC.js";
|
|
93
93
|
import {
|
|
94
94
|
UNSUPPORTED_SECTIONS,
|
|
95
95
|
decodedCounts,
|
|
@@ -104,26 +104,26 @@ import {
|
|
|
104
104
|
import {
|
|
105
105
|
ensureWorkspaceEnvGitignored,
|
|
106
106
|
requireSecretPathGitignored
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-HETQSTGG.js";
|
|
108
108
|
import {
|
|
109
109
|
loadDefault,
|
|
110
110
|
readVersion,
|
|
111
111
|
resolveKnowledge
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-U7XSQXOA.js";
|
|
113
113
|
import {
|
|
114
114
|
WORKSPACE_ENV_BASENAME,
|
|
115
115
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
116
116
|
renderWorkspaceEnvExample,
|
|
117
117
|
renderWorkspaceEnvFile,
|
|
118
118
|
valueProblem
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-Y2LKSXFK.js";
|
|
120
120
|
import {
|
|
121
121
|
memoCredential,
|
|
122
122
|
refuseProfileForLocal
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-SGYDFEXD.js";
|
|
124
124
|
import {
|
|
125
125
|
getAccessToken
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-IFCQCM2Q.js";
|
|
127
127
|
import {
|
|
128
128
|
getEngineRecord
|
|
129
129
|
} from "./chunk-5Y5HWQ2P.js";
|
|
@@ -138,7 +138,7 @@ import {
|
|
|
138
138
|
SECRETS_FILE_VERSION,
|
|
139
139
|
workspaceSecretsPathIn,
|
|
140
140
|
writeSecretsFile
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-CXWCWYX3.js";
|
|
142
142
|
import {
|
|
143
143
|
yesRerun
|
|
144
144
|
} from "./chunk-C2GHFADU.js";
|
|
@@ -161,7 +161,7 @@ import {
|
|
|
161
161
|
plannedAgentsMd,
|
|
162
162
|
readDecodeRecord,
|
|
163
163
|
scaffoldProject
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-KDS4PDFD.js";
|
|
165
165
|
import {
|
|
166
166
|
shellWord
|
|
167
167
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -227,7 +227,7 @@ import {
|
|
|
227
227
|
s,
|
|
228
228
|
tableTrigger,
|
|
229
229
|
workspaceTrigger
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-T3ZVNOJC.js";
|
|
231
231
|
import {
|
|
232
232
|
parsePathParams,
|
|
233
233
|
unboundPathParams
|
|
@@ -6303,7 +6303,7 @@ async function fetchBundle(args, source) {
|
|
|
6303
6303
|
...branch === void 0 ? {} : { syncTarget: { instance: auth.instance, workspaceId: auth.workspaceId, branch } }
|
|
6304
6304
|
};
|
|
6305
6305
|
}
|
|
6306
|
-
const { projectDirFrom } = await import("./xanosdk-project-
|
|
6306
|
+
const { projectDirFrom } = await import("./xanosdk-project-TEAXYQZW.js");
|
|
6307
6307
|
const cwd = projectDirFrom(process.cwd()) ?? process.cwd();
|
|
6308
6308
|
const raw2 = "name" in source && source.name !== void 0 ? `${source.kind}:${source.name}` : source.kind;
|
|
6309
6309
|
step(`Reading ${raw2}`);
|
|
@@ -6783,7 +6783,7 @@ async function runInitFromCommand(args, source) {
|
|
|
6783
6783
|
for (const line of routesDeferred) warn(line, "routes.not-written");
|
|
6784
6784
|
if (seed !== void 0) reportSeedRows(seed.rows, seed.label, seed.provenance, XANO_DIR, contextFlags(args));
|
|
6785
6785
|
if (replace.lock !== void 0) {
|
|
6786
|
-
const { reconciledLock } = await import("./pull-command-
|
|
6786
|
+
const { reconciledLock } = await import("./pull-command-RPGL6LXP.js");
|
|
6787
6787
|
writeLockFile(
|
|
6788
6788
|
replace.lock.path,
|
|
6789
6789
|
reconciledLock(replace.lock.model, replace.lock.reconciliation, bundle.payload)
|
|
@@ -6894,7 +6894,7 @@ async function planXanoReplace(out, files, payload, args, label, agentsMd) {
|
|
|
6894
6894
|
if (shell.length > 0 && !await confirmShellOverwrite(out, shell, args, label)) return "cancelled";
|
|
6895
6895
|
return { removals: void 0, removedEdited: [], rewrittenEdited: [], kept: [] };
|
|
6896
6896
|
}
|
|
6897
|
-
const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-
|
|
6897
|
+
const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-RPGL6LXP.js");
|
|
6898
6898
|
const prefix = `${XANO_DIR}/`;
|
|
6899
6899
|
const incoming = new Map(
|
|
6900
6900
|
files.filter((f) => f.path.startsWith(prefix)).map((f) => [f.path.slice(prefix.length), f.content])
|
|
@@ -7247,4 +7247,4 @@ export {
|
|
|
7247
7247
|
seedRowsListed,
|
|
7248
7248
|
seedRowsLanding
|
|
7249
7249
|
};
|
|
7250
|
-
//# sourceMappingURL=chunk-
|
|
7250
|
+
//# sourceMappingURL=chunk-XTUYIX5H.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backendDirFor,
|
|
3
3
|
backendDirIn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6IOQRBRX.js";
|
|
5
5
|
import {
|
|
6
6
|
XANO_DIR
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KDS4PDFD.js";
|
|
8
8
|
import {
|
|
9
9
|
projectRootFrom
|
|
10
10
|
} from "./chunk-HU7F56VF.js";
|
|
@@ -242,4 +242,4 @@ export {
|
|
|
242
242
|
namesInEnvExample,
|
|
243
243
|
renderWorkspaceEnvFile
|
|
244
244
|
};
|
|
245
|
-
//# sourceMappingURL=chunk-
|
|
245
|
+
//# sourceMappingURL=chunk-Y2LKSXFK.js.map
|