@jigging/jig 0.0.0 → 0.1.0-alpha.10
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/LICENSE +373 -0
- package/README.md +184 -1
- package/THIRD_PARTY_NOTICES +133 -0
- package/bin/jig +42 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1995 -0
- package/dist/json.d.ts +21 -0
- package/dist/project/author.d.ts +49 -0
- package/libexec/agent/claude-agent-acp.LICENSE +191 -0
- package/libexec/agent/claude-agent-acp.js +71361 -0
- package/libexec/agent/claude-agent-launcher.js +64 -0
- package/libexec/agent/claude-agent-sdk.LICENSE +1 -0
- package/libexec/agent/codex-acp.LICENSE +190 -0
- package/libexec/agent/codex-acp.js +34238 -0
- package/libexec/agent/codex-agent-launcher.js +54 -0
- package/libexec/agent/codex-requirements.toml +5 -0
- package/libexec/agent/openai-agent-worker.js +14553 -0
- package/libexec/agent/openai.LICENSE +201 -0
- package/libexec/agent/pi-acp.LICENSE +21 -0
- package/libexec/agent/pi-acp.js +16468 -0
- package/libexec/agent/pi-agent-launcher.js +197 -0
- package/libexec/evaluator/project-authoring-1.schema.json +119 -0
- package/libexec/evaluator/project-evaluator-sdk.bundle.js +1995 -0
- package/libexec/evaluator/project-evaluator-worker.js +431 -0
- package/libexec/installed-cli.js +61024 -0
- package/libexec/linux-rootless-supervisor.js +622 -0
- package/libexec/preparation/bun-native-preparation-worker.js +426 -0
- package/package.json +87 -6
- package/bun.lock +0 -26
- package/index.ts +0 -1
- package/tsconfig.json +0 -30
package/bin/jig
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
|
|
3
|
+
set -eu
|
|
4
|
+
|
|
5
|
+
fail() {
|
|
6
|
+
printf '%s\n' 'JIG_COMMAND_UNAVAILABLE: the installed Jig runtime is unavailable' >&2
|
|
7
|
+
exit 2
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
case $0 in
|
|
11
|
+
*'
|
|
12
|
+
'*) fail ;;
|
|
13
|
+
esac
|
|
14
|
+
|
|
15
|
+
if [ -x /usr/bin/readlink ]; then
|
|
16
|
+
readlink=/usr/bin/readlink
|
|
17
|
+
elif [ -x /bin/readlink ]; then
|
|
18
|
+
readlink=/bin/readlink
|
|
19
|
+
else
|
|
20
|
+
fail
|
|
21
|
+
fi
|
|
22
|
+
launcher=$($readlink -f -- "$0") || fail
|
|
23
|
+
[ "${launcher##*/}" = jig ] || fail
|
|
24
|
+
bin=${launcher%/*}
|
|
25
|
+
[ "${bin##*/}" = bin ] || fail
|
|
26
|
+
release=${bin%/*}
|
|
27
|
+
entry=$release/libexec/installed-cli.js
|
|
28
|
+
[ -f "$entry" ] || fail
|
|
29
|
+
|
|
30
|
+
nested=$release/node_modules/@oven/bun-linux-x64-baseline/bin/bun
|
|
31
|
+
hoisted=$release/../../@oven/bun-linux-x64-baseline/bin/bun
|
|
32
|
+
if [ -f "$nested" ] && [ -x "$nested" ]; then
|
|
33
|
+
runtime=$nested
|
|
34
|
+
elif [ -f "$hoisted" ] && [ -x "$hoisted" ]; then
|
|
35
|
+
runtime=$hoisted
|
|
36
|
+
else
|
|
37
|
+
fail
|
|
38
|
+
fi
|
|
39
|
+
runtime=$($readlink -f -- "$runtime") || fail
|
|
40
|
+
|
|
41
|
+
unset BUN_BE_BUN BUN_OPTIONS NODE_OPTIONS
|
|
42
|
+
exec "$runtime" --no-env-file --no-install --config=/dev/null "$entry" "$@"
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { defineBinding, defineJig, discover, type JigDefinitionInput, type PackageBindingInput, } from "./project/author.js";
|