@studio-foundation/cli 0.17.0 → 0.18.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/bin/studio.mjs
CHANGED
|
@@ -25,6 +25,14 @@ if (platform) {
|
|
|
25
25
|
|
|
26
26
|
if (binary) {
|
|
27
27
|
const { status, error } = spawnSync(binary, process.argv.slice(2), { stdio: 'inherit' });
|
|
28
|
+
if (error?.code === 'EACCES') {
|
|
29
|
+
console.error(
|
|
30
|
+
`studio: ${binary} is not executable.\n` +
|
|
31
|
+
`Run: chmod +x ${binary}\n` +
|
|
32
|
+
'A published binary ships mode 755, so please report this install.'
|
|
33
|
+
);
|
|
34
|
+
process.exit(126);
|
|
35
|
+
}
|
|
28
36
|
if (error) throw error;
|
|
29
37
|
process.exit(status ?? 1);
|
|
30
38
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "0.
|
|
1
|
+
export declare const PACKAGE_VERSION = "0.18.0";
|
|
2
2
|
/** Contents of cli/templates/, keyed by path relative to that directory. */
|
|
3
3
|
export declare const BUNDLED_ASSETS: Record<string, string>;
|
|
4
4
|
//# sourceMappingURL=bundled-assets.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by scripts/gen-bundled-assets.mjs — do not edit.
|
|
2
|
-
export const PACKAGE_VERSION = "0.
|
|
2
|
+
export const PACKAGE_VERSION = "0.18.0";
|
|
3
3
|
/** Contents of cli/templates/, keyed by path relative to that directory. */
|
|
4
4
|
export const BUNDLED_ASSETS = {
|
|
5
5
|
".studiorc.yaml": "# Studio Configuration\n\nproviders:\n anthropic:\n apiKey: ${ANTHROPIC_API_KEY}\n # openai:\n # apiKey: ${OPENAI_API_KEY}\n\npaths:\n pipelines: ./pipelines\n contracts: ./configs/contracts\n agents: ./configs/agents\n\ndefaults:\n provider: anthropic\n model: claude-sonnet-4-20250514\n",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@studio-foundation/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "CLI for Studio — declarative YAML runtime for AI agents with structured output validation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"js-yaml": "^4.1.1",
|
|
30
30
|
"ora": "^9.3.0",
|
|
31
31
|
"semver": "^7.7.2",
|
|
32
|
-
"@studio-foundation/
|
|
33
|
-
"@studio-foundation/
|
|
34
|
-
"@studio-foundation/
|
|
35
|
-
"@studio-foundation/
|
|
32
|
+
"@studio-foundation/api": "0.18.0",
|
|
33
|
+
"@studio-foundation/contracts": "0.18.0",
|
|
34
|
+
"@studio-foundation/engine": "0.18.0",
|
|
35
|
+
"@studio-foundation/runner": "0.18.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/js-yaml": "^4.0.9",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"vitest": "^4.0.18"
|
|
43
43
|
},
|
|
44
44
|
"optionalDependencies": {
|
|
45
|
-
"@studio-foundation/cli-darwin-arm64": "0.
|
|
46
|
-
"@studio-foundation/cli-darwin-x64": "0.
|
|
47
|
-
"@studio-foundation/cli-linux-arm64": "0.
|
|
48
|
-
"@studio-foundation/cli-linux-arm64-musl": "0.
|
|
49
|
-
"@studio-foundation/cli-linux-x64": "0.
|
|
50
|
-
"@studio-foundation/cli-linux-x64-baseline": "0.
|
|
51
|
-
"@studio-foundation/cli-linux-x64-musl": "0.
|
|
52
|
-
"@studio-foundation/cli-win-x64": "0.
|
|
45
|
+
"@studio-foundation/cli-darwin-arm64": "0.18.0",
|
|
46
|
+
"@studio-foundation/cli-darwin-x64": "0.18.0",
|
|
47
|
+
"@studio-foundation/cli-linux-arm64": "0.18.0",
|
|
48
|
+
"@studio-foundation/cli-linux-arm64-musl": "0.18.0",
|
|
49
|
+
"@studio-foundation/cli-linux-x64": "0.18.0",
|
|
50
|
+
"@studio-foundation/cli-linux-x64-baseline": "0.18.0",
|
|
51
|
+
"@studio-foundation/cli-linux-x64-musl": "0.18.0",
|
|
52
|
+
"@studio-foundation/cli-win-x64": "0.18.0"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"prebuild": "node ../scripts/gen-bundled-assets.mjs",
|