@computesdk/cli 2.6.13 → 2.6.15

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/cli-manifest.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "schemaVersion": 1,
3
3
  "bin": "compute",
4
4
  "package": "@computesdk/cli",
5
- "version": "2.6.13",
5
+ "version": "2.6.15",
6
6
  "source": {
7
7
  "repo": "computesdk/computesdk",
8
8
  "released": false
@@ -34,6 +34,10 @@
34
34
  "args": [],
35
35
  "flags": [
36
36
  "--base-url",
37
+ "--no-browser",
38
+ "--json",
39
+ "--wait",
40
+ "--new",
37
41
  "--help"
38
42
  ],
39
43
  "summary": "Authenticate with ComputeSDK (OAuth device flow)"
@@ -1744,6 +1748,23 @@
1744
1748
  ],
1745
1749
  "summary": "Add credit — prints a Stripe checkout link to pay in your browser (owner/admin)"
1746
1750
  },
1751
+ {
1752
+ "path": [
1753
+ "status"
1754
+ ],
1755
+ "aliases": [],
1756
+ "args": [],
1757
+ "flags": [
1758
+ "--api-key",
1759
+ "--base-url",
1760
+ "--org",
1761
+ "--allow-untrusted-host",
1762
+ "--json",
1763
+ "--check",
1764
+ "--help"
1765
+ ],
1766
+ "summary": "Show authentication, effective organization, credits, selected sandbox and routing readiness"
1767
+ },
1747
1768
  {
1748
1769
  "path": [
1749
1770
  "instances"
@@ -1792,6 +1813,7 @@
1792
1813
  "--timeout-ms",
1793
1814
  "--secret",
1794
1815
  "--no-use",
1816
+ "--no-browser",
1795
1817
  "--quiet",
1796
1818
  "--verbose",
1797
1819
  "--api-key",
@@ -2016,6 +2038,7 @@
2016
2038
  "--disk-mb",
2017
2039
  "--timeout-ms",
2018
2040
  "--secret",
2041
+ "--no-browser",
2019
2042
  "--keep",
2020
2043
  "--detach",
2021
2044
  "--yes",
@@ -2027,7 +2050,7 @@
2027
2050
  "--org",
2028
2051
  "--help"
2029
2052
  ],
2030
- "summary": "Create an instance, run a command on it, and tear it down. `run -- <cmd>` waits and destroys; `--keep` waits and keeps; `-d` returns immediately."
2053
+ "summary": "Create an instance, run a command on it, and tear it down. `run <cmd>` waits and destroys; `--keep` waits and keeps; `-d` returns immediately."
2031
2054
  },
