@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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
importWorkspaceArchive
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3VFCKHOB.js";
|
|
4
4
|
import {
|
|
5
5
|
assertBundleInput,
|
|
6
6
|
loadBundleText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OONT4ZL4.js";
|
|
8
8
|
import {
|
|
9
9
|
microserviceLine,
|
|
10
10
|
readyRatio,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
isEphemeralDisabled,
|
|
17
17
|
isExpired,
|
|
18
18
|
waitUntilReady
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EXENFOWE.js";
|
|
20
20
|
import {
|
|
21
21
|
openBrowser
|
|
22
22
|
} from "./chunk-W5NOKYEG.js";
|
|
@@ -31,19 +31,19 @@ import {
|
|
|
31
31
|
} from "./chunk-K5IOND4K.js";
|
|
32
32
|
import {
|
|
33
33
|
getAccessToken
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-TJS2AF5Y.js";
|
|
35
35
|
import "./chunk-FE5I6S6N.js";
|
|
36
36
|
import {
|
|
37
37
|
encodeWorkspaceArchive
|
|
38
38
|
} from "./chunk-ZUTSMMAG.js";
|
|
39
39
|
import "./chunk-X4DVXBFY.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-NDP7OUPS.js";
|
|
41
|
+
import "./chunk-RLI6XD4O.js";
|
|
42
|
+
import "./chunk-7WRJPKGK.js";
|
|
43
|
+
import "./chunk-3LQGF2WS.js";
|
|
44
44
|
import {
|
|
45
45
|
assertNoEnv
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-Z2ZIE5CO.js";
|
|
47
47
|
import "./chunk-GNPVYOPB.js";
|
|
48
48
|
import {
|
|
49
49
|
blank,
|
|
@@ -59,12 +59,12 @@ import {
|
|
|
59
59
|
warn,
|
|
60
60
|
withSpinner
|
|
61
61
|
} from "./chunk-EZG76F7R.js";
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-MEFMTICH.js";
|
|
63
|
+
import "./chunk-V5Y7D4LH.js";
|
|
64
|
+
import "./chunk-N74KDCBD.js";
|
|
65
|
+
import "./chunk-EETVJZAZ.js";
|
|
66
|
+
import "./chunk-XWFRNJMQ.js";
|
|
67
|
+
import "./chunk-2ZCUO2UG.js";
|
|
68
68
|
import "./chunk-OHX6MIUZ.js";
|
|
69
69
|
|
|
70
70
|
// src/emit/deploy-command.ts
|
|
@@ -102,7 +102,7 @@ async function assertNoSeedLeaks(dir, values, allow) {
|
|
|
102
102
|
);
|
|
103
103
|
for (const column of unscannable) detail(column);
|
|
104
104
|
}
|
|
105
|
-
const { findSeedLeaks } = await import("./static-host-
|
|
105
|
+
const { findSeedLeaks } = await import("./static-host-4JDQCHUW.js");
|
|
106
106
|
const leaks = findSeedLeaks(dir, values);
|
|
107
107
|
if (leaks.length === 0) return;
|
|
108
108
|
const lines = leaks.map((l) => ` ${l.file} \u2014 ${l.table}.${l.column}`);
|
|
@@ -133,7 +133,7 @@ async function runDeployedTests(auth, summary, args) {
|
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
async function runTestsOrThrow(auth, summary, args) {
|
|
136
|
-
const { runSuite, EXIT_TESTS_FAILED } = await import("./test-command-
|
|
136
|
+
const { runSuite, EXIT_TESTS_FAILED } = await import("./test-command-YCAR4O35.js");
|
|
137
137
|
if (summary.url === void 0) {
|
|
138
138
|
warn("Skipped --test: the ephemeral reported no base URL to run against.");
|
|
139
139
|
return void 0;
|
|
@@ -374,7 +374,7 @@ async function deployEphemeral(auth, ctx) {
|
|
|
374
374
|
};
|
|
375
375
|
}
|
|
376
376
|
async function deployStaticTo(dir, auth, target, env, explicit, host, skipLiveness, routing) {
|
|
377
|
-
const { deployStaticHost } = await import("./static-host-
|
|
377
|
+
const { deployStaticHost } = await import("./static-host-4JDQCHUW.js");
|
|
378
378
|
const where = target.label && target.label !== "" ? target.label : `workspace #${target.workspaceId}`;
|
|
379
379
|
step(`Deploying static frontend ${dir} \u2192 ${where}${host ? ` (host: ${host})` : ""}`);
|
|
380
380
|
const sh = await deployStaticHost({ host, dir, workspaceId: target.workspaceId, baseUrl: target.baseUrl, accessToken: auth.access_token, env, routing });
|
|
@@ -417,4 +417,4 @@ export {
|
|
|
417
417
|
runDeployedTests,
|
|
418
418
|
verifyMicroservices
|
|
419
419
|
};
|
|
420
|
-
//# sourceMappingURL=deploy-command-
|
|
420
|
+
//# sourceMappingURL=deploy-command-CGVKRWUE.js.map
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
isExpired,
|
|
13
13
|
listAllEphemeral,
|
|
14
14
|
listEphemeral
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EXENFOWE.js";
|
|
16
16
|
import {
|
|
17
17
|
openBrowser
|
|
18
18
|
} from "./chunk-W5NOKYEG.js";
|
|
19
19
|
import {
|
|
20
20
|
confirm
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IMLYGQK6.js";
|
|
22
22
|
import {
|
|
23
23
|
isMachineOutput,
|
|
24
24
|
writeJson
|
|
@@ -30,18 +30,18 @@ import {
|
|
|
30
30
|
} from "./chunk-K5IOND4K.js";
|
|
31
31
|
import {
|
|
32
32
|
getAccessToken
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-TJS2AF5Y.js";
|
|
34
34
|
import "./chunk-FE5I6S6N.js";
|
|
35
35
|
import {
|
|
36
36
|
exportWorkspaceBundle
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-YHS6VVLJ.js";
|
|
38
38
|
import "./chunk-ZUTSMMAG.js";
|
|
39
39
|
import "./chunk-X4DVXBFY.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-NDP7OUPS.js";
|
|
41
41
|
import {
|
|
42
42
|
assertNoForce,
|
|
43
43
|
unknownSubcommand
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-Z2ZIE5CO.js";
|
|
45
45
|
import "./chunk-GNPVYOPB.js";
|
|
46
46
|
import {
|
|
47
47
|
detail,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
success,
|
|
54
54
|
warn
|
|
55
55
|
} from "./chunk-EZG76F7R.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-V5Y7D4LH.js";
|
|
57
57
|
|
|
58
58
|
// src/emit/ephemeral-command.ts
|
|
59
59
|
import { writeFileSync } from "fs";
|
|
@@ -236,4 +236,4 @@ export {
|
|
|
236
236
|
resolveLive,
|
|
237
237
|
runEphemeralCommand
|
|
238
238
|
};
|
|
239
|
-
//# sourceMappingURL=ephemeral-command-
|
|
239
|
+
//# sourceMappingURL=ephemeral-command-2NKPEXUU.js.map
|