@xanots/sdk 0.0.11 → 0.0.13
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 +37 -0
- package/README.md +16 -9
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-QNKN5RYD.js → agent-file-refresh-GQWAAOBV.js} +4 -4
- package/dist/bin.js +11 -11
- package/dist/{branch-commands-2BLOC2GR.js → branch-commands-5KMPAAZV.js} +7 -7
- package/dist/bundle.d.ts +2 -2
- package/dist/bundle.js +2 -2
- package/dist/{capture-4WVJY4DQ.js → capture-YLUVAITI.js} +2 -2
- package/dist/{chunk-22TKBSDV.js → chunk-2AY3PKF4.js} +2 -2
- package/dist/chunk-2VTJSI6X.js +192 -0
- package/dist/{chunk-5XZ744TS.js → chunk-2ZCUO2UG.js} +1 -1
- package/dist/{chunk-XEOX6AM7.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-DBFU47BJ.js → chunk-AOFFKSJC.js} +2 -2
- package/dist/{chunk-TCFIPDB3.js → chunk-AVGDL6RB.js} +1 -1
- package/dist/{chunk-UOZMSF4C.js → chunk-BYQHCCYU.js} +5 -5
- package/dist/{chunk-BC2C5GVI.js → chunk-DCMANKMX.js} +1 -1
- package/dist/{chunk-WHOJWOSV.js → chunk-EETVJZAZ.js} +1 -1
- package/dist/{chunk-VNQM3V2C.js → chunk-EXENFOWE.js} +2 -2
- package/dist/{chunk-AIZKXUNP.js → chunk-IMLYGQK6.js} +2 -2
- package/dist/{chunk-OWGCOGKK.js → chunk-MEFMTICH.js} +83 -8
- package/dist/{chunk-QK7ZQJLP.js → chunk-N74KDCBD.js} +39 -25
- package/dist/{chunk-3IGNIP6R.js → chunk-NDP7OUPS.js} +1 -1
- package/dist/{chunk-4Q7ZOHH7.js → chunk-OONT4ZL4.js} +3 -3
- package/dist/{chunk-EQW3YT5U.js → chunk-P6PVBQL6.js} +2 -2
- package/dist/{chunk-QYMAZRAU.js → chunk-PJNWOZMT.js} +5 -5
- package/dist/{chunk-BSK7ELHU.js → chunk-PR7OXHGZ.js} +1 -1
- package/dist/{chunk-RCT7UX7B.js → chunk-RLI6XD4O.js} +32 -27
- package/dist/{chunk-ZQ2PKR6R.js → chunk-RQ3FXV4K.js} +2 -2
- package/dist/{chunk-Q77KNEUL.js → chunk-RQNMTDXD.js} +1703 -2
- package/dist/{chunk-4IF54NU5.js → chunk-S3DOJOW4.js} +41 -21
- package/dist/{chunk-HYBN4H3F.js → chunk-SS2V2QOG.js} +27 -20
- 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-VAF6A3YD.js → chunk-XWFRNJMQ.js} +1 -1
- package/dist/{chunk-7ZYW652H.js → chunk-YHS6VVLJ.js} +2 -2
- package/dist/{chunk-G4EJMQLD.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 +10 -10
- package/dist/codegen-command-ZDHMGFWZ.js +47 -0
- package/dist/codegen.d.ts +5 -5
- package/dist/codegen.js +2 -2
- package/dist/{completion-WF46272M.js → completion-HJU5QEFB.js} +2 -2
- package/dist/{deploy-command-IP7V7GT4.js → deploy-command-CGVKRWUE.js} +19 -19
- package/dist/{ephemeral-command-U4AQ3TXX.js → ephemeral-command-2NKPEXUU.js} +8 -8
- package/dist/index.d.ts +88 -104
- package/dist/index.js +9 -9
- package/dist/init-command-DNDONP3O.js +32 -0
- package/dist/internal.d.ts +10 -16
- package/dist/internal.js +34 -34
- package/dist/{io-P2H75UV2.js → io-UBDMMDH6.js} +3 -3
- package/dist/{live-diff-IXKBVG4K.js → live-diff-HCOTN5WC.js} +3 -3
- package/dist/{lock-46FWYE4D.js → lock-HQ4KARU2.js} +2 -2
- package/dist/{lock-commands-ZZKZ4LZJ.js → lock-commands-6U7UIJGR.js} +11 -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 -6
- package/dist/node.js +14 -14
- package/dist/{preflight-command-K346GPTY.js → preflight-command-UYE7SUQV.js} +16 -16
- package/dist/{profile-command-LJSBDV2L.js → profile-command-WBNSMQSI.js} +3 -3
- package/dist/{release-command-IMNTIVWK.js → release-command-CMMYT6XK.js} +26 -26
- package/dist/{response-BQVQ24l1.d.ts → response-D6xGLEIn.d.ts} +18 -23
- package/dist/{routes-manifest-PWZHDOI5.js → routes-manifest-MN6XBYRE.js} +25 -14
- 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-BLyNeQ8S.d.ts → store-9Psd0jiF.d.ts} +115 -102
- package/dist/{test-command-YAZLKLGQ.js → test-command-YCAR4O35.js} +7 -7
- package/dist/{upgrade-command-BN3EHAOI.js → upgrade-command-A75DOIUH.js} +15 -16
- package/dist/{workspace-2COHDBM3.js → workspace-33KHFLX3.js} +2 -2
- package/dist/{workspace-command-MNK7Y7MQ.js → workspace-command-YELP47SJ.js} +26 -28
- package/dist/{workspace-export-DURY5WYL.js → workspace-export-MLYTYZS5.js} +3 -3
- package/dist/{xdo-BjJj5W_E.d.ts → xdo-ODuJklk6.d.ts} +27 -23
- package/guides/authoring.md +11 -2
- package/guides/typed-frontend.md +23 -6
- package/llms/kinds-realtime.md +2 -2
- package/llms/statements-data.md +3 -2
- package/llms/tests.md +1 -1
- package/llms/triggers.md +2 -2
- package/llms/values.md +1 -1
- package/llms-full.txt +26 -26
- package/llms.txt +17 -18
- package/manifest.json +6 -2
- package/package.json +1 -1
- 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-FUT2KJB6.js +0 -49
- package/dist/init-command-NPVL32L6.js +0 -34
package/dist/scaffold.d.ts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* AUTO-GENERATED by scripts/gen-shadcn-themes.ts — DO NOT EDIT BY HAND.
|
|
3
|
-
*
|
|
4
2
|
* shadcn/ui's theme registry, distilled: 7 base colors carrying the complete
|
|
5
3
|
* token set, and 17 accents carrying the partial override that reads as a
|
|
6
4
|
* brand. Values are verbatim upstream oklch — see
|
|
7
5
|
* `apps/v4/registry/themes.ts` in github.com/shadcn-ui/ui.
|
|
8
6
|
*
|
|
9
7
|
* Composed by `buildTheme()` in ../theme-presets.ts, which mirrors upstream's
|
|
10
|
-
* own shallow-spread merge.
|
|
8
|
+
* own shallow-spread merge.
|
|
11
9
|
*/
|
|
12
10
|
/** One registry theme: a display label and its light/dark token maps. */
|
|
13
11
|
interface ThemeTokens {
|
|
@@ -1019,13 +1017,9 @@ declare const ACCENT_TOKENS: {
|
|
|
1019
1017
|
declare const TOKEN_ORDER: readonly ["background", "foreground", "card", "card-foreground", "popover", "popover-foreground", "primary", "primary-foreground", "secondary", "secondary-foreground", "muted", "muted-foreground", "accent", "accent-foreground", "destructive", "border", "input", "ring", "chart-1", "chart-2", "chart-3", "chart-4", "chart-5", "radius", "sidebar", "sidebar-foreground", "sidebar-primary", "sidebar-primary-foreground", "sidebar-accent", "sidebar-accent-foreground", "sidebar-border", "sidebar-ring"];
|
|
1020
1018
|
|
|
1021
1019
|
/**
|
|
1022
|
-
* AUTO-GENERATED by scripts/gen-shadcn-fonts.ts — DO NOT EDIT BY HAND.
|
|
1023
|
-
*
|
|
1024
1020
|
* shadcn/ui's typefaces: 17 sans, 7 serif, 2 mono. Each is
|
|
1025
1021
|
* self-hosted through its `@fontsource-variable/*` package — a dependency and a
|
|
1026
1022
|
* CSS `@import`, not a request to Google's CDN.
|
|
1027
|
-
*
|
|
1028
|
-
* Regenerate with `npm run codegen:fonts`.
|
|
1029
1023
|
*/
|
|
1030
1024
|
/** One typeface: how to name it, install it, and write it into a font stack. */
|
|
1031
1025
|
interface FontDefinition {
|
|
@@ -1554,6 +1548,20 @@ declare function orderedTokens(vars: Readonly<Record<string, string>>): Array<[s
|
|
|
1554
1548
|
* color scale that shows up in editor autocomplete).
|
|
1555
1549
|
*/
|
|
1556
1550
|
declare function colorTokens(vars: Readonly<Record<string, string>>): string[];
|
|
1551
|
+
/**
|
|
1552
|
+
* What this section actually needs of a theme: its name, and how dark mode is
|
|
1553
|
+
* wired. Narrower than {@link ThemeChoice} (which every scaffold caller passes,
|
|
1554
|
+
* and which satisfies this) so a caller that RECOVERED a theme from a project on
|
|
1555
|
+
* disk can describe it without fabricating token values it never read — see
|
|
1556
|
+
* `project-detect.ts`. A label lifted from a stylesheet is a fact; a palette
|
|
1557
|
+
* reconstructed around it would not be.
|
|
1558
|
+
*/
|
|
1559
|
+
interface ThemeGuidance {
|
|
1560
|
+
readonly theme: {
|
|
1561
|
+
readonly label: string;
|
|
1562
|
+
};
|
|
1563
|
+
readonly dark: DarkMode;
|
|
1564
|
+
}
|
|
1557
1565
|
/**
|
|
1558
1566
|
* The theme bullets in the scaffolded AI-assistant brief, appended to whatever
|
|
1559
1567
|
* the frontend preset contributes.
|
|
@@ -1570,7 +1578,7 @@ declare function colorTokens(vars: Readonly<Record<string, string>>): string[];
|
|
|
1570
1578
|
* suggests, and in a scaffold that already persists and applies the mode it
|
|
1571
1579
|
* is a second source of truth for one boolean.
|
|
1572
1580
|
*/
|
|
1573
|
-
declare function themeGuidanceSection(choice:
|
|
1581
|
+
declare function themeGuidanceSection(choice: ThemeGuidance): string;
|
|
1574
1582
|
/** An sRGB triple, 0–255, for painting a theme swatch. */
|
|
1575
1583
|
interface Rgb {
|
|
1576
1584
|
readonly r: number;
|
package/dist/scaffold.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DEFAULT_FRAMEWORK,
|
|
3
|
-
FRAMEWORKS,
|
|
4
|
-
allFrontendPresets,
|
|
5
|
-
findFrontendPreset,
|
|
6
|
-
resolveFrameworkFlag
|
|
7
|
-
} from "./chunk-YBC3IKMF.js";
|
|
8
|
-
import {
|
|
9
|
-
renderIndexCss
|
|
10
|
-
} from "./chunk-ANUDXFEX.js";
|
|
11
1
|
import {
|
|
12
2
|
ACCENTS,
|
|
13
3
|
ACCENT_TOKENS,
|
|
@@ -17,12 +7,15 @@ import {
|
|
|
17
7
|
DARK_MODES,
|
|
18
8
|
DEFAULT_BASE_COLOR,
|
|
19
9
|
DEFAULT_DARK_MODE,
|
|
10
|
+
DEFAULT_FRAMEWORK,
|
|
20
11
|
DEFAULT_ICON_LIBRARY,
|
|
21
12
|
DEFAULT_RADIUS,
|
|
22
13
|
FONTS,
|
|
23
14
|
FONT_IDS,
|
|
15
|
+
FRAMEWORKS,
|
|
24
16
|
ICON_LIBRARIES,
|
|
25
17
|
TOKEN_ORDER,
|
|
18
|
+
allFrontendPresets,
|
|
26
19
|
allIconLibraries,
|
|
27
20
|
buildTheme,
|
|
28
21
|
colorTokens,
|
|
@@ -32,6 +25,7 @@ import {
|
|
|
32
25
|
defaultThemeChoice,
|
|
33
26
|
describeFonts,
|
|
34
27
|
findFont,
|
|
28
|
+
findFrontendPreset,
|
|
35
29
|
findIconLibrary,
|
|
36
30
|
fontDependencies,
|
|
37
31
|
fontImports,
|
|
@@ -42,15 +36,17 @@ import {
|
|
|
42
36
|
normalizeRadius,
|
|
43
37
|
orderedTokens,
|
|
44
38
|
parseColor,
|
|
39
|
+
renderIndexCss,
|
|
45
40
|
resolveDarkModeFlag,
|
|
46
41
|
resolveFontFlag,
|
|
42
|
+
resolveFrameworkFlag,
|
|
47
43
|
resolveIconsFlag,
|
|
48
44
|
resolveThemeFlag,
|
|
49
45
|
themeFromRegistryItem,
|
|
50
46
|
themeGuidanceSection,
|
|
51
47
|
themeSwatch,
|
|
52
48
|
withRadius
|
|
53
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-RQNMTDXD.js";
|
|
54
50
|
export {
|
|
55
51
|
ACCENTS,
|
|
56
52
|
ACCENT_TOKENS,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getEphemeral,
|
|
3
3
|
isExpired
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EXENFOWE.js";
|
|
5
5
|
import {
|
|
6
6
|
isMachineOutput,
|
|
7
7
|
writeJson
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
} from "./chunk-K5IOND4K.js";
|
|
13
13
|
import {
|
|
14
14
|
getAccessToken
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TJS2AF5Y.js";
|
|
16
16
|
import "./chunk-FE5I6S6N.js";
|
|
17
17
|
import {
|
|
18
18
|
fetchOrExplain,
|
|
19
19
|
httpFailure
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NDP7OUPS.js";
|
|
21
21
|
import "./chunk-GNPVYOPB.js";
|
|
22
22
|
import {
|
|
23
23
|
formatExpiration,
|
|
@@ -159,4 +159,4 @@ export {
|
|
|
159
159
|
readStatus,
|
|
160
160
|
runStatusCommand
|
|
161
161
|
};
|
|
162
|
-
//# sourceMappingURL=status-command-
|
|
162
|
+
//# sourceMappingURL=status-command-VARULAR5.js.map
|