@xano/sdk 1.0.17 → 1.0.18
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/{agent-file-refresh-QTFMNYPY.js → agent-file-refresh-SGM3523M.js} +4 -4
- package/dist/{agent-skill-command-XZVBG34H.js → agent-skill-command-PZXX7LJD.js} +13 -13
- package/dist/{backend-dir-DCT3T6HP.js → backend-dir-AZIVCH6Y.js} +4 -4
- package/dist/bin.js +13 -13
- package/dist/{branch-commands-OEMOFAKC.js → branch-commands-JE5RDJPH.js} +7 -7
- package/dist/bundle.js +2 -2
- package/dist/{chunk-RIT3WBBX.js → chunk-3X4B5GWY.js} +2 -2
- package/dist/{chunk-EXJ4Q5F6.js → chunk-6SEPZQYB.js} +2 -2
- package/dist/{chunk-WDN4QIJ4.js → chunk-77QKU5H6.js} +6 -6
- package/dist/{chunk-RH3NQTGQ.js → chunk-7B2KH733.js} +2 -2
- package/dist/{chunk-3QQFP3AD.js → chunk-7SDCWYAQ.js} +7 -7
- package/dist/{chunk-GBPIFCWL.js → chunk-BQMX7PYG.js} +2 -2
- package/dist/{chunk-ZQUBCGGR.js → chunk-BWD5H7AW.js} +2 -2
- package/dist/{chunk-573RRKNT.js → chunk-CF26RMO5.js} +2 -2
- package/dist/{chunk-SOAZIMWL.js → chunk-CO7US54H.js} +2 -2
- package/dist/{chunk-DNUU4IEM.js → chunk-CRCYD6AK.js} +3 -3
- package/dist/{chunk-CWC6HE66.js → chunk-DCD3KJ4B.js} +16 -16
- package/dist/{chunk-QYZSNN35.js → chunk-E3OLY3J4.js} +1 -1
- package/dist/{chunk-4LT5AVHF.js → chunk-EXY42CTV.js} +7 -7
- package/dist/{chunk-Q3CBDXKL.js → chunk-FCAKYFC6.js} +2 -2
- package/dist/{chunk-PCY4IPXK.js → chunk-H4CS4WPM.js} +13 -13
- package/dist/{chunk-R7Y6S7FF.js → chunk-HERXDPZS.js} +40 -40
- package/dist/{chunk-LXJ72GY2.js → chunk-HFH72FBC.js} +2 -2
- package/dist/{chunk-V4466NNS.js → chunk-ID7MIDLG.js} +2 -2
- package/dist/{chunk-HXFUCPZO.js → chunk-IFNSUPQL.js} +2 -2
- package/dist/{chunk-M2IB6N4V.js → chunk-JTUMJXFN.js} +2 -2
- package/dist/{chunk-H3R4PAOI.js → chunk-LLJL44WF.js} +2 -2
- package/dist/{chunk-GYM22X2X.js → chunk-LMCZQLM4.js} +2 -2
- package/dist/{chunk-ACFBRMCS.js → chunk-MCISY4QC.js} +2 -2
- package/dist/{chunk-J2KY2VNC.js → chunk-NAXUCAOK.js} +19 -19
- package/dist/{chunk-PODT53SQ.js → chunk-NEPSEJRV.js} +2 -2
- package/dist/{chunk-FYPTWYCU.js → chunk-NJCHWEPU.js} +2 -2
- package/dist/{chunk-4XGZ325S.js → chunk-OJ6YGRPV.js} +3 -3
- package/dist/{chunk-ANUBTY3C.js → chunk-OJFBI5C6.js} +2 -2
- package/dist/{chunk-HMV2VGTU.js → chunk-OO2JDYQH.js} +28 -28
- package/dist/{chunk-FIOC7RSU.js → chunk-PKBC7G5H.js} +12 -1
- package/dist/{chunk-NLWYNVJV.js → chunk-Q2KVGISJ.js} +2 -2
- package/dist/{chunk-LWGCUB2A.js → chunk-S4ZWOBRO.js} +2 -2
- package/dist/{chunk-7NKC4MBT.js → chunk-SJW6R6P4.js} +3 -3
- package/dist/{chunk-C6RBLPFY.js → chunk-UBM7L5KL.js} +16 -16
- package/dist/{chunk-ES6FBPLY.js → chunk-UIHLO3HJ.js} +2 -2
- package/dist/{chunk-UDW2KAVF.js → chunk-UQNDODRU.js} +2 -2
- package/dist/{chunk-CNNGNK46.js → chunk-VVZFTYQ3.js} +4 -4
- package/dist/{chunk-6DSA6W4O.js → chunk-X2IQOLQD.js} +2 -2
- package/dist/{chunk-5AVFVC22.js → chunk-X4G7FGHS.js} +3 -3
- package/dist/{chunk-H5OM5G3O.js → chunk-XBCTTJSQ.js} +55 -55
- package/dist/{chunk-GUC73LRA.js → chunk-YQQSFS7S.js} +3 -3
- package/dist/{chunk-QTOW6YXL.js → chunk-ZNHO535R.js} +2 -2
- package/dist/cli.js +12 -12
- package/dist/{codegen-command-HCHTNHDF.js → codegen-command-YGGEC2DV.js} +24 -24
- package/dist/{deploy-command-LYZ76OBA.js → deploy-command-SX4DWRVS.js} +16 -16
- package/dist/{deploy-source-AJESF6J2.js → deploy-source-T6BR3APS.js} +7 -7
- package/dist/{dev-env-sync-PZEIRCFC.js → dev-env-sync-4XFB63CM.js} +13 -13
- package/dist/{env-example-refresh-HLE2HRV4.js → env-example-refresh-N3JPECAZ.js} +25 -25
- package/dist/{env-pull-command-OTTZHTLK.js → env-pull-command-EAWIS3IW.js} +15 -15
- package/dist/{env-target-VXOMKCMO.js → env-target-RZBM6SOB.js} +2 -2
- package/dist/{env-var-command-TDVSO3JY.js → env-var-command-K2OASTSZ.js} +13 -13
- package/dist/{ephemeral-command-AX5TRR23.js → ephemeral-command-FZLJJICY.js} +16 -16
- package/dist/{generate-command-LMSKMR4J.js → generate-command-IQVETHTK.js} +28 -28
- package/dist/{gitignore-GKM5G2DJ.js → gitignore-3REKZPQI.js} +6 -6
- package/dist/{impersonate-command-QTEOBL5N.js → impersonate-command-K4775AUM.js} +9 -9
- package/dist/{init-command-OMZVE54Z.js → init-command-SODVHEI6.js} +15 -15
- package/dist/{init-modules-OTISW6LL.js → init-modules-WJOEK2YW.js} +2 -2
- package/dist/internal.js +0 -10
- package/dist/{keep-data-merge-ECLY5DYP.js → keep-data-merge-CHOKIJS5.js} +8 -8
- package/dist/{landing-record-RVE5WLFS.js → landing-record-KJTRWFK6.js} +5 -5
- package/dist/{live-diff-KJ2TWWWT.js → live-diff-YOFOJCFX.js} +3 -3
- package/dist/{local-engine-choice-CMG5V7RL.js → local-engine-choice-4K5FTSHE.js} +8 -8
- package/dist/{local-engine-command-UMY37AZL.js → local-engine-command-CUBWYENJ.js} +9 -9
- package/dist/{local-engine-mcp-command-AV2T3U4B.js → local-engine-mcp-command-FM4FOZ42.js} +9 -9
- package/dist/{lock-commands-PSKHBOKS.js → lock-commands-BLCJIVCC.js} +13 -13
- package/dist/{login-command-M7RKU3DR.js → login-command-PTYSRF45.js} +9 -9
- package/dist/{logout-command-DAC3XKLT.js → logout-command-BIO63CXY.js} +3 -3
- package/dist/{loop-HILLODVH.js → loop-CLLBQSJF.js} +3 -3
- package/dist/{marketplace-command-2M33OTSN.js → marketplace-command-TEUCQBL5.js} +13 -13
- package/dist/{meta-client-FC4DWPAC.js → meta-client-JY7JXDU2.js} +2 -2
- package/dist/node.js +16 -16
- package/dist/{operation-outcome-3V4G7QD3.js → operation-outcome-ATGF6RR4.js} +4 -4
- package/dist/{output-target-LTU4L3IA.js → output-target-ZCM4XYQA.js} +7 -7
- package/dist/{plan-disclosure-6MG4YYJV.js → plan-disclosure-XTAEE4BE.js} +5 -5
- package/dist/{preflight-command-724B7Y73.js → preflight-command-AXBQADFL.js} +21 -21
- package/dist/{profile-command-REIJ4F3Y.js → profile-command-JZ5PLHJH.js} +10 -10
- package/dist/{promote-command-5FK2NFHG.js → promote-command-25OWDQVE.js} +32 -32
- package/dist/{publish-command-VEDUWLVB.js → publish-command-VBFNWVEF.js} +16 -16
- package/dist/{pull-command-UXNEJSDI.js → pull-command-4YGZSRGU.js} +26 -26
- package/dist/{release-command-BCKJ4BUN.js → release-command-SSRQMIT2.js} +24 -24
- package/dist/{release-ns-command-VFI4PPSX.js → release-ns-command-ISFM36YJ.js} +33 -33
- package/dist/{routes-manifest-file-R3JLJ5CA.js → routes-manifest-file-ZZS5TNGT.js} +2 -2
- package/dist/{secrets-file-GF46TDY7.js → secrets-file-JFCORQT7.js} +5 -5
- package/dist/{secrets-fill-command-HKNROT6W.js → secrets-fill-command-5RJ2HSI5.js} +15 -15
- package/dist/{source-resolve-QYSVNJMY.js → source-resolve-LP6MCOQX.js} +3 -3
- package/dist/{status-command-RLXDDCZA.js → status-command-GXX4MZBC.js} +12 -12
- package/dist/{sync-baseline-GRS33AB5.js → sync-baseline-LSGKNCKM.js} +5 -5
- package/dist/{sync-contributions-BV7DFWBZ.js → sync-contributions-PQTTCY2O.js} +2 -2
- package/dist/{tables-command-EXHXLLN6.js → tables-command-5MLGODGI.js} +10 -10
- package/dist/{tenant-command-D5H7MR3C.js → tenant-command-UDZUIOTO.js} +38 -38
- package/dist/{test-command-ORMWZXC3.js → test-command-7CUROW3U.js} +10 -10
- package/dist/{token-EFSD6WSQ.js → token-DTFJJYQH.js} +2 -2
- package/dist/{toolchain-modules-BC37MYYD.js → toolchain-modules-GQIMMMZL.js} +2 -2
- package/dist/{tracked-backend-IPEGNGNI.js → tracked-backend-2MG4D4ZJ.js} +9 -9
- package/dist/{update-check-4YTFF7NB.js → update-check-H774KJVG.js} +14 -14
- package/dist/{upgrade-command-J4CPYEGO.js → upgrade-command-MLBXEIKR.js} +16 -16
- package/dist/{whoami-command-XGVTKQSL.js → whoami-command-SYRDCTDK.js} +4 -4
- package/dist/{workspace-JGUNVFRE.js → workspace-RMSSZKNV.js} +2 -2
- package/dist/{workspace-binding-MQ2QIWOJ.js → workspace-binding-ZQSANRJF.js} +3 -3
- package/dist/{workspace-command-LSEG62RA.js → workspace-command-X3ACS6X4.js} +34 -34
- package/dist/{workspace-env-7U7OLRUO.js → workspace-env-XA57JKVH.js} +5 -5
- package/dist/{xanosdk-import-Y5SBF4LP.js → xanosdk-import-562F4G3K.js} +2 -2
- package/dist/{xanosdk-project-5XARMFZ7.js → xanosdk-project-J2JVTSVJ.js} +5 -5
- package/guides/coverage.md +9 -12
- package/llms-full.txt +2 -2
- package/llms.txt +2 -2
- package/manifest.json +2 -10
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
- package/dist/.build-fingerprint +0 -1
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-RGPHFHJU.js";
|
|
6
6
|
import {
|
|
7
7
|
rerenderEnvExample
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SJW6R6P4.js";
|
|
9
9
|
import {
|
|
10
10
|
carriedSeedRows,
|
|
11
11
|
decodeBundle,
|
|
@@ -17,16 +17,16 @@ import {
|
|
|
17
17
|
verifyPulledTree,
|
|
18
18
|
withSourceIdentities,
|
|
19
19
|
writeDocumentationTokens
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NAXUCAOK.js";
|
|
21
21
|
import {
|
|
22
22
|
ROUTES_MANIFEST_BASENAME
|
|
23
23
|
} from "./chunk-SVQMDVND.js";
|
|
24
24
|
import {
|
|
25
25
|
syncDigests
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OJ6YGRPV.js";
|
|
27
27
|
import {
|
|
28
28
|
fetchSourceArchive
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CRCYD6AK.js";
|
|
30
30
|
import {
|
|
31
31
|
confirm
|
|
32
32
|
} from "./chunk-AICWDCLJ.js";
|
|
@@ -40,25 +40,25 @@ import {
|
|
|
40
40
|
} from "./chunk-3DRXWLJ5.js";
|
|
41
41
|
import {
|
|
42
42
|
ensureSecretPathGitignored
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-HFH72FBC.js";
|
|
44
44
|
import {
|
|
45
45
|
readVersion,
|
|
46
46
|
refreshAgentGuidance
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-XBCTTJSQ.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-X4G7FGHS.js";
|
|
54
54
|
import {
|
|
55
55
|
memoCredential,
|
|
56
56
|
refuseProfileForLocal,
|
|
57
57
|
selectBackend
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-7SDCWYAQ.js";
|
|
59
59
|
import {
|
|
60
60
|
getAccessToken
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-YQQSFS7S.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-Q2KVGISJ.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-7B2KH733.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-ZZS5TNGT.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-H4CS4WPM.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
passwordHashesWarning,
|
|
6
6
|
passwordOrigin
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZNHO535R.js";
|
|
8
8
|
import {
|
|
9
9
|
isAwaited,
|
|
10
10
|
microserviceLine,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
ImportNotSentError,
|
|
32
32
|
XanoSdkImportRefusal,
|
|
33
33
|
xanosdkImport
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-UIHLO3HJ.js";
|
|
35
35
|
import {
|
|
36
36
|
archiveHostedFiles,
|
|
37
37
|
decodeWorkspaceArchive,
|
|
@@ -48,19 +48,19 @@ import {
|
|
|
48
48
|
missingLockDir,
|
|
49
49
|
refuseCompileValueFlags,
|
|
50
50
|
refuseValueFlagsBesideBundle
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-XBCTTJSQ.js";
|
|
52
52
|
import {
|
|
53
53
|
recordDeployed
|
|
54
54
|
} from "./chunk-MOVRSULZ.js";
|
|
55
55
|
import {
|
|
56
56
|
lookupEphemeral
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-ID7MIDLG.js";
|
|
58
58
|
import {
|
|
59
59
|
getAccessToken
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-YQQSFS7S.js";
|
|
61
61
|
import {
|
|
62
62
|
otherCredentialRefusal
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-S4ZWOBRO.js";
|
|
64
64
|
import {
|
|
65
65
|
engineNameForProject,
|
|
66
66
|
getEngineRecord
|
|
@@ -266,7 +266,7 @@ async function runDeployedTests(auth, summary, args) {
|
|
|
266
266
|
try {
|
|
267
267
|
return await runTestsOrThrow(auth, summary, args, settled, notRun);
|
|
268
268
|
} catch (err) {
|
|
269
|
-
const { isSuiteUnreachable, suiteUnreachableCheck } = await import("./test-command-
|
|
269
|
+
const { isSuiteUnreachable, suiteUnreachableCheck } = await import("./test-command-7CUROW3U.js");
|
|
270
270
|
const message = err instanceof Error ? err.message : String(err);
|
|
271
271
|
const reason = isSuiteUnreachable(err) ? `${message.split("\n")[0] ?? message}
|
|
272
272
|
${suiteUnreachableCheck(
|
|
@@ -291,11 +291,11 @@ function testRunAllCommand(summary, args) {
|
|
|
291
291
|
return `xanosdk test run-all --on ${on}${kind}${concurrency}${flags}`;
|
|
292
292
|
}
|
|
293
293
|
async function testSummaryOf(outcomes, notRun = []) {
|
|
294
|
-
const { suiteCounts, testRow } = await import("./test-command-
|
|
294
|
+
const { suiteCounts, testRow } = await import("./test-command-7CUROW3U.js");
|
|
295
295
|
return { ...suiteCounts(outcomes, notRun), tests: outcomes.map(testRow) };
|
|
296
296
|
}
|
|
297
297
|
async function runTestsOrThrow(auth, summary, args, settled, notRun) {
|
|
298
|
-
const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-
|
|
298
|
+
const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-7CUROW3U.js");
|
|
299
299
|
const { qualifiedName } = await import("./tests-N4MMBABH.js");
|
|
300
300
|
if (summary.url === void 0) {
|
|
301
301
|
warn("Skipped --test: the ephemeral reported no base URL to run against.", "deploy.tests-not-run");
|
|
@@ -339,15 +339,15 @@ async function ignoreBackendSecretFilesRead(args) {
|
|
|
339
339
|
if (args.bundle !== void 0 || args.file === void 0) return;
|
|
340
340
|
const paths = [];
|
|
341
341
|
if (args.envFile === void 0) {
|
|
342
|
-
const { defaultWorkspaceEnvPath } = await import("./workspace-env-
|
|
342
|
+
const { defaultWorkspaceEnvPath } = await import("./workspace-env-XA57JKVH.js");
|
|
343
343
|
paths.push(defaultWorkspaceEnvPath(args.file));
|
|
344
344
|
}
|
|
345
345
|
if (args.secretsFile === void 0) {
|
|
346
|
-
const { defaultWorkspaceSecretsPath } = await import("./secrets-file-
|
|
346
|
+
const { defaultWorkspaceSecretsPath } = await import("./secrets-file-JFCORQT7.js");
|
|
347
347
|
paths.push(defaultWorkspaceSecretsPath(args.file));
|
|
348
348
|
}
|
|
349
349
|
const { gitSaysIgnored } = await import("./store-B63BQV6R.js");
|
|
350
|
-
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-
|
|
350
|
+
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-3REKZPQI.js");
|
|
351
351
|
for (const path of paths) {
|
|
352
352
|
if (!existsSync(path)) continue;
|
|
353
353
|
if (gitSaysIgnored(path) !== false) continue;
|
|
@@ -422,8 +422,8 @@ async function soleTrackedEphemeral() {
|
|
|
422
422
|
}
|
|
423
423
|
async function runDeployToDestination(args, to) {
|
|
424
424
|
const { requireBackendSlot, parseSlot } = await import("./backend-slot-7BATLL3X.js");
|
|
425
|
-
const { resolveSource, describeBackend } = await import("./source-resolve-
|
|
426
|
-
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-
|
|
425
|
+
const { resolveSource, describeBackend } = await import("./source-resolve-LP6MCOQX.js");
|
|
426
|
+
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-T6BR3APS.js");
|
|
427
427
|
const dest = parseSlot(requireBackendSlot("deploy", void 0, "to"), to, to.trim() === "ephemeral" ? await soleTrackedEphemeral() : void 0);
|
|
428
428
|
if (dest.kind !== "workspace" && dest.kind !== "tenant") {
|
|
429
429
|
throw new Error(`Internal: \`deploy --to\` parsed ${withArticle(dest.kind)}, which its slot does not accept.`);
|
|
@@ -498,7 +498,7 @@ async function runDeployToDestination(args, to) {
|
|
|
498
498
|
)
|
|
499
499
|
);
|
|
500
500
|
};
|
|
501
|
-
const { runReleaseCommand } = await import("./release-command-
|
|
501
|
+
const { runReleaseCommand } = await import("./release-command-SSRQMIT2.js");
|
|
502
502
|
return runReleaseCommand(args, {
|
|
503
503
|
base: resolved.target.base,
|
|
504
504
|
workspaceId: resolved.target.workspaceId,
|
|
@@ -639,9 +639,9 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
639
639
|
const { startedAt } = ctx;
|
|
640
640
|
const dir = process.cwd();
|
|
641
641
|
const fetchedSource = sourceCredential !== void 0 && args.file !== void 0 ? { credential: sourceCredential, spec: args.file } : void 0;
|
|
642
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
642
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-GQIMMMZL.js");
|
|
643
643
|
const toolchain = await discoverToolchainPlugins(dir, { frozen: args.frozenLock === true });
|
|
644
|
-
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-
|
|
644
|
+
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-T6BR3APS.js").then(async (m) => {
|
|
645
645
|
const f = await m.fetchSourceArchive(fetchedSource.credential, fetchedSource.spec, dir);
|
|
646
646
|
const decoded = decodeWorkspaceArchive(f.archive);
|
|
647
647
|
noteReleaseCarriesNoEnv(fetchedSource.spec, m.gatedApiGroups(decoded));
|
|
@@ -702,7 +702,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
702
702
|
"; nothing was deployed"
|
|
703
703
|
);
|
|
704
704
|
}
|
|
705
|
-
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-
|
|
705
|
+
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-4K5FTSHE.js");
|
|
706
706
|
const choice = await chooseLocalEngine(dest.downloadUrl, dir, isMachineOutput(args));
|
|
707
707
|
const { ensureProjectEngine } = await import("./local-engine-deploy-XAEDT55W.js");
|
|
708
708
|
const pin = pinAfterAcquire(choice, dir);
|
|
@@ -753,7 +753,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
753
753
|
};
|
|
754
754
|
try {
|
|
755
755
|
if (arm.arm === "merge") {
|
|
756
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
756
|
+
const { mergeKeepingData } = await import("./keep-data-merge-CHOKIJS5.js");
|
|
757
757
|
merged = await mergeKeepingData({
|
|
758
758
|
auth: bearer,
|
|
759
759
|
baseUrl: engine.url,
|
|
@@ -795,7 +795,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
795
795
|
}
|
|
796
796
|
} catch (err) {
|
|
797
797
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
798
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
798
|
+
const { importInProgressError } = await import("./keep-data-merge-CHOKIJS5.js");
|
|
799
799
|
throw importInProgressError(`Xano Engine ${engine.name}`, rerunOf(args), err);
|
|
800
800
|
}
|
|
801
801
|
const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-XAEDT55W.js");
|
|
@@ -1118,15 +1118,15 @@ async function runDeploy(args) {
|
|
|
1118
1118
|
if (args.reset && !args.keepData) {
|
|
1119
1119
|
info("`--reset` changes nothing here: it only overrides `--keep-data`, and without it a deploy already replaces the environment.");
|
|
1120
1120
|
}
|
|
1121
|
-
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-
|
|
1121
|
+
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-T6BR3APS.js");
|
|
1122
1122
|
const fetching = args.file !== void 0 && looksLikeSource(args.file);
|
|
1123
1123
|
const sourceSpec = fetching ? await parseDeploySource(args.file) : void 0;
|
|
1124
1124
|
if (sourceSpec !== void 0) refuseValueFlagsForSource(args, args.file, sourceSpec);
|
|
1125
1125
|
if (destination.kind === "local") {
|
|
1126
1126
|
refuseSameEngine(sourceSpec, process.cwd());
|
|
1127
|
-
const { refuseProfileForLocal } = await import("./tracked-backend-
|
|
1127
|
+
const { refuseProfileForLocal } = await import("./tracked-backend-2MG4D4ZJ.js");
|
|
1128
1128
|
refuseProfileForLocal(args.profile, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind], void 0, {});
|
|
1129
|
-
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-
|
|
1129
|
+
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-4K5FTSHE.js");
|
|
1130
1130
|
refuseCredentialFlagsForLocal(args, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind]);
|
|
1131
1131
|
}
|
|
1132
1132
|
if (!fetching) {
|
|
@@ -1142,7 +1142,7 @@ async function runDeploy(args) {
|
|
|
1142
1142
|
}
|
|
1143
1143
|
refuseMissingStaticDir(args);
|
|
1144
1144
|
if (destination.kind === "local") {
|
|
1145
|
-
const { memoCredential } = await import("./tracked-backend-
|
|
1145
|
+
const { memoCredential } = await import("./tracked-backend-2MG4D4ZJ.js");
|
|
1146
1146
|
return deployToLocalEngine(
|
|
1147
1147
|
args,
|
|
1148
1148
|
destination,
|
|
@@ -1154,7 +1154,7 @@ async function runDeploy(args) {
|
|
|
1154
1154
|
const auth = await getAccessToken(args);
|
|
1155
1155
|
refuseSameEphemeral(sourceSpec, auth, process.cwd(), contextFlags(args), args.keepData && !args.reset);
|
|
1156
1156
|
await noteRunScopeFor(auth);
|
|
1157
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
1157
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-GQIMMMZL.js");
|
|
1158
1158
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
1159
1159
|
frozen: args.frozenLock === true
|
|
1160
1160
|
});
|
|
@@ -1288,9 +1288,9 @@ async function runDeploy(args) {
|
|
|
1288
1288
|
}).finally(() => noteLanded(void 0));
|
|
1289
1289
|
if (staticSummary !== void 0) summary.static = staticSummary;
|
|
1290
1290
|
if (summary.ephemeral !== void 0) {
|
|
1291
|
-
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-
|
|
1291
|
+
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-KJTRWFK6.js");
|
|
1292
1292
|
const dest = { kind: "ephemeral", name: summary.ephemeral.name };
|
|
1293
|
-
const { storedColumnsAfter } = await import("./live-diff-
|
|
1293
|
+
const { storedColumnsAfter } = await import("./live-diff-YOFOJCFX.js");
|
|
1294
1294
|
const sent = JSON.parse(bundle);
|
|
1295
1295
|
const stored = summary.data === "kept" ? removedOut.storedColumns : storedColumnsAfter(sent, void 0, /* @__PURE__ */ new Map(), "rebuild");
|
|
1296
1296
|
if (fetching || args.bundle !== void 0) {
|
|
@@ -1352,7 +1352,7 @@ async function runDeploy(args) {
|
|
|
1352
1352
|
async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts = {}) {
|
|
1353
1353
|
if (args.noDevEnv || summary.url === void 0) return;
|
|
1354
1354
|
if (opts.staticServing === true || summary.static !== void 0 && summary.static.error === void 0) {
|
|
1355
|
-
const { staleDevEnv } = await import("./dev-env-sync-
|
|
1355
|
+
const { staleDevEnv } = await import("./dev-env-sync-4XFB63CM.js");
|
|
1356
1356
|
let stale;
|
|
1357
1357
|
try {
|
|
1358
1358
|
stale = staleDevEnv(cwd, summary.url);
|
|
@@ -1366,7 +1366,7 @@ async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts =
|
|
|
1366
1366
|
}
|
|
1367
1367
|
return;
|
|
1368
1368
|
}
|
|
1369
|
-
const { syncDevEnv } = await import("./dev-env-sync-
|
|
1369
|
+
const { syncDevEnv } = await import("./dev-env-sync-4XFB63CM.js");
|
|
1370
1370
|
try {
|
|
1371
1371
|
const written = syncDevEnv(cwd, summary.url);
|
|
1372
1372
|
if (written === void 0) return;
|
|
@@ -1476,7 +1476,7 @@ async function latestEngineRelease(err) {
|
|
|
1476
1476
|
}
|
|
1477
1477
|
async function mergeGuards(args, lock, outgoing) {
|
|
1478
1478
|
const interactive = process.stdin.isTTY === true && !isMachineOutput(args);
|
|
1479
|
-
const pinned = outgoing === void 0 ? [] : (await import("./release-command-
|
|
1479
|
+
const pinned = outgoing === void 0 ? [] : (await import("./release-command-SSRQMIT2.js")).pinnedCanonicalGuids(outgoing.bundle, lock, outgoing.compiled);
|
|
1480
1480
|
const guards = {
|
|
1481
1481
|
...pinned.length > 0 ? { pinned } : {},
|
|
1482
1482
|
allowForeignDeletes: args.yes === true,
|
|
@@ -1497,7 +1497,7 @@ async function mergeGuards(args, lock, outgoing) {
|
|
|
1497
1497
|
for (const guid of e.replaced ?? []) replaced.set(guid, key.slice("dbo:".length));
|
|
1498
1498
|
}
|
|
1499
1499
|
const { orphanFixUps, resolveLockPath, composedChildren } = await import("./cli.js");
|
|
1500
|
-
const { clearReplacedCommand } = await import("./keep-data-merge-
|
|
1500
|
+
const { clearReplacedCommand } = await import("./keep-data-merge-CHOKIJS5.js");
|
|
1501
1501
|
const lockPath = resolveLockPath(args, entry);
|
|
1502
1502
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1503
1503
|
const keys = Object.keys(lock.objects);
|
|
@@ -1738,7 +1738,7 @@ Re-run as \`${rerun}\` to answer yes without being asked.${note}`,
|
|
|
1738
1738
|
}
|
|
1739
1739
|
const { confirm } = await import("./prompt-OYQHQWKI.js");
|
|
1740
1740
|
if (await confirm(question, { flag: "--yes", refusal: { details, rerun, note } })) return;
|
|
1741
|
-
const { KeepDataDeclined } = await import("./keep-data-merge-
|
|
1741
|
+
const { KeepDataDeclined } = await import("./keep-data-merge-CHOKIJS5.js");
|
|
1742
1742
|
throw new KeepDataDeclined(label, "deployed");
|
|
1743
1743
|
}
|
|
1744
1744
|
function recordedEntry(file) {
|
|
@@ -1773,7 +1773,7 @@ async function refuseOtherProfileEphemeral(state, auth) {
|
|
|
1773
1773
|
{ hintFor: { command: "deploy" } }
|
|
1774
1774
|
);
|
|
1775
1775
|
if (refusal === void 0) return;
|
|
1776
|
-
const { reachableFirst } = await import("./env-target-
|
|
1776
|
+
const { reachableFirst } = await import("./env-target-RZBM6SOB.js");
|
|
1777
1777
|
throw await reachableFirst(refusal, auth);
|
|
1778
1778
|
}
|
|
1779
1779
|
async function refuseKeepDataElsewhere(state, auth) {
|
|
@@ -1787,7 +1787,7 @@ async function refuseKeepDataElsewhere(state, auth) {
|
|
|
1787
1787
|
{ hintFor: { command: "deploy" } }
|
|
1788
1788
|
);
|
|
1789
1789
|
if (refusal === void 0) return;
|
|
1790
|
-
const { reachableFirst } = await import("./env-target-
|
|
1790
|
+
const { reachableFirst } = await import("./env-target-RZBM6SOB.js");
|
|
1791
1791
|
throw await reachableFirst(refusal, auth);
|
|
1792
1792
|
}
|
|
1793
1793
|
async function reconcileRename(err, auth, name, display) {
|
|
@@ -1899,7 +1899,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
|
|
|
1899
1899
|
}).finally(() => creating?.clear()).catch(async (err) => {
|
|
1900
1900
|
if (isEphemeralDisabled(err)) throw ephemeralDisabledError(source);
|
|
1901
1901
|
if (err.status === 404) {
|
|
1902
|
-
const { refuseUnreachableWorkspace } = await import("./workspace-binding-
|
|
1902
|
+
const { refuseUnreachableWorkspace } = await import("./workspace-binding-ZQSANRJF.js");
|
|
1903
1903
|
await refuseUnreachableWorkspace(auth);
|
|
1904
1904
|
}
|
|
1905
1905
|
throw unknownCreateOutcome(err, display, flags, retryCommand(args, { creates: true }));
|
|
@@ -1967,7 +1967,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
1967
1967
|
if (arm.arm === "replace") refuseStaticHostAReplaceClears(args, true);
|
|
1968
1968
|
else await assertStaticHostExists(args, auth, { baseUrl, workspaceId: 1 });
|
|
1969
1969
|
if (arm.arm === "replace") {
|
|
1970
|
-
const { gateForeignReplace } = await import("./keep-data-merge-
|
|
1970
|
+
const { gateForeignReplace } = await import("./keep-data-merge-CHOKIJS5.js");
|
|
1971
1971
|
const { allowForeignDeletes, confirm } = await mergeGuards(args, void 0);
|
|
1972
1972
|
await gateForeignReplace({
|
|
1973
1973
|
auth,
|
|
@@ -2039,7 +2039,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2039
2039
|
let merged;
|
|
2040
2040
|
try {
|
|
2041
2041
|
if (arm.arm === "merge") {
|
|
2042
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
2042
|
+
const { mergeKeepingData } = await import("./keep-data-merge-CHOKIJS5.js");
|
|
2043
2043
|
merged = await mergeKeepingData({
|
|
2044
2044
|
auth,
|
|
2045
2045
|
baseUrl,
|
|
@@ -2093,11 +2093,11 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2093
2093
|
if (!lockCommitted) ctx.warnOrphansUncommitted?.();
|
|
2094
2094
|
if (err instanceof Error && err.name === "KeepDataDeclined") throw err;
|
|
2095
2095
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2096
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2096
|
+
const { importInProgressError } = await import("./keep-data-merge-CHOKIJS5.js");
|
|
2097
2097
|
const retry = retryCommand(args);
|
|
2098
2098
|
throw importInProgressError(namedEphemeral(target), { command: retry.command, note: withheldNote(retry.withheld) }, err);
|
|
2099
2099
|
}
|
|
2100
|
-
const { withSignatureHint } = await import("./release-command-
|
|
2100
|
+
const { withSignatureHint } = await import("./release-command-SSRQMIT2.js");
|
|
2101
2101
|
importFailure = withSignatureHint(err, args.bundle);
|
|
2102
2102
|
}
|
|
2103
2103
|
if (arm.arm === "merge" && renamedTo !== void 0) target = { ...target, display: renamedTo };
|
|
@@ -2391,4 +2391,4 @@ export {
|
|
|
2391
2391
|
unknownCreateOutcome,
|
|
2392
2392
|
deployStaticTo
|
|
2393
2393
|
};
|
|
2394
|
-
//# sourceMappingURL=chunk-
|
|
2394
|
+
//# sourceMappingURL=chunk-HERXDPZS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
workspaceEnvPathIn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-X4G7FGHS.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-HFH72FBC.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-GA6HTO3O.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveEphemeralName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-S4ZWOBRO.js";
|
|
11
11
|
import {
|
|
12
12
|
clearEngineRecordsNamed,
|
|
13
13
|
getEngineRecord,
|
|
@@ -598,4 +598,4 @@ export {
|
|
|
598
598
|
releaseNames,
|
|
599
599
|
resolveSource
|
|
600
600
|
};
|
|
601
|
-
//# sourceMappingURL=chunk-
|
|
601
|
+
//# sourceMappingURL=chunk-ID7MIDLG.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ProfileNotFoundError,
|
|
6
6
|
describeRefreshAnswer,
|
|
7
7
|
environmentCredentialVars
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YQQSFS7S.js";
|
|
9
9
|
import {
|
|
10
10
|
yesRerun
|
|
11
11
|
} from "./chunk-GJZMKMWO.js";
|
|
@@ -429,4 +429,4 @@ export {
|
|
|
429
429
|
salvageRevocable,
|
|
430
430
|
signInAgain
|
|
431
431
|
};
|
|
432
|
-
//# sourceMappingURL=chunk-
|
|
432
|
+
//# sourceMappingURL=chunk-IFNSUPQL.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-GQIMMMZL.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-JTUMJXFN.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
managedBlockVersion,
|
|
5
5
|
renderAgentsMd,
|
|
6
6
|
upsertManagedBlock
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7B2KH733.js";
|
|
8
8
|
import {
|
|
9
9
|
detectPackageManager
|
|
10
10
|
} from "./chunk-DNBP4GJN.js";
|
|
@@ -207,4 +207,4 @@ export {
|
|
|
207
207
|
isCI,
|
|
208
208
|
refreshAgentFiles
|
|
209
209
|
};
|
|
210
|
-
//# sourceMappingURL=chunk-
|
|
210
|
+
//# sourceMappingURL=chunk-LLJL44WF.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-2TFRR6JV.js";
|
|
8
8
|
import {
|
|
9
9
|
readVersion
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XBCTTJSQ.js";
|
|
11
11
|
import {
|
|
12
12
|
readPathEnvVar
|
|
13
13
|
} from "./chunk-EUUUMY7J.js";
|
|
@@ -351,4 +351,4 @@ export {
|
|
|
351
351
|
runExitedClean,
|
|
352
352
|
maybeNotifyUpdate
|
|
353
353
|
};
|
|
354
|
-
//# sourceMappingURL=chunk-
|
|
354
|
+
//# sourceMappingURL=chunk-LMCZQLM4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveProjectEntry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CRCYD6AK.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-MCISY4QC.js.map
|
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
sanitizeAppName,
|
|
16
16
|
settleClashes,
|
|
17
17
|
templateVarsFor
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UBM7L5KL.js";
|
|
19
19
|
import {
|
|
20
20
|
renderManifestFile,
|
|
21
21
|
reportModuleFailures
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BQMX7PYG.js";
|
|
23
23
|
import {
|
|
24
24
|
ROUTES_MANIFEST_BASENAME,
|
|
25
25
|
RouteManifestError,
|
|
@@ -27,11 +27,11 @@ import {
|
|
|
27
27
|
} from "./chunk-SVQMDVND.js";
|
|
28
28
|
import {
|
|
29
29
|
syncDigests
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-OJ6YGRPV.js";
|
|
31
31
|
import {
|
|
32
32
|
archiveSeedContent,
|
|
33
33
|
fetchSourceArchive
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-CRCYD6AK.js";
|
|
35
35
|
import {
|
|
36
36
|
confirm
|
|
37
37
|
} from "./chunk-AICWDCLJ.js";
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
spread,
|
|
71
71
|
untypedKey,
|
|
72
72
|
withDeclineContext
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-CO7US54H.js";
|
|
74
74
|
import {
|
|
75
75
|
recordSync,
|
|
76
76
|
syncBranchLabel
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
} from "./chunk-54CJ74BH.js";
|
|
89
89
|
import {
|
|
90
90
|
detectInstallMode
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-LMCZQLM4.js";
|
|
92
92
|
import {
|
|
93
93
|
UNSUPPORTED_SECTIONS,
|
|
94
94
|
decodedCounts,
|
|
@@ -99,29 +99,29 @@ import {
|
|
|
99
99
|
sectionOmission,
|
|
100
100
|
subtractDefaults,
|
|
101
101
|
workspaceKeyOmission
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-3X4B5GWY.js";
|
|
103
103
|
import {
|
|
104
104
|
ensureWorkspaceEnvGitignored,
|
|
105
105
|
requireSecretPathGitignored
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-HFH72FBC.js";
|
|
107
107
|
import {
|
|
108
108
|
loadDefault,
|
|
109
109
|
readVersion,
|
|
110
110
|
resolveKnowledge
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-XBCTTJSQ.js";
|
|
112
112
|
import {
|
|
113
113
|
WORKSPACE_ENV_BASENAME,
|
|
114
114
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
115
115
|
renderWorkspaceEnvExample,
|
|
116
116
|
renderWorkspaceEnvFile
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-X4G7FGHS.js";
|
|
118
118
|
import {
|
|
119
119
|
memoCredential,
|
|
120
120
|
refuseProfileForLocal
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-7SDCWYAQ.js";
|
|
122
122
|
import {
|
|
123
123
|
getAccessToken
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-YQQSFS7S.js";
|
|
125
125
|
import {
|
|
126
126
|
getEngineRecord
|
|
127
127
|
} from "./chunk-5Y5HWQ2P.js";
|
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
SECRETS_FILE_VERSION,
|
|
137
137
|
workspaceSecretsPathIn,
|
|
138
138
|
writeSecretsFile
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-NEPSEJRV.js";
|
|
140
140
|
import {
|
|
141
141
|
yesRerun
|
|
142
142
|
} from "./chunk-GJZMKMWO.js";
|
|
@@ -159,7 +159,7 @@ import {
|
|
|
159
159
|
plannedAgentsMd,
|
|
160
160
|
readDecodeRecord,
|
|
161
161
|
scaffoldProject
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-7B2KH733.js";
|
|
163
163
|
import {
|
|
164
164
|
shellWord
|
|
165
165
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -329,7 +329,7 @@ import {
|
|
|
329
329
|
normalize,
|
|
330
330
|
retiredInputSuccessor,
|
|
331
331
|
retiredInputs
|
|
332
|
-
} from "./chunk-
|
|
332
|
+
} from "./chunk-PKBC7G5H.js";
|
|
333
333
|
import {
|
|
334
334
|
STATEMENT_SURFACES,
|
|
335
335
|
sPathOf
|
|
@@ -6337,7 +6337,7 @@ async function fetchBundle(args, source) {
|
|
|
6337
6337
|
...branch === void 0 ? {} : { syncTarget: { instance: auth.instance, workspaceId: auth.workspaceId, branch } }
|
|
6338
6338
|
};
|
|
6339
6339
|
}
|
|
6340
|
-
const { projectDirFrom } = await import("./xanosdk-project-
|
|
6340
|
+
const { projectDirFrom } = await import("./xanosdk-project-J2JVTSVJ.js");
|
|
6341
6341
|
const cwd = projectDirFrom(process.cwd()) ?? process.cwd();
|
|
6342
6342
|
const raw2 = "name" in source && source.name !== void 0 ? `${source.kind}:${source.name}` : source.kind;
|
|
6343
6343
|
step(`Reading ${raw2}`);
|
|
@@ -6814,7 +6814,7 @@ async function runInitFromCommand(args, source) {
|
|
|
6814
6814
|
for (const line of routesDeferred) warn(line, "routes.not-written");
|
|
6815
6815
|
if (seed !== void 0) reportSeedRows(seed.rows, seed.label, seed.provenance, XANO_DIR, contextFlags(args));
|
|
6816
6816
|
if (replace.lock !== void 0) {
|
|
6817
|
-
const { reconciledLock } = await import("./pull-command-
|
|
6817
|
+
const { reconciledLock } = await import("./pull-command-4YGZSRGU.js");
|
|
6818
6818
|
writeLockFile(
|
|
6819
6819
|
replace.lock.path,
|
|
6820
6820
|
reconciledLock(replace.lock.model, replace.lock.reconciliation, bundle.payload)
|
|
@@ -6925,7 +6925,7 @@ async function planXanoReplace(out, files, payload, args, label, agentsMd) {
|
|
|
6925
6925
|
if (shell.length > 0 && !await confirmShellOverwrite(out, shell, args, label)) return "cancelled";
|
|
6926
6926
|
return { removals: void 0, removedEdited: [], rewrittenEdited: [], kept: [] };
|
|
6927
6927
|
}
|
|
6928
|
-
const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-
|
|
6928
|
+
const { backendDirCleanliness, noneOfTheIdentities, pulledIdentities, reconcileLock } = await import("./pull-command-4YGZSRGU.js");
|
|
6929
6929
|
const prefix = `${XANO_DIR}/`;
|
|
6930
6930
|
const incoming = new Map(
|
|
6931
6931
|
files.filter((f) => f.path.startsWith(prefix)).map((f) => [f.path.slice(prefix.length), f.content])
|
|
@@ -7278,4 +7278,4 @@ export {
|
|
|
7278
7278
|
seedRowsListed,
|
|
7279
7279
|
seedRowsLanding
|
|
7280
7280
|
};
|
|
7281
|
-
//# sourceMappingURL=chunk-
|
|
7281
|
+
//# sourceMappingURL=chunk-NAXUCAOK.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
backendDirFor,
|
|
6
6
|
backendDirIn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Q2KVGISJ.js";
|
|
8
8
|
import {
|
|
9
9
|
atomicWrite
|
|
10
10
|
} from "./chunk-LLNZGEFK.js";
|
|
@@ -127,4 +127,4 @@ export {
|
|
|
127
127
|
entryWordOf,
|
|
128
128
|
readSecretsFile
|
|
129
129
|
};
|
|
130
|
-
//# sourceMappingURL=chunk-
|
|
130
|
+
//# sourceMappingURL=chunk-NEPSEJRV.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-Q2KVGISJ.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-NJCHWEPU.js.map
|