@jigging/jig 0.1.0-alpha.25 → 0.1.0-alpha.26
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 +6 -2
- package/THIRD_PARTY_NOTICES +13 -6
- package/bin/jig +59 -10
- package/dist/index.js +3989 -29
- package/libexec/agent/claude-agent-acp.js +34 -34
- package/libexec/agent/claude-agent-launcher.js +2 -0
- package/libexec/agent/codex-acp.js +22 -0
- package/libexec/agent/codex-agent-launcher.js +35 -14
- package/libexec/agent/pi-acp.js +2 -2
- package/libexec/agent/pi-agent-launcher.js +5 -3
- package/libexec/evaluator/project-evaluator-sdk.bundle.js +3989 -29
- package/libexec/evaluator/project-evaluator-worker.js +2 -1
- package/libexec/http-request-worker.js +3 -1
- package/libexec/installed-cli.js +22693 -13077
- package/libexec/macos-descriptor-bridge.dylib +0 -0
- package/libexec/macos-exec +0 -0
- package/libexec/macos-native-supervisor.js +2216 -0
- package/libexec/markdown-runtime.js +4388 -43
- package/libexec/preparation/bun-native-preparation-worker.js +4008 -27
- package/package.json +11 -7
|
@@ -131,7 +131,8 @@ function compareUtf16(left, right) {
|
|
|
131
131
|
var PROTOCOL = "jig-author-evaluator/1";
|
|
132
132
|
var MAX_REQUEST_BYTES = 2 * 1024 * 1024;
|
|
133
133
|
var VM_TIMEOUT_MS = 1000;
|
|
134
|
-
var SDK_ENTRY = "/jig-evaluator/project-evaluator-sdk.bundle.js";
|
|
134
|
+
var SDK_ENTRY = process.env.JIG_EVALUATOR_SDK ?? "/jig-evaluator/project-evaluator-sdk.bundle.js";
|
|
135
|
+
delete process.env.JIG_EVALUATOR_SDK;
|
|
135
136
|
var EVALUATION_CODES = new Set([
|
|
136
137
|
"PROJECT_AUTHORING_VALUE",
|
|
137
138
|
"PROJECT_DEFAULT_EXPORT",
|
|
@@ -1459,7 +1459,9 @@ async function requestGrantedHttp(value) {
|
|
|
1459
1459
|
finish({ failure: "UNCERTAIN" });
|
|
1460
1460
|
});
|
|
1461
1461
|
});
|
|
1462
|
-
request.on("error", () => finish({
|
|
1462
|
+
request.on("error", (error) => finish({
|
|
1463
|
+
failure: error.code === "HPE_HEADER_OVERFLOW" ? "RESOURCE_EXHAUSTED" : "UNCERTAIN"
|
|
1464
|
+
}));
|
|
1463
1465
|
request.on("upgrade", (_response, socket) => {
|
|
1464
1466
|
socket.destroy();
|
|
1465
1467
|
finish({ failure: "INVALID_RESULT" });
|