@xanots/sdk 0.0.1 → 0.0.3-beta.0
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/README.md +10 -1
- package/dist/.build-fingerprint +1 -0
- package/dist/{agent-file-refresh-7XCACU34.js → agent-file-refresh-J3KY54E5.js} +3 -2
- package/dist/bin.js +8 -8
- package/dist/chunk-4HKZH6YK.js +307 -0
- package/dist/{chunk-3DUAGYGP.js → chunk-55VHDNW5.js} +2 -2
- package/dist/{chunk-EMCAWMHC.js → chunk-5L4X5LS6.js} +16 -2
- package/dist/{chunk-LH6Z6KFV.js → chunk-5XZ744TS.js} +1 -1
- package/dist/chunk-6DHJVLYP.js +2044 -0
- package/dist/{chunk-TRU5OHQ5.js → chunk-CBL57QBQ.js} +53 -31
- package/dist/{chunk-5YTBTF25.js → chunk-EWFHDJY5.js} +2 -2
- package/dist/{chunk-MZUI3JNX.js → chunk-F6JCFRKO.js} +2 -2
- package/dist/{chunk-IZW6MK3U.js → chunk-FY6LXRR6.js} +2 -2
- package/dist/{chunk-NOO35BQ2.js → chunk-HKAX756N.js} +3 -3
- package/dist/{chunk-RVB7ITKN.js → chunk-LU7TRWMC.js} +2 -2
- package/dist/{chunk-33ND6LKO.js → chunk-MWLNBSTY.js} +2 -2
- package/dist/{chunk-26CNBZE2.js → chunk-P3TTMWUP.js} +13 -4
- package/dist/{chunk-YYRDLFSJ.js → chunk-QO4I5OYF.js} +40 -2
- package/dist/{chunk-YDZYMZBE.js → chunk-TQUO2OXY.js} +4 -4
- package/dist/{chunk-FJ6ZS5KB.js → chunk-U3G2UW65.js} +177 -60
- package/dist/{chunk-YGPIY3WT.js → chunk-VVXPK6SE.js} +64 -22
- package/dist/{chunk-VKFQJEMW.js → chunk-WRYT2PAX.js} +14 -371
- package/dist/{chunk-WKP4D5MO.js → chunk-YZ4GU6F5.js} +283 -252
- package/dist/cli.d.ts +22 -0
- package/dist/cli.js +8 -8
- package/dist/{codegen-command-OOKK6AZK.js → codegen-command-EXLKZ2ZI.js} +19 -17
- package/dist/codegen.js +2 -2
- package/dist/{completion-TIPPZN7H.js → completion-2PVZK6YX.js} +2 -2
- package/dist/{deploy-command-4EQ7XX5G.js → deploy-command-SXX6RJWM.js} +16 -16
- package/dist/{env-target-IFJ5QDHC.js → env-target-3EGIPR4D.js} +2 -2
- package/dist/{ephemeral-command-3X3I4ULC.js → ephemeral-command-OGOYP7D6.js} +15 -15
- package/dist/index.d.ts +106 -84
- package/dist/index.js +6 -6
- package/dist/{init-command-R6H7ZXW5.js → init-command-6DGXEVZD.js} +13 -11
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +29 -11
- package/dist/{live-diff-Y3AKETHE.js → live-diff-RXSJCVJ7.js} +2 -2
- package/dist/{lock-commands-XTR2YKLY.js → lock-commands-R22J54XV.js} +11 -11
- package/dist/{loop-OM3P2Z6O.js → loop-SAWAOUFO.js} +2 -2
- package/dist/{marketplace-command-RATXTKXN.js → marketplace-command-XJIWL4YP.js} +6 -6
- package/dist/meta-client-OW5WKWW7.js +1 -1
- package/dist/node.d.ts +2 -2
- package/dist/node.js +14 -14
- package/dist/{release-command-VV5UVZKL.js → release-command-6PLMLGDK.js} +20 -20
- package/dist/sandbox-export-command-QCJY4GMV.js +1 -1
- package/dist/scaffold.d.ts +1896 -0
- package/dist/scaffold.js +101 -0
- package/dist/{store-BQ97nKIF.d.ts → store-g45zwB33.d.ts} +91 -75
- package/dist/{test-command-TSPBQHBM.js → test-command-LLPXKT35.js} +4 -4
- package/dist/{validate-command-4ERHJSCO.js → validate-command-WAT3ZJT3.js} +11 -11
- package/dist/{workspace-command-OF23DPNI.js → workspace-command-JKMI7RZ4.js} +20 -18
- package/dist/workspace-export-AJMGN3CQ.js +1 -1
- package/llms/statements-calls.md +4 -4
- package/llms/statements-catalog.md +20 -20
- package/llms/statements-data.md +1 -1
- package/llms-full.txt +26 -26
- package/llms.txt +1 -1
- package/manifest.json +197 -84
- package/package.json +10 -1
|
@@ -13,34 +13,38 @@ import {
|
|
|
13
13
|
isEmptyOutput,
|
|
14
14
|
liveArrayMapContext,
|
|
15
15
|
normalize,
|
|
16
|
+
retiredInputSuccessor,
|
|
16
17
|
retiredInputs
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-P3TTMWUP.js";
|
|
18
19
|
import {
|
|
19
20
|
exportWorkspaceBundle
|
|
20
21
|
} from "./chunk-QTNO2WD6.js";
|
|
21
22
|
import {
|
|
22
|
-
codegenLanding,
|
|
23
|
-
describeOrigin,
|
|
24
23
|
projectShellFiles,
|
|
25
|
-
renderCodegenMarker,
|
|
26
|
-
renderCodegenReadme,
|
|
27
24
|
resolveFrontendPreset,
|
|
25
|
+
resolveThemeChoice,
|
|
28
26
|
sanitizeAppName
|
|
29
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4HKZH6YK.js";
|
|
30
28
|
import {
|
|
31
29
|
XANO_DIR,
|
|
32
30
|
resolveAiPresets,
|
|
33
31
|
scaffoldProject
|
|
34
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-WRYT2PAX.js";
|
|
35
33
|
import {
|
|
36
34
|
getAccessToken
|
|
37
35
|
} from "./chunk-C56BC2FY.js";
|
|
38
36
|
import {
|
|
39
37
|
TEST_EXPECT_TYPES
|
|
40
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-F6JCFRKO.js";
|
|
41
39
|
import {
|
|
42
40
|
raw
|
|
43
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-LU7TRWMC.js";
|
|
42
|
+
import {
|
|
43
|
+
codegenLanding,
|
|
44
|
+
describeOrigin,
|
|
45
|
+
renderCodegenMarker,
|
|
46
|
+
renderCodegenReadme
|
|
47
|
+
} from "./chunk-YZ4GU6F5.js";
|
|
44
48
|
import {
|
|
45
49
|
FIELD_METHODS,
|
|
46
50
|
STATEMENT_SURFACES,
|
|
@@ -63,14 +67,14 @@ import {
|
|
|
63
67
|
searchConstrainsRows,
|
|
64
68
|
tableTrigger,
|
|
65
69
|
workspaceTrigger
|
|
66
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-U3G2UW65.js";
|
|
67
71
|
import {
|
|
68
72
|
loadDefault,
|
|
69
73
|
readVersion
|
|
70
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-VVXPK6SE.js";
|
|
71
75
|
import {
|
|
72
76
|
UsageError
|
|
73
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-FY6LXRR6.js";
|
|
74
78
|
import {
|
|
75
79
|
blank,
|
|
76
80
|
detail,
|
|
@@ -111,7 +115,7 @@ import {
|
|
|
111
115
|
sys,
|
|
112
116
|
toolset,
|
|
113
117
|
withFilters
|
|
114
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-5L4X5LS6.js";
|
|
115
119
|
import {
|
|
116
120
|
parsePathParams,
|
|
117
121
|
unboundPathParams
|
|
@@ -123,7 +127,7 @@ import {
|
|
|
123
127
|
encodeField,
|
|
124
128
|
encodeMockMap,
|
|
125
129
|
encodeStatement
|
|
126
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-5XZ744TS.js";
|
|
127
131
|
import {
|
|
128
132
|
REFERENCEABLE_KIND_PAYLOAD_KEYS
|
|
129
133
|
} from "./chunk-4HT3BNZ7.js";
|
|
@@ -2301,7 +2305,7 @@ function decodeFromSpec(ctx, stored) {
|
|
|
2301
2305
|
if (field !== null) recovered.push(field);
|
|
2302
2306
|
else if (!rule.optional && rule.default === void 0) {
|
|
2303
2307
|
return declineHere(
|
|
2304
|
-
storedCarries(stored, rule) ? `spec: "${rule.field}" IS stored, but nothing reads it back from its ${rule.route.kind} route \u2014 the inverse route is missing` : `spec: "${rule.field}" is required
|
|
2308
|
+
storedCarries(stored, rule) ? `spec: "${rule.field}" IS stored, but nothing reads it back from its ${rule.route.kind} route \u2014 the inverse route is missing` : `spec: "${rule.field}" is required and the stored statement does not carry it, so there is nothing to recover. The statement is kept verbatim and re-exports byte-for-byte; nothing is lost. It cannot be re-authored as a typed call because the engine has no default for "${rule.field}" \u2014 supply one to author this statement fresh.`
|
|
2305
2309
|
);
|
|
2306
2310
|
}
|
|
2307
2311
|
}
|
|
@@ -4152,15 +4156,7 @@ function decodeStatement(ctx, refs, stored, resolve2 = {}) {
|
|
|
4152
4156
|
`${stored.name} carries ${droppedInput.length} stored \`input[]\` ${droppedInput.length === 1 ? "entry" : "entries"}, which this statement has no way to read \u2014 it declares no input schema, the engine hands it none, and its editor panel offers no control that could set one. Not carried into the tree`
|
|
4153
4157
|
);
|
|
4154
4158
|
}
|
|
4155
|
-
const
|
|
4156
|
-
const carried = Array.isArray(droppedInput) ? droppedInput.filter((e) => retired.includes(String(e?.name ?? ""))) : [];
|
|
4157
|
-
if (carried.length > 0) {
|
|
4158
|
-
ctx.problem(
|
|
4159
|
-
"expected-omission",
|
|
4160
|
-
`${stored.name} carries a stored \`${carried.map((e) => String(e.name)).join("`, `")}\` input, which this statement no longer declares \u2014 the engine removed it and reads \`tags\` instead. Nothing reads the stored entry, so it is not carried into the tree, and a deploy from this tree will not write it back`
|
|
4161
|
-
);
|
|
4162
|
-
}
|
|
4163
|
-
return withDeclineContext(
|
|
4159
|
+
const decoded = withDeclineContext(
|
|
4164
4160
|
stored.name,
|
|
4165
4161
|
() => collectLambdaBodyProblems(
|
|
4166
4162
|
(problem) => ctx.problem(
|
|
@@ -4171,6 +4167,25 @@ function decodeStatement(ctx, refs, stored, resolve2 = {}) {
|
|
|
4171
4167
|
() => dispatch(ctx, refs, stored, resolve2)
|
|
4172
4168
|
)
|
|
4173
4169
|
);
|
|
4170
|
+
if (!isRawFallback(decoded)) {
|
|
4171
|
+
const retired = retiredInputs(stored.name);
|
|
4172
|
+
const carried = Array.isArray(droppedInput) ? droppedInput.filter((e) => retired.includes(String(e?.name ?? ""))) : [];
|
|
4173
|
+
if (carried.length > 0) {
|
|
4174
|
+
const named = carried.map((e) => {
|
|
4175
|
+
const input2 = String(e.name ?? "");
|
|
4176
|
+
const successor = retiredInputSuccessor(stored.name, input2);
|
|
4177
|
+
return successor ? `\`${input2}\` (replaced by \`${successor}\`)` : `\`${input2}\``;
|
|
4178
|
+
});
|
|
4179
|
+
ctx.problem(
|
|
4180
|
+
"expected-omission",
|
|
4181
|
+
`${stored.name} carries a stored ${named.join(", ")} input, which this statement no longer declares \u2014 the engine removed it. Nothing reads the stored entry, so it is not carried into the tree, and a deploy from this tree will not write it back`
|
|
4182
|
+
);
|
|
4183
|
+
}
|
|
4184
|
+
}
|
|
4185
|
+
return decoded;
|
|
4186
|
+
}
|
|
4187
|
+
function isRawFallback(expr) {
|
|
4188
|
+
return expr.kind === "call" && expr.callee === "raw";
|
|
4174
4189
|
}
|
|
4175
4190
|
function dispatch(ctx, refs, stored, resolve2) {
|
|
4176
4191
|
if (SUPERSEDED_STATEMENTS.has(stored.name)) {
|
|
@@ -6639,7 +6654,7 @@ async function fetchBundle(args, source) {
|
|
|
6639
6654
|
);
|
|
6640
6655
|
}
|
|
6641
6656
|
const auth3 = await getAccessToken(args);
|
|
6642
|
-
const { resolveLive, fetchEphemeralBundle } = await import("./ephemeral-command-
|
|
6657
|
+
const { resolveLive, fetchEphemeralBundle } = await import("./ephemeral-command-OGOYP7D6.js");
|
|
6643
6658
|
const summary = await resolveLive(auth3, auth3.workspaceId, name);
|
|
6644
6659
|
step(`Reading ephemeral "${name}"`);
|
|
6645
6660
|
return {
|
|
@@ -6745,13 +6760,19 @@ async function runCodegenCommand(args, source) {
|
|
|
6745
6760
|
const appName = sanitizeAppName(args.name ?? basename(out2));
|
|
6746
6761
|
const vars = { appName, sdkVersion: readVersion() };
|
|
6747
6762
|
const preset = await resolveFrontendPreset(args.framework);
|
|
6763
|
+
const choice = await resolveThemeChoice(args);
|
|
6748
6764
|
const presets = await resolveAiPresets(args.ai);
|
|
6749
6765
|
const project = decodeBundle(bundle);
|
|
6750
6766
|
const files = [
|
|
6751
|
-
...projectShellFiles(
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
|
|
6767
|
+
...projectShellFiles(
|
|
6768
|
+
vars,
|
|
6769
|
+
preset,
|
|
6770
|
+
{
|
|
6771
|
+
readme: renderCodegenReadme(vars, origin, envNames(bundle.payload ?? {}), preset),
|
|
6772
|
+
landing: codegenLanding(vars, origin)
|
|
6773
|
+
},
|
|
6774
|
+
choice
|
|
6775
|
+
),
|
|
6755
6776
|
...placeGeneratedFiles(project),
|
|
6756
6777
|
{
|
|
6757
6778
|
path: `${XANO_DIR}/.xanots-codegen.json`,
|
|
@@ -6768,7 +6789,8 @@ async function runCodegenCommand(args, source) {
|
|
|
6768
6789
|
noInstall: args.noInstall,
|
|
6769
6790
|
regenerable: true,
|
|
6770
6791
|
sdkVersion: readVersion(),
|
|
6771
|
-
frontend: preset
|
|
6792
|
+
frontend: preset,
|
|
6793
|
+
theme: choice
|
|
6772
6794
|
});
|
|
6773
6795
|
let verified = null;
|
|
6774
6796
|
if (!args.noVerify) {
|
|
@@ -6901,4 +6923,4 @@ export {
|
|
|
6901
6923
|
verifyCrashEntry,
|
|
6902
6924
|
blameGeneratedFile
|
|
6903
6925
|
};
|
|
6904
|
-
//# sourceMappingURL=chunk-
|
|
6926
|
+
//# sourceMappingURL=chunk-CBL57QBQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UsageError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FY6LXRR6.js";
|
|
4
4
|
import {
|
|
5
5
|
style
|
|
6
6
|
} from "./chunk-EZG76F7R.js";
|
|
@@ -26,4 +26,4 @@ async function confirm(message, opts) {
|
|
|
26
26
|
export {
|
|
27
27
|
confirm
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-EWFHDJY5.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
c,
|
|
3
3
|
resp
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5L4X5LS6.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-F6JCFRKO.js.map
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
liveSubcommandNames,
|
|
20
20
|
renderArgs,
|
|
21
21
|
suggest
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QO4I5OYF.js";
|
|
23
23
|
|
|
24
24
|
// src/emit/help.ts
|
|
25
25
|
function table(rows, s, indent = " ", fixedWidth) {
|
|
@@ -245,4 +245,4 @@ export {
|
|
|
245
245
|
reportFailure,
|
|
246
246
|
exitCodeOf
|
|
247
247
|
};
|
|
248
|
-
//# sourceMappingURL=chunk-
|
|
248
|
+
//# sourceMappingURL=chunk-FY6LXRR6.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compileBundle
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VVXPK6SE.js";
|
|
4
4
|
import {
|
|
5
5
|
missingArgument
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FY6LXRR6.js";
|
|
7
7
|
|
|
8
8
|
// src/emit/bundle-input.ts
|
|
9
9
|
import { existsSync, readFileSync } from "fs";
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
assertBundleInput,
|
|
35
35
|
loadBundleText
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
37
|
+
//# sourceMappingURL=chunk-HKAX756N.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RAW_ENVELOPE
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5XZ744TS.js";
|
|
4
4
|
|
|
5
5
|
// src/statements/special/raw.ts
|
|
6
6
|
var CANONICAL_KEYS = [
|
|
@@ -46,4 +46,4 @@ function raw(envelope) {
|
|
|
46
46
|
export {
|
|
47
47
|
raw
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=chunk-
|
|
49
|
+
//# sourceMappingURL=chunk-LU7TRWMC.js.map
|
|
@@ -66,7 +66,7 @@ async function resolveMetaTarget(auth, opts, deps = {}) {
|
|
|
66
66
|
case "sandbox":
|
|
67
67
|
return resolveSandbox(auth);
|
|
68
68
|
case "ephemeral": {
|
|
69
|
-
const resolveLive = deps.resolveLive ?? (await import("./ephemeral-command-
|
|
69
|
+
const resolveLive = deps.resolveLive ?? (await import("./ephemeral-command-OGOYP7D6.js")).resolveLive;
|
|
70
70
|
return resolveEphemeral(auth, opts.name, { ...deps, resolveLive });
|
|
71
71
|
}
|
|
72
72
|
}
|
|
@@ -75,4 +75,4 @@ async function resolveMetaTarget(auth, opts, deps = {}) {
|
|
|
75
75
|
export {
|
|
76
76
|
resolveMetaTarget
|
|
77
77
|
};
|
|
78
|
-
//# sourceMappingURL=chunk-
|
|
78
|
+
//# sourceMappingURL=chunk-MWLNBSTY.js.map
|
|
@@ -126,11 +126,19 @@ function hasUnreadableInput(name) {
|
|
|
126
126
|
return typeof name === "string" && UNREADABLE_INPUT.has(name);
|
|
127
127
|
}
|
|
128
128
|
var RETIRED_INPUT = {
|
|
129
|
-
"mvp:datadog_log":
|
|
130
|
-
"mvp:datadog_metric":
|
|
129
|
+
"mvp:datadog_log": { ddtags: "tags" },
|
|
130
|
+
"mvp:datadog_metric": { ddtags: "tags" },
|
|
131
|
+
"mvp:amazon_opensearch_query": { hidden_cols: "included_fields" },
|
|
132
|
+
"mvp:elasticsearch_query": { hidden_cols: "included_fields" }
|
|
131
133
|
};
|
|
134
|
+
var NO_RETIRED_INPUTS = [];
|
|
132
135
|
function retiredInputs(name) {
|
|
133
|
-
|
|
136
|
+
const row = typeof name === "string" ? RETIRED_INPUT[name] : void 0;
|
|
137
|
+
return row ? Object.keys(row) : NO_RETIRED_INPUTS;
|
|
138
|
+
}
|
|
139
|
+
function retiredInputSuccessor(name, input) {
|
|
140
|
+
const row = typeof name === "string" ? RETIRED_INPUT[name] : void 0;
|
|
141
|
+
return row?.[input] ?? null;
|
|
134
142
|
}
|
|
135
143
|
var NAME_KEYED_INPUT = /* @__PURE__ */ new Set([
|
|
136
144
|
"mvp:create_auth",
|
|
@@ -948,6 +956,7 @@ export {
|
|
|
948
956
|
hasNoListBounds,
|
|
949
957
|
hasUnreadableInput,
|
|
950
958
|
retiredInputs,
|
|
959
|
+
retiredInputSuccessor,
|
|
951
960
|
isBlankGroupStatement,
|
|
952
961
|
isDeadResultItem,
|
|
953
962
|
isBlankAgentSettings,
|
|
@@ -960,4 +969,4 @@ export {
|
|
|
960
969
|
filledContext,
|
|
961
970
|
normalize
|
|
962
971
|
};
|
|
963
|
-
//# sourceMappingURL=chunk-
|
|
972
|
+
//# sourceMappingURL=chunk-P3TTMWUP.js.map
|
|
@@ -87,6 +87,37 @@ var FLAGS = {
|
|
|
87
87
|
summary: "Frontend framework to scaffold: react (default), svelte",
|
|
88
88
|
values: ["react", "svelte"]
|
|
89
89
|
},
|
|
90
|
+
theme: {
|
|
91
|
+
spec: "--theme <id>",
|
|
92
|
+
summary: "shadcn/ui theme \u2014 <base> or <base>-<accent> (e.g. zinc-blue), a registry theme URL, or a registry item JSON path; an unknown id lists every base and accent",
|
|
93
|
+
// Completion offers the base colors alone — the accent half multiplies them
|
|
94
|
+
// into 126 values, which is a menu no one reads at a tab-complete prompt.
|
|
95
|
+
// `--help` carries the accent list; this carries the starting points.
|
|
96
|
+
values: ["neutral", "stone", "zinc", "mauve", "olive", "mist", "taupe"]
|
|
97
|
+
},
|
|
98
|
+
radius: {
|
|
99
|
+
spec: "--radius <len>",
|
|
100
|
+
summary: "Corner radius for the scaffold's theme \u2014 a number of rem (0, 0.5, 1) or a CSS length"
|
|
101
|
+
},
|
|
102
|
+
dark: {
|
|
103
|
+
spec: "--dark <mode>",
|
|
104
|
+
summary: "What switches the app into its dark palette: system (default, follows the OS), toggle (adds a control), off",
|
|
105
|
+
values: ["system", "toggle", "off"]
|
|
106
|
+
},
|
|
107
|
+
font: {
|
|
108
|
+
spec: "--font <id>",
|
|
109
|
+
summary: "Body typeface, self-hosted from its @fontsource package (default: the system stack)"
|
|
110
|
+
},
|
|
111
|
+
"font-mono": { spec: "--font-mono <id>", summary: "Code typeface (default: the system mono stack)" },
|
|
112
|
+
"font-heading": {
|
|
113
|
+
spec: "--font-heading <id>",
|
|
114
|
+
summary: "Heading typeface, bound to h1\u2013h6 (default: inherits the body face)"
|
|
115
|
+
},
|
|
116
|
+
icons: {
|
|
117
|
+
spec: "--icons <id>",
|
|
118
|
+
summary: "Icon set: lucide (default), tabler, phosphor",
|
|
119
|
+
values: ["lucide", "tabler", "phosphor"]
|
|
120
|
+
},
|
|
90
121
|
ai: {
|
|
91
122
|
spec: "--ai <preset>",
|
|
92
123
|
summary: "AI instruction files to scaffold: claude, codex, cursor, none",
|
|
@@ -123,6 +154,13 @@ var COMPILE = ["lock", "frozen-lock", "strict"];
|
|
|
123
154
|
var SCAFFOLD = [
|
|
124
155
|
{ key: "name", summary: "Project name (default: the target directory's basename)" },
|
|
125
156
|
"framework",
|
|
157
|
+
"theme",
|
|
158
|
+
"radius",
|
|
159
|
+
"dark",
|
|
160
|
+
"font",
|
|
161
|
+
"font-mono",
|
|
162
|
+
"font-heading",
|
|
163
|
+
"icons",
|
|
126
164
|
"ai",
|
|
127
165
|
"force",
|
|
128
166
|
"no-install"
|
|
@@ -176,7 +214,7 @@ var COMMANDS = {
|
|
|
176
214
|
summary: "Scaffold a new XanoTS project",
|
|
177
215
|
args: [{ name: "dir", required: false, path: true }],
|
|
178
216
|
flags: [...SCAFFOLD],
|
|
179
|
-
example: "xanots init my-app --ai claude"
|
|
217
|
+
example: "xanots init my-app --theme zinc-blue --dark toggle --ai claude"
|
|
180
218
|
},
|
|
181
219
|
marketplace: {
|
|
182
220
|
group: "Author",
|
|
@@ -599,4 +637,4 @@ export {
|
|
|
599
637
|
liveSubcommandNames,
|
|
600
638
|
suggest
|
|
601
639
|
};
|
|
602
|
-
//# sourceMappingURL=chunk-
|
|
640
|
+
//# sourceMappingURL=chunk-QO4I5OYF.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
realtimeChannelGuid,
|
|
7
7
|
realtimeServerRefName,
|
|
8
8
|
resolveRealtimeServerRef
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-U3G2UW65.js";
|
|
10
10
|
import {
|
|
11
11
|
assertCanonical,
|
|
12
12
|
assertOneOf,
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
resolveAuthRef,
|
|
26
26
|
resolveMockKeys,
|
|
27
27
|
warnLiveDatasource
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-5L4X5LS6.js";
|
|
29
29
|
import {
|
|
30
30
|
encodeStatement
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-5XZ744TS.js";
|
|
32
32
|
import {
|
|
33
33
|
deriveGuid,
|
|
34
34
|
getLockedCanonical,
|
|
@@ -667,4 +667,4 @@ export {
|
|
|
667
667
|
addonKind,
|
|
668
668
|
addon
|
|
669
669
|
};
|
|
670
|
-
//# sourceMappingURL=chunk-
|
|
670
|
+
//# sourceMappingURL=chunk-TQUO2OXY.js.map
|