@xano/sdk 1.0.8 → 1.0.10
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 +24 -0
- package/README.md +85 -86
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-QJO3MT6Q.js → agent-file-refresh-VOGTQ3JE.js} +6 -6
- package/dist/{agent-skill-command-GBR4KUUG.js → agent-skill-command-LDT5JXIO.js} +16 -16
- package/dist/{backend-dir-PFUIPCV3.js → backend-dir-UNUO7TNL.js} +5 -5
- package/dist/bin.js +16 -16
- package/dist/{branch-commands-CR3SAHMV.js → branch-commands-IJ7SK5AM.js} +3 -3
- package/dist/{chunk-QRKBFXIB.js → chunk-2ND7WS3E.js} +2 -2
- package/dist/{chunk-CRE7P7P2.js → chunk-3IFRZXHN.js} +2 -2
- package/dist/{chunk-Y5ET37NN.js → chunk-3TTR4BHW.js} +2 -2
- package/dist/{chunk-K75BFHQQ.js → chunk-3TWQDGQY.js} +2 -2
- package/dist/{chunk-ZT2B22VQ.js → chunk-436AOVZS.js} +2 -2
- package/dist/{chunk-ZJCHS7FM.js → chunk-45A3AF2B.js} +54 -54
- package/dist/{chunk-XYTVP4WI.js → chunk-5DLDRUCQ.js} +3 -3
- package/dist/{chunk-NFZUXS7D.js → chunk-6BIOLAJ4.js} +5 -5
- package/dist/{chunk-S3WN6GGO.js → chunk-6NXIRULE.js} +12 -12
- package/dist/{chunk-W2BVP27L.js → chunk-77IFWJ53.js} +2 -2
- package/dist/{chunk-ZQ5WZWHF.js → chunk-BYYVOX2P.js} +17 -17
- package/dist/{chunk-BRANWM4U.js → chunk-C2SAVXAB.js} +2 -2
- package/dist/{chunk-QE2GNFMP.js → chunk-CTKBGPM6.js} +3 -3
- package/dist/{chunk-77GV772V.js → chunk-DHU3EGGF.js} +2 -2
- package/dist/{chunk-DER2CVNC.js → chunk-DSD2NNTX.js} +2 -2
- package/dist/{chunk-V7KMIEMF.js → chunk-DW47JVXI.js} +18 -18
- package/dist/{chunk-FHQYXGAY.js → chunk-ECGRCTVI.js} +2 -2
- package/dist/{chunk-FN7E6XGD.js → chunk-FDZ2ANSS.js} +2 -2
- package/dist/{chunk-UU7EEREQ.js → chunk-FZGK4VM5.js} +2 -2
- package/dist/{chunk-UKJFCEMI.js → chunk-GDAWYDHY.js} +4 -4
- package/dist/{chunk-2HZDWZM2.js → chunk-HDKSHL4Z.js} +1 -1
- package/dist/{chunk-33KELF2X.js → chunk-HMFEWTI7.js} +39 -39
- package/dist/{chunk-7UWUEUVJ.js → chunk-HU6D6PYT.js} +2 -2
- package/dist/{chunk-JG642U5D.js → chunk-IIAF7VKN.js} +2 -2
- package/dist/{chunk-AS4G2MIE.js → chunk-IW6E3LES.js} +2 -2
- package/dist/{chunk-5GIOCDUM.js → chunk-IZI3SYXH.js} +3 -3
- package/dist/{chunk-S3STXOAO.js → chunk-JE7BL5IF.js} +7 -7
- package/dist/{chunk-HKLBDSML.js → chunk-JSPFDMTV.js} +5 -5
- package/dist/{chunk-S2F7KVUL.js → chunk-KA3JN4SH.js} +2 -2
- package/dist/{chunk-P5W6DBV6.js → chunk-KCCZGDQG.js} +3 -3
- package/dist/{chunk-PAS5HOG3.js → chunk-KSGITXNE.js} +2 -2
- package/dist/{chunk-C2I4GC36.js → chunk-NIANORYB.js} +2 -2
- package/dist/{chunk-YG7S3N7P.js → chunk-PPI647YF.js} +20 -20
- package/dist/{chunk-F5RPNTN7.js → chunk-T3ZVNOJC.js} +1 -1
- package/dist/{chunk-WEQFI55W.js → chunk-THGELNPV.js} +4 -4
- package/dist/{chunk-U7XNJ33Q.js → chunk-TWBENPZR.js} +13 -13
- package/dist/{chunk-RYMGK2K5.js → chunk-U4JD5NMP.js} +2 -2
- package/dist/{chunk-JJGK7XGC.js → chunk-V5RXO5AK.js} +2 -2
- package/dist/{chunk-M3RLLT4O.js → chunk-XUSL2Z5C.js} +3 -3
- package/dist/{chunk-JPRZ4ZGU.js → chunk-Z52FKP34.js} +6 -6
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +15 -15
- package/dist/{codegen-command-4YXDJSLU.js → codegen-command-A7M5JLLY.js} +22 -22
- package/dist/{deploy-command-FIDS56ZC.js → deploy-command-RP7Q4XBE.js} +19 -19
- package/dist/{deploy-source-FPNNNNOW.js → deploy-source-ITSAHJW7.js} +8 -8
- package/dist/{dev-env-sync-RBJ2U3HG.js → dev-env-sync-SN6TL22O.js} +16 -16
- package/dist/{emit-8lcNcRrd.d.ts → emit-D-a6JznN.d.ts} +10 -4
- package/dist/{env-example-refresh-6UTTMDOI.js → env-example-refresh-USAGYVJ2.js} +23 -23
- package/dist/{env-pull-command-P5MATITQ.js → env-pull-command-6KEESNVU.js} +14 -14
- package/dist/{env-target-F75YF25S.js → env-target-HOGLLJN5.js} +2 -2
- package/dist/{env-var-command-H3GHROVB.js → env-var-command-VOAINMHX.js} +14 -14
- package/dist/{ephemeral-command-NH2XW3YK.js → ephemeral-command-I7VPCBVQ.js} +15 -15
- package/dist/{generate-command-IANKN6WV.js → generate-command-G7EJ7GW4.js} +26 -26
- package/dist/{gitignore-FT2LVOMI.js → gitignore-WFZ2BTMS.js} +7 -7
- package/dist/{impersonate-command-7B67ICPL.js → impersonate-command-ZJDK7ZYO.js} +10 -10
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/{init-command-QOA4TJI2.js → init-command-CTWDNYAZ.js} +18 -18
- package/dist/{init-modules-KEEJ4HAF.js → init-modules-FJITJ6IB.js} +2 -2
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +27 -9
- package/dist/{keep-data-merge-BIBW4QR4.js → keep-data-merge-KLNLVBYK.js} +4 -4
- package/dist/{lambda-config-reconcile-47X5C2E4.js → lambda-config-reconcile-FXPDH2U5.js} +3 -3
- package/dist/{landing-record-DO3PM7QP.js → landing-record-ZB4OJQF2.js} +6 -6
- package/dist/{local-engine-choice-2UF7S5QZ.js → local-engine-choice-FO7LABXX.js} +9 -9
- package/dist/{local-engine-command-WGMMZRQL.js → local-engine-command-LI7HUH5Y.js} +10 -10
- package/dist/{local-engine-mcp-command-RMVUH4FL.js → local-engine-mcp-command-EVYRLPE7.js} +10 -10
- package/dist/{lock-commands-5NMQWBGH.js → lock-commands-I4RARW5F.js} +16 -16
- package/dist/{login-command-GLLFZWHT.js → login-command-MJT5CCXL.js} +10 -10
- package/dist/{logout-command-NCMKMJWF.js → logout-command-GSQ2R3XL.js} +3 -3
- package/dist/{marketplace-command-Y3RRUEWL.js → marketplace-command-GK4F5ZZ2.js} +14 -14
- package/dist/{meta-client-Y7N6WDS2.js → meta-client-2A7LYGUQ.js} +2 -2
- package/dist/node.d.ts +4 -4
- package/dist/node.js +18 -18
- package/dist/{operation-outcome-4BFISK2R.js → operation-outcome-UK5ALWRE.js} +4 -4
- package/dist/{output-target-MFANTVGZ.js → output-target-GFPSLLEJ.js} +8 -8
- package/dist/{preflight-command-Q6XOKRM6.js → preflight-command-LP5D6UOD.js} +21 -21
- package/dist/{profile-command-XPQIXFWN.js → profile-command-R7XLNTY6.js} +11 -11
- package/dist/{promote-command-DN64QK7O.js → promote-command-TEVVCM77.js} +29 -29
- package/dist/{publish-command-SLE46MQX.js → publish-command-WTVINN5E.js} +19 -19
- package/dist/{pull-command-UVK3IOXM.js → pull-command-KFHHW2BA.js} +24 -24
- package/dist/{release-command-MKNESNGB.js → release-command-QUKHOKIY.js} +21 -21
- package/dist/{release-ns-command-HLR46IKP.js → release-ns-command-T4R3VODA.js} +34 -34
- package/dist/{routes-manifest-file-UHVVL2YB.js → routes-manifest-file-QFPNFJMZ.js} +2 -2
- package/dist/scaffold.js +2 -2
- package/dist/{secrets-file-HST7BMQC.js → secrets-file-J4KFYNFP.js} +6 -6
- package/dist/{secrets-fill-command-FQJ4QFBP.js → secrets-fill-command-YIU6ESFN.js} +18 -18
- package/dist/{source-resolve-LNRUITLS.js → source-resolve-WHXNMVJT.js} +3 -3
- package/dist/{status-command-S5CBG2SW.js → status-command-DIDOS3JC.js} +13 -13
- package/dist/{store-CuD1k4kV.d.ts → store-xUySg-KR.d.ts} +1 -1
- package/dist/{sync-contributions-O5ZRM2JN.js → sync-contributions-VAGROOWY.js} +2 -2
- package/dist/{tables-command-7KI2KZOS.js → tables-command-UJLYYMME.js} +11 -11
- package/dist/{tenant-command-MQTLNETR.js → tenant-command-NGKJD3AX.js} +35 -35
- package/dist/{test-command-NLYMAAPD.js → test-command-JOPQCHJA.js} +11 -11
- package/dist/{token-3IPTVEEW.js → token-NJ5XPGGM.js} +2 -2
- package/dist/{toolchain-modules-K46KYJ4G.js → toolchain-modules-4KS3SSJW.js} +2 -2
- package/dist/{tracked-backend-FQFXTTYZ.js → tracked-backend-3U4T6ZA7.js} +10 -10
- package/dist/{update-check-FHRRUDEC.js → update-check-5KCA4TE6.js} +17 -17
- package/dist/{upgrade-command-WNBPKUXN.js → upgrade-command-MNP6G752.js} +20 -20
- package/dist/{whoami-command-DPGDK35H.js → whoami-command-E5CSF3E6.js} +4 -4
- package/dist/{workspace-2GMONZ2A.js → workspace-WZMBLK4P.js} +2 -2
- package/dist/{workspace-binding-PAUOIK3V.js → workspace-binding-JT4EK4HU.js} +3 -3
- package/dist/{workspace-command-KEKL27Y4.js → workspace-command-Z7BUA6A5.js} +30 -30
- package/dist/{workspace-env-GGEZVZDY.js → workspace-env-KFWW2G7G.js} +6 -6
- package/dist/{xanosdk-import-HYHABD5U.js → xanosdk-import-FUS3ZGGQ.js} +2 -2
- package/dist/{xanosdk-project-2T56DRYS.js → xanosdk-project-NM2J5YFK.js} +6 -6
- package/guides/cli.md +8 -7
- package/guides/deploying.md +11 -8
- package/llms/kinds-agent-mcp.md +3 -2
- package/llms/object-kinds.md +14 -0
- package/llms-full.txt +25 -9
- package/llms.txt +8 -7
- package/manifest.json +1 -1
- package/package.json +2 -2
- package/skills/xano-backend/SKILL.md +2 -2
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
pulledIdentities,
|
|
3
3
|
pulledLock,
|
|
4
4
|
reconcileLock
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TWBENPZR.js";
|
|
6
6
|
import "./chunk-76UAME77.js";
|
|
7
7
|
import "./chunk-5HVXPTU4.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-KCCZGDQG.js";
|
|
9
9
|
import {
|
|
10
10
|
carriedSeedRows,
|
|
11
11
|
decodeBundle,
|
|
@@ -16,9 +16,9 @@ import {
|
|
|
16
16
|
reportSeedRows,
|
|
17
17
|
writeBundleEnvValues,
|
|
18
18
|
writeDocumentationTokens
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-BYYVOX2P.js";
|
|
20
|
+
import "./chunk-DW47JVXI.js";
|
|
21
|
+
import "./chunk-KSGITXNE.js";
|
|
22
22
|
import "./chunk-QTMXJQZN.js";
|
|
23
23
|
import {
|
|
24
24
|
ROUTES_MANIFEST_BASENAME
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import "./chunk-6YOH2L3G.js";
|
|
27
27
|
import {
|
|
28
28
|
fetchSourceArchive
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-5DLDRUCQ.js";
|
|
30
30
|
import {
|
|
31
31
|
confirm
|
|
32
32
|
} from "./chunk-HQPL34O6.js";
|
|
@@ -38,33 +38,33 @@ import {
|
|
|
38
38
|
} from "./chunk-3DRXWLJ5.js";
|
|
39
39
|
import "./chunk-X4DVXBFY.js";
|
|
40
40
|
import "./chunk-75MKIQON.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-3TWQDGQY.js";
|
|
42
42
|
import "./chunk-OBJ7FQDX.js";
|
|
43
43
|
import "./chunk-2TFRR6JV.js";
|
|
44
44
|
import "./chunk-I53OTC3O.js";
|
|
45
45
|
import {
|
|
46
46
|
ensureSecretPathGitignored
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-IIAF7VKN.js";
|
|
48
48
|
import {
|
|
49
49
|
readVersion
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-45A3AF2B.js";
|
|
51
51
|
import "./chunk-XQO4A4Q4.js";
|
|
52
52
|
import {
|
|
53
53
|
WORKSPACE_ENV_BASENAME
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-XUSL2Z5C.js";
|
|
55
55
|
import {
|
|
56
56
|
memoCredential,
|
|
57
57
|
refuseProfileForLocal
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-JE7BL5IF.js";
|
|
59
59
|
import "./chunk-PBK257CI.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-HU6D6PYT.js";
|
|
61
61
|
import "./chunk-7JKNWDYN.js";
|
|
62
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-NIANORYB.js";
|
|
63
63
|
import "./chunk-VJTTTIIB.js";
|
|
64
64
|
import {
|
|
65
65
|
getAccessToken
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import "./chunk-
|
|
66
|
+
} from "./chunk-CTKBGPM6.js";
|
|
67
|
+
import "./chunk-2ND7WS3E.js";
|
|
68
68
|
import "./chunk-5Y5HWQ2P.js";
|
|
69
69
|
import "./chunk-F3IA3YWI.js";
|
|
70
70
|
import "./chunk-LCOCRJ4K.js";
|
|
@@ -76,13 +76,13 @@ import {
|
|
|
76
76
|
readLockFile,
|
|
77
77
|
writeLockFile
|
|
78
78
|
} from "./chunk-CJDPSCMX.js";
|
|
79
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-GDAWYDHY.js";
|
|
80
80
|
import {
|
|
81
81
|
parseSlot,
|
|
82
82
|
requireBackendSlot,
|
|
83
83
|
slotValueMissing
|
|
84
84
|
} from "./chunk-VD7YTLWL.js";
|
|
85
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-FZGK4VM5.js";
|
|
86
86
|
import "./chunk-S42TFTM5.js";
|
|
87
87
|
import "./chunk-ZYJP6BOO.js";
|
|
88
88
|
import "./chunk-QO6BVGS5.js";
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
} from "./chunk-6S263KTM.js";
|
|
98
98
|
import "./chunk-IB6SKACE.js";
|
|
99
99
|
import "./chunk-EUUUMY7J.js";
|
|
100
|
-
import "./chunk-
|
|
100
|
+
import "./chunk-77IFWJ53.js";
|
|
101
101
|
import {
|
|
102
102
|
PRESERVED_ON_REFRESH,
|
|
103
103
|
containedWrites,
|
|
@@ -107,8 +107,8 @@ import {
|
|
|
107
107
|
readDecodeRecord,
|
|
108
108
|
removeEmptiedDirs,
|
|
109
109
|
removeFiles
|
|
110
|
-
} from "./chunk-
|
|
111
|
-
import "./chunk-
|
|
110
|
+
} from "./chunk-JSPFDMTV.js";
|
|
111
|
+
import "./chunk-U4JD5NMP.js";
|
|
112
112
|
import "./chunk-B3NH5UBI.js";
|
|
113
113
|
import "./chunk-ZFDZKNGG.js";
|
|
114
114
|
import {
|
|
@@ -134,11 +134,11 @@ import "./chunk-X2NL4KUO.js";
|
|
|
134
134
|
import "./chunk-4GPIOIAC.js";
|
|
135
135
|
import "./chunk-EKTIGGFO.js";
|
|
136
136
|
import "./chunk-E763QI3G.js";
|
|
137
|
-
import "./chunk-
|
|
137
|
+
import "./chunk-C2SAVXAB.js";
|
|
138
138
|
import {
|
|
139
139
|
decodeMarkerHead,
|
|
140
140
|
decodeMarkerWith
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-IZI3SYXH.js";
|
|
142
142
|
import "./chunk-LJM5CIY4.js";
|
|
143
143
|
import "./chunk-7THDHQ4R.js";
|
|
144
144
|
import "./chunk-3YW23UFH.js";
|
|
@@ -156,7 +156,7 @@ import {
|
|
|
156
156
|
warn,
|
|
157
157
|
writeJson
|
|
158
158
|
} from "./chunk-C6KBZH7M.js";
|
|
159
|
-
import "./chunk-
|
|
159
|
+
import "./chunk-T3ZVNOJC.js";
|
|
160
160
|
import "./chunk-OHTHG3LL.js";
|
|
161
161
|
import "./chunk-6JAEMMZ7.js";
|
|
162
162
|
import "./chunk-6ZFJEJXZ.js";
|
|
@@ -248,7 +248,7 @@ async function loadSource(args, raw, cwd) {
|
|
|
248
248
|
);
|
|
249
249
|
}
|
|
250
250
|
step(`Reading ${raw}`);
|
|
251
|
-
const { projectDirFrom } = await import("./xanosdk-project-
|
|
251
|
+
const { projectDirFrom } = await import("./xanosdk-project-NM2J5YFK.js");
|
|
252
252
|
const fetched = await fetchSourceArchive(credential, raw, projectDirFrom(cwd) ?? cwd);
|
|
253
253
|
const bundle = decodeWorkspaceArchive(fetched.archive);
|
|
254
254
|
return {
|
|
@@ -316,7 +316,7 @@ async function runGenerateCommand(args) {
|
|
|
316
316
|
refuseDuplicateSourceGuids(project);
|
|
317
317
|
const projectRelative = !isAbsolute(outArg) && !isAbsolute(shown) && shown !== ".." && !shown.startsWith("../");
|
|
318
318
|
const routesDeferred = [];
|
|
319
|
-
const { discoverManifestModules } = await import("./routes-manifest-file-
|
|
319
|
+
const { discoverManifestModules } = await import("./routes-manifest-file-QFPNFJMZ.js");
|
|
320
320
|
const modules = await discoverManifestModules(projectRootFrom(dirname(root)), join(root, ROUTES_MANIFEST_BASENAME), readVersion());
|
|
321
321
|
const decoded = placeGeneratedFiles(project, "", projectRelative ? shown : basename(root) || shown, {
|
|
322
322
|
entry: shellWord(`${shown}/index.ts`),
|
|
@@ -518,4 +518,4 @@ export {
|
|
|
518
518
|
CODEGEN_MARKER,
|
|
519
519
|
runGenerateCommand
|
|
520
520
|
};
|
|
521
|
-
//# sourceMappingURL=generate-command-
|
|
521
|
+
//# sourceMappingURL=generate-command-G7EJ7GW4.js.map
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
refuseIfTracked,
|
|
7
7
|
requireSecretPathGitignored,
|
|
8
8
|
secretPathLabel
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-IIAF7VKN.js";
|
|
10
|
+
import "./chunk-XUSL2Z5C.js";
|
|
11
11
|
import "./chunk-IB6SKACE.js";
|
|
12
12
|
import "./chunk-EUUUMY7J.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-77IFWJ53.js";
|
|
14
|
+
import "./chunk-JSPFDMTV.js";
|
|
15
|
+
import "./chunk-U4JD5NMP.js";
|
|
16
16
|
import "./chunk-B3NH5UBI.js";
|
|
17
17
|
import "./chunk-ZFDZKNGG.js";
|
|
18
18
|
import "./chunk-FWD7AL6N.js";
|
|
@@ -29,7 +29,7 @@ import "./chunk-HU7F56VF.js";
|
|
|
29
29
|
import "./chunk-MF4W6FHU.js";
|
|
30
30
|
import "./chunk-X2NL4KUO.js";
|
|
31
31
|
import "./chunk-4GPIOIAC.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-IZI3SYXH.js";
|
|
33
33
|
import "./chunk-LJM5CIY4.js";
|
|
34
34
|
import "./chunk-C6KBZH7M.js";
|
|
35
35
|
import "./chunk-GSGDWJB5.js";
|
|
@@ -49,4 +49,4 @@ export {
|
|
|
49
49
|
requireSecretPathGitignored,
|
|
50
50
|
secretPathLabel
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=gitignore-
|
|
52
|
+
//# sourceMappingURL=gitignore-WFZ2BTMS.js.map
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
memoCredential,
|
|
12
12
|
refuseProfileForLocal,
|
|
13
13
|
selectBackend
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JE7BL5IF.js";
|
|
15
15
|
import "./chunk-PBK257CI.js";
|
|
16
16
|
import {
|
|
17
17
|
actualKind,
|
|
18
18
|
describeBackend,
|
|
19
19
|
resolveSource
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HU6D6PYT.js";
|
|
21
21
|
import "./chunk-7JKNWDYN.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-NIANORYB.js";
|
|
23
23
|
import "./chunk-VJTTTIIB.js";
|
|
24
24
|
import {
|
|
25
25
|
getAccessToken
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-CTKBGPM6.js";
|
|
27
|
+
import "./chunk-2ND7WS3E.js";
|
|
28
28
|
import "./chunk-5Y5HWQ2P.js";
|
|
29
29
|
import "./chunk-F3IA3YWI.js";
|
|
30
30
|
import "./chunk-LCOCRJ4K.js";
|
|
@@ -49,9 +49,9 @@ import "./chunk-622HUCZT.js";
|
|
|
49
49
|
import "./chunk-6S263KTM.js";
|
|
50
50
|
import "./chunk-IB6SKACE.js";
|
|
51
51
|
import "./chunk-EUUUMY7J.js";
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-77IFWJ53.js";
|
|
53
|
+
import "./chunk-JSPFDMTV.js";
|
|
54
|
+
import "./chunk-U4JD5NMP.js";
|
|
55
55
|
import "./chunk-B3NH5UBI.js";
|
|
56
56
|
import "./chunk-ZFDZKNGG.js";
|
|
57
57
|
import "./chunk-FWD7AL6N.js";
|
|
@@ -69,7 +69,7 @@ import "./chunk-HU7F56VF.js";
|
|
|
69
69
|
import "./chunk-MF4W6FHU.js";
|
|
70
70
|
import "./chunk-X2NL4KUO.js";
|
|
71
71
|
import "./chunk-4GPIOIAC.js";
|
|
72
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-IZI3SYXH.js";
|
|
73
73
|
import "./chunk-LJM5CIY4.js";
|
|
74
74
|
import {
|
|
75
75
|
detail,
|
|
@@ -151,4 +151,4 @@ async function dashboardUrl(resolved, guest, opts) {
|
|
|
151
151
|
export {
|
|
152
152
|
runImpersonateCommand
|
|
153
153
|
};
|
|
154
|
-
//# sourceMappingURL=impersonate-command-
|
|
154
|
+
//# sourceMappingURL=impersonate-command-ZJDK7ZYO.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { y as Condition, bB as TableDef, aQ as PathParams, x as Comparison, bq as SearchGroup, A as AddonDef, aN as OutputPath, aU as QualifiedCol, M as DbEval, bA as SortDirective, O as DbWhere, a2 as InferRow, aO as OutputRoot, a5 as InternalColsOf, aP as PagingEnvelopeField, k as AggregateRow, Q as EvalFields, aA as MicroserviceDef, g as AgentResultOf, a3 as InputDescriptor, F as FunctionDef, aX as QueryHandle } from './emit-
|
|
2
|
-
export { a as AddonXdo, b as AdoptChange, c as AdoptResult, d as AgentDef, e as AgentHandle, f as AgentOutput, h as AgentSettingsXdo, i as AgentTriggerInputs, j as AgentXdo, l as AnthropicLlm, m as ApiGroupDef, n as ApiGroupXdo, o as AuthRef, B as Bundle, p as BundlePayload, q as BundleType, C as ChannelConversationDef, r as ChannelDeliveryDef, s as ChannelDeliveryGuarantee, t as ChannelPublishDef, u as ChannelPublishWho, v as ChannelRateLimitDef, w as ColumnDef, z as ContainerEnv, D as ContainerPort, E as ContainerResources, G as ContainerVolume, H as CorsConfig, I as CorsMode, J as DatabaseActions, K as DatabaseInputs, N as DbEvalFilter, P as ErrorInputs, R as ExceptionPolicy, S as FieldAccessor, T as GoogleGenAiLlm, U as HistoryInput, V as HostedFile, W as HostedFileAccess, Y as HttpVerb, Z as IndexDef, _ as IndexLang, $ as IndexOp, a0 as IndexType, a1 as IndexXdo, a4 as InputOptions, a6 as KnowledgeDef, a7 as KnowledgeDirSource, a8 as KnowledgeFileSource, a9 as KnowledgeMode, aa as KnowledgeType, ab as LlmPrompt, ac as LlmProvider, ad as LlmSettings, ae as LockEntry, af as LockExportContext, L as LockFile, ag as McpIcon, ah as McpIconMimeType, ai as McpOauth, aj as McpOauthEnvString, ak as McpOauthExternal, al as McpOauthHosted, am as McpOauthPreset, an as McpOauthXdo, ao as McpPathOptions, ap as McpPrimitiveEntry, aq as McpPrimitiveRef, ar as McpServerDef, as as McpServerHandle, at as McpServerTriggerInputs, au as McpServerXdo, av as MergeResult, aw as MessageDeliverTo, ax as MicroserviceChart, ay as MicroserviceConfig, az as MicroserviceContainer, aB as MicroserviceDeployment, aC as MicroserviceIngress, aD as MicroserviceIngressPath, aE as MicroserviceRegistryAuth, aF as MicroserviceVolume, aG as MicroserviceXdo, aH as MiddlewareAttach, aI as MiddlewareAttachEntry, aJ as MiddlewareDef, aK as MiddlewareXdo, aL as ObjectKind, aM as OpenAiLlm, aR as PayloadArrayKey, aS as PromptDef, aT as PromptXdo, aV as QueryDef, aW as QueryFilterName, aY as QueryResponseType, aZ as QueryXdo, a_ as RealtimeActions, a$ as RealtimeChannelActions, b0 as RealtimeChannelDef, b1 as RealtimeChannelHandle, b2 as RealtimeChannelRef, b3 as RealtimeChannelTriggerInputs, b4 as RealtimeChannelXdo, b5 as RealtimeClient, b6 as RealtimeInputs, b7 as RealtimeMessageDef, b8 as RealtimeMessageXdo, b9 as RealtimeServerActions, ba as RealtimeServerDef, bb as RealtimeServerHandle, bc as RealtimeServerRef, bd as RealtimeServerTriggerInputs, be as RealtimeServerXdo, bf as RealtimeUrlOptions, bg as RenameResult, bh as ResourceAnnotations, bi as ResourceDef, bj as ResourceXdo, bk as ResultStrategy, bl as RowOf, bm as ScheduleDef, bn as SchemaCols, bo as SchemaDef, bp as SearchComparison, br as SearchNode, bs as SearchOp, bt as SearchParamValue, bu as SearchParams, bv as SearchParamsMembers, bw as SeedFileSource, bx as SeedRow, by as SeedSource, bz as SortDir, bC as TableXdo, bD as TaskDef, bE as TaskXdo, bF as ToolAnnotations, bG as ToolDef, bH as ToolXdo, bI as ToolsetBaseDef, bJ as ToolsetBaseXdo, bK as ToolsetToolEntry, bL as ToolsetToolRef, bM as ToolsetType, bN as TriggerDef, bO as TriggerObjType, bP as TriggerXdo, bQ as UrlLike, bR as ViewDef, bS as ViewXdo, bT as WorkflowTestDef, bU as WorkflowTestXdo, bV as WorkspaceActions, bW as WorkspaceConfigDef, bX as WorkspaceConfigXdo, bY as WorkspaceHistoryDef, bZ as WorkspaceHistoryXdo, b_ as WorkspaceInputs, b$ as WorkspaceMiddlewareDef, c0 as WorkspaceMiddlewareXdo, X as Xano, c1 as XanoFreeLlm, c2 as addon, c3 as agent, c4 as agentTrigger, c5 as and, c6 as apiGroup, c7 as cmp, c8 as defineFunction, c9 as emit, ca as emitBundle, cb as errorTrigger, cc as expr, cd as hostedFile, ce as input, cf as isHostedFile, cg as knowledge, ch as knowledgeDir, ci as knowledgeFile, cj as mcpServer, ck as mcpServerTrigger, cl as microservice, cm as middleware, cn as mixed, co as or, cp as prompt, cq as query, cr as realtimeChannel, cs as realtimeChannelTrigger, ct as realtimeMessage, cu as realtimeServer, cv as realtimeServerTrigger, cw as realtimeTrigger, cx as resource, cy as seedFile, cz as table, cA as tableTrigger, cB as task, cC as toSearchParams, cD as tool, cE as typedEnv, cF as workflowTest, cG as workspace, cH as workspaceConfig, cI as workspaceTrigger } from './emit-
|
|
1
|
+
import { y as Condition, bB as TableDef, aQ as PathParams, x as Comparison, bq as SearchGroup, A as AddonDef, aN as OutputPath, aU as QualifiedCol, M as DbEval, bA as SortDirective, O as DbWhere, a2 as InferRow, aO as OutputRoot, a5 as InternalColsOf, aP as PagingEnvelopeField, k as AggregateRow, Q as EvalFields, aA as MicroserviceDef, g as AgentResultOf, a3 as InputDescriptor, F as FunctionDef, aX as QueryHandle } from './emit-D-a6JznN.js';
|
|
2
|
+
export { a as AddonXdo, b as AdoptChange, c as AdoptResult, d as AgentDef, e as AgentHandle, f as AgentOutput, h as AgentSettingsXdo, i as AgentTriggerInputs, j as AgentXdo, l as AnthropicLlm, m as ApiGroupDef, n as ApiGroupXdo, o as AuthRef, B as Bundle, p as BundlePayload, q as BundleType, C as ChannelConversationDef, r as ChannelDeliveryDef, s as ChannelDeliveryGuarantee, t as ChannelPublishDef, u as ChannelPublishWho, v as ChannelRateLimitDef, w as ColumnDef, z as ContainerEnv, D as ContainerPort, E as ContainerResources, G as ContainerVolume, H as CorsConfig, I as CorsMode, J as DatabaseActions, K as DatabaseInputs, N as DbEvalFilter, P as ErrorInputs, R as ExceptionPolicy, S as FieldAccessor, T as GoogleGenAiLlm, U as HistoryInput, V as HostedFile, W as HostedFileAccess, Y as HttpVerb, Z as IndexDef, _ as IndexLang, $ as IndexOp, a0 as IndexType, a1 as IndexXdo, a4 as InputOptions, a6 as KnowledgeDef, a7 as KnowledgeDirSource, a8 as KnowledgeFileSource, a9 as KnowledgeMode, aa as KnowledgeType, ab as LlmPrompt, ac as LlmProvider, ad as LlmSettings, ae as LockEntry, af as LockExportContext, L as LockFile, ag as McpIcon, ah as McpIconMimeType, ai as McpOauth, aj as McpOauthEnvString, ak as McpOauthExternal, al as McpOauthHosted, am as McpOauthPreset, an as McpOauthXdo, ao as McpPathOptions, ap as McpPrimitiveEntry, aq as McpPrimitiveRef, ar as McpServerDef, as as McpServerHandle, at as McpServerTriggerInputs, au as McpServerXdo, av as MergeResult, aw as MessageDeliverTo, ax as MicroserviceChart, ay as MicroserviceConfig, az as MicroserviceContainer, aB as MicroserviceDeployment, aC as MicroserviceIngress, aD as MicroserviceIngressPath, aE as MicroserviceRegistryAuth, aF as MicroserviceVolume, aG as MicroserviceXdo, aH as MiddlewareAttach, aI as MiddlewareAttachEntry, aJ as MiddlewareDef, aK as MiddlewareXdo, aL as ObjectKind, aM as OpenAiLlm, aR as PayloadArrayKey, aS as PromptDef, aT as PromptXdo, aV as QueryDef, aW as QueryFilterName, aY as QueryResponseType, aZ as QueryXdo, a_ as RealtimeActions, a$ as RealtimeChannelActions, b0 as RealtimeChannelDef, b1 as RealtimeChannelHandle, b2 as RealtimeChannelRef, b3 as RealtimeChannelTriggerInputs, b4 as RealtimeChannelXdo, b5 as RealtimeClient, b6 as RealtimeInputs, b7 as RealtimeMessageDef, b8 as RealtimeMessageXdo, b9 as RealtimeServerActions, ba as RealtimeServerDef, bb as RealtimeServerHandle, bc as RealtimeServerRef, bd as RealtimeServerTriggerInputs, be as RealtimeServerXdo, bf as RealtimeUrlOptions, bg as RenameResult, bh as ResourceAnnotations, bi as ResourceDef, bj as ResourceXdo, bk as ResultStrategy, bl as RowOf, bm as ScheduleDef, bn as SchemaCols, bo as SchemaDef, bp as SearchComparison, br as SearchNode, bs as SearchOp, bt as SearchParamValue, bu as SearchParams, bv as SearchParamsMembers, bw as SeedFileSource, bx as SeedRow, by as SeedSource, bz as SortDir, bC as TableXdo, bD as TaskDef, bE as TaskXdo, bF as ToolAnnotations, bG as ToolDef, bH as ToolXdo, bI as ToolsetBaseDef, bJ as ToolsetBaseXdo, bK as ToolsetToolEntry, bL as ToolsetToolRef, bM as ToolsetType, bN as TriggerDef, bO as TriggerObjType, bP as TriggerXdo, bQ as UrlLike, bR as ViewDef, bS as ViewXdo, bT as WorkflowTestDef, bU as WorkflowTestXdo, bV as WorkspaceActions, bW as WorkspaceConfigDef, bX as WorkspaceConfigXdo, bY as WorkspaceHistoryDef, bZ as WorkspaceHistoryXdo, b_ as WorkspaceInputs, b$ as WorkspaceMiddlewareDef, c0 as WorkspaceMiddlewareXdo, X as Xano, c1 as XanoFreeLlm, c2 as addon, c3 as agent, c4 as agentTrigger, c5 as and, c6 as apiGroup, c7 as cmp, c8 as defineFunction, c9 as emit, ca as emitBundle, cb as errorTrigger, cc as expr, cd as hostedFile, ce as input, cf as isHostedFile, cg as knowledge, ch as knowledgeDir, ci as knowledgeFile, cj as mcpServer, ck as mcpServerTrigger, cl as microservice, cm as middleware, cn as mixed, co as or, cp as prompt, cq as query, cr as realtimeChannel, cs as realtimeChannelTrigger, ct as realtimeMessage, cu as realtimeServer, cv as realtimeServerTrigger, cw as realtimeTrigger, cx as resource, cy as seedFile, cz as table, cA as tableTrigger, cB as task, cC as toSearchParams, cD as tool, cE as typedEnv, cF as workflowTest, cG as workspace, cH as workspaceConfig, cI as workspaceTrigger } from './emit-D-a6JznN.js';
|
|
3
3
|
import { n as FromFieldMap, S as Statement, H as StatementAnnotations, M as MaybeBodyBrand, b as BranchesBrand, J as StatementOptions, v as ObjectRef, a as AsShapeBrand, o as MemberUpdateBrand, w as Prettify, C as CatchBrand, B as BodyBrand, m as FoundBrand, A as AppendBrand, W as XanoFileRef, x as ProtoKeySafe, N as NoExtraKeys, X as XanoDbLink } from './raw-where-ZMLND6AG.js';
|
|
4
4
|
export { c as BrandOpts, d as BrandType, e as BrandValue, f as ConstMethodOpts, D as DecimalMethod, E as EmailMethod, g as EnumDefault, F as FieldAccess, h as FieldDescriptor, i as FieldMap, j as FieldOptions, k as FieldOpts, l as FieldStyleType, I as IntMethod, p as MethodArg, q as MethodOpts, r as MethodSpec, s as MockEntry, t as MockMap, u as MockXdo, O as ObjectOf, P as PasswordMethod, R as RawBrandValue, y as ReadonlyMethods, z as ResponseDef, G as RowFromFieldMap, T as TableRefMethod, K as TextFormat, L as TextMethod, Q as TypeBrand, V as ValueOf, U as VectorMethod, Y as XanoFileUpload, Z as XanoGeoData, _ as XanoGeoPosition, $ as XanoGeoType, a0 as XanoGeoValue, a1 as annotate, a2 as f, a3 as statements } from './raw-where-ZMLND6AG.js';
|
|
5
5
|
import { V as Value, N as NotObjMember, i as FilterXdo, j as FilteredValue, A as AuthValue, b as CaughtValue, a4 as CaughtShape, e as ConstValue, R as RefValue, I as InpValue, k as FunctionXdo } from './xdo-CxDr2Q1C.js';
|
|
6
6
|
export { C as CacheXdo, a as CaughtField, c as ConditionalContext, d as ConditionalElifContext, E as ExprGroup, f as ExprNode, g as ExprOperand, h as ExprStatement, F as FieldXdo, H as HistoryXdo, l as InputXdo, L as ListBoundsXdo, M as MethodXdo, P as PersistedFunctionRow, Q as QUERY_AGGREGATE_NAMES, m as QUERY_FILTER_NAMES, n as QUERY_FILTER_SPECS, o as QueryFilter, p as QueryFilterResults, q as RegexValue, r as ResultItemXdo, S as StackItemXdo, s as StatementInputXdo, T as TAGS, t as TEST_EXPECT_TYPES, u as Tag, v as TaggedValue, w as TestDef, x as TestExpect, y as TestExpectType, z as TestXdo, B as auth, D as c, G as caught, J as col, K as env, O as expect, U as filter, W as inp, X as out, Y as qf, Z as ref, _ as resp, $ as setting, a0 as sys, a1 as test, a2 as toolset, a3 as withFilters } from './xdo-CxDr2Q1C.js';
|
|
7
|
-
import { f as FilterResults, E as ElementResult, S as SameArrayResult, G as GroupedArrayResult, a3 as fl$1, O as OutputAuthored, Y as generated } from './store-
|
|
8
|
-
export { A as AmbientBindings, d as Authored, e as Capturable, b as CaptureRecord, C as CaptureValue, F as FieldRule, I as IteratingBindings, g as LAMBDA_BINDINGS, h as LAMBDA_CODE_FILTERS, i as LAMBDA_GLOBALS, j as LAMBDA_MODULE_GLOBALS, k as LAMBDA_STATEMENTS, c as LambdaBindings, l as LambdaBody, L as LambdaOptions, a as LambdaSurface, M as Manifest, m as ManifestField, n as ManifestKind, o as ManifestStatement, p as ManifestValue, R as RawLambdaOptions, q as Route, r as StatementSpec, s as assertLambdaBody, t as bitwiseAnd, u as bitwiseOr, v as bitwiseXor, a4 as lam, w as mathAdd, x as mathDiv, y as mathMul, z as mathSub, B as objectEntries, D as objectKeys, H as objectValues, J as resetLockOverrides, K as seedLockOverrides, N as textAppend, P as textPrepend } from './store-
|
|
7
|
+
import { f as FilterResults, E as ElementResult, S as SameArrayResult, G as GroupedArrayResult, a3 as fl$1, O as OutputAuthored, Y as generated } from './store-xUySg-KR.js';
|
|
8
|
+
export { A as AmbientBindings, d as Authored, e as Capturable, b as CaptureRecord, C as CaptureValue, F as FieldRule, I as IteratingBindings, g as LAMBDA_BINDINGS, h as LAMBDA_CODE_FILTERS, i as LAMBDA_GLOBALS, j as LAMBDA_MODULE_GLOBALS, k as LAMBDA_STATEMENTS, c as LambdaBindings, l as LambdaBody, L as LambdaOptions, a as LambdaSurface, M as Manifest, m as ManifestField, n as ManifestKind, o as ManifestStatement, p as ManifestValue, R as RawLambdaOptions, q as Route, r as StatementSpec, s as assertLambdaBody, t as bitwiseAnd, u as bitwiseOr, v as bitwiseXor, a4 as lam, w as mathAdd, x as mathDiv, y as mathMul, z as mathSub, B as objectEntries, D as objectKeys, H as objectValues, J as resetLockOverrides, K as seedLockOverrides, N as textAppend, P as textPrepend } from './store-xUySg-KR.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* `InferInput<Q>` — the request-payload TS type for a query (or function) def's
|
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-EKTIGGFO.js";
|
|
16
16
|
import {
|
|
17
17
|
compile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DSD2NNTX.js";
|
|
19
19
|
import {
|
|
20
20
|
actionCall,
|
|
21
21
|
actionPackageCall,
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
workflowTest,
|
|
95
95
|
workflowTestCall,
|
|
96
96
|
workspaceTrigger
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-T3ZVNOJC.js";
|
|
98
98
|
import {
|
|
99
99
|
query,
|
|
100
100
|
test,
|
|
@@ -18,21 +18,21 @@ import {
|
|
|
18
18
|
templateVarsFor,
|
|
19
19
|
workflowMoveTarget,
|
|
20
20
|
workflowPlacementNote
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DW47JVXI.js";
|
|
22
22
|
import "./chunk-O376UAZS.js";
|
|
23
23
|
import "./chunk-HQPL34O6.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-IIAF7VKN.js";
|
|
25
|
+
import "./chunk-45A3AF2B.js";
|
|
26
26
|
import "./chunk-XQO4A4Q4.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-XUSL2Z5C.js";
|
|
28
|
+
import "./chunk-JE7BL5IF.js";
|
|
29
29
|
import "./chunk-PBK257CI.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-HU6D6PYT.js";
|
|
31
31
|
import "./chunk-7JKNWDYN.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-NIANORYB.js";
|
|
33
33
|
import "./chunk-VJTTTIIB.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-CTKBGPM6.js";
|
|
35
|
+
import "./chunk-2ND7WS3E.js";
|
|
36
36
|
import "./chunk-5Y5HWQ2P.js";
|
|
37
37
|
import "./chunk-F3IA3YWI.js";
|
|
38
38
|
import "./chunk-LCOCRJ4K.js";
|
|
@@ -41,9 +41,9 @@ import "./chunk-YE7MHW45.js";
|
|
|
41
41
|
import "./chunk-2MNLRIOX.js";
|
|
42
42
|
import "./chunk-PFW7WFAT.js";
|
|
43
43
|
import "./chunk-CJDPSCMX.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-GDAWYDHY.js";
|
|
45
45
|
import "./chunk-VD7YTLWL.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-FZGK4VM5.js";
|
|
47
47
|
import "./chunk-S42TFTM5.js";
|
|
48
48
|
import "./chunk-ZYJP6BOO.js";
|
|
49
49
|
import "./chunk-QO6BVGS5.js";
|
|
@@ -54,9 +54,9 @@ import "./chunk-622HUCZT.js";
|
|
|
54
54
|
import "./chunk-6S263KTM.js";
|
|
55
55
|
import "./chunk-IB6SKACE.js";
|
|
56
56
|
import "./chunk-EUUUMY7J.js";
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-77IFWJ53.js";
|
|
58
|
+
import "./chunk-JSPFDMTV.js";
|
|
59
|
+
import "./chunk-U4JD5NMP.js";
|
|
60
60
|
import "./chunk-B3NH5UBI.js";
|
|
61
61
|
import "./chunk-ZFDZKNGG.js";
|
|
62
62
|
import "./chunk-FWD7AL6N.js";
|
|
@@ -75,12 +75,12 @@ import "./chunk-HU7F56VF.js";
|
|
|
75
75
|
import "./chunk-MF4W6FHU.js";
|
|
76
76
|
import "./chunk-X2NL4KUO.js";
|
|
77
77
|
import "./chunk-4GPIOIAC.js";
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-C2SAVXAB.js";
|
|
79
|
+
import "./chunk-IZI3SYXH.js";
|
|
80
80
|
import "./chunk-LJM5CIY4.js";
|
|
81
81
|
import "./chunk-7REDHC4N.js";
|
|
82
82
|
import "./chunk-C6KBZH7M.js";
|
|
83
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-T3ZVNOJC.js";
|
|
84
84
|
import "./chunk-OHTHG3LL.js";
|
|
85
85
|
import "./chunk-6JAEMMZ7.js";
|
|
86
86
|
import "./chunk-6ZFJEJXZ.js";
|
|
@@ -140,4 +140,4 @@ export {
|
|
|
140
140
|
workflowMoveTarget,
|
|
141
141
|
workflowPlacementNote
|
|
142
142
|
};
|
|
143
|
-
//# sourceMappingURL=init-command-
|
|
143
|
+
//# sourceMappingURL=init-command-CTWDNYAZ.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
renderImports,
|
|
13
13
|
renderRegisterCall,
|
|
14
14
|
renderXanoIndexWithModules
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-U4JD5NMP.js";
|
|
16
16
|
import "./chunk-B3NH5UBI.js";
|
|
17
17
|
import "./chunk-ZFDZKNGG.js";
|
|
18
18
|
import "./chunk-FWD7AL6N.js";
|
|
@@ -48,4 +48,4 @@ export {
|
|
|
48
48
|
renderRegisterCall,
|
|
49
49
|
renderXanoIndexWithModules
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=init-modules-
|
|
51
|
+
//# sourceMappingURL=init-modules-FJITJ6IB.js.map
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { a6 as FIELD_METHODS, a7 as REFERENCEABLE_KINDS, a8 as deriveGuid, a9 as encodeResponse, aa as encodeStatement, ab as getStatementFactory, ac as isRegisteredStatement, ad as resolveRef, ae as toNestedFields } from './raw-where-ZMLND6AG.js';
|
|
2
|
-
import { r as StatementSpec } from './store-
|
|
3
|
-
export { Q as FILTER_NAMES, T as GENERATED_STATEMENT_NAMES, U as LLMS_TXT, M as Manifest, m as ManifestField, n as ManifestKind, o as ManifestStatement, V as TOTAL_OBJECT_KINDS, W as buildManifest, X as encodeFromSpec, Y as generatedStatements, Z as getLockedCanonical, _ as getLockedGuid, $ as isLockSeeded, a0 as registerSpec, a1 as renderDocs, a2 as renderLlmsTxt } from './store-
|
|
4
|
-
import { F as FunctionDef, aL as ObjectKind } from './emit-
|
|
5
|
-
export { b as AdoptChange, c as AdoptResult, B as Bundle, p as BundlePayload, q as BundleType, cJ as KNOWLEDGE_DIR, cK as KNOWLEDGE_FILE, cL as LOCK_PAYLOAD_KEYS, cM as LOCK_VERSION, ae as LockEntry, af as LockExportContext, L as LockFile, av as MergeResult, cN as PAYLOAD_ARRAY_KEYS, aR as PayloadArrayKey, cO as QUERY_EXPRESSION_FILTERS, bg as RenameResult, cP as VECTOR_FILTERS, cQ as WORKSPACE_KEY, cR as addonKind, cS as adoptFromBundle, cT as agentKind, cU as apiGroupKind, cV as buildBundle, cW as buildMiddlewareBlock, cX as buildWorkspaceHistory, cY as calcSignatureJson, cZ as channelPathParams, c_ as createLockContext, c$ as declaredServicePorts, d0 as emptyLock, d1 as encodeAddon, d2 as encodeAgent, d3 as encodeApiGroup, d4 as encodeColumn, d5 as encodeContainerHistory, d6 as encodeHistory, d7 as encodeIndex, d8 as encodeKnowledge, d9 as encodeMcpServer, da as encodeMicroservice, db as encodeMiddleware, dc as encodeMiddlewareEntry, dd as encodeMiddlewareList, de as encodeObject, df as encodeQuery, dg as encodeRealtimeChannel, dh as encodeRealtimeMessage, di as encodeRealtimeServer, dj as encodeSchedule, dk as encodeTable, dl as encodeTask, dm as encodeTool, dn as encodeToolRefs, dp as encodeToolsetBase, dq as encodeTrigger, dr as encodeView, ds as encodeWorkflowTest, dt as encodeWorkspaceConfig, du as getKind, dv as isKnowledgeDirSource, dw as isKnowledgeFileSource, dx as isQueryExpressionFilter, dy as isRegisteredKind, dz as knowledgeKind, dA as lockKey, dB as mcpServerKind, dC as mergeObserved, dD as microserviceKind, dE as middlewareKind, dF as mintCanonical, dG as parseLock, dH as phpJsonEncode, dI as queryKind, dJ as realtimeChannelGuid, dK as realtimeChannelKind, dL as realtimeMessageGuid, dM as realtimeMessageKind, dN as realtimeServerKind, dO as recordObserved, dP as registerKind, dQ as registeredKinds, dR as renameLockEntry, dS as resolveAuthRef, dT as resolvePayloadKey, dU as resolveRealtimeServerCanonical, dV as resolveToolsetCanonical, dW as serializeBundle, dX as serializeLock, dY as tableKind, dZ as taskKind, d_ as toolKind, d$ as triggerKind, e0 as validateLockModel, e1 as workflowTestKind, e2 as workspaceKind } from './emit-
|
|
2
|
+
import { r as StatementSpec } from './store-xUySg-KR.js';
|
|
3
|
+
export { Q as FILTER_NAMES, T as GENERATED_STATEMENT_NAMES, U as LLMS_TXT, M as Manifest, m as ManifestField, n as ManifestKind, o as ManifestStatement, V as TOTAL_OBJECT_KINDS, W as buildManifest, X as encodeFromSpec, Y as generatedStatements, Z as getLockedCanonical, _ as getLockedGuid, $ as isLockSeeded, a0 as registerSpec, a1 as renderDocs, a2 as renderLlmsTxt } from './store-xUySg-KR.js';
|
|
4
|
+
import { F as FunctionDef, aL as ObjectKind } from './emit-D-a6JznN.js';
|
|
5
|
+
export { b as AdoptChange, c as AdoptResult, B as Bundle, p as BundlePayload, q as BundleType, cJ as KNOWLEDGE_DIR, cK as KNOWLEDGE_FILE, cL as LOCK_PAYLOAD_KEYS, cM as LOCK_VERSION, ae as LockEntry, af as LockExportContext, L as LockFile, av as MergeResult, cN as PAYLOAD_ARRAY_KEYS, aR as PayloadArrayKey, cO as QUERY_EXPRESSION_FILTERS, bg as RenameResult, cP as VECTOR_FILTERS, cQ as WORKSPACE_KEY, cR as addonKind, cS as adoptFromBundle, cT as agentKind, cU as apiGroupKind, cV as buildBundle, cW as buildMiddlewareBlock, cX as buildWorkspaceHistory, cY as calcSignatureJson, cZ as channelPathParams, c_ as createLockContext, c$ as declaredServicePorts, d0 as emptyLock, d1 as encodeAddon, d2 as encodeAgent, d3 as encodeApiGroup, d4 as encodeColumn, d5 as encodeContainerHistory, d6 as encodeHistory, d7 as encodeIndex, d8 as encodeKnowledge, d9 as encodeMcpServer, da as encodeMicroservice, db as encodeMiddleware, dc as encodeMiddlewareEntry, dd as encodeMiddlewareList, de as encodeObject, df as encodeQuery, dg as encodeRealtimeChannel, dh as encodeRealtimeMessage, di as encodeRealtimeServer, dj as encodeSchedule, dk as encodeTable, dl as encodeTask, dm as encodeTool, dn as encodeToolRefs, dp as encodeToolsetBase, dq as encodeTrigger, dr as encodeView, ds as encodeWorkflowTest, dt as encodeWorkspaceConfig, du as getKind, dv as isKnowledgeDirSource, dw as isKnowledgeFileSource, dx as isQueryExpressionFilter, dy as isRegisteredKind, dz as knowledgeKind, dA as lockKey, dB as mcpServerKind, dC as mergeObserved, dD as microserviceKind, dE as middlewareKind, dF as mintCanonical, dG as parseLock, dH as phpJsonEncode, dI as queryKind, dJ as realtimeChannelGuid, dK as realtimeChannelKind, dL as realtimeMessageGuid, dM as realtimeMessageKind, dN as realtimeServerKind, dO as recordObserved, dP as registerKind, dQ as registeredKinds, dR as renameLockEntry, dS as resolveAuthRef, dT as resolvePayloadKey, dU as resolveRealtimeServerCanonical, dV as resolveToolsetCanonical, dW as serializeBundle, dX as serializeLock, dY as tableKind, dZ as taskKind, d_ as toolKind, d$ as triggerKind, e0 as validateLockModel, e1 as workflowTestKind, e2 as workspaceKind } from './emit-D-a6JznN.js';
|
|
6
6
|
import { k as FunctionXdo } from './xdo-CxDr2Q1C.js';
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/internal.js
CHANGED
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
sourceSpellings,
|
|
21
21
|
visibleFlags
|
|
22
22
|
} from "./chunk-C6KBZH7M.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-DSD2NNTX.js";
|
|
24
24
|
import {
|
|
25
25
|
GENERATED_STATEMENT_NAMES,
|
|
26
26
|
HEADER_DUPLICATES,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
toolKind,
|
|
65
65
|
triggerKind,
|
|
66
66
|
workflowTestKind
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-T3ZVNOJC.js";
|
|
68
68
|
import {
|
|
69
69
|
encodeQuery,
|
|
70
70
|
encodeResponse,
|
|
@@ -894,11 +894,12 @@ function renderSections(m) {
|
|
|
894
894
|
lines.push(`# ${m.name} v${m.version}`, "");
|
|
895
895
|
lines.push(`> ${m.description}`, "");
|
|
896
896
|
lines.push(
|
|
897
|
-
"Xano is
|
|
898
|
-
"database, HTTP
|
|
899
|
-
"agents
|
|
900
|
-
"TypeScript \u2014 typed def objects registered on a
|
|
901
|
-
"
|
|
897
|
+
"Xano is one platform to build, run and govern AI-built software: one WORKSPACE",
|
|
898
|
+
"serves a managed PostgreSQL database, HTTP APIs, background tasks, realtime",
|
|
899
|
+
"websocket channels, AI agents, MCP servers, file storage and redis. This SDK",
|
|
900
|
+
"authors it in TypeScript \u2014 typed def objects registered on a",
|
|
901
|
+
"`workspace(name)` \u2014 compiled to one importable bundle by `xanosdk export",
|
|
902
|
+
"./xano/index.ts`, shipped live by `xanosdk deploy`.",
|
|
902
903
|
"",
|
|
903
904
|
"Def modules execute at BUILD time only: `s.*` factories return data, and the engine",
|
|
904
905
|
"runs the compiled stack per request \u2014 statements in order, a statement's `as:`",
|
|
@@ -1334,6 +1335,22 @@ function renderSections(m) {
|
|
|
1334
1335
|
const objectKinds = [];
|
|
1335
1336
|
objectKinds.push("## Object kinds", "");
|
|
1336
1337
|
objectKinds.push("Author with the factory, register on the Xano instance, lands under the payload key. Each line ends with a one-liner on what the primitive is.", "");
|
|
1338
|
+
objectKinds.push(
|
|
1339
|
+
"### Choosing a kind",
|
|
1340
|
+
"",
|
|
1341
|
+
"Choose by who or what starts the work. Each rule names the kind that fits and the one it gets mistaken for.",
|
|
1342
|
+
"",
|
|
1343
|
+
"- **Logic other code calls** \u2192 `defineFunction`, run with `s.function.run`. A `query` is the only kind an HTTP client reaches by verb + path; a `tool` is what an `agent()` or an MCP client calls. Logic serving two callers (an endpoint AND a tool) lives in one function both call.",
|
|
1344
|
+
'- **Work on a timer** \u2192 `task` (cron or interval). **Work a request starts but does not wait for** \u2192 `s.function.run({ fn, runtime: { mode: "async-shared" } })`, which binds a job id, not the result (collect with `s.await`). **Work that follows a row change** \u2192 `tableTrigger`: it fires on every insert/update/delete of the table, whichever stack writes it, so the same side effect placed in one endpoint\'s stack misses every other write path.',
|
|
1345
|
+
"- **The same steps before or after many objects** (an auth check, a rate limit, logging) \u2192 `middleware`, attached per host (`middleware: { pre, post }` on a query, function, task, tool or API group) or to every host of a kind with `workspaceConfig({ middleware: { query, function, task, tool } })` \u2014 not a function call repeated at the top of each stack.",
|
|
1346
|
+
"- **Related rows on returned rows** \u2192 an `addon` attached to the read through its `addon: [{ addon, as, input }]` option (`db.query`/`get`/`add`/`edit`/`patch`), merged onto each row under `as` and typed in `InferResponse` \u2014 not a second read plus a loop that stitches rows together.",
|
|
1347
|
+
"- **AI.** An LLM running inside the backend \u2192 `agent()`, started from a stack with `s.ai.agent.run`; it has no public endpoint. An external AI client (Claude, Cursor, any MCP client) calling the backend \u2192 `mcpServer()`. Standing instructions for Xano's own builder AI \u2192 `knowledge()`; an `agent()` run never reads it. The actions either one calls \u2192 `tool()`. What an MCP server serves besides tools (`prompt()`, `resource()`) and when each fits: `llms/kinds-agent-mcp.md`.",
|
|
1348
|
+
"- **Pushing to connected clients** \u2192 `realtimeServer` \u2192 `realtimeChannel` \u2192 `realtimeMessage` (the handler for a frame a client sends \u2014 the realtime analogue of a query). A server-side push from any stack is `s.realtime.publish`; a client polling a `query` is the substitute this replaces.",
|
|
1349
|
+
"- **Code the typed surface cannot express** \u2192 a lambda (`s.lambda`, `fl.lambda`) for a short JavaScript body, LAST, after native filters and expressions (`llms/lambda.md`); a `microservice` for a long-running container or another language; `s.api.request` for a service that already has an HTTP API.",
|
|
1350
|
+
"- **Tests** \u2192 `tests` on a `query`/`defineFunction`/`middleware` for that one object's input \u2192 output; a `workflowTest` for a flow across objects (`s.function.call`, `s.api.call`, `s.task.call`) asserted with `s.expect.*`.",
|
|
1351
|
+
"- **Reacting to the platform** \u2192 `errorTrigger` (an error signature first seen, regressing, or marked fixed) and `workspaceTrigger` (branch new/merge/live). What one connection to an MCP server, agent, realtime server or channel may see or do \u2192 that object's connection trigger.",
|
|
1352
|
+
""
|
|
1353
|
+
);
|
|
1337
1354
|
objectKinds.push(
|
|
1338
1355
|
"\u26A0 Composing a workspace from independently-authored modules: `register*` takes its defs however they arrive, but `modules.flatMap((m) => m.tables)` does NOT typecheck. `Array.prototype.flatMap` binds its element type to the FIRST element, so every later module's tables are checked against that one table's schema \u2014 the error compares two unrelated column names and mentions neither `flatMap` nor the cause. `.concat()` collapses the same way. Two spellings work: pass an array LITERAL (`registerTables([...a.tables, ...b.tables])` \u2014 spreads are fine, TypeScript infers the union across every element at once), or annotate the module array with the wide aliases `AnyTableDef` / `AnyQueryDef` / `AnyFunctionDef` / `AnyAddonDef`, exported for exactly the four def types whose generics can collapse this way. Widening the array costs nothing: the typing you need lives on the `table()`/`query()` handle you hold and pass to `s.db.*`, and is never read back off the registered array.",
|
|
1339
1356
|
""
|
|
@@ -1621,13 +1638,14 @@ function renderSections(m) {
|
|
|
1621
1638
|
"| 130 | Ctrl-C outside a write or install. | \u2014 |"
|
|
1622
1639
|
];
|
|
1623
1640
|
const kindsAgentMcp = [
|
|
1641
|
+
"- An MCP server serves THREE primitives, and each reaches the client differently: a `tool()` is an action the MODEL calls (it may write); a `resource()` is read-only context the client APPLICATION lists and attaches by `uri` (reference docs, a schema, one record through a `{variable}` template); a `prompt()` is a message template with arguments the USER picks by name. Context a session opens with is a `resource()`; a workflow a user starts by name is a `prompt()`; data the model must fetch on its own mid-task stays a `tool()`, since a client shows the model only the resources attached to the conversation. Register each kind (`registerTools`/`registerPrompts`/`registerResources`) and list it on the server.",
|
|
1624
1642
|
"- `mcpServer({ name, guid?, description?, instructions?, docs?, enabled?, canonical?, spec?, tags?, history?, tools?, prompts?, resources?, oauth?, llm?, output? })` \u2014 an MCP toolset. `llm?`/`output?` are the same blocks `agent()` takes and are usually absent: an MCP server and an agent are ONE stored object distinguished by `type`. Returns a handle with `getPath()`/`getUrl(baseUrl)` for the Streamable-HTTP endpoint \u2014 `getUrl` is NOT idempotent, a `baseUrl` already carrying an `/x2/mcp/<\u2026>/stream` path THROWS, so resolve ONCE from the instance base URL. Fires on an ephemeral. A TENANT rides AFTER the prefix (`/x2/mcp/tenant/<tenant>/<canonical>/<token>/stream`), not as a base-URL segment: `getUrl` LIFTS a `/tenant/<name>` out of the base and re-places it there, so `getUrl(window.XANO_HOST)` is correct as-is; concatenating them by hand builds an unregistered route that 404s. Pass `{ tenant }` when the base URL cannot name it (a tenant on its own domain).",
|
|
1625
1643
|
' - `tools?`: a `ToolsetToolEntry[]`. Pass the `tool()` HANDLES directly (`tools: [saveNote]`); use the `{ tool, enabled?, auth?, type?, resourceUri?, toolMeta? }` wrapper when an entry needs more. `type: "resource"` (+ a required `resourceUri`) is the LEGACY way to publish a tool as an MCP resource \u2014 author a `resource()` and list it in `resources` instead; `toolMeta` is extra metadata on a tool entry. The two payload fields are per-type and supplying the other one is refused, because the engine stores it against neither. `auth` names an auth **table** (a `table({ auth: true })` handle or its name) \u2014 per-tool, and the only gate there is. \u26A0 It is also what gives the tool a CALLER, on an `agent()` exactly as on an MCP server. `auth()` inside a tool whose entry names no table does NOT return null: the call answers a normal result carrying `{"code":"ERROR_FATAL","message":""}`, so the model reads a successful tool result and reports success while nothing is written. A caller token does not rescue it \u2014 the ENTRY supplies identity. Spell it `{ tool: saveNote, auth: users }`; `export()` warns. An entry naming no tool THROWS at export; a deliberate raw `id: 0` warns and carries through.',
|
|
1626
1644
|
' - `prompts?` / `resources?`: `prompt()` / `resource()` HANDLES (or names), or a `{ prompt, enabled?, auth? }` / `{ resource, enabled?, auth? }` wrapper. `auth` names the auth table and is what gives the stack a caller: a prompt/resource reading `auth()` behind an entry with none answers every `prompts/get` / `resources/read` with `-32603 "Access Denied"` (`export()` warns `toolset.primitive-reads-auth-ungated`). Listing one target twice THROWS; two resources with one `uri` on one server fail `export()` (`mcp.resource-uri-duplicate`). MCP-server only \u2014 `agent()` takes tools only.',
|
|
1627
1645
|
" - `history?` is the server tier for its tools, prompts AND resources alike; an object's own `history` wins. The workspace tier (`workspaceConfig({ history })`) has `prompt` and `resource` keys, both default on.",
|
|
1628
1646
|
' - `oauth?`: per-server sign-in; omit and nothing changes. Union on `mode`; `authTable` (REQUIRED, auth `table()` handle or name) is whose row the signed-in user is \u2014 `auth()` on the whole server, `t.auth` in its trigger. Hosted (the platform is the authorization server): `{ mode: "hosted", authTable, loginUrl }` \u2014 clients are sent to `loginUrl` (YOUR page, which is also the consent screen) with `mcp_request`; show `s.mcp.oauth.request`, sign the user in, then your endpoint calls `s.mcp.oauth.complete` with their `decision` and the page redirects to the URL it binds. External (your IdP issues tokens): `{ mode: "external", authTable, issuer, column, audience?, audienceAck?, claim?, claimAck?, preset?, allowedClientIds? }` \u2014 token `claim` (default `sub`) matched against `column`; `preset` is `auth0|clerk|workos|entra|okta|cognito|generic`. `loginUrl`/`issuer`/`audience` take `env("NAME")` (resolved per environment).',
|
|
1629
1647
|
' - `export()` FAILS: hosted without `loginUrl` (`mcp.oauth-hosted-incomplete`); external without `issuer`/`column` (`mcp.oauth-external-incomplete`); `preset: "clerk"` without `allowedClientIds` (`mcp.oauth-preset-client-ids`); `claim` other than `sub`/`oid`/`email` without `claimAck` (`mcp.oauth-claim-unacked` \u2014 users can edit it at most providers). Unknown `mode`/`preset` THROWS; so do the dropped `consent`/`branding`/`trustedClients`.',
|
|
1630
|
-
'- `prompt({ name, guid?, description?, docs?, title?, icons?, tags?, history?, input?, stack?, response?, responseShape?, middleware? })` \u2014 an MCP prompt; takes `registerPrompts`. `input` is the prompt\'s arguments (each field\'s `description`/`required`/enum `values` reach the client; enum values also answer completion requests). `response`: a text value is ONE user message; a list of `{ role: "user" | "assistant", content }` is sent in order: `s.set_var("m", obj({ list: [obj({ role: c.text("user"), content: ref("body") })] }))`, `response: ref("m.list")`. Without `response` or a top-level `s.return`, `prompts/get` fails.',
|
|
1648
|
+
'- `prompt({ name, guid?, description?, docs?, title?, icons?, tags?, history?, input?, stack?, response?, responseShape?, middleware? })` \u2014 an MCP prompt; takes `registerPrompts`. `input` is the prompt\'s arguments (each field\'s `description`/`required`/enum `values` reach the client; enum values also answer completion requests). `response`: a text value is ONE user message; a list of `{ role: "user" | "assistant", content }` is sent in order, `content` a string or an MCP content block: `s.set_var("m", obj({ list: [obj({ role: c.text("user"), content: ref("body") })] }))`, `response: ref("m.list")`. Without `response` or a top-level `s.return`, `prompts/get` fails.',
|
|
1631
1649
|
"- `resource({ name, uri, guid?, description?, docs?, mimeType?, title?, icons?, annotations?, tags?, history?, input?, stack?, response?, responseShape?, middleware? })` \u2014 an MCP resource; takes `registerResources`. Clients address it by `uri`, never `name`.",
|
|
1632
1650
|
' - `uri`: a literal (`"docs://readme"`, no `input`) or an RFC 6570 LEVEL-1 template (`"orders://{region}/{order_id}"`). It must start with a scheme; each `{variable}` is letters/digits/`_`, one per brace pair, never two adjacent. `input` must be EXACTLY the template\'s variables, each a single `text`/`int`/`decimal`/`bool`/`enum`/`email`/`uuid` \u2014 anything else THROWS. A value that does not convert is refused before the stack runs.',
|
|
1633
1651
|
" - `response`: a string is returned as text; non-UTF-8 content (a file, binary) as a base64 blob. `mimeType?` omitted \u2192 derived from what the stack returns.",
|
|
@@ -2431,7 +2449,7 @@ function renderDocs(m) {
|
|
|
2431
2449
|
{
|
|
2432
2450
|
path: "llms/kinds-agent-mcp.md",
|
|
2433
2451
|
title: "Agent and MCP def shapes",
|
|
2434
|
-
readWhen: "Read when
|
|
2452
|
+
readWhen: "Read when building an MCP server (tools, prompts, resources) or an `agent()`.",
|
|
2435
2453
|
body: s.kindsAgentMcp
|
|
2436
2454
|
},
|
|
2437
2455
|
{
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
XanoSdkImportRefusal,
|
|
15
15
|
detectXanoSdkImportRoute,
|
|
16
16
|
xanosdkImport
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FDZ2ANSS.js";
|
|
18
18
|
import {
|
|
19
19
|
exportWorkspaceBundle
|
|
20
20
|
} from "./chunk-QC3MKMDK.js";
|
|
@@ -200,7 +200,7 @@ async function unreachableProbeError(err, req) {
|
|
|
200
200
|
}
|
|
201
201
|
const serverError = typeof status === "number" && (status >= 500 || status === 429) && answered !== null;
|
|
202
202
|
if (reach === null && !serverError || req.rerun === void 0) return err;
|
|
203
|
-
const { LookupFailedError, rateLimitedCause } = await import("./source-resolve-
|
|
203
|
+
const { LookupFailedError, rateLimitedCause } = await import("./source-resolve-WHXNMVJT.js");
|
|
204
204
|
const failed = new LookupFailedError(
|
|
205
205
|
reach !== null ? `Could not reach ${req.label} to ask whether it can merge (${reach[1]}). ${reach[1].includes(UNTRUSTED_CERTIFICATE) ? "A certificate problem" : "A network failure"} \u2014 nothing was sent and its data is untouched` : `${req.label[0].toUpperCase()}${req.label.slice(1)} answered the check whether it can merge with ${status === 429 ? "its rate limit" : "a server error"} (${answered[1].replace(/\.$/, "")}). ${status === 429 ? `${rateLimitedCause()}: nothing` : "Nothing"} was sent and its data is untouched`,
|
|
206
206
|
"unreachable",
|
|
@@ -213,7 +213,7 @@ async function unreachableProbeError(err, req) {
|
|
|
213
213
|
}
|
|
214
214
|
async function unansweredReadError(err, req) {
|
|
215
215
|
if (req.rerun === void 0) return err;
|
|
216
|
-
const { LookupFailedError, isRateLimited, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-
|
|
216
|
+
const { LookupFailedError, isRateLimited, isServerError, isTransportFailure, unansweredCause } = await import("./source-resolve-WHXNMVJT.js");
|
|
217
217
|
const transport = isTransportFailure(err);
|
|
218
218
|
if (!transport && !isServerError(err)) return err;
|
|
219
219
|
const first = ((err instanceof Error ? err.message : String(err)).trim().split("\n")[0] ?? "").replace(/[.:]$/, "");
|
|
@@ -1116,4 +1116,4 @@ export {
|
|
|
1116
1116
|
unansweredReadError,
|
|
1117
1117
|
unreachableProbeError
|
|
1118
1118
|
};
|
|
1119
|
-
//# sourceMappingURL=keep-data-merge-
|
|
1119
|
+
//# sourceMappingURL=keep-data-merge-KLNLVBYK.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
allFrontendPresets
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C2SAVXAB.js";
|
|
4
4
|
import {
|
|
5
5
|
renderLambdaTsconfig,
|
|
6
6
|
renderPackageJson
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IZI3SYXH.js";
|
|
8
8
|
import "./chunk-LJM5CIY4.js";
|
|
9
9
|
import "./chunk-TFFGOFVZ.js";
|
|
10
10
|
import "./chunk-OHX6MIUZ.js";
|
|
@@ -114,4 +114,4 @@ function reconcileLambdaConfig(dir) {
|
|
|
114
114
|
export {
|
|
115
115
|
reconcileLambdaConfig
|
|
116
116
|
};
|
|
117
|
-
//# sourceMappingURL=lambda-config-reconcile-
|
|
117
|
+
//# sourceMappingURL=lambda-config-reconcile-FXPDH2U5.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
recordForeignLanding,
|
|
7
7
|
recordLanding,
|
|
8
8
|
unvouchedIdentities
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KA3JN4SH.js";
|
|
10
10
|
import "./chunk-CJDPSCMX.js";
|
|
11
11
|
import "./chunk-S42TFTM5.js";
|
|
12
12
|
import "./chunk-ZYJP6BOO.js";
|
|
@@ -15,9 +15,9 @@ import "./chunk-ULUUOUQX.js";
|
|
|
15
15
|
import "./chunk-6S263KTM.js";
|
|
16
16
|
import "./chunk-IB6SKACE.js";
|
|
17
17
|
import "./chunk-EUUUMY7J.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-77IFWJ53.js";
|
|
19
|
+
import "./chunk-JSPFDMTV.js";
|
|
20
|
+
import "./chunk-U4JD5NMP.js";
|
|
21
21
|
import "./chunk-B3NH5UBI.js";
|
|
22
22
|
import "./chunk-ZFDZKNGG.js";
|
|
23
23
|
import "./chunk-FWD7AL6N.js";
|
|
@@ -35,7 +35,7 @@ import "./chunk-HU7F56VF.js";
|
|
|
35
35
|
import "./chunk-MF4W6FHU.js";
|
|
36
36
|
import "./chunk-X2NL4KUO.js";
|
|
37
37
|
import "./chunk-4GPIOIAC.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-IZI3SYXH.js";
|
|
39
39
|
import "./chunk-LJM5CIY4.js";
|
|
40
40
|
import "./chunk-C6KBZH7M.js";
|
|
41
41
|
import "./chunk-YEH5OIPF.js";
|
|
@@ -59,4 +59,4 @@ export {
|
|
|
59
59
|
recordLanding,
|
|
60
60
|
unvouchedIdentities
|
|
61
61
|
};
|
|
62
|
-
//# sourceMappingURL=landing-record-
|
|
62
|
+
//# sourceMappingURL=landing-record-ZB4OJQF2.js.map
|