@xanots/sdk 0.0.10 → 0.0.12
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 +33 -0
- package/README.md +48 -5
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-QNKN5RYD.js → agent-file-refresh-GQWAAOBV.js} +4 -4
- package/dist/bin.js +12 -11
- package/dist/{branch-commands-2BLOC2GR.js → branch-commands-5KMPAAZV.js} +7 -7
- package/dist/bundle.d.ts +218 -0
- package/dist/bundle.js +143 -0
- package/dist/{capture-4WVJY4DQ.js → capture-YLUVAITI.js} +2 -2
- package/dist/chunk-2VTJSI6X.js +192 -0
- package/dist/{chunk-5XZ744TS.js → chunk-2ZCUO2UG.js} +1 -1
- package/dist/{chunk-OYMR5AMJ.js → chunk-3LQGF2WS.js} +2 -2
- package/dist/{chunk-WP4OZZV4.js → chunk-3VFCKHOB.js} +2 -2
- package/dist/{chunk-XHEXOES3.js → chunk-5YDINUAP.js} +1 -1
- package/dist/{chunk-LU7TRWMC.js → chunk-6VNRMKFJ.js} +2 -2
- package/dist/{chunk-CTD5ZCV6.js → chunk-7WRJPKGK.js} +2 -2
- package/dist/{chunk-3INK4Y4E.js → chunk-AE3PDSDS.js} +1 -1
- package/dist/{chunk-5YCQ2QHH.js → chunk-AG5GCZDD.js} +2 -2
- package/dist/{chunk-DBFU47BJ.js → chunk-AOFFKSJC.js} +2 -2
- package/dist/{chunk-TCFIPDB3.js → chunk-AVGDL6RB.js} +1 -1
- package/dist/{chunk-4BXJGVZ3.js → chunk-DCMANKMX.js} +2 -69
- package/dist/{chunk-WHOJWOSV.js → chunk-EETVJZAZ.js} +1 -1
- package/dist/chunk-EHP3WPEG.js +21 -0
- package/dist/{chunk-W24FJHPD.js → chunk-ELK7UALJ.js} +3 -3
- package/dist/{chunk-VNQM3V2C.js → chunk-EXENFOWE.js} +2 -2
- package/dist/{chunk-P6TAVLOX.js → chunk-GSP2BY4F.js} +17 -10
- package/dist/{chunk-AIZKXUNP.js → chunk-IMLYGQK6.js} +2 -2
- package/dist/{chunk-LBYWGMOA.js → chunk-N74KDCBD.js} +176 -42
- package/dist/{chunk-3IGNIP6R.js → chunk-NDP7OUPS.js} +1 -1
- package/dist/chunk-OHX6MIUZ.js +184 -0
- package/dist/{chunk-EQW3YT5U.js → chunk-P6PVBQL6.js} +2 -2
- package/dist/{chunk-I7DQDJAM.js → chunk-PLE5QQOZ.js} +55 -56
- package/dist/chunk-PR7OXHGZ.js +70 -0
- package/dist/{chunk-VKSOTZK3.js → chunk-QYSQ3UDO.js} +160 -8
- package/dist/{chunk-ZQ2PKR6R.js → chunk-RQ3FXV4K.js} +2 -2
- package/dist/{chunk-Q77KNEUL.js → chunk-RQNMTDXD.js} +1703 -2
- package/dist/{chunk-QKM4U5UK.js → chunk-TJS2AF5Y.js} +2 -2
- package/dist/{chunk-DIA7CT7J.js → chunk-V5Y7D4LH.js} +11 -2
- package/dist/{chunk-KA6G2L7U.js → chunk-VK26K7AY.js} +3 -3
- package/dist/{chunk-YYFXVYPX.js → chunk-VPAWRBK5.js} +12 -16
- package/dist/{chunk-5R73LFWK.js → chunk-VRNZ2NVV.js} +7 -7
- package/dist/{chunk-ACCBOMCB.js → chunk-XT3XQ4PF.js} +32 -27
- package/dist/{chunk-7JDT4PBU.js → chunk-XWFRNJMQ.js} +5 -179
- package/dist/{chunk-7ZYW652H.js → chunk-YHS6VVLJ.js} +2 -2
- package/dist/{chunk-75Z74TA7.js → chunk-YX22LKQE.js} +2 -2
- package/dist/{chunk-F6CYJ7TN.js → chunk-Z2ZIE5CO.js} +2 -2
- package/dist/cli.d.ts +13 -6
- package/dist/cli.js +11 -10
- package/dist/codegen-command-Y2SPMAUW.js +47 -0
- package/dist/codegen.d.ts +5 -4
- package/dist/codegen.js +2 -2
- package/dist/{completion-WF46272M.js → completion-HJU5QEFB.js} +2 -2
- package/dist/{deploy-command-QTIVA22A.js → deploy-command-XHS5PKPV.js} +20 -19
- package/dist/{ephemeral-command-U4AQ3TXX.js → ephemeral-command-2NKPEXUU.js} +8 -8
- package/dist/index.d.ts +88 -102
- package/dist/index.js +13 -12
- package/dist/init-command-23FFNUFT.js +32 -0
- package/dist/internal.d.ts +10 -16
- package/dist/internal.js +76 -54
- package/dist/io-UBDMMDH6.js +12 -0
- package/dist/{live-diff-IXKBVG4K.js → live-diff-HCOTN5WC.js} +3 -3
- package/dist/{lock-GFXD6G2E.js → lock-HQ4KARU2.js} +3 -2
- package/dist/{lock-commands-DQ7CUMIV.js → lock-commands-WCRC56ME.js} +12 -11
- package/dist/{login-command-Z6CHTA57.js → login-command-P7LXD5TE.js} +6 -6
- package/dist/{loop-D5NPL4VH.js → loop-IC5ISSYB.js} +3 -3
- package/dist/{marketplace-command-P4IPLJ6J.js → marketplace-command-T6JCHW7J.js} +4 -4
- package/dist/{meta-client-K2J4XH64.js → meta-client-LKRKR3L2.js} +4 -4
- package/dist/node.d.ts +6 -5
- package/dist/node.js +18 -17
- package/dist/{preflight-command-GZ2GE5RN.js → preflight-command-TZWPHBXY.js} +17 -16
- package/dist/{profile-command-LJSBDV2L.js → profile-command-WBNSMQSI.js} +3 -3
- package/dist/{release-command-YUBTNHVX.js → release-command-WEFYRTCI.js} +27 -26
- package/dist/response-D6xGLEIn.d.ts +839 -0
- package/dist/{routes-manifest-PWZHDOI5.js → routes-manifest-5ZFKUQWA.js} +2 -2
- package/dist/{runtime-V4C3AC3A.js → runtime-LSLIDALK.js} +1 -1
- package/dist/scaffold.d.ts +16 -8
- package/dist/scaffold.js +7 -11
- package/dist/{static-host-3WMV7IZO.js → static-host-4JDQCHUW.js} +1 -1
- package/dist/{status-command-AL47VG7H.js → status-command-VARULAR5.js} +4 -4
- package/dist/{store-BG1UPZ3Z.d.ts → store-DAnUIi1T.d.ts} +95 -87
- package/dist/{test-command-YAZLKLGQ.js → test-command-YCAR4O35.js} +7 -7
- package/dist/{upgrade-command-FB5QJ363.js → upgrade-command-GYEIMJBG.js} +16 -16
- package/dist/{workspace-2COHDBM3.js → workspace-33KHFLX3.js} +2 -2
- package/dist/{workspace-command-43P42FBP.js → workspace-command-2ZTGT26W.js} +28 -27
- package/dist/{workspace-export-DURY5WYL.js → workspace-export-MLYTYZS5.js} +3 -3
- package/dist/{response-CVAE2kMj.d.ts → xdo-ODuJklk6.d.ts} +28 -860
- package/guides/authoring.md +11 -2
- package/guides/typed-frontend.md +5 -5
- package/llms/filters.md +11 -10
- package/llms/kinds-core.md +1 -1
- package/llms/statements-data.md +6 -3
- package/llms/values.md +1 -1
- package/llms-full.txt +53 -42
- package/llms.txt +34 -27
- package/manifest.json +6 -2
- package/package.json +7 -2
- package/dist/chunk-ANUDXFEX.js +0 -881
- package/dist/chunk-JGCWTCA7.js +0 -95
- package/dist/chunk-YBC3IKMF.js +0 -845
- package/dist/codegen-command-GB3H2KQ7.js +0 -46
- package/dist/init-command-MAXULNAD.js +0 -33
- package/dist/io-M7XZEMK7.js +0 -11
|
@@ -161,7 +161,7 @@ The refresh token may be expired or already spent \u2014 refresh tokens rotate o
|
|
|
161
161
|
);
|
|
162
162
|
}
|
|
163
163
|
assertHttpsOrigin(instance2, "instance");
|
|
164
|
-
const { resolveScopedWorkspaceId } = await import("./workspace-
|
|
164
|
+
const { resolveScopedWorkspaceId } = await import("./workspace-33KHFLX3.js");
|
|
165
165
|
const workspaceId = await resolveScopedWorkspaceId({ access_token: set.access_token, instance: instance2 });
|
|
166
166
|
return { access_token: set.access_token, instance: instance2, workspaceId, credentialType: "oauth" };
|
|
167
167
|
}
|
|
@@ -272,4 +272,4 @@ export {
|
|
|
272
272
|
envMetaCredentialVarsSet,
|
|
273
273
|
getAccessToken
|
|
274
274
|
};
|
|
275
|
-
//# sourceMappingURL=chunk-
|
|
275
|
+
//# sourceMappingURL=chunk-TJS2AF5Y.js.map
|
|
@@ -199,10 +199,19 @@ var FLAGS = {
|
|
|
199
199
|
spec: "--json",
|
|
200
200
|
summary: "Force JSON on stdout (default: whenever stdout is not a terminal)"
|
|
201
201
|
},
|
|
202
|
+
"no-refresh": {
|
|
203
|
+
spec: "--no-refresh",
|
|
204
|
+
summary: "Do not refresh the managed block in CLAUDE.md / AGENTS.md / the Cursor rule"
|
|
205
|
+
},
|
|
202
206
|
help: { spec: "--help, -h", summary: "Show help for the command and exit" },
|
|
203
207
|
version: { spec: "--version, -v", summary: "Print the CLI version and exit" }
|
|
204
208
|
};
|
|
205
|
-
var GLOBAL_FLAGS = [
|
|
209
|
+
var GLOBAL_FLAGS = [
|
|
210
|
+
"json",
|
|
211
|
+
"no-refresh",
|
|
212
|
+
"help",
|
|
213
|
+
"version"
|
|
214
|
+
];
|
|
206
215
|
var AUTH = ["origin", "config", "local"];
|
|
207
216
|
var READ_ENV = "env";
|
|
208
217
|
var COMPILE = ["lock", "frozen-lock", "strict"];
|
|
@@ -697,4 +706,4 @@ export {
|
|
|
697
706
|
visibleFlags,
|
|
698
707
|
suggest
|
|
699
708
|
};
|
|
700
|
-
//# sourceMappingURL=chunk-
|
|
709
|
+
//# sourceMappingURL=chunk-V5Y7D4LH.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
defaultThemeChoice,
|
|
6
6
|
reactPreset,
|
|
7
7
|
themeGuidanceSection
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RQNMTDXD.js";
|
|
9
9
|
import {
|
|
10
10
|
detail,
|
|
11
11
|
step,
|
|
@@ -31,7 +31,7 @@ that reads well, type-checks, and is wrong. Read before writing:
|
|
|
31
31
|
conditions are for.
|
|
32
32
|
3. \`node_modules/@xanots/sdk/manifest.json\` \u2014 only for per-entry detail neither
|
|
33
33
|
carries: a statement's full field schema with engine defaults, a filter's
|
|
34
|
-
complete argument list. Grep or \`jq\` the one entry you need; it is ~
|
|
34
|
+
complete argument list. Grep or \`jq\` the one entry you need; it is ~60k
|
|
35
35
|
tokens, so never read it whole.
|
|
36
36
|
|
|
37
37
|
The published types and JSDoc (\`node_modules/@xanots/sdk/**/*.d.ts\`) are that
|
|
@@ -442,4 +442,4 @@ export {
|
|
|
442
442
|
resolveAiPresets,
|
|
443
443
|
scaffoldProject
|
|
444
444
|
};
|
|
445
|
-
//# sourceMappingURL=chunk-
|
|
445
|
+
//# sourceMappingURL=chunk-VK26K7AY.js.map
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
presetFilePath,
|
|
3
3
|
resolveAiPresets,
|
|
4
4
|
scaffoldProject
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VK26K7AY.js";
|
|
6
6
|
import {
|
|
7
7
|
runNpmCapturingStderr
|
|
8
8
|
} from "./chunk-ZSYZTGJH.js";
|
|
9
9
|
import {
|
|
10
|
+
DEFAULT_DARK_MODE,
|
|
10
11
|
DEFAULT_FRAMEWORK,
|
|
11
12
|
allFrontendPresets,
|
|
13
|
+
defaultThemeChoice,
|
|
12
14
|
findFrontendPreset,
|
|
13
|
-
resolveFrameworkFlag
|
|
14
|
-
} from "./chunk-YBC3IKMF.js";
|
|
15
|
-
import {
|
|
16
15
|
initLanding,
|
|
16
|
+
normalizeRadius,
|
|
17
17
|
renderApiTs,
|
|
18
18
|
renderCnUtil,
|
|
19
19
|
renderEnvExample,
|
|
@@ -26,29 +26,25 @@ import {
|
|
|
26
26
|
renderTsconfig,
|
|
27
27
|
renderViteConfig,
|
|
28
28
|
renderXanoExampleMd,
|
|
29
|
-
renderXanoIndex
|
|
30
|
-
} from "./chunk-ANUDXFEX.js";
|
|
31
|
-
import {
|
|
32
|
-
DEFAULT_DARK_MODE,
|
|
33
|
-
defaultThemeChoice,
|
|
34
|
-
normalizeRadius,
|
|
29
|
+
renderXanoIndex,
|
|
35
30
|
resolveDarkModeFlag,
|
|
36
31
|
resolveFontFlag,
|
|
32
|
+
resolveFrameworkFlag,
|
|
37
33
|
resolveIconsFlag,
|
|
38
34
|
resolveThemeFlag,
|
|
39
35
|
themeFromRegistryItem,
|
|
40
36
|
withRadius
|
|
41
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-RQNMTDXD.js";
|
|
42
38
|
import {
|
|
43
39
|
readVersion
|
|
44
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-XT3XQ4PF.js";
|
|
45
41
|
import {
|
|
46
42
|
ENV_SPELLINGS,
|
|
47
43
|
parseEnvSelector
|
|
48
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-7WRJPKGK.js";
|
|
49
45
|
import {
|
|
50
46
|
UsageError
|
|
51
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-Z2ZIE5CO.js";
|
|
52
48
|
import {
|
|
53
49
|
blank,
|
|
54
50
|
detail,
|
|
@@ -420,7 +416,7 @@ function rejectPullOnlyFlags(args) {
|
|
|
420
416
|
async function runInitCommand(args) {
|
|
421
417
|
if (args.from !== void 0) {
|
|
422
418
|
const source = resolveFromSource(args.from);
|
|
423
|
-
const { runInitFromCommand } = await import("./codegen-command-
|
|
419
|
+
const { runInitFromCommand } = await import("./codegen-command-Y2SPMAUW.js");
|
|
424
420
|
return runInitFromCommand(args, source);
|
|
425
421
|
}
|
|
426
422
|
rejectPullOnlyFlags(args);
|
|
@@ -501,4 +497,4 @@ export {
|
|
|
501
497
|
resolveFromSource,
|
|
502
498
|
runInitCommand
|
|
503
499
|
};
|
|
504
|
-
//# sourceMappingURL=chunk-
|
|
500
|
+
//# sourceMappingURL=chunk-VPAWRBK5.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
realtimeChannelGuid,
|
|
7
7
|
realtimeServerRefName,
|
|
8
8
|
resolveRealtimeServerRef
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GSP2BY4F.js";
|
|
10
10
|
import {
|
|
11
11
|
assertCanonical,
|
|
12
12
|
assertOneOf,
|
|
@@ -25,17 +25,17 @@ import {
|
|
|
25
25
|
resolveAuthRef,
|
|
26
26
|
resolveMockKeys,
|
|
27
27
|
warnLiveDatasource
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import {
|
|
30
|
-
encodeStatement
|
|
31
|
-
} from "./chunk-5XZ744TS.js";
|
|
28
|
+
} from "./chunk-N74KDCBD.js";
|
|
32
29
|
import {
|
|
33
30
|
deriveGuid,
|
|
34
31
|
getLockedCanonical,
|
|
35
32
|
lockKey,
|
|
36
33
|
realtimeMessageSeedName,
|
|
37
34
|
resolveRef
|
|
38
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-XWFRNJMQ.js";
|
|
36
|
+
import {
|
|
37
|
+
encodeStatement
|
|
38
|
+
} from "./chunk-2ZCUO2UG.js";
|
|
39
39
|
|
|
40
40
|
// src/kinds/canonical.ts
|
|
41
41
|
function resolveCanonicalToken(label, payloadKey, accessor, def, override) {
|
|
@@ -667,4 +667,4 @@ export {
|
|
|
667
667
|
addonKind,
|
|
668
668
|
addon
|
|
669
669
|
};
|
|
670
|
-
//# sourceMappingURL=chunk-
|
|
670
|
+
//# sourceMappingURL=chunk-VRNZ2NVV.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ENV_SPELLINGS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7WRJPKGK.js";
|
|
4
4
|
import {
|
|
5
5
|
readLockFile,
|
|
6
6
|
writeLockFile
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3LQGF2WS.js";
|
|
8
8
|
import {
|
|
9
9
|
UsageError,
|
|
10
10
|
extraArguments,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
unknownFlag,
|
|
16
16
|
unknownHelpTopic,
|
|
17
17
|
unknownSubcommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Z2ZIE5CO.js";
|
|
19
19
|
import {
|
|
20
20
|
detail,
|
|
21
21
|
info,
|
|
@@ -26,13 +26,13 @@ import {
|
|
|
26
26
|
Xano,
|
|
27
27
|
assertSeedIds,
|
|
28
28
|
coerceSeedRowValues
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-QYSQ3UDO.js";
|
|
30
30
|
import {
|
|
31
31
|
getCommand,
|
|
32
32
|
getSubcommand,
|
|
33
33
|
isCommand,
|
|
34
34
|
suggest
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-V5Y7D4LH.js";
|
|
36
36
|
import {
|
|
37
37
|
FILTER_NAMES,
|
|
38
38
|
KNOWLEDGE_DIR,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
pathSegment,
|
|
47
47
|
serializeBundle,
|
|
48
48
|
tableColumns
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-N74KDCBD.js";
|
|
50
50
|
import {
|
|
51
51
|
WORKSPACE_KEY,
|
|
52
52
|
createLockContext,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
seedLockOverrides,
|
|
59
59
|
serializeLock,
|
|
60
60
|
validateLockModel
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-XWFRNJMQ.js";
|
|
62
62
|
|
|
63
63
|
// src/emit/cli.ts
|
|
64
64
|
import { pathToFileURL as pathToFileURL3, fileURLToPath as fileURLToPath3 } from "url";
|
|
@@ -441,6 +441,7 @@ function parseArgs(argv) {
|
|
|
441
441
|
let backupBranch;
|
|
442
442
|
let emit2;
|
|
443
443
|
let json = false;
|
|
444
|
+
let noRefresh = false;
|
|
444
445
|
let open = false;
|
|
445
446
|
const positionals = [];
|
|
446
447
|
const positionalAt = [];
|
|
@@ -670,6 +671,8 @@ function parseArgs(argv) {
|
|
|
670
671
|
} else if (arg.startsWith("--backup-branch=")) {
|
|
671
672
|
const value = arg.slice("--backup-branch=".length);
|
|
672
673
|
backupBranch = value === "" ? true : value;
|
|
674
|
+
} else if (arg === "--no-refresh") {
|
|
675
|
+
noRefresh = true;
|
|
673
676
|
} else if (arg === "--json") {
|
|
674
677
|
json = true;
|
|
675
678
|
} else if (arg === "--open") {
|
|
@@ -785,6 +788,7 @@ function parseArgs(argv) {
|
|
|
785
788
|
backupBranch,
|
|
786
789
|
emit: emit2,
|
|
787
790
|
json,
|
|
791
|
+
noRefresh,
|
|
788
792
|
open,
|
|
789
793
|
unknownFlags
|
|
790
794
|
};
|
|
@@ -1004,11 +1008,11 @@ async function run(argv) {
|
|
|
1004
1008
|
return;
|
|
1005
1009
|
}
|
|
1006
1010
|
if (command === "init") {
|
|
1007
|
-
const { runInitCommand } = await import("./init-command-
|
|
1011
|
+
const { runInitCommand } = await import("./init-command-23FFNUFT.js");
|
|
1008
1012
|
return runInitCommand(args);
|
|
1009
1013
|
}
|
|
1010
1014
|
if (command === "completion") {
|
|
1011
|
-
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS } = await import("./completion-
|
|
1015
|
+
const { isCompletionShell, runCompletionCommand, COMPLETION_SHELLS } = await import("./completion-HJU5QEFB.js");
|
|
1012
1016
|
const shell = args.positionals[0];
|
|
1013
1017
|
if (shell === void 0 || !isCompletionShell(shell)) {
|
|
1014
1018
|
throw new UsageError(
|
|
@@ -1019,15 +1023,15 @@ async function run(argv) {
|
|
|
1019
1023
|
return runCompletionCommand(shell);
|
|
1020
1024
|
}
|
|
1021
1025
|
if (command === "upgrade") {
|
|
1022
|
-
const { runUpgradeCommand } = await import("./upgrade-command-
|
|
1026
|
+
const { runUpgradeCommand } = await import("./upgrade-command-GYEIMJBG.js");
|
|
1023
1027
|
return runUpgradeCommand(args);
|
|
1024
1028
|
}
|
|
1025
1029
|
if (command === "lock") {
|
|
1026
|
-
const { runLockCommand } = await import("./lock-commands-
|
|
1030
|
+
const { runLockCommand } = await import("./lock-commands-WCRC56ME.js");
|
|
1027
1031
|
return runLockCommand(args);
|
|
1028
1032
|
}
|
|
1029
1033
|
if (command === "login") {
|
|
1030
|
-
const { runLoginCommand } = await import("./login-command-
|
|
1034
|
+
const { runLoginCommand } = await import("./login-command-P7LXD5TE.js");
|
|
1031
1035
|
return runLoginCommand(args);
|
|
1032
1036
|
}
|
|
1033
1037
|
if (command === "logout") {
|
|
@@ -1035,45 +1039,45 @@ async function run(argv) {
|
|
|
1035
1039
|
return runLogoutCommand(args);
|
|
1036
1040
|
}
|
|
1037
1041
|
if (command === "deploy") {
|
|
1038
|
-
const { runDeployCommand } = await import("./deploy-command-
|
|
1042
|
+
const { runDeployCommand } = await import("./deploy-command-XHS5PKPV.js");
|
|
1039
1043
|
return runDeployCommand(args);
|
|
1040
1044
|
}
|
|
1041
1045
|
if (command === "ephemeral") {
|
|
1042
|
-
const { runEphemeralCommand } = await import("./ephemeral-command-
|
|
1046
|
+
const { runEphemeralCommand } = await import("./ephemeral-command-2NKPEXUU.js");
|
|
1043
1047
|
return runEphemeralCommand(args);
|
|
1044
1048
|
}
|
|
1045
1049
|
if (command === "release") {
|
|
1046
|
-
const { runReleaseCommand } = await import("./release-command-
|
|
1050
|
+
const { runReleaseCommand } = await import("./release-command-WEFYRTCI.js");
|
|
1047
1051
|
return runReleaseCommand(args);
|
|
1048
1052
|
}
|
|
1049
1053
|
if (command === "test") {
|
|
1050
|
-
const { runTestCommand } = await import("./test-command-
|
|
1054
|
+
const { runTestCommand } = await import("./test-command-YCAR4O35.js");
|
|
1051
1055
|
return runTestCommand(args);
|
|
1052
1056
|
}
|
|
1053
1057
|
if (command === "workspace") {
|
|
1054
|
-
const { runWorkspaceCommand } = await import("./workspace-command-
|
|
1058
|
+
const { runWorkspaceCommand } = await import("./workspace-command-2ZTGT26W.js");
|
|
1055
1059
|
return runWorkspaceCommand(args);
|
|
1056
1060
|
}
|
|
1057
1061
|
if (command === "status") {
|
|
1058
|
-
const { runStatusCommand } = await import("./status-command-
|
|
1062
|
+
const { runStatusCommand } = await import("./status-command-VARULAR5.js");
|
|
1059
1063
|
return runStatusCommand(args);
|
|
1060
1064
|
}
|
|
1061
1065
|
if (command === "whoami") {
|
|
1062
|
-
const { runProfileCommand } = await import("./profile-command-
|
|
1066
|
+
const { runProfileCommand } = await import("./profile-command-WBNSMQSI.js");
|
|
1063
1067
|
return runProfileCommand(args);
|
|
1064
1068
|
}
|
|
1065
1069
|
if (command === "profile") {
|
|
1066
1070
|
if (args.subcommand !== "me") {
|
|
1067
1071
|
throw unknownSubcommand("profile", args.subcommand);
|
|
1068
1072
|
}
|
|
1069
|
-
const { runProfileCommand } = await import("./profile-command-
|
|
1073
|
+
const { runProfileCommand } = await import("./profile-command-WBNSMQSI.js");
|
|
1070
1074
|
return runProfileCommand(args);
|
|
1071
1075
|
}
|
|
1072
1076
|
if (command === "marketplace") {
|
|
1073
1077
|
if (!["list", "search", "details", "install"].includes(args.subcommand ?? "")) {
|
|
1074
1078
|
throw unknownSubcommand("marketplace", args.subcommand);
|
|
1075
1079
|
}
|
|
1076
|
-
const marketplace = await import("./marketplace-command-
|
|
1080
|
+
const marketplace = await import("./marketplace-command-T6JCHW7J.js");
|
|
1077
1081
|
if (args.subcommand === "list") return marketplace.runMarketplaceListCommand(args);
|
|
1078
1082
|
if (args.subcommand === "search") return marketplace.runMarketplaceSearchCommand(args);
|
|
1079
1083
|
if (args.subcommand === "details") return marketplace.runMarketplaceDetailsCommand(args);
|
|
@@ -1083,7 +1087,7 @@ async function run(argv) {
|
|
|
1083
1087
|
throw unknownCommand("push");
|
|
1084
1088
|
}
|
|
1085
1089
|
if (command === "preflight") {
|
|
1086
|
-
const { runPreflightCommand } = await import("./preflight-command-
|
|
1090
|
+
const { runPreflightCommand } = await import("./preflight-command-TZWPHBXY.js");
|
|
1087
1091
|
return runPreflightCommand(args);
|
|
1088
1092
|
}
|
|
1089
1093
|
if (command !== "compile" && command !== "export" && command !== "paths" && command !== "routes") {
|
|
@@ -1113,9 +1117,10 @@ async function run(argv) {
|
|
|
1113
1117
|
process.stdout.write(json + "\n");
|
|
1114
1118
|
}
|
|
1115
1119
|
}
|
|
1116
|
-
async function refreshAgentGuidance() {
|
|
1120
|
+
async function refreshAgentGuidance(args) {
|
|
1121
|
+
if (args.noRefresh) return;
|
|
1117
1122
|
try {
|
|
1118
|
-
const { refreshAgentFiles } = await import("./agent-file-refresh-
|
|
1123
|
+
const { refreshAgentFiles } = await import("./agent-file-refresh-GQWAAOBV.js");
|
|
1119
1124
|
const refreshed = refreshAgentFiles({
|
|
1120
1125
|
projectDir: process.cwd(),
|
|
1121
1126
|
sdkVersion: readVersion()
|
|
@@ -1231,7 +1236,7 @@ async function runPaths(args) {
|
|
|
1231
1236
|
return;
|
|
1232
1237
|
}
|
|
1233
1238
|
if (unresolved.length === 0) {
|
|
1234
|
-
const { renderRouteManifest } = await import("./routes-manifest-
|
|
1239
|
+
const { renderRouteManifest } = await import("./routes-manifest-5ZFKUQWA.js");
|
|
1235
1240
|
const source = renderRouteManifest(
|
|
1236
1241
|
resolved.map((r) => ({ name: r.name, verb: r.verb, canonical: r.canonical })),
|
|
1237
1242
|
describableServers.length > 0 ? { servers: describableServers, channels: channelRows } : void 0
|
|
@@ -1287,7 +1292,7 @@ async function compileBundle(args, opts = {}) {
|
|
|
1287
1292
|
`--frozen-lock: no xano.lock found at ${lockPath}. Create one with \`xanots export ${file} --lock\` and commit it.`
|
|
1288
1293
|
);
|
|
1289
1294
|
}
|
|
1290
|
-
await refreshAgentGuidance();
|
|
1295
|
+
await refreshAgentGuidance(args);
|
|
1291
1296
|
const def = await loadDefault(file);
|
|
1292
1297
|
if (!Xano.isXano(def)) {
|
|
1293
1298
|
throw new Error(`Module "${file}" must default-export a Xano registry for \`export\`.`);
|
|
@@ -1348,4 +1353,4 @@ export {
|
|
|
1348
1353
|
exportBundleJson,
|
|
1349
1354
|
compileBundle
|
|
1350
1355
|
};
|
|
1351
|
-
//# sourceMappingURL=chunk-
|
|
1356
|
+
//# sourceMappingURL=chunk-XT3XQ4PF.js.map
|
|
@@ -1,180 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
function md5Bytes(input) {
|
|
7
|
-
const msg = toBytes(input);
|
|
8
|
-
const len = msg.length;
|
|
9
|
-
const withPad = (len + 8 >>> 6) + 1;
|
|
10
|
-
const words = new Int32Array(withPad * 16);
|
|
11
|
-
for (let i = 0; i < len; i++) {
|
|
12
|
-
const idx = i >> 2;
|
|
13
|
-
words[idx] = words[idx] | msg[i] << i % 4 * 8;
|
|
14
|
-
}
|
|
15
|
-
const padIdx = len >> 2;
|
|
16
|
-
words[padIdx] = words[padIdx] | 128 << len % 4 * 8;
|
|
17
|
-
words[words.length - 2] = len * 8;
|
|
18
|
-
let a = 1732584193, b = -271733879, c = -1732584194, d = 271733878;
|
|
19
|
-
const add = (x, y) => x + y | 0;
|
|
20
|
-
const rol = (n, s) => n << s | n >>> 32 - s;
|
|
21
|
-
const cmn = (q, a0, b0, x, s, t) => add(rol(add(add(a0, q), add(x, t)), s), b0);
|
|
22
|
-
const ff = (a0, b0, c0, d0, x, s, t) => cmn(b0 & c0 | ~b0 & d0, a0, b0, x, s, t);
|
|
23
|
-
const gg = (a0, b0, c0, d0, x, s, t) => cmn(b0 & d0 | c0 & ~d0, a0, b0, x, s, t);
|
|
24
|
-
const hh = (a0, b0, c0, d0, x, s, t) => cmn(b0 ^ c0 ^ d0, a0, b0, x, s, t);
|
|
25
|
-
const ii = (a0, b0, c0, d0, x, s, t) => cmn(c0 ^ (b0 | ~d0), a0, b0, x, s, t);
|
|
26
|
-
for (let i = 0; i < words.length; i += 16) {
|
|
27
|
-
const oa = a, ob = b, oc = c, od = d;
|
|
28
|
-
const w = (j) => words[i + j];
|
|
29
|
-
a = ff(a, b, c, d, w(0), 7, -680876936);
|
|
30
|
-
d = ff(d, a, b, c, w(1), 12, -389564586);
|
|
31
|
-
c = ff(c, d, a, b, w(2), 17, 606105819);
|
|
32
|
-
b = ff(b, c, d, a, w(3), 22, -1044525330);
|
|
33
|
-
a = ff(a, b, c, d, w(4), 7, -176418897);
|
|
34
|
-
d = ff(d, a, b, c, w(5), 12, 1200080426);
|
|
35
|
-
c = ff(c, d, a, b, w(6), 17, -1473231341);
|
|
36
|
-
b = ff(b, c, d, a, w(7), 22, -45705983);
|
|
37
|
-
a = ff(a, b, c, d, w(8), 7, 1770035416);
|
|
38
|
-
d = ff(d, a, b, c, w(9), 12, -1958414417);
|
|
39
|
-
c = ff(c, d, a, b, w(10), 17, -42063);
|
|
40
|
-
b = ff(b, c, d, a, w(11), 22, -1990404162);
|
|
41
|
-
a = ff(a, b, c, d, w(12), 7, 1804603682);
|
|
42
|
-
d = ff(d, a, b, c, w(13), 12, -40341101);
|
|
43
|
-
c = ff(c, d, a, b, w(14), 17, -1502002290);
|
|
44
|
-
b = ff(b, c, d, a, w(15), 22, 1236535329);
|
|
45
|
-
a = gg(a, b, c, d, w(1), 5, -165796510);
|
|
46
|
-
d = gg(d, a, b, c, w(6), 9, -1069501632);
|
|
47
|
-
c = gg(c, d, a, b, w(11), 14, 643717713);
|
|
48
|
-
b = gg(b, c, d, a, w(0), 20, -373897302);
|
|
49
|
-
a = gg(a, b, c, d, w(5), 5, -701558691);
|
|
50
|
-
d = gg(d, a, b, c, w(10), 9, 38016083);
|
|
51
|
-
c = gg(c, d, a, b, w(15), 14, -660478335);
|
|
52
|
-
b = gg(b, c, d, a, w(4), 20, -405537848);
|
|
53
|
-
a = gg(a, b, c, d, w(9), 5, 568446438);
|
|
54
|
-
d = gg(d, a, b, c, w(14), 9, -1019803690);
|
|
55
|
-
c = gg(c, d, a, b, w(3), 14, -187363961);
|
|
56
|
-
b = gg(b, c, d, a, w(8), 20, 1163531501);
|
|
57
|
-
a = gg(a, b, c, d, w(13), 5, -1444681467);
|
|
58
|
-
d = gg(d, a, b, c, w(2), 9, -51403784);
|
|
59
|
-
c = gg(c, d, a, b, w(7), 14, 1735328473);
|
|
60
|
-
b = gg(b, c, d, a, w(12), 20, -1926607734);
|
|
61
|
-
a = hh(a, b, c, d, w(5), 4, -378558);
|
|
62
|
-
d = hh(d, a, b, c, w(8), 11, -2022574463);
|
|
63
|
-
c = hh(c, d, a, b, w(11), 16, 1839030562);
|
|
64
|
-
b = hh(b, c, d, a, w(14), 23, -35309556);
|
|
65
|
-
a = hh(a, b, c, d, w(1), 4, -1530992060);
|
|
66
|
-
d = hh(d, a, b, c, w(4), 11, 1272893353);
|
|
67
|
-
c = hh(c, d, a, b, w(7), 16, -155497632);
|
|
68
|
-
b = hh(b, c, d, a, w(10), 23, -1094730640);
|
|
69
|
-
a = hh(a, b, c, d, w(13), 4, 681279174);
|
|
70
|
-
d = hh(d, a, b, c, w(0), 11, -358537222);
|
|
71
|
-
c = hh(c, d, a, b, w(3), 16, -722521979);
|
|
72
|
-
b = hh(b, c, d, a, w(6), 23, 76029189);
|
|
73
|
-
a = hh(a, b, c, d, w(9), 4, -640364487);
|
|
74
|
-
d = hh(d, a, b, c, w(12), 11, -421815835);
|
|
75
|
-
c = hh(c, d, a, b, w(15), 16, 530742520);
|
|
76
|
-
b = hh(b, c, d, a, w(2), 23, -995338651);
|
|
77
|
-
a = ii(a, b, c, d, w(0), 6, -198630844);
|
|
78
|
-
d = ii(d, a, b, c, w(7), 10, 1126891415);
|
|
79
|
-
c = ii(c, d, a, b, w(14), 15, -1416354905);
|
|
80
|
-
b = ii(b, c, d, a, w(5), 21, -57434055);
|
|
81
|
-
a = ii(a, b, c, d, w(12), 6, 1700485571);
|
|
82
|
-
d = ii(d, a, b, c, w(3), 10, -1894986606);
|
|
83
|
-
c = ii(c, d, a, b, w(10), 15, -1051523);
|
|
84
|
-
b = ii(b, c, d, a, w(1), 21, -2054922799);
|
|
85
|
-
a = ii(a, b, c, d, w(8), 6, 1873313359);
|
|
86
|
-
d = ii(d, a, b, c, w(15), 10, -30611744);
|
|
87
|
-
c = ii(c, d, a, b, w(6), 15, -1560198380);
|
|
88
|
-
b = ii(b, c, d, a, w(13), 21, 1309151649);
|
|
89
|
-
a = ii(a, b, c, d, w(4), 6, -145523070);
|
|
90
|
-
d = ii(d, a, b, c, w(11), 10, -1120210379);
|
|
91
|
-
c = ii(c, d, a, b, w(2), 15, 718787259);
|
|
92
|
-
b = ii(b, c, d, a, w(9), 21, -343485551);
|
|
93
|
-
a = add(a, oa);
|
|
94
|
-
b = add(b, ob);
|
|
95
|
-
c = add(c, oc);
|
|
96
|
-
d = add(d, od);
|
|
97
|
-
}
|
|
98
|
-
const out = new Uint8Array(16);
|
|
99
|
-
[a, b, c, d].forEach((word, wi) => {
|
|
100
|
-
for (let j = 0; j < 4; j++) out[wi * 4 + j] = word >>> j * 8 & 255;
|
|
101
|
-
});
|
|
102
|
-
return out;
|
|
103
|
-
}
|
|
104
|
-
function md5Hex(input) {
|
|
105
|
-
return toHex(md5Bytes(input));
|
|
106
|
-
}
|
|
107
|
-
function sha1Bytes(input) {
|
|
108
|
-
const msg = toBytes(input);
|
|
109
|
-
const len = msg.length;
|
|
110
|
-
const withLen = len + 9;
|
|
111
|
-
const blocks = Math.ceil(withLen / 64);
|
|
112
|
-
const total = blocks * 64;
|
|
113
|
-
const buf = new Uint8Array(total);
|
|
114
|
-
buf.set(msg);
|
|
115
|
-
buf[len] = 128;
|
|
116
|
-
const bitLen = len * 8;
|
|
117
|
-
buf[total - 4] = bitLen >>> 24 & 255;
|
|
118
|
-
buf[total - 3] = bitLen >>> 16 & 255;
|
|
119
|
-
buf[total - 2] = bitLen >>> 8 & 255;
|
|
120
|
-
buf[total - 1] = bitLen & 255;
|
|
121
|
-
let h0 = 1732584193, h1 = -271733879, h2 = -1732584194, h3 = 271733878, h4 = -1009589776;
|
|
122
|
-
const w = new Int32Array(80);
|
|
123
|
-
const rol = (n, s) => n << s | n >>> 32 - s;
|
|
124
|
-
for (let i = 0; i < total; i += 64) {
|
|
125
|
-
for (let j = 0; j < 16; j++) {
|
|
126
|
-
const k = i + j * 4;
|
|
127
|
-
w[j] = buf[k] << 24 | buf[k + 1] << 16 | buf[k + 2] << 8 | buf[k + 3];
|
|
128
|
-
}
|
|
129
|
-
for (let j = 16; j < 80; j++) w[j] = rol(w[j - 3] ^ w[j - 8] ^ w[j - 14] ^ w[j - 16], 1);
|
|
130
|
-
let a = h0, b = h1, c = h2, d = h3, e = h4;
|
|
131
|
-
for (let j = 0; j < 80; j++) {
|
|
132
|
-
let f, k;
|
|
133
|
-
if (j < 20) {
|
|
134
|
-
f = b & c | ~b & d;
|
|
135
|
-
k = 1518500249;
|
|
136
|
-
} else if (j < 40) {
|
|
137
|
-
f = b ^ c ^ d;
|
|
138
|
-
k = 1859775393;
|
|
139
|
-
} else if (j < 60) {
|
|
140
|
-
f = b & c | b & d | c & d;
|
|
141
|
-
k = -1894007588;
|
|
142
|
-
} else {
|
|
143
|
-
f = b ^ c ^ d;
|
|
144
|
-
k = -899497514;
|
|
145
|
-
}
|
|
146
|
-
const t = rol(a, 5) + f + e + k + w[j] | 0;
|
|
147
|
-
e = d;
|
|
148
|
-
d = c;
|
|
149
|
-
c = rol(b, 30);
|
|
150
|
-
b = a;
|
|
151
|
-
a = t;
|
|
152
|
-
}
|
|
153
|
-
h0 = h0 + a | 0;
|
|
154
|
-
h1 = h1 + b | 0;
|
|
155
|
-
h2 = h2 + c | 0;
|
|
156
|
-
h3 = h3 + d | 0;
|
|
157
|
-
h4 = h4 + e | 0;
|
|
158
|
-
}
|
|
159
|
-
const out = new Uint8Array(20);
|
|
160
|
-
[h0, h1, h2, h3, h4].forEach((h, hi) => {
|
|
161
|
-
out[hi * 4] = h >>> 24 & 255;
|
|
162
|
-
out[hi * 4 + 1] = h >>> 16 & 255;
|
|
163
|
-
out[hi * 4 + 2] = h >>> 8 & 255;
|
|
164
|
-
out[hi * 4 + 3] = h & 255;
|
|
165
|
-
});
|
|
166
|
-
return out;
|
|
167
|
-
}
|
|
168
|
-
function toHex(bytes) {
|
|
169
|
-
let s = "";
|
|
170
|
-
for (const b of bytes) s += b.toString(16).padStart(2, "0");
|
|
171
|
-
return s;
|
|
172
|
-
}
|
|
173
|
-
function randomBytes(n) {
|
|
174
|
-
const out = new Uint8Array(n);
|
|
175
|
-
globalThis.crypto.getRandomValues(out);
|
|
176
|
-
return out;
|
|
177
|
-
}
|
|
1
|
+
import {
|
|
2
|
+
md5Hex,
|
|
3
|
+
randomBytes
|
|
4
|
+
} from "./chunk-OHX6MIUZ.js";
|
|
178
5
|
|
|
179
6
|
// src/lock/store.ts
|
|
180
7
|
var STORE_KEY = /* @__PURE__ */ Symbol.for("xanots.lock.overrides");
|
|
@@ -712,7 +539,6 @@ function mergeObserved(lock, observed) {
|
|
|
712
539
|
}
|
|
713
540
|
|
|
714
541
|
export {
|
|
715
|
-
sha1Bytes,
|
|
716
542
|
seedLockOverrides,
|
|
717
543
|
resetLockOverrides,
|
|
718
544
|
isLockSeeded,
|
|
@@ -747,4 +573,4 @@ export {
|
|
|
747
573
|
adoptFromBundle,
|
|
748
574
|
mergeObserved
|
|
749
575
|
};
|
|
750
|
-
//# sourceMappingURL=chunk-
|
|
576
|
+
//# sourceMappingURL=chunk-XWFRNJMQ.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-ZUTSMMAG.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchReadOrExplain
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NDP7OUPS.js";
|
|
7
7
|
|
|
8
8
|
// src/deploy/workspace-export.ts
|
|
9
9
|
var EXPORT_TIMEOUT_MS = 12e4;
|
|
@@ -53,4 +53,4 @@ function describeErrorBody(bytes, contentType) {
|
|
|
53
53
|
export {
|
|
54
54
|
exportWorkspaceBundle
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
56
|
+
//# sourceMappingURL=chunk-YHS6VVLJ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
c,
|
|
3
3
|
resp
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-N74KDCBD.js";
|
|
5
5
|
|
|
6
6
|
// src/values/expect.ts
|
|
7
7
|
var TEST_EXPECT_TYPES = [
|
|
@@ -90,4 +90,4 @@ export {
|
|
|
90
90
|
TEST_EXPECT_TYPES,
|
|
91
91
|
expect
|
|
92
92
|
};
|
|
93
|
-
//# sourceMappingURL=chunk-
|
|
93
|
+
//# sourceMappingURL=chunk-YX22LKQE.js.map
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
renderArgs,
|
|
21
21
|
suggest,
|
|
22
22
|
visibleFlags
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-V5Y7D4LH.js";
|
|
24
24
|
|
|
25
25
|
// src/emit/help.ts
|
|
26
26
|
function table(rows, s, indent = " ", fixedWidth) {
|
|
@@ -261,4 +261,4 @@ export {
|
|
|
261
261
|
reportFailure,
|
|
262
262
|
exitCodeOf
|
|
263
263
|
};
|
|
264
|
-
//# sourceMappingURL=chunk-
|
|
264
|
+
//# sourceMappingURL=chunk-Z2ZIE5CO.js.map
|
package/dist/cli.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ interface NonPublicSeedValue {
|
|
|
17
17
|
* Whether a static build can actually be searched for this value.
|
|
18
18
|
*
|
|
19
19
|
* `false` for a value below {@link MIN_SCANNABLE_LENGTH}, and for a non-string
|
|
20
|
-
* one. Those are collected rather than dropped
|
|
20
|
+
* one. Those are collected rather than dropped: being too short to
|
|
21
21
|
* search for is not the same as being safe, and the author is the only one who
|
|
22
22
|
* can judge which it is. The scanner skips them; the deploy path reports them.
|
|
23
23
|
*/
|
|
@@ -54,8 +54,8 @@ interface ParsedArgs {
|
|
|
54
54
|
/**
|
|
55
55
|
* `--strict`: promote every export/deploy WARNING to a hard failure — the
|
|
56
56
|
* build diagnostics (a `bulk.update` that zero-fills omitted columns, an
|
|
57
|
-
* `ignoreEmpty` that drops its predicate
|
|
58
|
-
* preflights (unresolvable filter names
|
|
57
|
+
* `ignoreEmpty` that drops its predicate) as well as the CLI's own
|
|
58
|
+
* preflights (unresolvable filter names; a stale `--emit`
|
|
59
59
|
* manifest). Warnings print either way; `--strict` decides whether a printed
|
|
60
60
|
* one still ships.
|
|
61
61
|
*/
|
|
@@ -332,6 +332,13 @@ interface ParsedArgs {
|
|
|
332
332
|
* `isMachineOutput` (output.ts) — never by re-checking `isTTY` at a call site.
|
|
333
333
|
*/
|
|
334
334
|
json: boolean;
|
|
335
|
+
/**
|
|
336
|
+
* `--no-refresh`: skip the agent-guidance refresh a compile runs as a
|
|
337
|
+
* courtesy. Global, because that courtesy rides on `export`, `deploy`,
|
|
338
|
+
* `release`, and `preflight` alike — and it writes to the user's tree, so
|
|
339
|
+
* "build without touching my files" has to be sayable on any of them.
|
|
340
|
+
*/
|
|
341
|
+
noRefresh: boolean;
|
|
335
342
|
/**
|
|
336
343
|
* `deploy --open`: open the deployed URL in the default browser once it lands.
|
|
337
344
|
* Honors `XANO_NO_BROWSER` like every other launch, since it shares the same
|
|
@@ -341,9 +348,9 @@ interface ParsedArgs {
|
|
|
341
348
|
/**
|
|
342
349
|
* Leading-dash tokens the parser doesn't recognize. They are collected HERE
|
|
343
350
|
* rather than falling into {@link positionals} so an unknown flag can never be
|
|
344
|
-
* resolved as the entry `<file
|
|
345
|
-
*
|
|
346
|
-
*
|
|
351
|
+
* resolved as the entry `<file>`: otherwise `xanots deploy --help` is
|
|
352
|
+
* imported as a module path and dies in Node's loader with a message about a
|
|
353
|
+
* missing file named `--help`.
|
|
347
354
|
*/
|
|
348
355
|
unknownFlags: string[];
|
|
349
356
|
}
|