acryl-cli-darwin-arm64 0.1.30 → 0.1.35
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/package.json +1 -1
- package/runtime/lib/bin.js +831 -220
- package/runtime/lib/index.js +831 -220
- package/runtime/lib/types/buildInfo.generated.d.ts +4 -0
- package/runtime/lib/types/tui/acrylMark.d.ts +14 -0
- package/runtime/lib/types/tui/actions.d.ts +8 -6
- package/runtime/lib/types/tui/auth-guidance.d.ts +0 -2
- package/runtime/lib/types/tui/login/LoginOverlay.d.ts +46 -11
- package/runtime/lib/types/tui/login/types.d.ts +5 -1
- package/runtime/lib/types/tui/modelProfile/ModelProfileOverlay.d.ts +55 -3
- package/runtime/lib/types/tui/modelProfile/types.d.ts +23 -0
- package/runtime/lib/types/tui/store.d.ts +10 -0
- package/runtime/node_modules/.bin/dsh +4 -16
- package/runtime/node_modules/.modules.yaml +7 -3
- package/runtime/node_modules/.package-map.json +1 -1
- package/runtime/node_modules/@earendil-works/pi-ai/dist/auth/oauth/oauth-page.js +1 -1
- package/runtime/node_modules/acryl-control/package.json +1 -1
- package/runtime/node_modules/acryl-harness-runtime/lib/index.mjs +129 -2
- package/runtime/node_modules/acryl-harness-runtime/lib/types/acryl-home.d.ts +35 -0
- package/runtime/node_modules/acryl-harness-runtime/lib/types/index.d.ts +2 -0
- package/runtime/node_modules/acryl-harness-runtime/lib/types/session-bridge.d.ts +13 -0
- package/runtime/node_modules/acryl-harness-runtime/lib/types/session-log-exporter.d.ts +31 -0
- package/runtime/node_modules/acryl-harness-runtime/package.json +1 -1
- package/runtime/node_modules/acryl-harness-runtime/src/acryl-home.ts +50 -0
- package/runtime/node_modules/acryl-harness-runtime/src/index.ts +16 -0
- package/runtime/node_modules/acryl-harness-runtime/src/session-bridge.ts +24 -1
- package/runtime/node_modules/acryl-harness-runtime/src/session-log-exporter.ts +69 -0
- package/runtime/package.json +3 -1
- package/runtime/receipt.json +2 -2
- package/runtime/node_modules/.bin/anthropic-ai-sdk +0 -55
- package/runtime/node_modules/.bin/cordis +0 -55
- package/runtime/node_modules/.bin/is-docker +0 -55
- package/runtime/node_modules/.bin/is-inside-container +0 -55
- package/runtime/node_modules/.bin/js-yaml +0 -55
- package/runtime/node_modules/.bin/katex +0 -55
- package/runtime/node_modules/.bin/loose-envify +0 -55
- package/runtime/node_modules/.bin/marked +0 -55
- package/runtime/node_modules/.bin/node-which +0 -55
- package/runtime/node_modules/.bin/openai +0 -55
- package/runtime/node_modules/.bin/pi-ai +0 -55
- package/runtime/node_modules/.bin/pn +0 -55
- package/runtime/node_modules/.bin/pnpm +0 -55
- package/runtime/node_modules/.bin/pnpx +0 -55
- package/runtime/node_modules/.bin/pnx +0 -55
- package/runtime/node_modules/.bin/semver +0 -55
- package/runtime/node_modules/.bin/yaml +0 -55
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# Resolve $0 through symlinks so basedir is the shim's real directory.
|
|
3
|
-
# Cap hops at the kernel's ELOOP limit so a cycle cannot hang the shim.
|
|
4
|
-
link="$0"
|
|
5
|
-
hops=0
|
|
6
|
-
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
-
hops=$((hops+1))
|
|
8
|
-
target=$(readlink "$link")
|
|
9
|
-
case "$target" in
|
|
10
|
-
/*) link="$target" ;;
|
|
11
|
-
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
-
esac
|
|
13
|
-
done
|
|
14
|
-
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
-
basedir_win="$basedir"
|
|
16
|
-
exe=""
|
|
17
|
-
msys=""
|
|
18
|
-
|
|
19
|
-
case `uname -a` in
|
|
20
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
-
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
-
fi
|
|
24
|
-
exe=".exe"
|
|
25
|
-
msys="true"
|
|
26
|
-
;;
|
|
27
|
-
*WSL2*)
|
|
28
|
-
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
-
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
-
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
-
basedir_win="$basedir"
|
|
32
|
-
else
|
|
33
|
-
exe=".exe"
|
|
34
|
-
fi
|
|
35
|
-
fi
|
|
36
|
-
;;
|
|
37
|
-
esac
|
|
38
|
-
|
|
39
|
-
if [ -z "$NODE_PATH" ]; then
|
|
40
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/@anthropic-ai/sdk/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules"
|
|
41
|
-
else
|
|
42
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/@anthropic-ai/sdk/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
-
fi
|
|
44
|
-
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
-
exec "$basedir/node.exe" "$basedir_win/../@anthropic-ai/sdk/bin/cli" "$@"
|
|
46
|
-
elif [ -x "$basedir/node" ]; then
|
|
47
|
-
exec "$basedir/node" "$basedir/../@anthropic-ai/sdk/bin/cli" "$@"
|
|
48
|
-
elif command -v node >/dev/null 2>&1; then
|
|
49
|
-
exec node "$basedir/../@anthropic-ai/sdk/bin/cli" "$@"
|
|
50
|
-
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
-
exec node.exe "$basedir_win/../@anthropic-ai/sdk/bin/cli" "$@"
|
|
52
|
-
else
|
|
53
|
-
exec node "$basedir/../@anthropic-ai/sdk/bin/cli" "$@"
|
|
54
|
-
fi
|
|
55
|
-
# cmd-shim-target=/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/@anthropic-ai/sdk/bin/cli
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# Resolve $0 through symlinks so basedir is the shim's real directory.
|
|
3
|
-
# Cap hops at the kernel's ELOOP limit so a cycle cannot hang the shim.
|
|
4
|
-
link="$0"
|
|
5
|
-
hops=0
|
|
6
|
-
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
-
hops=$((hops+1))
|
|
8
|
-
target=$(readlink "$link")
|
|
9
|
-
case "$target" in
|
|
10
|
-
/*) link="$target" ;;
|
|
11
|
-
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
-
esac
|
|
13
|
-
done
|
|
14
|
-
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
-
basedir_win="$basedir"
|
|
16
|
-
exe=""
|
|
17
|
-
msys=""
|
|
18
|
-
|
|
19
|
-
case `uname -a` in
|
|
20
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
-
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
-
fi
|
|
24
|
-
exe=".exe"
|
|
25
|
-
msys="true"
|
|
26
|
-
;;
|
|
27
|
-
*WSL2*)
|
|
28
|
-
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
-
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
-
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
-
basedir_win="$basedir"
|
|
32
|
-
else
|
|
33
|
-
exe=".exe"
|
|
34
|
-
fi
|
|
35
|
-
fi
|
|
36
|
-
;;
|
|
37
|
-
esac
|
|
38
|
-
|
|
39
|
-
if [ -z "$NODE_PATH" ]; then
|
|
40
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/@deepseek-ai/cordis/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules"
|
|
41
|
-
else
|
|
42
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/@deepseek-ai/cordis/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
-
fi
|
|
44
|
-
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
-
exec "$basedir/node.exe" "$basedir_win/../@deepseek-ai/cordis/bin.js" "$@"
|
|
46
|
-
elif [ -x "$basedir/node" ]; then
|
|
47
|
-
exec "$basedir/node" "$basedir/../@deepseek-ai/cordis/bin.js" "$@"
|
|
48
|
-
elif command -v node >/dev/null 2>&1; then
|
|
49
|
-
exec node "$basedir/../@deepseek-ai/cordis/bin.js" "$@"
|
|
50
|
-
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
-
exec node.exe "$basedir_win/../@deepseek-ai/cordis/bin.js" "$@"
|
|
52
|
-
else
|
|
53
|
-
exec node "$basedir/../@deepseek-ai/cordis/bin.js" "$@"
|
|
54
|
-
fi
|
|
55
|
-
# cmd-shim-target=/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/@deepseek-ai/cordis/bin.js
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# Resolve $0 through symlinks so basedir is the shim's real directory.
|
|
3
|
-
# Cap hops at the kernel's ELOOP limit so a cycle cannot hang the shim.
|
|
4
|
-
link="$0"
|
|
5
|
-
hops=0
|
|
6
|
-
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
-
hops=$((hops+1))
|
|
8
|
-
target=$(readlink "$link")
|
|
9
|
-
case "$target" in
|
|
10
|
-
/*) link="$target" ;;
|
|
11
|
-
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
-
esac
|
|
13
|
-
done
|
|
14
|
-
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
-
basedir_win="$basedir"
|
|
16
|
-
exe=""
|
|
17
|
-
msys=""
|
|
18
|
-
|
|
19
|
-
case `uname -a` in
|
|
20
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
-
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
-
fi
|
|
24
|
-
exe=".exe"
|
|
25
|
-
msys="true"
|
|
26
|
-
;;
|
|
27
|
-
*WSL2*)
|
|
28
|
-
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
-
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
-
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
-
basedir_win="$basedir"
|
|
32
|
-
else
|
|
33
|
-
exe=".exe"
|
|
34
|
-
fi
|
|
35
|
-
fi
|
|
36
|
-
;;
|
|
37
|
-
esac
|
|
38
|
-
|
|
39
|
-
if [ -z "$NODE_PATH" ]; then
|
|
40
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/is-docker/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules"
|
|
41
|
-
else
|
|
42
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/is-docker/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
-
fi
|
|
44
|
-
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
-
exec "$basedir/node.exe" "$basedir_win/../is-docker/cli.js" "$@"
|
|
46
|
-
elif [ -x "$basedir/node" ]; then
|
|
47
|
-
exec "$basedir/node" "$basedir/../is-docker/cli.js" "$@"
|
|
48
|
-
elif command -v node >/dev/null 2>&1; then
|
|
49
|
-
exec node "$basedir/../is-docker/cli.js" "$@"
|
|
50
|
-
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
-
exec node.exe "$basedir_win/../is-docker/cli.js" "$@"
|
|
52
|
-
else
|
|
53
|
-
exec node "$basedir/../is-docker/cli.js" "$@"
|
|
54
|
-
fi
|
|
55
|
-
# cmd-shim-target=/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/is-docker/cli.js
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# Resolve $0 through symlinks so basedir is the shim's real directory.
|
|
3
|
-
# Cap hops at the kernel's ELOOP limit so a cycle cannot hang the shim.
|
|
4
|
-
link="$0"
|
|
5
|
-
hops=0
|
|
6
|
-
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
-
hops=$((hops+1))
|
|
8
|
-
target=$(readlink "$link")
|
|
9
|
-
case "$target" in
|
|
10
|
-
/*) link="$target" ;;
|
|
11
|
-
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
-
esac
|
|
13
|
-
done
|
|
14
|
-
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
-
basedir_win="$basedir"
|
|
16
|
-
exe=""
|
|
17
|
-
msys=""
|
|
18
|
-
|
|
19
|
-
case `uname -a` in
|
|
20
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
-
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
-
fi
|
|
24
|
-
exe=".exe"
|
|
25
|
-
msys="true"
|
|
26
|
-
;;
|
|
27
|
-
*WSL2*)
|
|
28
|
-
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
-
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
-
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
-
basedir_win="$basedir"
|
|
32
|
-
else
|
|
33
|
-
exe=".exe"
|
|
34
|
-
fi
|
|
35
|
-
fi
|
|
36
|
-
;;
|
|
37
|
-
esac
|
|
38
|
-
|
|
39
|
-
if [ -z "$NODE_PATH" ]; then
|
|
40
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/is-inside-container/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules"
|
|
41
|
-
else
|
|
42
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/is-inside-container/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
-
fi
|
|
44
|
-
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
-
exec "$basedir/node.exe" "$basedir_win/../is-inside-container/cli.js" "$@"
|
|
46
|
-
elif [ -x "$basedir/node" ]; then
|
|
47
|
-
exec "$basedir/node" "$basedir/../is-inside-container/cli.js" "$@"
|
|
48
|
-
elif command -v node >/dev/null 2>&1; then
|
|
49
|
-
exec node "$basedir/../is-inside-container/cli.js" "$@"
|
|
50
|
-
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
-
exec node.exe "$basedir_win/../is-inside-container/cli.js" "$@"
|
|
52
|
-
else
|
|
53
|
-
exec node "$basedir/../is-inside-container/cli.js" "$@"
|
|
54
|
-
fi
|
|
55
|
-
# cmd-shim-target=/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/is-inside-container/cli.js
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# Resolve $0 through symlinks so basedir is the shim's real directory.
|
|
3
|
-
# Cap hops at the kernel's ELOOP limit so a cycle cannot hang the shim.
|
|
4
|
-
link="$0"
|
|
5
|
-
hops=0
|
|
6
|
-
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
-
hops=$((hops+1))
|
|
8
|
-
target=$(readlink "$link")
|
|
9
|
-
case "$target" in
|
|
10
|
-
/*) link="$target" ;;
|
|
11
|
-
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
-
esac
|
|
13
|
-
done
|
|
14
|
-
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
-
basedir_win="$basedir"
|
|
16
|
-
exe=""
|
|
17
|
-
msys=""
|
|
18
|
-
|
|
19
|
-
case `uname -a` in
|
|
20
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
-
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
-
fi
|
|
24
|
-
exe=".exe"
|
|
25
|
-
msys="true"
|
|
26
|
-
;;
|
|
27
|
-
*WSL2*)
|
|
28
|
-
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
-
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
-
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
-
basedir_win="$basedir"
|
|
32
|
-
else
|
|
33
|
-
exe=".exe"
|
|
34
|
-
fi
|
|
35
|
-
fi
|
|
36
|
-
;;
|
|
37
|
-
esac
|
|
38
|
-
|
|
39
|
-
if [ -z "$NODE_PATH" ]; then
|
|
40
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/js-yaml/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules"
|
|
41
|
-
else
|
|
42
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/js-yaml/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
-
fi
|
|
44
|
-
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
-
exec "$basedir/node.exe" "$basedir_win/../js-yaml/bin/js-yaml.js" "$@"
|
|
46
|
-
elif [ -x "$basedir/node" ]; then
|
|
47
|
-
exec "$basedir/node" "$basedir/../js-yaml/bin/js-yaml.js" "$@"
|
|
48
|
-
elif command -v node >/dev/null 2>&1; then
|
|
49
|
-
exec node "$basedir/../js-yaml/bin/js-yaml.js" "$@"
|
|
50
|
-
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
-
exec node.exe "$basedir_win/../js-yaml/bin/js-yaml.js" "$@"
|
|
52
|
-
else
|
|
53
|
-
exec node "$basedir/../js-yaml/bin/js-yaml.js" "$@"
|
|
54
|
-
fi
|
|
55
|
-
# cmd-shim-target=/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/js-yaml/bin/js-yaml.js
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# Resolve $0 through symlinks so basedir is the shim's real directory.
|
|
3
|
-
# Cap hops at the kernel's ELOOP limit so a cycle cannot hang the shim.
|
|
4
|
-
link="$0"
|
|
5
|
-
hops=0
|
|
6
|
-
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
-
hops=$((hops+1))
|
|
8
|
-
target=$(readlink "$link")
|
|
9
|
-
case "$target" in
|
|
10
|
-
/*) link="$target" ;;
|
|
11
|
-
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
-
esac
|
|
13
|
-
done
|
|
14
|
-
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
-
basedir_win="$basedir"
|
|
16
|
-
exe=""
|
|
17
|
-
msys=""
|
|
18
|
-
|
|
19
|
-
case `uname -a` in
|
|
20
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
-
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
-
fi
|
|
24
|
-
exe=".exe"
|
|
25
|
-
msys="true"
|
|
26
|
-
;;
|
|
27
|
-
*WSL2*)
|
|
28
|
-
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
-
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
-
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
-
basedir_win="$basedir"
|
|
32
|
-
else
|
|
33
|
-
exe=".exe"
|
|
34
|
-
fi
|
|
35
|
-
fi
|
|
36
|
-
;;
|
|
37
|
-
esac
|
|
38
|
-
|
|
39
|
-
if [ -z "$NODE_PATH" ]; then
|
|
40
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/katex/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules"
|
|
41
|
-
else
|
|
42
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/katex/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
-
fi
|
|
44
|
-
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
-
exec "$basedir/node.exe" "$basedir_win/../katex/cli.js" "$@"
|
|
46
|
-
elif [ -x "$basedir/node" ]; then
|
|
47
|
-
exec "$basedir/node" "$basedir/../katex/cli.js" "$@"
|
|
48
|
-
elif command -v node >/dev/null 2>&1; then
|
|
49
|
-
exec node "$basedir/../katex/cli.js" "$@"
|
|
50
|
-
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
-
exec node.exe "$basedir_win/../katex/cli.js" "$@"
|
|
52
|
-
else
|
|
53
|
-
exec node "$basedir/../katex/cli.js" "$@"
|
|
54
|
-
fi
|
|
55
|
-
# cmd-shim-target=/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/katex/cli.js
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# Resolve $0 through symlinks so basedir is the shim's real directory.
|
|
3
|
-
# Cap hops at the kernel's ELOOP limit so a cycle cannot hang the shim.
|
|
4
|
-
link="$0"
|
|
5
|
-
hops=0
|
|
6
|
-
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
-
hops=$((hops+1))
|
|
8
|
-
target=$(readlink "$link")
|
|
9
|
-
case "$target" in
|
|
10
|
-
/*) link="$target" ;;
|
|
11
|
-
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
-
esac
|
|
13
|
-
done
|
|
14
|
-
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
-
basedir_win="$basedir"
|
|
16
|
-
exe=""
|
|
17
|
-
msys=""
|
|
18
|
-
|
|
19
|
-
case `uname -a` in
|
|
20
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
-
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
-
fi
|
|
24
|
-
exe=".exe"
|
|
25
|
-
msys="true"
|
|
26
|
-
;;
|
|
27
|
-
*WSL2*)
|
|
28
|
-
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
-
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
-
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
-
basedir_win="$basedir"
|
|
32
|
-
else
|
|
33
|
-
exe=".exe"
|
|
34
|
-
fi
|
|
35
|
-
fi
|
|
36
|
-
;;
|
|
37
|
-
esac
|
|
38
|
-
|
|
39
|
-
if [ -z "$NODE_PATH" ]; then
|
|
40
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/loose-envify/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules"
|
|
41
|
-
else
|
|
42
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/loose-envify/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
-
fi
|
|
44
|
-
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
-
exec "$basedir/node.exe" "$basedir_win/../loose-envify/cli.js" "$@"
|
|
46
|
-
elif [ -x "$basedir/node" ]; then
|
|
47
|
-
exec "$basedir/node" "$basedir/../loose-envify/cli.js" "$@"
|
|
48
|
-
elif command -v node >/dev/null 2>&1; then
|
|
49
|
-
exec node "$basedir/../loose-envify/cli.js" "$@"
|
|
50
|
-
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
-
exec node.exe "$basedir_win/../loose-envify/cli.js" "$@"
|
|
52
|
-
else
|
|
53
|
-
exec node "$basedir/../loose-envify/cli.js" "$@"
|
|
54
|
-
fi
|
|
55
|
-
# cmd-shim-target=/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/loose-envify/cli.js
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# Resolve $0 through symlinks so basedir is the shim's real directory.
|
|
3
|
-
# Cap hops at the kernel's ELOOP limit so a cycle cannot hang the shim.
|
|
4
|
-
link="$0"
|
|
5
|
-
hops=0
|
|
6
|
-
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
-
hops=$((hops+1))
|
|
8
|
-
target=$(readlink "$link")
|
|
9
|
-
case "$target" in
|
|
10
|
-
/*) link="$target" ;;
|
|
11
|
-
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
-
esac
|
|
13
|
-
done
|
|
14
|
-
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
-
basedir_win="$basedir"
|
|
16
|
-
exe=""
|
|
17
|
-
msys=""
|
|
18
|
-
|
|
19
|
-
case `uname -a` in
|
|
20
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
-
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
-
fi
|
|
24
|
-
exe=".exe"
|
|
25
|
-
msys="true"
|
|
26
|
-
;;
|
|
27
|
-
*WSL2*)
|
|
28
|
-
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
-
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
-
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
-
basedir_win="$basedir"
|
|
32
|
-
else
|
|
33
|
-
exe=".exe"
|
|
34
|
-
fi
|
|
35
|
-
fi
|
|
36
|
-
;;
|
|
37
|
-
esac
|
|
38
|
-
|
|
39
|
-
if [ -z "$NODE_PATH" ]; then
|
|
40
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/marked/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules"
|
|
41
|
-
else
|
|
42
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/marked/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
-
fi
|
|
44
|
-
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
-
exec "$basedir/node.exe" "$basedir_win/../marked/bin/marked.js" "$@"
|
|
46
|
-
elif [ -x "$basedir/node" ]; then
|
|
47
|
-
exec "$basedir/node" "$basedir/../marked/bin/marked.js" "$@"
|
|
48
|
-
elif command -v node >/dev/null 2>&1; then
|
|
49
|
-
exec node "$basedir/../marked/bin/marked.js" "$@"
|
|
50
|
-
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
-
exec node.exe "$basedir_win/../marked/bin/marked.js" "$@"
|
|
52
|
-
else
|
|
53
|
-
exec node "$basedir/../marked/bin/marked.js" "$@"
|
|
54
|
-
fi
|
|
55
|
-
# cmd-shim-target=/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/marked/bin/marked.js
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# Resolve $0 through symlinks so basedir is the shim's real directory.
|
|
3
|
-
# Cap hops at the kernel's ELOOP limit so a cycle cannot hang the shim.
|
|
4
|
-
link="$0"
|
|
5
|
-
hops=0
|
|
6
|
-
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
-
hops=$((hops+1))
|
|
8
|
-
target=$(readlink "$link")
|
|
9
|
-
case "$target" in
|
|
10
|
-
/*) link="$target" ;;
|
|
11
|
-
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
-
esac
|
|
13
|
-
done
|
|
14
|
-
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
-
basedir_win="$basedir"
|
|
16
|
-
exe=""
|
|
17
|
-
msys=""
|
|
18
|
-
|
|
19
|
-
case `uname -a` in
|
|
20
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
-
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
-
fi
|
|
24
|
-
exe=".exe"
|
|
25
|
-
msys="true"
|
|
26
|
-
;;
|
|
27
|
-
*WSL2*)
|
|
28
|
-
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
-
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
-
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
-
basedir_win="$basedir"
|
|
32
|
-
else
|
|
33
|
-
exe=".exe"
|
|
34
|
-
fi
|
|
35
|
-
fi
|
|
36
|
-
;;
|
|
37
|
-
esac
|
|
38
|
-
|
|
39
|
-
if [ -z "$NODE_PATH" ]; then
|
|
40
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/which/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules"
|
|
41
|
-
else
|
|
42
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/which/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
-
fi
|
|
44
|
-
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
-
exec "$basedir/node.exe" "$basedir_win/../which/bin/node-which" "$@"
|
|
46
|
-
elif [ -x "$basedir/node" ]; then
|
|
47
|
-
exec "$basedir/node" "$basedir/../which/bin/node-which" "$@"
|
|
48
|
-
elif command -v node >/dev/null 2>&1; then
|
|
49
|
-
exec node "$basedir/../which/bin/node-which" "$@"
|
|
50
|
-
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
-
exec node.exe "$basedir_win/../which/bin/node-which" "$@"
|
|
52
|
-
else
|
|
53
|
-
exec node "$basedir/../which/bin/node-which" "$@"
|
|
54
|
-
fi
|
|
55
|
-
# cmd-shim-target=/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/which/bin/node-which
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# Resolve $0 through symlinks so basedir is the shim's real directory.
|
|
3
|
-
# Cap hops at the kernel's ELOOP limit so a cycle cannot hang the shim.
|
|
4
|
-
link="$0"
|
|
5
|
-
hops=0
|
|
6
|
-
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
-
hops=$((hops+1))
|
|
8
|
-
target=$(readlink "$link")
|
|
9
|
-
case "$target" in
|
|
10
|
-
/*) link="$target" ;;
|
|
11
|
-
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
-
esac
|
|
13
|
-
done
|
|
14
|
-
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
-
basedir_win="$basedir"
|
|
16
|
-
exe=""
|
|
17
|
-
msys=""
|
|
18
|
-
|
|
19
|
-
case `uname -a` in
|
|
20
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
-
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
-
fi
|
|
24
|
-
exe=".exe"
|
|
25
|
-
msys="true"
|
|
26
|
-
;;
|
|
27
|
-
*WSL2*)
|
|
28
|
-
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
-
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
-
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
-
basedir_win="$basedir"
|
|
32
|
-
else
|
|
33
|
-
exe=".exe"
|
|
34
|
-
fi
|
|
35
|
-
fi
|
|
36
|
-
;;
|
|
37
|
-
esac
|
|
38
|
-
|
|
39
|
-
if [ -z "$NODE_PATH" ]; then
|
|
40
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/openai/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules"
|
|
41
|
-
else
|
|
42
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/openai/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
-
fi
|
|
44
|
-
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
-
exec "$basedir/node.exe" "$basedir_win/../openai/bin/cli" "$@"
|
|
46
|
-
elif [ -x "$basedir/node" ]; then
|
|
47
|
-
exec "$basedir/node" "$basedir/../openai/bin/cli" "$@"
|
|
48
|
-
elif command -v node >/dev/null 2>&1; then
|
|
49
|
-
exec node "$basedir/../openai/bin/cli" "$@"
|
|
50
|
-
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
-
exec node.exe "$basedir_win/../openai/bin/cli" "$@"
|
|
52
|
-
else
|
|
53
|
-
exec node "$basedir/../openai/bin/cli" "$@"
|
|
54
|
-
fi
|
|
55
|
-
# cmd-shim-target=/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/openai/bin/cli
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# Resolve $0 through symlinks so basedir is the shim's real directory.
|
|
3
|
-
# Cap hops at the kernel's ELOOP limit so a cycle cannot hang the shim.
|
|
4
|
-
link="$0"
|
|
5
|
-
hops=0
|
|
6
|
-
while [ -L "$link" ] && [ "$hops" -lt 40 ]; do
|
|
7
|
-
hops=$((hops+1))
|
|
8
|
-
target=$(readlink "$link")
|
|
9
|
-
case "$target" in
|
|
10
|
-
/*) link="$target" ;;
|
|
11
|
-
*) link="$(dirname "$link")/$target" ;;
|
|
12
|
-
esac
|
|
13
|
-
done
|
|
14
|
-
basedir=$(dirname "$(echo "$link" | sed -e 's,\\,/,g')")
|
|
15
|
-
basedir_win="$basedir"
|
|
16
|
-
exe=""
|
|
17
|
-
msys=""
|
|
18
|
-
|
|
19
|
-
case `uname -a` in
|
|
20
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
21
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
22
|
-
basedir_win=`cygpath -w "$basedir"`
|
|
23
|
-
fi
|
|
24
|
-
exe=".exe"
|
|
25
|
-
msys="true"
|
|
26
|
-
;;
|
|
27
|
-
*WSL2*)
|
|
28
|
-
if command -v wslpath > /dev/null 2>&1; then
|
|
29
|
-
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
30
|
-
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
31
|
-
basedir_win="$basedir"
|
|
32
|
-
else
|
|
33
|
-
exe=".exe"
|
|
34
|
-
fi
|
|
35
|
-
fi
|
|
36
|
-
;;
|
|
37
|
-
esac
|
|
38
|
-
|
|
39
|
-
if [ -z "$NODE_PATH" ]; then
|
|
40
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/@earendil-works/pi-ai/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules"
|
|
41
|
-
else
|
|
42
|
-
export NODE_PATH="/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/@earendil-works/pi-ai/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules:/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
43
|
-
fi
|
|
44
|
-
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
45
|
-
exec "$basedir/node.exe" "$basedir_win/../@earendil-works/pi-ai/dist/cli.js" "$@"
|
|
46
|
-
elif [ -x "$basedir/node" ]; then
|
|
47
|
-
exec "$basedir/node" "$basedir/../@earendil-works/pi-ai/dist/cli.js" "$@"
|
|
48
|
-
elif command -v node >/dev/null 2>&1; then
|
|
49
|
-
exec node "$basedir/../@earendil-works/pi-ai/dist/cli.js" "$@"
|
|
50
|
-
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
51
|
-
exec node.exe "$basedir_win/../@earendil-works/pi-ai/dist/cli.js" "$@"
|
|
52
|
-
else
|
|
53
|
-
exec node "$basedir/../@earendil-works/pi-ai/dist/cli.js" "$@"
|
|
54
|
-
fi
|
|
55
|
-
# cmd-shim-target=/private/var/folders/df/djsxfhc17x95674wsm_g8s980000gn/T/acryl-cli-darwin-arm64/acryl-cli-darwin-arm64/node_modules/@earendil-works/pi-ai/dist/cli.js
|