@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
package/dist/cli.d.ts
CHANGED
|
@@ -165,6 +165,28 @@ interface ParsedArgs {
|
|
|
165
165
|
* Validated in `frontend-presets.ts`, not at parse time.
|
|
166
166
|
*/
|
|
167
167
|
framework: string | undefined;
|
|
168
|
+
/**
|
|
169
|
+
* `init`/`codegen` `--theme <id>`: the shadcn/ui palette to render into the
|
|
170
|
+
* scaffold's stylesheet — a `<base>` or `<base>-<accent>` pair, a registry
|
|
171
|
+
* theme URL, or a path to a registry item JSON file. Undefined = prompt in a
|
|
172
|
+
* TTY, else plain shadcn. Validated in `theme-presets.ts`, not at parse time.
|
|
173
|
+
*/
|
|
174
|
+
theme: string | undefined;
|
|
175
|
+
/** `init`/`codegen` `--radius <len>`: corner radius override, bare number = rem. */
|
|
176
|
+
radius: string | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* `init`/`codegen` `--dark <mode>`: what switches the scaffold into its dark
|
|
179
|
+
* palette — `system` (default), `toggle`, or `off`.
|
|
180
|
+
*/
|
|
181
|
+
dark: string | undefined;
|
|
182
|
+
/** `init`/`codegen` `--font <id>`: the body typeface (Tailwind's `--font-sans`). */
|
|
183
|
+
font: string | undefined;
|
|
184
|
+
/** `init`/`codegen` `--font-mono <id>`: the code typeface. */
|
|
185
|
+
fontMono: string | undefined;
|
|
186
|
+
/** `init`/`codegen` `--font-heading <id>`: the heading typeface; absent inherits the body face. */
|
|
187
|
+
fontHeading: string | undefined;
|
|
188
|
+
/** `init`/`codegen` `--icons <id>`: the icon set (`lucide` default, `tabler`, `phosphor`). */
|
|
189
|
+
icons: string | undefined;
|
|
168
190
|
/** `init`/`codegen` `--force`: scaffold into a non-empty target directory (overwrite our own files). */
|
|
169
191
|
force: boolean;
|
|
170
192
|
/** `init`/`codegen` `--no-install`: skip the post-scaffold `npm install`. For `codegen` this also means the round trip cannot be verified, since loading the tree needs its dependencies. */
|
package/dist/cli.js
CHANGED
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
resolveHelpRequest,
|
|
9
9
|
resolveLockPath,
|
|
10
10
|
run
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-EZG76F7R.js";
|
|
14
|
-
import "./chunk-3DUAGYGP.js";
|
|
15
|
-
import "./chunk-YYRDLFSJ.js";
|
|
16
|
-
import "./chunk-EMCAWMHC.js";
|
|
17
|
-
import "./chunk-WHOJWOSV.js";
|
|
18
|
-
import "./chunk-LH6Z6KFV.js";
|
|
11
|
+
} from "./chunk-VVXPK6SE.js";
|
|
12
|
+
import "./chunk-FY6LXRR6.js";
|
|
19
13
|
import "./chunk-HJPTWBLH.js";
|
|
14
|
+
import "./chunk-EZG76F7R.js";
|
|
20
15
|
import "./chunk-GNPVYOPB.js";
|
|
16
|
+
import "./chunk-55VHDNW5.js";
|
|
17
|
+
import "./chunk-QO4I5OYF.js";
|
|
18
|
+
import "./chunk-5L4X5LS6.js";
|
|
19
|
+
import "./chunk-WHOJWOSV.js";
|
|
20
|
+
import "./chunk-5XZ744TS.js";
|
|
21
21
|
import "./chunk-4HT3BNZ7.js";
|
|
22
22
|
export {
|
|
23
23
|
compileBundle,
|
|
@@ -4,31 +4,33 @@ import {
|
|
|
4
4
|
isMissingDependencyError,
|
|
5
5
|
runCodegenCommand,
|
|
6
6
|
verifyCrashEntry
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-CBL57QBQ.js";
|
|
8
|
+
import "./chunk-P3TTMWUP.js";
|
|
9
9
|
import "./chunk-QTNO2WD6.js";
|
|
10
10
|
import "./chunk-ZUTSMMAG.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-4HKZH6YK.js";
|
|
12
|
+
import "./chunk-WRYT2PAX.js";
|
|
13
13
|
import "./chunk-47WDWMBJ.js";
|
|
14
|
-
import "./chunk-X4DVXBFY.js";
|
|
15
14
|
import "./chunk-3IGNIP6R.js";
|
|
16
15
|
import "./chunk-C56BC2FY.js";
|
|
17
16
|
import "./chunk-7REDODS2.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-X4DVXBFY.js";
|
|
18
|
+
import "./chunk-F6JCFRKO.js";
|
|
19
|
+
import "./chunk-LU7TRWMC.js";
|
|
20
|
+
import "./chunk-YZ4GU6F5.js";
|
|
21
|
+
import "./chunk-6DHJVLYP.js";
|
|
20
22
|
import "./chunk-4BXJGVZ3.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-EZG76F7R.js";
|
|
25
|
-
import "./chunk-3DUAGYGP.js";
|
|
26
|
-
import "./chunk-YYRDLFSJ.js";
|
|
27
|
-
import "./chunk-EMCAWMHC.js";
|
|
28
|
-
import "./chunk-WHOJWOSV.js";
|
|
29
|
-
import "./chunk-LH6Z6KFV.js";
|
|
23
|
+
import "./chunk-U3G2UW65.js";
|
|
24
|
+
import "./chunk-VVXPK6SE.js";
|
|
25
|
+
import "./chunk-FY6LXRR6.js";
|
|
30
26
|
import "./chunk-HJPTWBLH.js";
|
|
27
|
+
import "./chunk-EZG76F7R.js";
|
|
31
28
|
import "./chunk-GNPVYOPB.js";
|
|
29
|
+
import "./chunk-55VHDNW5.js";
|
|
30
|
+
import "./chunk-QO4I5OYF.js";
|
|
31
|
+
import "./chunk-5L4X5LS6.js";
|
|
32
|
+
import "./chunk-WHOJWOSV.js";
|
|
33
|
+
import "./chunk-5XZ744TS.js";
|
|
32
34
|
import "./chunk-4HT3BNZ7.js";
|
|
33
35
|
export {
|
|
34
36
|
blameGeneratedFile,
|
|
@@ -37,4 +39,4 @@ export {
|
|
|
37
39
|
runCodegenCommand,
|
|
38
40
|
verifyCrashEntry
|
|
39
41
|
};
|
|
40
|
-
//# sourceMappingURL=codegen-command-
|
|
42
|
+
//# sourceMappingURL=codegen-command-EXLKZ2ZI.js.map
|
package/dist/codegen.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getCommand,
|
|
6
6
|
liveCommandNames,
|
|
7
7
|
liveSubcommandNames
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QO4I5OYF.js";
|
|
9
9
|
|
|
10
10
|
// src/emit/completion.ts
|
|
11
11
|
var COMPLETION_SHELLS = ["bash", "zsh", "fish"];
|
|
@@ -295,4 +295,4 @@ export {
|
|
|
295
295
|
renderCompletion,
|
|
296
296
|
runCompletionCommand
|
|
297
297
|
};
|
|
298
|
-
//# sourceMappingURL=completion-
|
|
298
|
+
//# sourceMappingURL=completion-2PVZK6YX.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertBundleInput,
|
|
3
3
|
loadBundleText
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HKAX756N.js";
|
|
5
5
|
import {
|
|
6
6
|
importWorkspaceArchive
|
|
7
7
|
} from "./chunk-5WGEURVI.js";
|
|
@@ -21,10 +21,6 @@ import {
|
|
|
21
21
|
readEphemeralState,
|
|
22
22
|
setEnvironment
|
|
23
23
|
} from "./chunk-DGSF2Q5H.js";
|
|
24
|
-
import {
|
|
25
|
-
openBrowser
|
|
26
|
-
} from "./chunk-VTIL47DT.js";
|
|
27
|
-
import "./chunk-X4DVXBFY.js";
|
|
28
24
|
import {
|
|
29
25
|
microserviceLine,
|
|
30
26
|
readyRatio,
|
|
@@ -38,14 +34,19 @@ import {
|
|
|
38
34
|
fetchOrExplain,
|
|
39
35
|
httpFailure
|
|
40
36
|
} from "./chunk-3IGNIP6R.js";
|
|
37
|
+
import {
|
|
38
|
+
openBrowser
|
|
39
|
+
} from "./chunk-VTIL47DT.js";
|
|
41
40
|
import {
|
|
42
41
|
getAccessToken
|
|
43
42
|
} from "./chunk-C56BC2FY.js";
|
|
44
43
|
import "./chunk-7REDODS2.js";
|
|
45
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-X4DVXBFY.js";
|
|
45
|
+
import "./chunk-VVXPK6SE.js";
|
|
46
46
|
import {
|
|
47
47
|
assertWritableDest
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-FY6LXRR6.js";
|
|
49
|
+
import "./chunk-HJPTWBLH.js";
|
|
49
50
|
import {
|
|
50
51
|
blank,
|
|
51
52
|
detail,
|
|
@@ -60,13 +61,12 @@ import {
|
|
|
60
61
|
warn,
|
|
61
62
|
withSpinner
|
|
62
63
|
} from "./chunk-EZG76F7R.js";
|
|
63
|
-
import "./chunk-3DUAGYGP.js";
|
|
64
|
-
import "./chunk-YYRDLFSJ.js";
|
|
65
|
-
import "./chunk-EMCAWMHC.js";
|
|
66
|
-
import "./chunk-WHOJWOSV.js";
|
|
67
|
-
import "./chunk-LH6Z6KFV.js";
|
|
68
|
-
import "./chunk-HJPTWBLH.js";
|
|
69
64
|
import "./chunk-GNPVYOPB.js";
|
|
65
|
+
import "./chunk-55VHDNW5.js";
|
|
66
|
+
import "./chunk-QO4I5OYF.js";
|
|
67
|
+
import "./chunk-5L4X5LS6.js";
|
|
68
|
+
import "./chunk-WHOJWOSV.js";
|
|
69
|
+
import "./chunk-5XZ744TS.js";
|
|
70
70
|
import "./chunk-4HT3BNZ7.js";
|
|
71
71
|
|
|
72
72
|
// src/emit/deploy-command.ts
|
|
@@ -158,7 +158,7 @@ async function runDeployedTests(auth, dest, summary, args) {
|
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
async function runTestsOrThrow(auth, dest, summary, args) {
|
|
161
|
-
const { runSuite, EXIT_TESTS_FAILED } = await import("./test-command-
|
|
161
|
+
const { runSuite, EXIT_TESTS_FAILED } = await import("./test-command-LLPXKT35.js");
|
|
162
162
|
let target;
|
|
163
163
|
if (dest === "ephemeral") {
|
|
164
164
|
if (summary.url === void 0) {
|
|
@@ -168,7 +168,7 @@ async function runTestsOrThrow(auth, dest, summary, args) {
|
|
|
168
168
|
const name = summary.ephemeral?.name;
|
|
169
169
|
target = { base: summary.url, workspaceId: 1, label: name ? `ephemeral ${name}` : "the ephemeral", env: name };
|
|
170
170
|
} else {
|
|
171
|
-
const { resolveMetaTarget } = await import("./env-target-
|
|
171
|
+
const { resolveMetaTarget } = await import("./env-target-3EGIPR4D.js");
|
|
172
172
|
target = await resolveMetaTarget(auth, { dest: "sandbox" });
|
|
173
173
|
}
|
|
174
174
|
const outcomes = await runSuite(auth, target, {
|
|
@@ -448,4 +448,4 @@ export {
|
|
|
448
448
|
runDeployedTests,
|
|
449
449
|
verifyMicroservices
|
|
450
450
|
};
|
|
451
|
-
//# sourceMappingURL=deploy-command-
|
|
451
|
+
//# sourceMappingURL=deploy-command-SXX6RJWM.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveMetaTarget
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MWLNBSTY.js";
|
|
4
4
|
import "./chunk-DGSF2Q5H.js";
|
|
5
5
|
import "./chunk-7DKX2SPN.js";
|
|
6
6
|
import "./chunk-NDZFBZHC.js";
|
|
@@ -13,4 +13,4 @@ import "./chunk-GNPVYOPB.js";
|
|
|
13
13
|
export {
|
|
14
14
|
resolveMetaTarget
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=env-target-
|
|
16
|
+
//# sourceMappingURL=env-target-3EGIPR4D.js.map
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
confirm
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
resolveOutputTarget
|
|
6
|
-
} from "./chunk-XQ22GLYS.js";
|
|
7
|
-
import {
|
|
8
|
-
exportWorkspaceBundle
|
|
9
|
-
} from "./chunk-QTNO2WD6.js";
|
|
3
|
+
} from "./chunk-EWFHDJY5.js";
|
|
10
4
|
import {
|
|
11
5
|
deleteEphemeral,
|
|
12
6
|
getEphemeral,
|
|
@@ -15,16 +9,18 @@ import {
|
|
|
15
9
|
listAllEphemeral,
|
|
16
10
|
listEphemeral
|
|
17
11
|
} from "./chunk-6DHBYBTO.js";
|
|
12
|
+
import {
|
|
13
|
+
resolveOutputTarget
|
|
14
|
+
} from "./chunk-XQ22GLYS.js";
|
|
15
|
+
import {
|
|
16
|
+
exportWorkspaceBundle
|
|
17
|
+
} from "./chunk-QTNO2WD6.js";
|
|
18
18
|
import "./chunk-ZUTSMMAG.js";
|
|
19
19
|
import {
|
|
20
20
|
clearEnvironment,
|
|
21
21
|
getEnvironment,
|
|
22
22
|
readEphemeralState
|
|
23
23
|
} from "./chunk-DGSF2Q5H.js";
|
|
24
|
-
import {
|
|
25
|
-
openBrowser
|
|
26
|
-
} from "./chunk-VTIL47DT.js";
|
|
27
|
-
import "./chunk-X4DVXBFY.js";
|
|
28
24
|
import "./chunk-7DKX2SPN.js";
|
|
29
25
|
import {
|
|
30
26
|
printMicroserviceSection,
|
|
@@ -35,13 +31,17 @@ import {
|
|
|
35
31
|
writeJson
|
|
36
32
|
} from "./chunk-NUQCEOKA.js";
|
|
37
33
|
import "./chunk-3IGNIP6R.js";
|
|
34
|
+
import {
|
|
35
|
+
openBrowser
|
|
36
|
+
} from "./chunk-VTIL47DT.js";
|
|
38
37
|
import {
|
|
39
38
|
getAccessToken
|
|
40
39
|
} from "./chunk-C56BC2FY.js";
|
|
41
40
|
import "./chunk-7REDODS2.js";
|
|
41
|
+
import "./chunk-X4DVXBFY.js";
|
|
42
42
|
import {
|
|
43
43
|
unknownSubcommand
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-FY6LXRR6.js";
|
|
45
45
|
import {
|
|
46
46
|
detail,
|
|
47
47
|
formatExpiration,
|
|
@@ -52,8 +52,8 @@ import {
|
|
|
52
52
|
success,
|
|
53
53
|
warn
|
|
54
54
|
} from "./chunk-EZG76F7R.js";
|
|
55
|
-
import "./chunk-YYRDLFSJ.js";
|
|
56
55
|
import "./chunk-GNPVYOPB.js";
|
|
56
|
+
import "./chunk-QO4I5OYF.js";
|
|
57
57
|
|
|
58
58
|
// src/emit/ephemeral-command.ts
|
|
59
59
|
import { writeFileSync } from "fs";
|
|
@@ -90,7 +90,7 @@ async function runEphemeralCommand(args) {
|
|
|
90
90
|
case "impersonate":
|
|
91
91
|
return runImpersonate(args);
|
|
92
92
|
case "codegen": {
|
|
93
|
-
const { runCodegenCommand } = await import("./codegen-command-
|
|
93
|
+
const { runCodegenCommand } = await import("./codegen-command-EXLKZ2ZI.js");
|
|
94
94
|
return runCodegenCommand(args, { kind: "ephemeral" });
|
|
95
95
|
}
|
|
96
96
|
default:
|
|
@@ -239,4 +239,4 @@ export {
|
|
|
239
239
|
resolveLive,
|
|
240
240
|
runEphemeralCommand
|
|
241
241
|
};
|
|
242
|
-
//# sourceMappingURL=ephemeral-command-
|
|
242
|
+
//# sourceMappingURL=ephemeral-command-OGOYP7D6.js.map
|