@xanots/sdk 0.0.9 → 0.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 +17 -0
- package/README.md +28 -21
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-4W37DGXS.js → agent-file-refresh-QNKN5RYD.js} +3 -3
- package/dist/bin.js +8 -7
- package/dist/{branch-commands-PBQ36L4A.js → branch-commands-2BLOC2GR.js} +13 -11
- package/dist/{capture-7PO6SGB4.js → capture-4WVJY4DQ.js} +2 -2
- package/dist/{chunk-ZOYMZZ3S.js → chunk-3INK4Y4E.js} +1 -1
- package/dist/{chunk-NDZFBZHC.js → chunk-3UABJA4X.js} +1 -1
- package/dist/{chunk-7OXFMCTX.js → chunk-5R73LFWK.js} +3 -3
- package/dist/{chunk-OW2QZEWL.js → chunk-5YCQ2QHH.js} +2 -2
- package/dist/{chunk-5YQOIFT4.js → chunk-75Z74TA7.js} +2 -2
- package/dist/{chunk-QTNO2WD6.js → chunk-7ZYW652H.js} +1 -1
- package/dist/{chunk-K3YSQDXJ.js → chunk-ACCBOMCB.js} +91 -74
- package/dist/{chunk-4PTSTDIG.js → chunk-AIZKXUNP.js} +2 -2
- package/dist/{chunk-P5C2YKAM.js → chunk-ANUDXFEX.js} +18 -27
- package/dist/chunk-CTD5ZCV6.js +28 -0
- package/dist/{chunk-5HCDZ2XN.js → chunk-DBFU47BJ.js} +2 -2
- package/dist/{chunk-OKNSR7MT.js → chunk-DIA7CT7J.js} +129 -150
- package/dist/{chunk-JQLR64UC.js → chunk-F6CYJ7TN.js} +21 -6
- package/dist/{chunk-BKDJN76G.js → chunk-FE5I6S6N.js} +1 -1
- package/dist/{chunk-L6TPHWAU.js → chunk-I7DQDJAM.js} +30 -48
- package/dist/{chunk-QIWBCS7N.js → chunk-JGCWTCA7.js} +2 -2
- package/dist/{chunk-MDXR5E5Q.js → chunk-K5IOND4K.js} +2 -2
- package/dist/{chunk-4PE4ZAB7.js → chunk-KA6G2L7U.js} +5 -5
- package/dist/{chunk-QONOJO45.js → chunk-LBYWGMOA.js} +1 -1
- package/dist/{chunk-ZZLPTHT5.js → chunk-P6TAVLOX.js} +2 -2
- package/dist/{chunk-3QW5NFZJ.js → chunk-QKM4U5UK.js} +3 -3
- package/dist/{chunk-T4XPCJRF.js → chunk-TCFIPDB3.js} +1 -1
- package/dist/{chunk-UDL46O35.js → chunk-VKSOTZK3.js} +2 -2
- package/dist/{chunk-6DHBYBTO.js → chunk-VNQM3V2C.js} +1 -2
- package/dist/{chunk-KSV7VOEX.js → chunk-W24FJHPD.js} +3 -3
- package/dist/chunk-WGPXT2G2.js +22 -0
- package/dist/{chunk-6AAT2AYQ.js → chunk-WP4OZZV4.js} +2 -2
- package/dist/{chunk-MU3O43L2.js → chunk-YBC3IKMF.js} +2 -2
- package/dist/{chunk-6Z5CNWFC.js → chunk-YYFXVYPX.js} +37 -6
- package/dist/chunk-ZQ2PKR6R.js +40 -0
- package/dist/cli.d.ts +57 -31
- package/dist/cli.js +6 -5
- package/dist/codegen-command-GB3H2KQ7.js +46 -0
- package/dist/{completion-A6BZ3XGU.js → completion-WF46272M.js} +2 -2
- package/dist/{config-NL33PN4D.js → config-476F3PT5.js} +1 -1
- package/dist/{deploy-command-5TTI4TUP.js → deploy-command-QTIVA22A.js} +67 -99
- package/dist/{ephemeral-command-7TK52YQM.js → ephemeral-command-U4AQ3TXX.js} +25 -28
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/{init-command-OVFFW4QS.js → init-command-MAXULNAD.js} +13 -10
- package/dist/{onboard-command-EHOHKQQU.js → init-web-3JNFG6GI.js} +10 -10
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +27 -36
- package/dist/{live-diff-QK4KC2FJ.js → live-diff-IXKBVG4K.js} +3 -3
- package/dist/{lock-commands-ET7NIOLH.js → lock-commands-DQ7CUMIV.js} +20 -19
- package/dist/{login-command-DFCURZLC.js → login-command-Z6CHTA57.js} +7 -7
- package/dist/{logout-command-WXVZQCAV.js → logout-command-ER6IKAYJ.js} +2 -2
- package/dist/{loop-7SAIGRCZ.js → loop-D5NPL4VH.js} +3 -3
- package/dist/{marketplace-command-BCOAAN2I.js → marketplace-command-P4IPLJ6J.js} +6 -6
- package/dist/{meta-client-57ZWVHST.js → meta-client-K2J4XH64.js} +6 -6
- package/dist/node.d.ts +2 -2
- package/dist/node.js +9 -8
- package/dist/{validate-command-SK5FPCV7.js → preflight-command-GZ2GE5RN.js} +17 -16
- package/dist/{profile-command-QJAAUZIV.js → profile-command-LJSBDV2L.js} +5 -5
- package/dist/{release-command-4EXVLYV2.js → release-command-YUBTNHVX.js} +36 -33
- package/dist/{routes-manifest-SP3ZXLMR.js → routes-manifest-PWZHDOI5.js} +2 -2
- package/dist/scaffold.js +2 -2
- package/dist/{static-host-D6KS7X45.js → static-host-3WMV7IZO.js} +1 -1
- package/dist/status-command-AL47VG7H.js +162 -0
- package/dist/{store-CUCBSYLj.d.ts → store-BG1UPZ3Z.d.ts} +5 -5
- package/dist/{test-command-2F5LKMI6.js → test-command-YAZLKLGQ.js} +45 -28
- package/dist/{upgrade-command-QL523I62.js → upgrade-command-FB5QJ363.js} +13 -12
- package/dist/{workspace-K72NP7SX.js → workspace-2COHDBM3.js} +1 -1
- package/dist/{workspace-command-HYA6JEKK.js → workspace-command-43P42FBP.js} +31 -32
- package/dist/{workspace-export-AJMGN3CQ.js → workspace-export-DURY5WYL.js} +2 -2
- package/guides/README.md +2 -2
- package/guides/cli.md +17 -19
- package/guides/codegen.md +21 -5
- package/guides/coverage.md +1 -1
- package/guides/deploying.md +31 -34
- package/guides/environment.md +4 -4
- package/guides/object-kinds.md +3 -3
- package/guides/project-structure.md +1 -1
- package/guides/scaffold.md +25 -2
- package/guides/typed-frontend.md +1 -1
- package/llms/kinds-agent-mcp.md +1 -1
- package/llms/kinds-core.md +1 -1
- package/llms/kinds-realtime.md +1 -1
- package/llms/lock.md +5 -5
- package/llms/tests.md +1 -1
- package/llms-full.txt +25 -34
- package/llms.txt +16 -25
- package/manifest.json +95 -426
- package/package.json +1 -1
- package/dist/chunk-3EYUR3TX.js +0 -100
- package/dist/chunk-JQJPFUZI.js +0 -118
- package/dist/chunk-YNZFIY4J.js +0 -78
- package/dist/codegen-command-YSCSCVT5.js +0 -43
- package/dist/env-target-4T7AT347.js +0 -16
- package/dist/sandbox-details-command-EDO56IY3.js +0 -18
- package/dist/sandbox-export-command-MO6DEZ7Z.js +0 -24
package/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xanots",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "TypeScript SDK that compiles a typed Xano workspace into the importable packageExport JSON bundle.",
|
|
5
5
|
"coverage": {
|
|
6
6
|
"objectKinds": {
|
|
@@ -8558,65 +8558,6 @@
|
|
|
8558
8558
|
}
|
|
8559
8559
|
],
|
|
8560
8560
|
"cli": [
|
|
8561
|
-
{
|
|
8562
|
-
"command": "codegen",
|
|
8563
|
-
"args": "<bundle.json> <path>",
|
|
8564
|
-
"flags": [
|
|
8565
|
-
{
|
|
8566
|
-
"flag": "--name <n>",
|
|
8567
|
-
"description": "Project name (default: the target directory's basename)"
|
|
8568
|
-
},
|
|
8569
|
-
{
|
|
8570
|
-
"flag": "--framework <id>",
|
|
8571
|
-
"description": "Frontend framework to scaffold: react (default), svelte"
|
|
8572
|
-
},
|
|
8573
|
-
{
|
|
8574
|
-
"flag": "--theme <id>",
|
|
8575
|
-
"description": "shadcn/ui theme — <base> or <base>-<accent> (e.g. zinc-blue), a registry theme URL, or a registry item JSON path; an unknown id lists every base and accent"
|
|
8576
|
-
},
|
|
8577
|
-
{
|
|
8578
|
-
"flag": "--radius <len>",
|
|
8579
|
-
"description": "Corner radius for the scaffold's theme — a number of rem (0, 0.5, 1) or a CSS length"
|
|
8580
|
-
},
|
|
8581
|
-
{
|
|
8582
|
-
"flag": "--dark <mode>",
|
|
8583
|
-
"description": "What switches the app into its dark palette: system (default, follows the OS), toggle (adds a control), off"
|
|
8584
|
-
},
|
|
8585
|
-
{
|
|
8586
|
-
"flag": "--font <id>",
|
|
8587
|
-
"description": "Body typeface, self-hosted from its @fontsource package (default: the system stack)"
|
|
8588
|
-
},
|
|
8589
|
-
{
|
|
8590
|
-
"flag": "--font-mono <id>",
|
|
8591
|
-
"description": "Code typeface (default: the system mono stack)"
|
|
8592
|
-
},
|
|
8593
|
-
{
|
|
8594
|
-
"flag": "--font-heading <id>",
|
|
8595
|
-
"description": "Heading typeface, bound to h1–h6 (default: inherits the body face)"
|
|
8596
|
-
},
|
|
8597
|
-
{
|
|
8598
|
-
"flag": "--icons <id>",
|
|
8599
|
-
"description": "Icon set: lucide (default), tabler, phosphor"
|
|
8600
|
-
},
|
|
8601
|
-
{
|
|
8602
|
-
"flag": "--ai <preset>",
|
|
8603
|
-
"description": "AI instruction files to scaffold: claude, codex, cursor, none"
|
|
8604
|
-
},
|
|
8605
|
-
{
|
|
8606
|
-
"flag": "--force",
|
|
8607
|
-
"description": "Scaffold into a non-empty directory (overwriting our own files)"
|
|
8608
|
-
},
|
|
8609
|
-
{
|
|
8610
|
-
"flag": "--no-install",
|
|
8611
|
-
"description": "Skip the post-scaffold npm install"
|
|
8612
|
-
},
|
|
8613
|
-
{
|
|
8614
|
-
"flag": "--no-verify",
|
|
8615
|
-
"description": "Skip the offline round-trip check that the written tree re-exports (no network, no deploy)"
|
|
8616
|
-
}
|
|
8617
|
-
],
|
|
8618
|
-
"description": "A bundle JSON file → a runnable XanoTS project (offline)"
|
|
8619
|
-
},
|
|
8620
8561
|
{
|
|
8621
8562
|
"command": "compile",
|
|
8622
8563
|
"args": "<file>",
|
|
@@ -8641,10 +8582,6 @@
|
|
|
8641
8582
|
"command": "deploy",
|
|
8642
8583
|
"args": "<file>",
|
|
8643
8584
|
"flags": [
|
|
8644
|
-
{
|
|
8645
|
-
"flag": "--dest <ephemeral|sandbox>",
|
|
8646
|
-
"description": "Which environment to import into (default: ephemeral)"
|
|
8647
|
-
},
|
|
8648
8585
|
{
|
|
8649
8586
|
"flag": "--expires-hours <n>",
|
|
8650
8587
|
"description": "Ephemeral TTL at create time, 1–72 (default: 1)"
|
|
@@ -8678,8 +8615,8 @@
|
|
|
8678
8615
|
"description": "Publish the static build even if it contains non-public seed values"
|
|
8679
8616
|
},
|
|
8680
8617
|
{
|
|
8681
|
-
"flag": "--
|
|
8682
|
-
"description": "
|
|
8618
|
+
"flag": "--skip-liveness",
|
|
8619
|
+
"description": "Do not wait to confirm the deploy came up (static host, microservices)"
|
|
8683
8620
|
},
|
|
8684
8621
|
{
|
|
8685
8622
|
"flag": "--require-microservices",
|
|
@@ -8722,82 +8659,7 @@
|
|
|
8722
8659
|
"description": "Use the project-local ./.xano/auth.json instead of the shared cache"
|
|
8723
8660
|
}
|
|
8724
8661
|
],
|
|
8725
|
-
"description": "Ship to a live ephemeral env
|
|
8726
|
-
},
|
|
8727
|
-
{
|
|
8728
|
-
"command": "ephemeral codegen",
|
|
8729
|
-
"args": "<name> <path>",
|
|
8730
|
-
"flags": [
|
|
8731
|
-
{
|
|
8732
|
-
"flag": "--name <n>",
|
|
8733
|
-
"description": "Project name (default: the target directory's basename)"
|
|
8734
|
-
},
|
|
8735
|
-
{
|
|
8736
|
-
"flag": "--framework <id>",
|
|
8737
|
-
"description": "Frontend framework to scaffold: react (default), svelte"
|
|
8738
|
-
},
|
|
8739
|
-
{
|
|
8740
|
-
"flag": "--theme <id>",
|
|
8741
|
-
"description": "shadcn/ui theme — <base> or <base>-<accent> (e.g. zinc-blue), a registry theme URL, or a registry item JSON path; an unknown id lists every base and accent"
|
|
8742
|
-
},
|
|
8743
|
-
{
|
|
8744
|
-
"flag": "--radius <len>",
|
|
8745
|
-
"description": "Corner radius for the scaffold's theme — a number of rem (0, 0.5, 1) or a CSS length"
|
|
8746
|
-
},
|
|
8747
|
-
{
|
|
8748
|
-
"flag": "--dark <mode>",
|
|
8749
|
-
"description": "What switches the app into its dark palette: system (default, follows the OS), toggle (adds a control), off"
|
|
8750
|
-
},
|
|
8751
|
-
{
|
|
8752
|
-
"flag": "--font <id>",
|
|
8753
|
-
"description": "Body typeface, self-hosted from its @fontsource package (default: the system stack)"
|
|
8754
|
-
},
|
|
8755
|
-
{
|
|
8756
|
-
"flag": "--font-mono <id>",
|
|
8757
|
-
"description": "Code typeface (default: the system mono stack)"
|
|
8758
|
-
},
|
|
8759
|
-
{
|
|
8760
|
-
"flag": "--font-heading <id>",
|
|
8761
|
-
"description": "Heading typeface, bound to h1–h6 (default: inherits the body face)"
|
|
8762
|
-
},
|
|
8763
|
-
{
|
|
8764
|
-
"flag": "--icons <id>",
|
|
8765
|
-
"description": "Icon set: lucide (default), tabler, phosphor"
|
|
8766
|
-
},
|
|
8767
|
-
{
|
|
8768
|
-
"flag": "--ai <preset>",
|
|
8769
|
-
"description": "AI instruction files to scaffold: claude, codex, cursor, none"
|
|
8770
|
-
},
|
|
8771
|
-
{
|
|
8772
|
-
"flag": "--force",
|
|
8773
|
-
"description": "Scaffold into a non-empty directory (overwriting our own files)"
|
|
8774
|
-
},
|
|
8775
|
-
{
|
|
8776
|
-
"flag": "--no-install",
|
|
8777
|
-
"description": "Skip the post-scaffold npm install"
|
|
8778
|
-
},
|
|
8779
|
-
{
|
|
8780
|
-
"flag": "--no-verify",
|
|
8781
|
-
"description": "Skip the offline round-trip check that the written tree re-exports (no network, no deploy)"
|
|
8782
|
-
},
|
|
8783
|
-
{
|
|
8784
|
-
"flag": "--report <grouped|full|json>",
|
|
8785
|
-
"description": "Findings as grouped root causes (default), every site, or JSON"
|
|
8786
|
-
},
|
|
8787
|
-
{
|
|
8788
|
-
"flag": "--origin <origin>",
|
|
8789
|
-
"description": "Xano control-plane OAuth host (default: $XANO_ORIGIN)"
|
|
8790
|
-
},
|
|
8791
|
-
{
|
|
8792
|
-
"flag": "--config <path>",
|
|
8793
|
-
"description": "Explicit credential file (default: $XANO_CONFIG)"
|
|
8794
|
-
},
|
|
8795
|
-
{
|
|
8796
|
-
"flag": "--local",
|
|
8797
|
-
"description": "Use the project-local ./.xano/auth.json instead of the shared cache"
|
|
8798
|
-
}
|
|
8799
|
-
],
|
|
8800
|
-
"description": "Decode an env into a runnable XanoTS project"
|
|
8662
|
+
"description": "Ship to a live ephemeral env → URL"
|
|
8801
8663
|
},
|
|
8802
8664
|
{
|
|
8803
8665
|
"command": "ephemeral delete",
|
|
@@ -8807,10 +8669,6 @@
|
|
|
8807
8669
|
"flag": "--yes, -y",
|
|
8808
8670
|
"description": "Confirm a destructive action non-interactively"
|
|
8809
8671
|
},
|
|
8810
|
-
{
|
|
8811
|
-
"flag": "--force",
|
|
8812
|
-
"description": "Skip the destroy-this-env confirmation (same as --yes)"
|
|
8813
|
-
},
|
|
8814
8672
|
{
|
|
8815
8673
|
"flag": "--origin <origin>",
|
|
8816
8674
|
"description": "Xano control-plane OAuth host (default: $XANO_ORIGIN)"
|
|
@@ -8999,7 +8857,7 @@
|
|
|
8999
8857
|
},
|
|
9000
8858
|
{
|
|
9001
8859
|
"flag": "--force",
|
|
9002
|
-
"description": "
|
|
8860
|
+
"description": "Overwrite our own files in a non-empty target directory"
|
|
9003
8861
|
},
|
|
9004
8862
|
{
|
|
9005
8863
|
"flag": "--no-install",
|
|
@@ -9008,12 +8866,40 @@
|
|
|
9008
8866
|
{
|
|
9009
8867
|
"flag": "--marketplace <pkgs>",
|
|
9010
8868
|
"description": "Add-on packages to install and register, comma-separated"
|
|
8869
|
+
},
|
|
8870
|
+
{
|
|
8871
|
+
"flag": "--from <source>",
|
|
8872
|
+
"description": "Fill xano/ by decoding an existing backend instead of writing the empty starter: workspace, ephemeral:<name>, or a path to a bundle .json"
|
|
8873
|
+
},
|
|
8874
|
+
{
|
|
8875
|
+
"flag": "--web",
|
|
8876
|
+
"description": "Collect the scaffold options in a browser instead of on the command line"
|
|
8877
|
+
},
|
|
8878
|
+
{
|
|
8879
|
+
"flag": "--skip-roundtrip",
|
|
8880
|
+
"description": "Do not check that the written tree re-exports as it was pulled (offline; no network, no deploy)"
|
|
8881
|
+
},
|
|
8882
|
+
{
|
|
8883
|
+
"flag": "--report <grouped|full|json>",
|
|
8884
|
+
"description": "Findings as grouped root causes (default), every site, or JSON"
|
|
8885
|
+
},
|
|
8886
|
+
{
|
|
8887
|
+
"flag": "--origin <origin>",
|
|
8888
|
+
"description": "Xano control-plane OAuth host (default: $XANO_ORIGIN)"
|
|
8889
|
+
},
|
|
8890
|
+
{
|
|
8891
|
+
"flag": "--config <path>",
|
|
8892
|
+
"description": "Explicit credential file (default: $XANO_CONFIG)"
|
|
8893
|
+
},
|
|
8894
|
+
{
|
|
8895
|
+
"flag": "--local",
|
|
8896
|
+
"description": "Use the project-local ./.xano/auth.json instead of the shared cache"
|
|
9011
8897
|
}
|
|
9012
8898
|
],
|
|
9013
|
-
"description": "Scaffold a
|
|
8899
|
+
"description": "Scaffold a XanoTS project — empty, or filled from an existing backend"
|
|
9014
8900
|
},
|
|
9015
8901
|
{
|
|
9016
|
-
"command": "lock
|
|
8902
|
+
"command": "lock import",
|
|
9017
8903
|
"args": "<bundle.json>",
|
|
9018
8904
|
"flags": [
|
|
9019
8905
|
{
|
|
@@ -9029,7 +8915,7 @@
|
|
|
9029
8915
|
"description": "Workspace entry to resolve xano.lock beside (for lock subcommands that take no entry file)"
|
|
9030
8916
|
}
|
|
9031
8917
|
],
|
|
9032
|
-
"description": "
|
|
8918
|
+
"description": "Import identities from a live engine packageExport, so existing objects are not recreated"
|
|
9033
8919
|
},
|
|
9034
8920
|
{
|
|
9035
8921
|
"command": "lock prune",
|
|
@@ -9048,8 +8934,8 @@
|
|
|
9048
8934
|
"description": "Workspace entry to resolve xano.lock beside (for lock subcommands that take no entry file)"
|
|
9049
8935
|
},
|
|
9050
8936
|
{
|
|
9051
|
-
"flag": "--
|
|
9052
|
-
"description": "Prune the named keys without
|
|
8937
|
+
"flag": "--identity-only",
|
|
8938
|
+
"description": "Prune the named keys without loading the entry file"
|
|
9053
8939
|
}
|
|
9054
8940
|
],
|
|
9055
8941
|
"description": "Drop orphaned entries (all, or just the named keys)"
|
|
@@ -9098,7 +8984,7 @@
|
|
|
9098
8984
|
},
|
|
9099
8985
|
{
|
|
9100
8986
|
"flag": "--force",
|
|
9101
|
-
"description": "
|
|
8987
|
+
"description": "Overwrite the cached credential — sign in again even when one is already there"
|
|
9102
8988
|
}
|
|
9103
8989
|
],
|
|
9104
8990
|
"description": "OAuth sign-in — shared cache, or --local per project"
|
|
@@ -9146,11 +9032,6 @@
|
|
|
9146
9032
|
"args": "<string>",
|
|
9147
9033
|
"description": "Search add-ons by keyword across name, tagline and description"
|
|
9148
9034
|
},
|
|
9149
|
-
{
|
|
9150
|
-
"command": "onboard",
|
|
9151
|
-
"args": "[dir]",
|
|
9152
|
-
"description": "Pick a framework, theme and add-ons in a browser, then scaffold"
|
|
9153
|
-
},
|
|
9154
9035
|
{
|
|
9155
9036
|
"command": "paths",
|
|
9156
9037
|
"args": "<file>",
|
|
@@ -9168,7 +9049,50 @@
|
|
|
9168
9049
|
"description": "Promote every export warning (data-losing shapes, unresolvable filters) to a hard failure"
|
|
9169
9050
|
}
|
|
9170
9051
|
],
|
|
9171
|
-
"description": "
|
|
9052
|
+
"description": "Alias for `routes` (alias of `routes`)"
|
|
9053
|
+
},
|
|
9054
|
+
{
|
|
9055
|
+
"command": "preflight",
|
|
9056
|
+
"args": "<file>",
|
|
9057
|
+
"flags": [
|
|
9058
|
+
{
|
|
9059
|
+
"flag": "--bundle <path>",
|
|
9060
|
+
"description": "Use an already-exported bundle instead of an entry file"
|
|
9061
|
+
},
|
|
9062
|
+
{
|
|
9063
|
+
"flag": "--runtime",
|
|
9064
|
+
"description": "After the round-trip, run each deployed function and report"
|
|
9065
|
+
},
|
|
9066
|
+
{
|
|
9067
|
+
"flag": "--capture",
|
|
9068
|
+
"description": "Write each round-tripped function's fetched JSON"
|
|
9069
|
+
},
|
|
9070
|
+
{
|
|
9071
|
+
"flag": "--verbose",
|
|
9072
|
+
"description": "Print full diffs and raw engine detail"
|
|
9073
|
+
},
|
|
9074
|
+
{
|
|
9075
|
+
"flag": "--instance <url>",
|
|
9076
|
+
"description": "Override XANO_VALIDATE_INSTANCE for this run"
|
|
9077
|
+
},
|
|
9078
|
+
{
|
|
9079
|
+
"flag": "--out, -o <path>",
|
|
9080
|
+
"description": "Write the artifact to this path instead of stdout"
|
|
9081
|
+
},
|
|
9082
|
+
{
|
|
9083
|
+
"flag": "--lock[=<path>]",
|
|
9084
|
+
"description": "Use (and create) xano.lock — default: beside the entry file"
|
|
9085
|
+
},
|
|
9086
|
+
{
|
|
9087
|
+
"flag": "--frozen-lock",
|
|
9088
|
+
"description": "CI guard: fail instead of changing the lock"
|
|
9089
|
+
},
|
|
9090
|
+
{
|
|
9091
|
+
"flag": "--strict",
|
|
9092
|
+
"description": "Promote every export warning (data-losing shapes, unresolvable filters) to a hard failure"
|
|
9093
|
+
}
|
|
9094
|
+
],
|
|
9095
|
+
"description": "Deploy to a throwaway tenant and verify the round-trip (needs auth)"
|
|
9172
9096
|
},
|
|
9173
9097
|
{
|
|
9174
9098
|
"command": "profile me",
|
|
@@ -9220,10 +9144,6 @@
|
|
|
9220
9144
|
"flag": "--yes, -y",
|
|
9221
9145
|
"description": "Confirm a destructive action non-interactively"
|
|
9222
9146
|
},
|
|
9223
|
-
{
|
|
9224
|
-
"flag": "--force",
|
|
9225
|
-
"description": "Skip the confirmation prompt (same as --yes)"
|
|
9226
|
-
},
|
|
9227
9147
|
{
|
|
9228
9148
|
"flag": "--static <dir>",
|
|
9229
9149
|
"description": "Archive this built frontend and deploy it to the static host"
|
|
@@ -9245,8 +9165,8 @@
|
|
|
9245
9165
|
"description": "Publish the static build even if it contains non-public seed values"
|
|
9246
9166
|
},
|
|
9247
9167
|
{
|
|
9248
|
-
"flag": "--
|
|
9249
|
-
"description": "
|
|
9168
|
+
"flag": "--skip-liveness",
|
|
9169
|
+
"description": "Do not wait to confirm the deploy came up (static host, microservices)"
|
|
9250
9170
|
},
|
|
9251
9171
|
{
|
|
9252
9172
|
"flag": "--lock[=<path>]",
|
|
@@ -9292,132 +9212,11 @@
|
|
|
9292
9212
|
"description": "Promote every export warning (data-losing shapes, unresolvable filters) to a hard failure"
|
|
9293
9213
|
}
|
|
9294
9214
|
],
|
|
9295
|
-
"description": "
|
|
9296
|
-
},
|
|
9297
|
-
{
|
|
9298
|
-
"command": "sandbox codegen",
|
|
9299
|
-
"args": "<path>",
|
|
9300
|
-
"flags": [
|
|
9301
|
-
{
|
|
9302
|
-
"flag": "--name <n>",
|
|
9303
|
-
"description": "Project name (default: the target directory's basename)"
|
|
9304
|
-
},
|
|
9305
|
-
{
|
|
9306
|
-
"flag": "--framework <id>",
|
|
9307
|
-
"description": "Frontend framework to scaffold: react (default), svelte"
|
|
9308
|
-
},
|
|
9309
|
-
{
|
|
9310
|
-
"flag": "--theme <id>",
|
|
9311
|
-
"description": "shadcn/ui theme — <base> or <base>-<accent> (e.g. zinc-blue), a registry theme URL, or a registry item JSON path; an unknown id lists every base and accent"
|
|
9312
|
-
},
|
|
9313
|
-
{
|
|
9314
|
-
"flag": "--radius <len>",
|
|
9315
|
-
"description": "Corner radius for the scaffold's theme — a number of rem (0, 0.5, 1) or a CSS length"
|
|
9316
|
-
},
|
|
9317
|
-
{
|
|
9318
|
-
"flag": "--dark <mode>",
|
|
9319
|
-
"description": "What switches the app into its dark palette: system (default, follows the OS), toggle (adds a control), off"
|
|
9320
|
-
},
|
|
9321
|
-
{
|
|
9322
|
-
"flag": "--font <id>",
|
|
9323
|
-
"description": "Body typeface, self-hosted from its @fontsource package (default: the system stack)"
|
|
9324
|
-
},
|
|
9325
|
-
{
|
|
9326
|
-
"flag": "--font-mono <id>",
|
|
9327
|
-
"description": "Code typeface (default: the system mono stack)"
|
|
9328
|
-
},
|
|
9329
|
-
{
|
|
9330
|
-
"flag": "--font-heading <id>",
|
|
9331
|
-
"description": "Heading typeface, bound to h1–h6 (default: inherits the body face)"
|
|
9332
|
-
},
|
|
9333
|
-
{
|
|
9334
|
-
"flag": "--icons <id>",
|
|
9335
|
-
"description": "Icon set: lucide (default), tabler, phosphor"
|
|
9336
|
-
},
|
|
9337
|
-
{
|
|
9338
|
-
"flag": "--ai <preset>",
|
|
9339
|
-
"description": "AI instruction files to scaffold: claude, codex, cursor, none"
|
|
9340
|
-
},
|
|
9341
|
-
{
|
|
9342
|
-
"flag": "--force",
|
|
9343
|
-
"description": "Scaffold into a non-empty directory (overwriting our own files)"
|
|
9344
|
-
},
|
|
9345
|
-
{
|
|
9346
|
-
"flag": "--no-install",
|
|
9347
|
-
"description": "Skip the post-scaffold npm install"
|
|
9348
|
-
},
|
|
9349
|
-
{
|
|
9350
|
-
"flag": "--no-verify",
|
|
9351
|
-
"description": "Skip the offline round-trip check that the written tree re-exports (no network, no deploy)"
|
|
9352
|
-
},
|
|
9353
|
-
{
|
|
9354
|
-
"flag": "--report <grouped|full|json>",
|
|
9355
|
-
"description": "Findings as grouped root causes (default), every site, or JSON"
|
|
9356
|
-
},
|
|
9357
|
-
{
|
|
9358
|
-
"flag": "--origin <origin>",
|
|
9359
|
-
"description": "Xano control-plane OAuth host (default: $XANO_ORIGIN)"
|
|
9360
|
-
},
|
|
9361
|
-
{
|
|
9362
|
-
"flag": "--config <path>",
|
|
9363
|
-
"description": "Explicit credential file (default: $XANO_CONFIG)"
|
|
9364
|
-
},
|
|
9365
|
-
{
|
|
9366
|
-
"flag": "--local",
|
|
9367
|
-
"description": "Use the project-local ./.xano/auth.json instead of the shared cache"
|
|
9368
|
-
}
|
|
9369
|
-
],
|
|
9370
|
-
"description": "Decode the sandbox into a runnable XanoTS project"
|
|
9371
|
-
},
|
|
9372
|
-
{
|
|
9373
|
-
"command": "sandbox details",
|
|
9374
|
-
"flags": [
|
|
9375
|
-
{
|
|
9376
|
-
"flag": "--origin <origin>",
|
|
9377
|
-
"description": "Xano control-plane OAuth host (default: $XANO_ORIGIN)"
|
|
9378
|
-
},
|
|
9379
|
-
{
|
|
9380
|
-
"flag": "--config <path>",
|
|
9381
|
-
"description": "Explicit credential file (default: $XANO_CONFIG)"
|
|
9382
|
-
},
|
|
9383
|
-
{
|
|
9384
|
-
"flag": "--local",
|
|
9385
|
-
"description": "Use the project-local ./.xano/auth.json instead of the shared cache"
|
|
9386
|
-
}
|
|
9387
|
-
],
|
|
9388
|
-
"description": "Print the sandbox tenant, headlined by its URL"
|
|
9215
|
+
"description": "List each query's verb + resolved api:<canonical>/<name>"
|
|
9389
9216
|
},
|
|
9390
9217
|
{
|
|
9391
|
-
"command": "
|
|
9218
|
+
"command": "status",
|
|
9392
9219
|
"flags": [
|
|
9393
|
-
{
|
|
9394
|
-
"flag": "--format <json|multidoc>",
|
|
9395
|
-
"description": "Which artifact to emit"
|
|
9396
|
-
},
|
|
9397
|
-
{
|
|
9398
|
-
"flag": "--path <p>",
|
|
9399
|
-
"description": "Output location — `-` for stdout, a dir, or a file path"
|
|
9400
|
-
},
|
|
9401
|
-
{
|
|
9402
|
-
"flag": "--name <n>",
|
|
9403
|
-
"description": "Output basename (default: `sandbox`)"
|
|
9404
|
-
},
|
|
9405
|
-
{
|
|
9406
|
-
"flag": "--bundle <path>",
|
|
9407
|
-
"description": "Use an already-exported bundle instead of an entry file"
|
|
9408
|
-
},
|
|
9409
|
-
{
|
|
9410
|
-
"flag": "--lock[=<path>]",
|
|
9411
|
-
"description": "Use (and create) xano.lock — default: beside the entry file"
|
|
9412
|
-
},
|
|
9413
|
-
{
|
|
9414
|
-
"flag": "--frozen-lock",
|
|
9415
|
-
"description": "CI guard: fail instead of changing the lock"
|
|
9416
|
-
},
|
|
9417
|
-
{
|
|
9418
|
-
"flag": "--strict",
|
|
9419
|
-
"description": "Promote every export warning (data-losing shapes, unresolvable filters) to a hard failure"
|
|
9420
|
-
},
|
|
9421
9220
|
{
|
|
9422
9221
|
"flag": "--origin <origin>",
|
|
9423
9222
|
"description": "Xano control-plane OAuth host (default: $XANO_ORIGIN)"
|
|
@@ -9431,18 +9230,14 @@
|
|
|
9431
9230
|
"description": "Use the project-local ./.xano/auth.json instead of the shared cache"
|
|
9432
9231
|
}
|
|
9433
9232
|
],
|
|
9434
|
-
"description": "
|
|
9233
|
+
"description": "Who am I, which workspace, and the env this project last deployed to"
|
|
9435
9234
|
},
|
|
9436
9235
|
{
|
|
9437
9236
|
"command": "test list",
|
|
9438
9237
|
"flags": [
|
|
9439
9238
|
{
|
|
9440
|
-
"flag": "--
|
|
9441
|
-
"description": "Which environment to read (
|
|
9442
|
-
},
|
|
9443
|
-
{
|
|
9444
|
-
"flag": "--name <n>",
|
|
9445
|
-
"description": "Ephemeral env to target (default: the one this project last deployed to)"
|
|
9239
|
+
"flag": "--env <target>",
|
|
9240
|
+
"description": "Which environment to read: workspace, ephemeral (the one this project last deployed to), or ephemeral:<name>"
|
|
9446
9241
|
},
|
|
9447
9242
|
{
|
|
9448
9243
|
"flag": "--kind <unit|workflow>",
|
|
@@ -9468,12 +9263,8 @@
|
|
|
9468
9263
|
"args": "<name>",
|
|
9469
9264
|
"flags": [
|
|
9470
9265
|
{
|
|
9471
|
-
"flag": "--
|
|
9472
|
-
"description": "Which environment to read (
|
|
9473
|
-
},
|
|
9474
|
-
{
|
|
9475
|
-
"flag": "--name <n>",
|
|
9476
|
-
"description": "Ephemeral env to target (default: the one this project last deployed to)"
|
|
9266
|
+
"flag": "--env <target>",
|
|
9267
|
+
"description": "Which environment to read: workspace, ephemeral (the one this project last deployed to), or ephemeral:<name>"
|
|
9477
9268
|
},
|
|
9478
9269
|
{
|
|
9479
9270
|
"flag": "--origin <origin>",
|
|
@@ -9494,12 +9285,8 @@
|
|
|
9494
9285
|
"command": "test run-all",
|
|
9495
9286
|
"flags": [
|
|
9496
9287
|
{
|
|
9497
|
-
"flag": "--
|
|
9498
|
-
"description": "Which environment to read (
|
|
9499
|
-
},
|
|
9500
|
-
{
|
|
9501
|
-
"flag": "--name <n>",
|
|
9502
|
-
"description": "Ephemeral env to target (default: the one this project last deployed to)"
|
|
9288
|
+
"flag": "--env <target>",
|
|
9289
|
+
"description": "Which environment to read: workspace, ephemeral (the one this project last deployed to), or ephemeral:<name>"
|
|
9503
9290
|
},
|
|
9504
9291
|
{
|
|
9505
9292
|
"flag": "--kind <unit|workflow>",
|
|
@@ -9534,49 +9321,6 @@
|
|
|
9534
9321
|
],
|
|
9535
9322
|
"description": "Install the latest @xanots/sdk, or report an available upgrade with --check"
|
|
9536
9323
|
},
|
|
9537
|
-
{
|
|
9538
|
-
"command": "validate",
|
|
9539
|
-
"args": "<file>",
|
|
9540
|
-
"flags": [
|
|
9541
|
-
{
|
|
9542
|
-
"flag": "--bundle <path>",
|
|
9543
|
-
"description": "Use an already-exported bundle instead of an entry file"
|
|
9544
|
-
},
|
|
9545
|
-
{
|
|
9546
|
-
"flag": "--runtime",
|
|
9547
|
-
"description": "After the round-trip, run each deployed function and report"
|
|
9548
|
-
},
|
|
9549
|
-
{
|
|
9550
|
-
"flag": "--capture",
|
|
9551
|
-
"description": "Write each round-tripped function's fetched JSON"
|
|
9552
|
-
},
|
|
9553
|
-
{
|
|
9554
|
-
"flag": "--verbose",
|
|
9555
|
-
"description": "Print full diffs and raw engine detail"
|
|
9556
|
-
},
|
|
9557
|
-
{
|
|
9558
|
-
"flag": "--instance <url>",
|
|
9559
|
-
"description": "Override XANO_VALIDATE_INSTANCE for this run"
|
|
9560
|
-
},
|
|
9561
|
-
{
|
|
9562
|
-
"flag": "--out, -o <path>",
|
|
9563
|
-
"description": "Write the artifact to this path instead of stdout"
|
|
9564
|
-
},
|
|
9565
|
-
{
|
|
9566
|
-
"flag": "--lock[=<path>]",
|
|
9567
|
-
"description": "Use (and create) xano.lock — default: beside the entry file"
|
|
9568
|
-
},
|
|
9569
|
-
{
|
|
9570
|
-
"flag": "--frozen-lock",
|
|
9571
|
-
"description": "CI guard: fail instead of changing the lock"
|
|
9572
|
-
},
|
|
9573
|
-
{
|
|
9574
|
-
"flag": "--strict",
|
|
9575
|
-
"description": "Promote every export warning (data-losing shapes, unresolvable filters) to a hard failure"
|
|
9576
|
-
}
|
|
9577
|
-
],
|
|
9578
|
-
"description": "Deploy to a throwaway tenant and verify the round-trip"
|
|
9579
|
-
},
|
|
9580
9324
|
{
|
|
9581
9325
|
"command": "version",
|
|
9582
9326
|
"description": "Print the CLI version"
|
|
@@ -9597,82 +9341,7 @@
|
|
|
9597
9341
|
"description": "Use the project-local ./.xano/auth.json instead of the shared cache"
|
|
9598
9342
|
}
|
|
9599
9343
|
],
|
|
9600
|
-
"description": "
|
|
9601
|
-
},
|
|
9602
|
-
{
|
|
9603
|
-
"command": "workspace codegen",
|
|
9604
|
-
"args": "<path>",
|
|
9605
|
-
"flags": [
|
|
9606
|
-
{
|
|
9607
|
-
"flag": "--name <n>",
|
|
9608
|
-
"description": "Project name (default: the target directory's basename)"
|
|
9609
|
-
},
|
|
9610
|
-
{
|
|
9611
|
-
"flag": "--framework <id>",
|
|
9612
|
-
"description": "Frontend framework to scaffold: react (default), svelte"
|
|
9613
|
-
},
|
|
9614
|
-
{
|
|
9615
|
-
"flag": "--theme <id>",
|
|
9616
|
-
"description": "shadcn/ui theme — <base> or <base>-<accent> (e.g. zinc-blue), a registry theme URL, or a registry item JSON path; an unknown id lists every base and accent"
|
|
9617
|
-
},
|
|
9618
|
-
{
|
|
9619
|
-
"flag": "--radius <len>",
|
|
9620
|
-
"description": "Corner radius for the scaffold's theme — a number of rem (0, 0.5, 1) or a CSS length"
|
|
9621
|
-
},
|
|
9622
|
-
{
|
|
9623
|
-
"flag": "--dark <mode>",
|
|
9624
|
-
"description": "What switches the app into its dark palette: system (default, follows the OS), toggle (adds a control), off"
|
|
9625
|
-
},
|
|
9626
|
-
{
|
|
9627
|
-
"flag": "--font <id>",
|
|
9628
|
-
"description": "Body typeface, self-hosted from its @fontsource package (default: the system stack)"
|
|
9629
|
-
},
|
|
9630
|
-
{
|
|
9631
|
-
"flag": "--font-mono <id>",
|
|
9632
|
-
"description": "Code typeface (default: the system mono stack)"
|
|
9633
|
-
},
|
|
9634
|
-
{
|
|
9635
|
-
"flag": "--font-heading <id>",
|
|
9636
|
-
"description": "Heading typeface, bound to h1–h6 (default: inherits the body face)"
|
|
9637
|
-
},
|
|
9638
|
-
{
|
|
9639
|
-
"flag": "--icons <id>",
|
|
9640
|
-
"description": "Icon set: lucide (default), tabler, phosphor"
|
|
9641
|
-
},
|
|
9642
|
-
{
|
|
9643
|
-
"flag": "--ai <preset>",
|
|
9644
|
-
"description": "AI instruction files to scaffold: claude, codex, cursor, none"
|
|
9645
|
-
},
|
|
9646
|
-
{
|
|
9647
|
-
"flag": "--force",
|
|
9648
|
-
"description": "Scaffold into a non-empty directory (overwriting our own files)"
|
|
9649
|
-
},
|
|
9650
|
-
{
|
|
9651
|
-
"flag": "--no-install",
|
|
9652
|
-
"description": "Skip the post-scaffold npm install"
|
|
9653
|
-
},
|
|
9654
|
-
{
|
|
9655
|
-
"flag": "--no-verify",
|
|
9656
|
-
"description": "Skip the offline round-trip check that the written tree re-exports (no network, no deploy)"
|
|
9657
|
-
},
|
|
9658
|
-
{
|
|
9659
|
-
"flag": "--report <grouped|full|json>",
|
|
9660
|
-
"description": "Findings as grouped root causes (default), every site, or JSON"
|
|
9661
|
-
},
|
|
9662
|
-
{
|
|
9663
|
-
"flag": "--origin <origin>",
|
|
9664
|
-
"description": "Xano control-plane OAuth host (default: $XANO_ORIGIN)"
|
|
9665
|
-
},
|
|
9666
|
-
{
|
|
9667
|
-
"flag": "--config <path>",
|
|
9668
|
-
"description": "Explicit credential file (default: $XANO_CONFIG)"
|
|
9669
|
-
},
|
|
9670
|
-
{
|
|
9671
|
-
"flag": "--local",
|
|
9672
|
-
"description": "Use the project-local ./.xano/auth.json instead of the shared cache"
|
|
9673
|
-
}
|
|
9674
|
-
],
|
|
9675
|
-
"description": "Decode it into a runnable XanoTS project"
|
|
9344
|
+
"description": "Show the signed-in user and instance URL"
|
|
9676
9345
|
},
|
|
9677
9346
|
{
|
|
9678
9347
|
"command": "workspace details",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xanots/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "XanoTS — your Xano backend as TypeScript. `xanots deploy` ships your typed workspace (and an optional static frontend) to a live, auto-expiring ephemeral environment and prints its URL. init → deploy → URL.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xanots",
|