@jigging/jig 0.1.0-alpha.10 → 0.1.0-alpha.12
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 +28 -11
- package/bin/jig +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +29 -2
- package/dist/project/author.d.ts +8 -6
- package/libexec/agent/claude-agent-acp.js +119 -119
- package/libexec/agent/openai-agent-worker.js +165 -168
- package/libexec/agent/pi-acp.js +69 -69
- package/libexec/agent/pi-agent-launcher.js +2 -15
- package/libexec/evaluator/project-authoring-1.schema.json +10 -15
- package/libexec/evaluator/project-evaluator-sdk.bundle.js +29 -2
- package/libexec/evaluator/project-evaluator-worker.js +61 -56
- package/libexec/installed-cli.js +1902 -1540
- package/libexec/linux-rootless-supervisor.js +16 -13
- package/libexec/preparation/bun-native-preparation-worker.js +1 -9
- package/package.json +3 -12
package/libexec/agent/pi-acp.js
CHANGED
|
@@ -27,7 +27,7 @@ var __export = (target, all) => {
|
|
|
27
27
|
};
|
|
28
28
|
var __require = import.meta.require;
|
|
29
29
|
|
|
30
|
-
// node_modules/
|
|
30
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/external.js
|
|
31
31
|
var exports_external = {};
|
|
32
32
|
__export(exports_external, {
|
|
33
33
|
xid: () => xid2,
|
|
@@ -239,7 +239,7 @@ __export(exports_external, {
|
|
|
239
239
|
$brand: () => $brand
|
|
240
240
|
});
|
|
241
241
|
|
|
242
|
-
// node_modules/
|
|
242
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/index.js
|
|
243
243
|
var exports_core2 = {};
|
|
244
244
|
__export(exports_core2, {
|
|
245
245
|
version: () => version,
|
|
@@ -483,7 +483,7 @@ __export(exports_core2, {
|
|
|
483
483
|
$ZodAny: () => $ZodAny
|
|
484
484
|
});
|
|
485
485
|
|
|
486
|
-
// node_modules/
|
|
486
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/core.js
|
|
487
487
|
var NEVER = Object.freeze({
|
|
488
488
|
status: "aborted"
|
|
489
489
|
});
|
|
@@ -543,7 +543,7 @@ function config(newConfig) {
|
|
|
543
543
|
Object.assign(globalConfig, newConfig);
|
|
544
544
|
return globalConfig;
|
|
545
545
|
}
|
|
546
|
-
// node_modules/
|
|
546
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/util.js
|
|
547
547
|
var exports_util = {};
|
|
548
548
|
__export(exports_util, {
|
|
549
549
|
unwrapMessage: () => unwrapMessage,
|
|
@@ -1057,7 +1057,7 @@ class Class {
|
|
|
1057
1057
|
constructor(..._args) {}
|
|
1058
1058
|
}
|
|
1059
1059
|
|
|
1060
|
-
// node_modules/
|
|
1060
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/errors.js
|
|
1061
1061
|
var initializer = (inst, def) => {
|
|
1062
1062
|
inst.name = "$ZodError";
|
|
1063
1063
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -1204,7 +1204,7 @@ function prettifyError(error) {
|
|
|
1204
1204
|
`);
|
|
1205
1205
|
}
|
|
1206
1206
|
|
|
1207
|
-
// node_modules/
|
|
1207
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/parse.js
|
|
1208
1208
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
1209
1209
|
const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
1210
1210
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -1255,7 +1255,7 @@ var _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1255
1255
|
} : { success: true, data: result.value };
|
|
1256
1256
|
};
|
|
1257
1257
|
var safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError);
|
|
1258
|
-
// node_modules/
|
|
1258
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/regexes.js
|
|
1259
1259
|
var exports_regexes = {};
|
|
1260
1260
|
__export(exports_regexes, {
|
|
1261
1261
|
xid: () => xid,
|
|
@@ -1368,7 +1368,7 @@ var _undefined = /undefined/i;
|
|
|
1368
1368
|
var lowercase = /^[^A-Z]*$/;
|
|
1369
1369
|
var uppercase = /^[^a-z]*$/;
|
|
1370
1370
|
|
|
1371
|
-
// node_modules/
|
|
1371
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/checks.js
|
|
1372
1372
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
1373
1373
|
var _a;
|
|
1374
1374
|
inst._zod ?? (inst._zod = {});
|
|
@@ -1905,7 +1905,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
1905
1905
|
};
|
|
1906
1906
|
});
|
|
1907
1907
|
|
|
1908
|
-
// node_modules/
|
|
1908
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/doc.js
|
|
1909
1909
|
class Doc {
|
|
1910
1910
|
constructor(args = []) {
|
|
1911
1911
|
this.content = [];
|
|
@@ -1943,14 +1943,14 @@ class Doc {
|
|
|
1943
1943
|
}
|
|
1944
1944
|
}
|
|
1945
1945
|
|
|
1946
|
-
// node_modules/
|
|
1946
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/versions.js
|
|
1947
1947
|
var version = {
|
|
1948
1948
|
major: 4,
|
|
1949
1949
|
minor: 0,
|
|
1950
1950
|
patch: 0
|
|
1951
1951
|
};
|
|
1952
1952
|
|
|
1953
|
-
// node_modules/
|
|
1953
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/schemas.js
|
|
1954
1954
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
1955
1955
|
var _a;
|
|
1956
1956
|
inst ?? (inst = {});
|
|
@@ -3568,7 +3568,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
3568
3568
|
payload.issues.push(issue(_iss));
|
|
3569
3569
|
}
|
|
3570
3570
|
}
|
|
3571
|
-
// node_modules/
|
|
3571
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/index.js
|
|
3572
3572
|
var exports_locales = {};
|
|
3573
3573
|
__export(exports_locales, {
|
|
3574
3574
|
zhTW: () => zh_TW_default,
|
|
@@ -3612,7 +3612,7 @@ __export(exports_locales, {
|
|
|
3612
3612
|
ar: () => ar_default
|
|
3613
3613
|
});
|
|
3614
3614
|
|
|
3615
|
-
// node_modules/
|
|
3615
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/ar.js
|
|
3616
3616
|
var error = () => {
|
|
3617
3617
|
const Sizable = {
|
|
3618
3618
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -3728,7 +3728,7 @@ function ar_default() {
|
|
|
3728
3728
|
localeError: error()
|
|
3729
3729
|
};
|
|
3730
3730
|
}
|
|
3731
|
-
// node_modules/
|
|
3731
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/az.js
|
|
3732
3732
|
var error2 = () => {
|
|
3733
3733
|
const Sizable = {
|
|
3734
3734
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -3843,7 +3843,7 @@ function az_default() {
|
|
|
3843
3843
|
localeError: error2()
|
|
3844
3844
|
};
|
|
3845
3845
|
}
|
|
3846
|
-
// node_modules/
|
|
3846
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/be.js
|
|
3847
3847
|
function getBelarusianPlural(count, one, few, many) {
|
|
3848
3848
|
const absCount = Math.abs(count);
|
|
3849
3849
|
const lastDigit = absCount % 10;
|
|
@@ -4007,7 +4007,7 @@ function be_default() {
|
|
|
4007
4007
|
localeError: error3()
|
|
4008
4008
|
};
|
|
4009
4009
|
}
|
|
4010
|
-
// node_modules/
|
|
4010
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/ca.js
|
|
4011
4011
|
var error4 = () => {
|
|
4012
4012
|
const Sizable = {
|
|
4013
4013
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -4124,7 +4124,7 @@ function ca_default() {
|
|
|
4124
4124
|
localeError: error4()
|
|
4125
4125
|
};
|
|
4126
4126
|
}
|
|
4127
|
-
// node_modules/
|
|
4127
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/cs.js
|
|
4128
4128
|
var error5 = () => {
|
|
4129
4129
|
const Sizable = {
|
|
4130
4130
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -4259,7 +4259,7 @@ function cs_default() {
|
|
|
4259
4259
|
localeError: error5()
|
|
4260
4260
|
};
|
|
4261
4261
|
}
|
|
4262
|
-
// node_modules/
|
|
4262
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/de.js
|
|
4263
4263
|
var error6 = () => {
|
|
4264
4264
|
const Sizable = {
|
|
4265
4265
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -4375,7 +4375,7 @@ function de_default() {
|
|
|
4375
4375
|
localeError: error6()
|
|
4376
4376
|
};
|
|
4377
4377
|
}
|
|
4378
|
-
// node_modules/
|
|
4378
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/en.js
|
|
4379
4379
|
var parsedType = (data) => {
|
|
4380
4380
|
const t = typeof data;
|
|
4381
4381
|
switch (t) {
|
|
@@ -4492,7 +4492,7 @@ function en_default() {
|
|
|
4492
4492
|
localeError: error7()
|
|
4493
4493
|
};
|
|
4494
4494
|
}
|
|
4495
|
-
// node_modules/
|
|
4495
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/eo.js
|
|
4496
4496
|
var parsedType2 = (data) => {
|
|
4497
4497
|
const t = typeof data;
|
|
4498
4498
|
switch (t) {
|
|
@@ -4608,7 +4608,7 @@ function eo_default() {
|
|
|
4608
4608
|
localeError: error8()
|
|
4609
4609
|
};
|
|
4610
4610
|
}
|
|
4611
|
-
// node_modules/
|
|
4611
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/es.js
|
|
4612
4612
|
var error9 = () => {
|
|
4613
4613
|
const Sizable = {
|
|
4614
4614
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -4724,7 +4724,7 @@ function es_default() {
|
|
|
4724
4724
|
localeError: error9()
|
|
4725
4725
|
};
|
|
4726
4726
|
}
|
|
4727
|
-
// node_modules/
|
|
4727
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/fa.js
|
|
4728
4728
|
var error10 = () => {
|
|
4729
4729
|
const Sizable = {
|
|
4730
4730
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -4846,7 +4846,7 @@ function fa_default() {
|
|
|
4846
4846
|
localeError: error10()
|
|
4847
4847
|
};
|
|
4848
4848
|
}
|
|
4849
|
-
// node_modules/
|
|
4849
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/fi.js
|
|
4850
4850
|
var error11 = () => {
|
|
4851
4851
|
const Sizable = {
|
|
4852
4852
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -4968,7 +4968,7 @@ function fi_default() {
|
|
|
4968
4968
|
localeError: error11()
|
|
4969
4969
|
};
|
|
4970
4970
|
}
|
|
4971
|
-
// node_modules/
|
|
4971
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/fr.js
|
|
4972
4972
|
var error12 = () => {
|
|
4973
4973
|
const Sizable = {
|
|
4974
4974
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -5084,7 +5084,7 @@ function fr_default() {
|
|
|
5084
5084
|
localeError: error12()
|
|
5085
5085
|
};
|
|
5086
5086
|
}
|
|
5087
|
-
// node_modules/
|
|
5087
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/fr-CA.js
|
|
5088
5088
|
var error13 = () => {
|
|
5089
5089
|
const Sizable = {
|
|
5090
5090
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -5201,7 +5201,7 @@ function fr_CA_default() {
|
|
|
5201
5201
|
localeError: error13()
|
|
5202
5202
|
};
|
|
5203
5203
|
}
|
|
5204
|
-
// node_modules/
|
|
5204
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/he.js
|
|
5205
5205
|
var error14 = () => {
|
|
5206
5206
|
const Sizable = {
|
|
5207
5207
|
string: { unit: "\u05D0\u05D5\u05EA\u05D9\u05D5\u05EA", verb: "\u05DC\u05DB\u05DC\u05D5\u05DC" },
|
|
@@ -5317,7 +5317,7 @@ function he_default() {
|
|
|
5317
5317
|
localeError: error14()
|
|
5318
5318
|
};
|
|
5319
5319
|
}
|
|
5320
|
-
// node_modules/
|
|
5320
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/hu.js
|
|
5321
5321
|
var error15 = () => {
|
|
5322
5322
|
const Sizable = {
|
|
5323
5323
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -5433,7 +5433,7 @@ function hu_default() {
|
|
|
5433
5433
|
localeError: error15()
|
|
5434
5434
|
};
|
|
5435
5435
|
}
|
|
5436
|
-
// node_modules/
|
|
5436
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/id.js
|
|
5437
5437
|
var error16 = () => {
|
|
5438
5438
|
const Sizable = {
|
|
5439
5439
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -5549,7 +5549,7 @@ function id_default() {
|
|
|
5549
5549
|
localeError: error16()
|
|
5550
5550
|
};
|
|
5551
5551
|
}
|
|
5552
|
-
// node_modules/
|
|
5552
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/it.js
|
|
5553
5553
|
var error17 = () => {
|
|
5554
5554
|
const Sizable = {
|
|
5555
5555
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -5665,7 +5665,7 @@ function it_default() {
|
|
|
5665
5665
|
localeError: error17()
|
|
5666
5666
|
};
|
|
5667
5667
|
}
|
|
5668
|
-
// node_modules/
|
|
5668
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/ja.js
|
|
5669
5669
|
var error18 = () => {
|
|
5670
5670
|
const Sizable = {
|
|
5671
5671
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -5780,7 +5780,7 @@ function ja_default() {
|
|
|
5780
5780
|
localeError: error18()
|
|
5781
5781
|
};
|
|
5782
5782
|
}
|
|
5783
|
-
// node_modules/
|
|
5783
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/kh.js
|
|
5784
5784
|
var error19 = () => {
|
|
5785
5785
|
const Sizable = {
|
|
5786
5786
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -5897,7 +5897,7 @@ function kh_default() {
|
|
|
5897
5897
|
localeError: error19()
|
|
5898
5898
|
};
|
|
5899
5899
|
}
|
|
5900
|
-
// node_modules/
|
|
5900
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/ko.js
|
|
5901
5901
|
var error20 = () => {
|
|
5902
5902
|
const Sizable = {
|
|
5903
5903
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -6018,7 +6018,7 @@ function ko_default() {
|
|
|
6018
6018
|
localeError: error20()
|
|
6019
6019
|
};
|
|
6020
6020
|
}
|
|
6021
|
-
// node_modules/
|
|
6021
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/mk.js
|
|
6022
6022
|
var error21 = () => {
|
|
6023
6023
|
const Sizable = {
|
|
6024
6024
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -6135,7 +6135,7 @@ function mk_default() {
|
|
|
6135
6135
|
localeError: error21()
|
|
6136
6136
|
};
|
|
6137
6137
|
}
|
|
6138
|
-
// node_modules/
|
|
6138
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/ms.js
|
|
6139
6139
|
var error22 = () => {
|
|
6140
6140
|
const Sizable = {
|
|
6141
6141
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -6251,7 +6251,7 @@ function ms_default() {
|
|
|
6251
6251
|
localeError: error22()
|
|
6252
6252
|
};
|
|
6253
6253
|
}
|
|
6254
|
-
// node_modules/
|
|
6254
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/nl.js
|
|
6255
6255
|
var error23 = () => {
|
|
6256
6256
|
const Sizable = {
|
|
6257
6257
|
string: { unit: "tekens" },
|
|
@@ -6368,7 +6368,7 @@ function nl_default() {
|
|
|
6368
6368
|
localeError: error23()
|
|
6369
6369
|
};
|
|
6370
6370
|
}
|
|
6371
|
-
// node_modules/
|
|
6371
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/no.js
|
|
6372
6372
|
var error24 = () => {
|
|
6373
6373
|
const Sizable = {
|
|
6374
6374
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -6484,7 +6484,7 @@ function no_default() {
|
|
|
6484
6484
|
localeError: error24()
|
|
6485
6485
|
};
|
|
6486
6486
|
}
|
|
6487
|
-
// node_modules/
|
|
6487
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/ota.js
|
|
6488
6488
|
var error25 = () => {
|
|
6489
6489
|
const Sizable = {
|
|
6490
6490
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -6600,7 +6600,7 @@ function ota_default() {
|
|
|
6600
6600
|
localeError: error25()
|
|
6601
6601
|
};
|
|
6602
6602
|
}
|
|
6603
|
-
// node_modules/
|
|
6603
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/ps.js
|
|
6604
6604
|
var error26 = () => {
|
|
6605
6605
|
const Sizable = {
|
|
6606
6606
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -6722,7 +6722,7 @@ function ps_default() {
|
|
|
6722
6722
|
localeError: error26()
|
|
6723
6723
|
};
|
|
6724
6724
|
}
|
|
6725
|
-
// node_modules/
|
|
6725
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/pl.js
|
|
6726
6726
|
var error27 = () => {
|
|
6727
6727
|
const Sizable = {
|
|
6728
6728
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -6839,7 +6839,7 @@ function pl_default() {
|
|
|
6839
6839
|
localeError: error27()
|
|
6840
6840
|
};
|
|
6841
6841
|
}
|
|
6842
|
-
// node_modules/
|
|
6842
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/pt.js
|
|
6843
6843
|
var error28 = () => {
|
|
6844
6844
|
const Sizable = {
|
|
6845
6845
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -6955,7 +6955,7 @@ function pt_default() {
|
|
|
6955
6955
|
localeError: error28()
|
|
6956
6956
|
};
|
|
6957
6957
|
}
|
|
6958
|
-
// node_modules/
|
|
6958
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/ru.js
|
|
6959
6959
|
function getRussianPlural(count, one, few, many) {
|
|
6960
6960
|
const absCount = Math.abs(count);
|
|
6961
6961
|
const lastDigit = absCount % 10;
|
|
@@ -7119,7 +7119,7 @@ function ru_default() {
|
|
|
7119
7119
|
localeError: error29()
|
|
7120
7120
|
};
|
|
7121
7121
|
}
|
|
7122
|
-
// node_modules/
|
|
7122
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/sl.js
|
|
7123
7123
|
var error30 = () => {
|
|
7124
7124
|
const Sizable = {
|
|
7125
7125
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -7236,7 +7236,7 @@ function sl_default() {
|
|
|
7236
7236
|
localeError: error30()
|
|
7237
7237
|
};
|
|
7238
7238
|
}
|
|
7239
|
-
// node_modules/
|
|
7239
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/sv.js
|
|
7240
7240
|
var error31 = () => {
|
|
7241
7241
|
const Sizable = {
|
|
7242
7242
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -7354,7 +7354,7 @@ function sv_default() {
|
|
|
7354
7354
|
localeError: error31()
|
|
7355
7355
|
};
|
|
7356
7356
|
}
|
|
7357
|
-
// node_modules/
|
|
7357
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/ta.js
|
|
7358
7358
|
var error32 = () => {
|
|
7359
7359
|
const Sizable = {
|
|
7360
7360
|
string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
|
|
@@ -7471,7 +7471,7 @@ function ta_default() {
|
|
|
7471
7471
|
localeError: error32()
|
|
7472
7472
|
};
|
|
7473
7473
|
}
|
|
7474
|
-
// node_modules/
|
|
7474
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/th.js
|
|
7475
7475
|
var error33 = () => {
|
|
7476
7476
|
const Sizable = {
|
|
7477
7477
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -7588,7 +7588,7 @@ function th_default() {
|
|
|
7588
7588
|
localeError: error33()
|
|
7589
7589
|
};
|
|
7590
7590
|
}
|
|
7591
|
-
// node_modules/
|
|
7591
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/tr.js
|
|
7592
7592
|
var parsedType3 = (data) => {
|
|
7593
7593
|
const t = typeof data;
|
|
7594
7594
|
switch (t) {
|
|
@@ -7703,7 +7703,7 @@ function tr_default() {
|
|
|
7703
7703
|
localeError: error34()
|
|
7704
7704
|
};
|
|
7705
7705
|
}
|
|
7706
|
-
// node_modules/
|
|
7706
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/ua.js
|
|
7707
7707
|
var error35 = () => {
|
|
7708
7708
|
const Sizable = {
|
|
7709
7709
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -7819,7 +7819,7 @@ function ua_default() {
|
|
|
7819
7819
|
localeError: error35()
|
|
7820
7820
|
};
|
|
7821
7821
|
}
|
|
7822
|
-
// node_modules/
|
|
7822
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/ur.js
|
|
7823
7823
|
var error36 = () => {
|
|
7824
7824
|
const Sizable = {
|
|
7825
7825
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -7936,7 +7936,7 @@ function ur_default() {
|
|
|
7936
7936
|
localeError: error36()
|
|
7937
7937
|
};
|
|
7938
7938
|
}
|
|
7939
|
-
// node_modules/
|
|
7939
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/vi.js
|
|
7940
7940
|
var error37 = () => {
|
|
7941
7941
|
const Sizable = {
|
|
7942
7942
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -8052,7 +8052,7 @@ function vi_default() {
|
|
|
8052
8052
|
localeError: error37()
|
|
8053
8053
|
};
|
|
8054
8054
|
}
|
|
8055
|
-
// node_modules/
|
|
8055
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/zh-CN.js
|
|
8056
8056
|
var error38 = () => {
|
|
8057
8057
|
const Sizable = {
|
|
8058
8058
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -8168,7 +8168,7 @@ function zh_CN_default() {
|
|
|
8168
8168
|
localeError: error38()
|
|
8169
8169
|
};
|
|
8170
8170
|
}
|
|
8171
|
-
// node_modules/
|
|
8171
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/locales/zh-TW.js
|
|
8172
8172
|
var error39 = () => {
|
|
8173
8173
|
const Sizable = {
|
|
8174
8174
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -8285,7 +8285,7 @@ function zh_TW_default() {
|
|
|
8285
8285
|
localeError: error39()
|
|
8286
8286
|
};
|
|
8287
8287
|
}
|
|
8288
|
-
// node_modules/
|
|
8288
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/registries.js
|
|
8289
8289
|
var $output = Symbol("ZodOutput");
|
|
8290
8290
|
var $input = Symbol("ZodInput");
|
|
8291
8291
|
|
|
@@ -8335,7 +8335,7 @@ function registry() {
|
|
|
8335
8335
|
return new $ZodRegistry;
|
|
8336
8336
|
}
|
|
8337
8337
|
var globalRegistry = /* @__PURE__ */ registry();
|
|
8338
|
-
// node_modules/
|
|
8338
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/api.js
|
|
8339
8339
|
function _string(Class2, params) {
|
|
8340
8340
|
return new Class2({
|
|
8341
8341
|
type: "string",
|
|
@@ -9190,7 +9190,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
9190
9190
|
return inst;
|
|
9191
9191
|
}
|
|
9192
9192
|
|
|
9193
|
-
// node_modules/
|
|
9193
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/function.js
|
|
9194
9194
|
class $ZodFunction {
|
|
9195
9195
|
constructor(def) {
|
|
9196
9196
|
this._def = def;
|
|
@@ -9259,7 +9259,7 @@ function _function(params) {
|
|
|
9259
9259
|
output: params?.output ?? _unknown($ZodUnknown)
|
|
9260
9260
|
});
|
|
9261
9261
|
}
|
|
9262
|
-
// node_modules/
|
|
9262
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/to-json-schema.js
|
|
9263
9263
|
class JSONSchemaGenerator {
|
|
9264
9264
|
constructor(params) {
|
|
9265
9265
|
this.counter = 0;
|
|
@@ -10011,9 +10011,9 @@ function isTransforming(_schema, _ctx) {
|
|
|
10011
10011
|
}
|
|
10012
10012
|
throw new Error(`Unknown schema type: ${def.type}`);
|
|
10013
10013
|
}
|
|
10014
|
-
// node_modules/
|
|
10014
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/json-schema.js
|
|
10015
10015
|
var exports_json_schema = {};
|
|
10016
|
-
// node_modules/
|
|
10016
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/iso.js
|
|
10017
10017
|
var exports_iso = {};
|
|
10018
10018
|
__export(exports_iso, {
|
|
10019
10019
|
time: () => time2,
|
|
@@ -10054,7 +10054,7 @@ function duration2(params) {
|
|
|
10054
10054
|
return _isoDuration(ZodISODuration, params);
|
|
10055
10055
|
}
|
|
10056
10056
|
|
|
10057
|
-
// node_modules/
|
|
10057
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/errors.js
|
|
10058
10058
|
var initializer2 = (inst, issues) => {
|
|
10059
10059
|
$ZodError.init(inst, issues);
|
|
10060
10060
|
inst.name = "ZodError";
|
|
@@ -10083,13 +10083,13 @@ var ZodRealError = $constructor("ZodError", initializer2, {
|
|
|
10083
10083
|
Parent: Error
|
|
10084
10084
|
});
|
|
10085
10085
|
|
|
10086
|
-
// node_modules/
|
|
10086
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/parse.js
|
|
10087
10087
|
var parse3 = /* @__PURE__ */ _parse(ZodRealError);
|
|
10088
10088
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
10089
10089
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
10090
10090
|
var safeParseAsync2 = /* @__PURE__ */ _safeParseAsync(ZodRealError);
|
|
10091
10091
|
|
|
10092
|
-
// node_modules/
|
|
10092
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/schemas.js
|
|
10093
10093
|
var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
10094
10094
|
$ZodType.init(inst, def);
|
|
10095
10095
|
inst.def = def;
|
|
@@ -11020,7 +11020,7 @@ function json(params) {
|
|
|
11020
11020
|
function preprocess(fn, schema) {
|
|
11021
11021
|
return pipe(transform(fn), schema);
|
|
11022
11022
|
}
|
|
11023
|
-
// node_modules/
|
|
11023
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/compat.js
|
|
11024
11024
|
var ZodIssueCode = {
|
|
11025
11025
|
invalid_type: "invalid_type",
|
|
11026
11026
|
too_big: "too_big",
|
|
@@ -11042,7 +11042,7 @@ function setErrorMap(map2) {
|
|
|
11042
11042
|
function getErrorMap() {
|
|
11043
11043
|
return config().customError;
|
|
11044
11044
|
}
|
|
11045
|
-
// node_modules/
|
|
11045
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/coerce.js
|
|
11046
11046
|
var exports_coerce = {};
|
|
11047
11047
|
__export(exports_coerce, {
|
|
11048
11048
|
string: () => string3,
|
|
@@ -11067,9 +11067,9 @@ function date4(params) {
|
|
|
11067
11067
|
return _coercedDate(ZodDate, params);
|
|
11068
11068
|
}
|
|
11069
11069
|
|
|
11070
|
-
// node_modules/
|
|
11070
|
+
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/external.js
|
|
11071
11071
|
config(en_default());
|
|
11072
|
-
// node_modules/
|
|
11072
|
+
// ../../node_modules/.bun/@agentclientprotocol+sdk@0.26.0+27912429049419a2/node_modules/@agentclientprotocol/sdk/dist/schema/index.js
|
|
11073
11073
|
var AGENT_METHODS = {
|
|
11074
11074
|
initialize: "initialize",
|
|
11075
11075
|
authenticate: "authenticate",
|
|
@@ -11117,7 +11117,7 @@ var CLIENT_METHODS = {
|
|
|
11117
11117
|
elicitation_complete: "elicitation/complete"
|
|
11118
11118
|
};
|
|
11119
11119
|
|
|
11120
|
-
// node_modules/
|
|
11120
|
+
// ../../node_modules/.bun/@agentclientprotocol+sdk@0.26.0+27912429049419a2/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.js
|
|
11121
11121
|
var skippedItem = Symbol("skippedItem");
|
|
11122
11122
|
function defaultOnError(schema, fallback) {
|
|
11123
11123
|
return schema.catch(fallback);
|
|
@@ -11138,7 +11138,7 @@ function vecSkipError(itemSchema) {
|
|
|
11138
11138
|
return exports_external.array(itemSchema.catch(skippedItem)).transform((items) => items.filter((item) => item !== skippedItem));
|
|
11139
11139
|
}
|
|
11140
11140
|
|
|
11141
|
-
// node_modules/
|
|
11141
|
+
// ../../node_modules/.bun/@agentclientprotocol+sdk@0.26.0+27912429049419a2/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js
|
|
11142
11142
|
var zRequestId = union([number2(), string2()]).nullable();
|
|
11143
11143
|
var zSessionId = string2();
|
|
11144
11144
|
var zWriteTextFileRequest = object({
|
|
@@ -12822,7 +12822,7 @@ var zCancelRequestNotification = object({
|
|
|
12822
12822
|
requestId: zRequestId,
|
|
12823
12823
|
_meta: record(string2(), unknown()).nullish()
|
|
12824
12824
|
});
|
|
12825
|
-
// node_modules/
|
|
12825
|
+
// ../../node_modules/.bun/@agentclientprotocol+sdk@0.26.0+27912429049419a2/node_modules/@agentclientprotocol/sdk/dist/stream.js
|
|
12826
12826
|
function ndJsonStream(output, input) {
|
|
12827
12827
|
const textEncoder = new TextEncoder;
|
|
12828
12828
|
const textDecoder = new TextDecoder;
|
|
@@ -12889,7 +12889,7 @@ function ndJsonStream(output, input) {
|
|
|
12889
12889
|
return { readable, writable };
|
|
12890
12890
|
}
|
|
12891
12891
|
|
|
12892
|
-
// node_modules/
|
|
12892
|
+
// ../../node_modules/.bun/@agentclientprotocol+sdk@0.26.0+27912429049419a2/node_modules/@agentclientprotocol/sdk/dist/acp.js
|
|
12893
12893
|
function emptyObjectResponse(response) {
|
|
12894
12894
|
return response ?? {};
|
|
12895
12895
|
}
|
|
@@ -13422,7 +13422,7 @@ class RequestError extends Error {
|
|
|
13422
13422
|
}
|
|
13423
13423
|
}
|
|
13424
13424
|
|
|
13425
|
-
// node_modules/pi-acp/dist/index.js
|
|
13425
|
+
// ../../node_modules/.bun/pi-acp@0.0.33/node_modules/pi-acp/dist/index.js
|
|
13426
13426
|
import { readFileSync as readFileSync3 } from "fs";
|
|
13427
13427
|
import { isAbsolute, resolve as resolvePath } from "path";
|
|
13428
13428
|
import { spawn } from "child_process";
|
|
@@ -2,14 +2,7 @@
|
|
|
2
2
|
// @bun
|
|
3
3
|
|
|
4
4
|
// src/internal/pi-agent-launcher.ts
|
|
5
|
-
import {
|
|
6
|
-
closeSync,
|
|
7
|
-
mkdirSync,
|
|
8
|
-
openSync,
|
|
9
|
-
readSync,
|
|
10
|
-
writeFileSync,
|
|
11
|
-
writeSync
|
|
12
|
-
} from "fs";
|
|
5
|
+
import { closeSync, mkdirSync, openSync, readSync, writeFileSync, writeSync } from "fs";
|
|
13
6
|
import { spawn } from "child_process";
|
|
14
7
|
var STARTUP_INPUT_BYTES = 64 * 1024;
|
|
15
8
|
var PI_HOME = "/tmp/pi-home";
|
|
@@ -128,13 +121,7 @@ async function launchNativePi() {
|
|
|
128
121
|
}
|
|
129
122
|
const provider = requireProvider(process.env.JIG_PI_PROVIDER);
|
|
130
123
|
const model = requireSelection(process.env.JIG_PI_MODEL, "Pi model");
|
|
131
|
-
const child = spawn(NATIVE_PI_PATH, [
|
|
132
|
-
...PRIVATE_PI_NATIVE_ARGUMENTS,
|
|
133
|
-
"--provider",
|
|
134
|
-
provider,
|
|
135
|
-
"--model",
|
|
136
|
-
model
|
|
137
|
-
], {
|
|
124
|
+
const child = spawn(NATIVE_PI_PATH, [...PRIVATE_PI_NATIVE_ARGUMENTS, "--provider", provider, "--model", model], {
|
|
138
125
|
cwd: "/work",
|
|
139
126
|
env: process.env,
|
|
140
127
|
stdio: "inherit"
|
|
@@ -20,6 +20,12 @@
|
|
|
20
20
|
"minLength": 1,
|
|
21
21
|
"maxLength": 1024
|
|
22
22
|
},
|
|
23
|
+
"targetSelector": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "An exact flow:<project-relative-path> or binding:<LocalName> selector. Jig additionally validates the prefix and canonical target identity.",
|
|
26
|
+
"minLength": 6,
|
|
27
|
+
"maxLength": 1029
|
|
28
|
+
},
|
|
23
29
|
"discoverSource": {
|
|
24
30
|
"type": "object",
|
|
25
31
|
"properties": {
|
|
@@ -35,10 +41,7 @@
|
|
|
35
41
|
"maxItems": 65536
|
|
36
42
|
}
|
|
37
43
|
},
|
|
38
|
-
"required": [
|
|
39
|
-
"kind",
|
|
40
|
-
"roots"
|
|
41
|
-
],
|
|
44
|
+
"required": ["kind", "roots"],
|
|
42
45
|
"additionalProperties": false
|
|
43
46
|
},
|
|
44
47
|
"membersSource": {
|
|
@@ -55,10 +58,7 @@
|
|
|
55
58
|
"maxItems": 65536
|
|
56
59
|
}
|
|
57
60
|
},
|
|
58
|
-
"required": [
|
|
59
|
-
"kind",
|
|
60
|
-
"paths"
|
|
61
|
-
],
|
|
61
|
+
"required": ["kind", "paths"],
|
|
62
62
|
"additionalProperties": false
|
|
63
63
|
},
|
|
64
64
|
"source": {
|
|
@@ -99,17 +99,12 @@
|
|
|
99
99
|
"slots": {
|
|
100
100
|
"type": "object",
|
|
101
101
|
"additionalProperties": {
|
|
102
|
-
"$ref": "#/$defs/
|
|
102
|
+
"$ref": "#/$defs/targetSelector"
|
|
103
103
|
},
|
|
104
104
|
"maxProperties": 256
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
|
-
"required": [
|
|
108
|
-
"kind",
|
|
109
|
-
"package",
|
|
110
|
-
"settings",
|
|
111
|
-
"slots"
|
|
112
|
-
],
|
|
107
|
+
"required": ["kind", "package", "settings", "slots"],
|
|
113
108
|
"additionalProperties": false
|
|
114
109
|
},
|
|
115
110
|
"bindingDefinition": {
|