alchemy 2.0.0-beta.5 → 2.0.0-beta.cli-platform-split
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/alchemy.js +1 -1
- package/bin/alchemy.js.map +1 -1
- package/package.json +7 -5
- package/bin/alchemy.sh +0 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "alchemy",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.cli-platform-split",
|
|
4
4
|
"homepage": "https://alchemy.run",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Sam Goodwin <sam@alchemy.run>",
|
|
@@ -9,9 +9,6 @@
|
|
|
9
9
|
"url": "git+https://github.com/alchemy-run/alchemy-effect.git",
|
|
10
10
|
"directory": "alchemy"
|
|
11
11
|
},
|
|
12
|
-
"bin": {
|
|
13
|
-
"alchemy": "bin/alchemy.sh"
|
|
14
|
-
},
|
|
15
12
|
"files": [
|
|
16
13
|
"bin",
|
|
17
14
|
"lib",
|
|
@@ -195,11 +192,16 @@
|
|
|
195
192
|
"bun": "./src/Util/index.ts",
|
|
196
193
|
"worker": "./src/Util/index.ts",
|
|
197
194
|
"import": "./lib/Util/index.js"
|
|
198
|
-
}
|
|
195
|
+
},
|
|
196
|
+
"./bin/alchemy.js": "./bin/alchemy.js"
|
|
199
197
|
},
|
|
200
198
|
"publishConfig": {
|
|
201
199
|
"access": "public"
|
|
202
200
|
},
|
|
201
|
+
"optionalDependencies": {
|
|
202
|
+
"@alchemy.run/cli-posix": "0.0.1",
|
|
203
|
+
"@alchemy.run/cli-win32": "0.0.1"
|
|
204
|
+
},
|
|
203
205
|
"dependencies": {
|
|
204
206
|
"@clack/prompts": "^0.11.0",
|
|
205
207
|
"@ai-sdk/anthropic": "^3.0.31",
|
package/bin/alchemy.sh
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# Resolve symlink to find the real bin directory
|
|
3
|
-
link="$(readlink "$0")"
|
|
4
|
-
if [ -n "$link" ]; then
|
|
5
|
-
dir="$(cd "$(dirname "$0")" && cd "$(dirname "$link")" && pwd)"
|
|
6
|
-
else
|
|
7
|
-
dir="$(cd "$(dirname "$0")" && pwd)"
|
|
8
|
-
fi
|
|
9
|
-
if command -v bun >/dev/null 2>&1; then
|
|
10
|
-
exec bun "$dir/alchemy.js" "$@"
|
|
11
|
-
else
|
|
12
|
-
exec node "$dir/alchemy.js" "$@"
|
|
13
|
-
fi
|