2032
2055
  {
2033
2056
  "path": [
@@ -2085,7 +2108,10 @@
2085
2108
  "flags": [
2086
2109
  "--cwd",
2087
2110
  "--env",
2111
+ "--timeout",
2088
2112
  "--timeout-ms",
2113
+ "--stream",
2114
+ "--detach",
2089
2115
  "--api-key",
2090
2116
  "--base-url",
2091
2117
  "--allow-untrusted-host",
@@ -2093,7 +2119,7 @@
2093
2119
  "--org",
2094
2120
  "--help"
2095
2121
  ],
2096
- "summary": "Run a one-shot command and print its result (options before the command; -- also works)"
2122
+ "summary": "Run a shell command or argv in a sandbox; --stream follows output, --detach returns a job ID"
2097
2123
  },
2098
2124
  {
2099
2125
  "path": [
@@ -2694,7 +2720,7 @@
2694
2720
  ],
2695
2721
  "aliases": [],
2696
2722
  "args": [
2697
- "[providers...]"
2723
+ "[providersAndPath...]"
2698
2724
  ],
2699
2725
  "flags": [
2700
2726
  "--provider",
@@ -2710,16 +2736,347 @@
2710
2736
  "--timeout-ms",
2711
2737
  "--secret",
2712
2738
  "--no-use",
2739
+ "--no-browser",
2713
2740
  "--quiet",
2714
2741
  "--verbose",
2715
2742
  "--api-key",
2716
2743
  "--base-url",
2717
2744
  "--allow-untrusted-host",
2718
2745
  "--json",
2746
+ "--org",
2719
2747
  "--list",
2720
2748
  "--help"
2721
2749
  ],
2722
- "summary": "Create a sandbox (short for `compute sandboxes create`); `compute new vercel` or `--vercel` picks the provider"
2750
+ "summary": "Create a sandbox; compute new e2b . creates on e2b and syncs a local project to /app"
2751
+ },
2752
+ {
2753
+ "path": [
2754
+ "list"
2755
+ ],
2756
+ "aliases": [],
2757
+ "args": [],
2758
+ "flags": [
2759
+ "--status",
2760
+ "--customer-only",
2761
+ "--search",
2762
+ "--sort",
2763
+ "--direction",
2764
+ "--limit",
2765
+ "--cursor",
2766
+ "--quiet",
2767
+ "--verbose",
2768
+ "--api-key",
2769
+ "--base-url",
2770
+ "--allow-untrusted-host",
2771
+ "--json",
2772
+ "--org",
2773
+ "--help"
2774
+ ],
2775
+ "summary": "List sandboxes"
2776
+ },
2777
+ {
2778
+ "path": [
2779
+ "get"
2780
+ ],
2781
+ "aliases": [],
2782
+ "args": [
2783
+ "[sandboxId]"
2784
+ ],
2785
+ "flags": [
2786
+ "--verbose",
2787
+ "--api-key",
2788
+ "--base-url",
2789
+ "--allow-untrusted-host",
2790
+ "--json",
2791
+ "--org",
2792
+ "--help"
2793
+ ],
2794
+ "summary": "Show one sandbox (includes the BYOK attach descriptor)"
2795
+ },
2796
+ {
2797
+ "path": [
2798
+ "use"
2799
+ ],
2800
+ "aliases": [],
2801
+ "args": [
2802
+ "[sandboxId]"
2803
+ ],
2804
+ "flags": [
2805
+ "--clear",
2806
+ "--api-key",
2807
+ "--base-url",
2808
+ "--allow-untrusted-host",
2809
+ "--json",
2810
+ "--org",
2811
+ "--help"
2812
+ ],
2813
+ "summary": "Show or set this directory's current instance (COMPUTE_INSTANCE always wins)"
2814
+ },
2815
+ {
2816
+ "path": [
2817
+ "destroy"
2818
+ ],
2819
+ "aliases": [],
2820
+ "args": [
2821
+ "[sandboxId]"
2822
+ ],
2823
+ "flags": [
2824
+ "--api-key",
2825
+ "--base-url",
2826
+ "--allow-untrusted-host",
2827
+ "--json",
2828
+ "--org",
2829
+ "--help"
2830
+ ],
2831
+ "summary": "Destroy a sandbox (verified teardown + cost settle)"
2832
+ },
2833
+ {
2834
+ "path": [
2835
+ "run"
2836
+ ],
2837
+ "aliases": [],
2838
+ "args": [
2839
+ "[command...]"
2840
+ ],
2841
+ "flags": [
2842
+ "--provider",
2843
+ "--byok",
2844
+ "--managed",
2845
+ "--size",
2846
+ "--label",
2847
+ "--image",
2848
+ "--snapshot-id",
2849
+ "--cpus",
2850
+ "--memory-mb",
2851
+ "--disk-mb",
2852
+ "--timeout-ms",
2853
+ "--secret",
2854
+ "--no-browser",
2855
+ "--keep",
2856
+ "--detach",
2857
+ "--yes",
2858
+ "--quiet",
2859
+ "--api-key",
2860
+ "--base-url",
2861
+ "--allow-untrusted-host",
2862
+ "--json",
2863
+ "--org",
2864
+ "--help"
2865
+ ],
2866
+ "summary": "Create an instance, run a command on it, and tear it down. `run <cmd>` waits and destroys; `--keep` waits and keeps; `-d` returns immediately."
2867
+ },
2868
+ {
2869
+ "path": [
2870
+ "serve"
2871
+ ],
2872
+ "aliases": [],
2873
+ "args": [
2874
+ "[sandboxId]",
2875
+ "[command...]"
2876
+ ],
2877
+ "flags": [
2878
+ "--port",
2879
+ "--cwd",
2880
+ "--env",
2881
+ "--timeout-ms",
2882
+ "--quiet",
2883
+ "--api-key",
2884
+ "--base-url",
2885
+ "--allow-untrusted-host",
2886
+ "--json",
2887
+ "--org",
2888
+ "--help"
2889
+ ],
2890
+ "summary": "Start a server, wait for its port to listen publicly, and print the URL"
2891
+ },
2892
+ {
2893
+ "path": [
2894
+ "exec"
2895
+ ],
2896
+ "aliases": [],
2897
+ "args": [
2898
+ "[sandboxId]",
2899
+ "[command...]"
2900
+ ],
2901
+ "flags": [
2902
+ "--cwd",
2903
+ "--env",
2904
+ "--timeout",
2905
+ "--timeout-ms",
2906
+ "--stream",
2907
+ "--detach",
2908
+ "--api-key",
2909
+ "--base-url",
2910
+ "--allow-untrusted-host",
2911
+ "--json",
2912
+ "--org",
2913
+ "--help"
2914
+ ],
2915
+ "summary": "Run a shell command or argv in a sandbox; --stream follows output, --detach returns a job ID"
2916
+ },
2917
+ {
2918
+ "path": [
2919
+ "spawn"
2920
+ ],
2921
+ "aliases": [],
2922
+ "args": [
2923
+ "[sandboxId]",
2924
+ "[command...]"
2925
+ ],
2926
+ "flags": [
2927
+ "--cwd",
2928
+ "--env",
2929
+ "--stdin",
2930
+ "--quiet",
2931
+ "--api-key",
2932
+ "--base-url",
2933
+ "--allow-untrusted-host",
2934
+ "--json",
2935
+ "--org",
2936
+ "--help"
2937
+ ],
2938
+ "summary": "Start a detached process that outlives this request (options before the command; -- also works)"
2939
+ },
2940
+ {
2941
+ "path": [
2942
+ "ps"
2943
+ ],
2944
+ "aliases": [],
2945
+ "args": [
2946
+ "[sandboxId]"
2947
+ ],
2948
+ "flags": [
2949
+ "--api-key",
2950
+ "--base-url",
2951
+ "--allow-untrusted-host",
2952
+ "--json",
2953
+ "--org",
2954
+ "--help"
2955
+ ],
2956
+ "summary": "List the sandbox's tracked processes"
2957
+ },
2958
+ {
2959
+ "path": [
2960
+ "logs"
2961
+ ],
2962
+ "aliases": [],
2963
+ "args": [
2964
+ "[jobOrSandboxId]",
2965
+ "[jobId]"
2966
+ ],
2967
+ "flags": [
2968
+ "--follow",
2969
+ "--api-key",
2970
+ "--base-url",
2971
+ "--allow-untrusted-host",
2972
+ "--json",
2973
+ "--org",
2974
+ "--help"
2975
+ ],
2976
+ "summary": "Show a process's buffered output (--follow streams until exit)"
2977
+ },
2978
+ {
2979
+ "path": [
2980
+ "wait"
2981
+ ],
2982
+ "aliases": [],
2983
+ "args": [
2984
+ "[jobOrSandboxId]",
2985
+ "[jobId]"
2986
+ ],
2987
+ "flags": [
2988
+ "--timeout-ms",
2989
+ "--api-key",
2990
+ "--base-url",
2991
+ "--allow-untrusted-host",
2992
+ "--json",
2993
+ "--org",
2994
+ "--help"
2995
+ ],
2996
+ "summary": "Block until a process exits"
2997
+ },
2998
+ {
2999
+ "path": [
3000
+ "kill"
3001
+ ],
3002
+ "aliases": [],
3003
+ "args": [
3004
+ "[jobOrSandboxId]",
3005
+ "[jobId]"
3006
+ ],
3007
+ "flags": [
3008
+ "--signal",
3009
+ "--api-key",
3010
+ "--base-url",
3011
+ "--allow-untrusted-host",
3012
+ "--json",
3013
+ "--org",
3014
+ "--help"
3015
+ ],
3016
+ "summary": "Signal a process (default SIGTERM)"
3017
+ },
3018
+ {
3019
+ "path": [
3020
+ "cp"
3021
+ ],
3022
+ "aliases": [],
3023
+ "args": [
3024
+ "<src>",
3025
+ "<dst>"
3026
+ ],
3027
+ "flags": [
3028
+ "--quiet",
3029
+ "--api-key",
3030
+ "--base-url",
3031
+ "--allow-untrusted-host",
3032
+ "--org",
3033
+ "--json",
3034
+ "--help"
3035
+ ],
3036
+ "summary": "Copy files/dirs between here and an instance — remote side is [id:]/abs/path"
3037
+ },
3038
+ {
3039
+ "path": [
3040
+ "url"
3041
+ ],
3042
+ "aliases": [],
3043
+ "args": [
3044
+ "[sandboxId]"
3045
+ ],
3046
+ "flags": [
3047
+ "--port",
3048
+ "--protocol",
3049
+ "--quiet",
3050
+ "--api-key",
3051
+ "--base-url",
3052
+ "--allow-untrusted-host",
3053
+ "--json",
3054
+ "--org",
3055
+ "--help"
3056
+ ],
3057
+ "summary": "Resolve the provider's public URL for a port"
3058
+ },
3059
+ {
3060
+ "path": [
3061
+ "sync"
3062
+ ],
3063
+ "aliases": [],
3064
+ "args": [
3065
+ "<source>",
3066
+ "<destination>"
3067
+ ],
3068
+ "flags": [
3069
+ "--delete",
3070
+ "--dry-run",
3071
+ "--watch",
3072
+ "--api-key",
3073
+ "--base-url",
3074
+ "--org",
3075
+ "--allow-untrusted-host",
3076
+ "--json",
3077
+ "--help"
3078
+ ],
3079
+ "summary": "One-way directory sync: local paths or [sandbox-id]:/path (empty ID selects the current sandbox)"
2723
3080
  },
2724
3081
  {
2725
3082
  "path": [