@substructure.ai/cli 0.1.21 → 0.2.0
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/README.md +2 -2
- package/package.json +6 -6
- package/src/index.js +2 -2
- /package/bin/{substructure.js → subs.js} +0 -0
package/README.md
CHANGED
|
@@ -15,10 +15,10 @@ Supported platforms: macOS (arm64, x64), Linux (arm64, x64).
|
|
|
15
15
|
## Usage
|
|
16
16
|
|
|
17
17
|
```sh
|
|
18
|
-
|
|
18
|
+
subs serve --dev --provider openrouter --worker-url http://localhost:4444
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Run `
|
|
21
|
+
Run `subs --help` for the full command list. Cloud management commands (`apps`, `keys`, `webhook`, `sessions`, …) are top-level subcommands.
|
|
22
22
|
|
|
23
23
|
## Links
|
|
24
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@substructure.ai/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "CLI for Substructure",
|
|
5
5
|
"license": "FSL-1.1-ALv2",
|
|
6
6
|
"type": "module",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
28
|
"bin": {
|
|
29
|
-
"
|
|
29
|
+
"subs": "./bin/subs.js"
|
|
30
30
|
},
|
|
31
31
|
"main": "./src/index.js",
|
|
32
32
|
"files": [
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"README.md"
|
|
37
37
|
],
|
|
38
38
|
"optionalDependencies": {
|
|
39
|
-
"@substructure.ai/cli-darwin-arm64": "0.1.
|
|
40
|
-
"@substructure.ai/cli-darwin-x64": "0.1.
|
|
41
|
-
"@substructure.ai/cli-linux-arm64": "0.1.
|
|
42
|
-
"@substructure.ai/cli-linux-x64": "0.1.
|
|
39
|
+
"@substructure.ai/cli-darwin-arm64": "0.1.22",
|
|
40
|
+
"@substructure.ai/cli-darwin-x64": "0.1.22",
|
|
41
|
+
"@substructure.ai/cli-linux-arm64": "0.1.22",
|
|
42
|
+
"@substructure.ai/cli-linux-x64": "0.1.22"
|
|
43
43
|
}
|
|
44
44
|
}
|
package/src/index.js
CHANGED
|
@@ -24,11 +24,11 @@ export function resolve() {
|
|
|
24
24
|
|
|
25
25
|
try {
|
|
26
26
|
const pkgJson = require.resolve(`${pkg}/package.json`);
|
|
27
|
-
return join(pkgJson, "..", "bin", "
|
|
27
|
+
return join(pkgJson, "..", "bin", "subs");
|
|
28
28
|
} catch {
|
|
29
29
|
throw new Error(
|
|
30
30
|
`Could not find package ${pkg}. Make sure it's installed.\n` +
|
|
31
|
-
`If you're developing locally, build the Rust binary with: cargo build -p substructure-core --bin
|
|
31
|
+
`If you're developing locally, build the Rust binary with: cargo build -p substructure-core --bin subs`
|
|
32
32
|
);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
File without changes
|