frizz-server 0.14.2 → 0.14.3
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/dist/claude-agent-broker.js +96 -74
- package/dist/dev-child.js +69 -23
- package/package.json +1 -1
- package/web-dist/assets/{TerminalPane-ftTy20h9.js → TerminalPane-DxjFpp3t.js} +2 -2
- package/web-dist/assets/{abnfDiagram-VRR7QNED-DPYIADCF.js → abnfDiagram-VRR7QNED-DQ_U9vYS.js} +1 -1
- package/web-dist/assets/architecture-TIHT7OUA-b9drsxEz.js +1 -0
- package/web-dist/assets/{architectureDiagram-ZJ3FMSHR-CslwHJ59.js → architectureDiagram-ZJ3FMSHR-BDuNYFi2.js} +1 -1
- package/web-dist/assets/{blockDiagram-677ZJIJ3-C_YKDTK3.js → blockDiagram-677ZJIJ3-BQltzNja.js} +1 -1
- package/web-dist/assets/{c4Diagram-LMCZKHZV-CN2XoHEM.js → c4Diagram-LMCZKHZV-DmNbZp__.js} +1 -1
- package/web-dist/assets/channel-BrXX7uN2.js +1 -0
- package/web-dist/assets/{chunk-32BRIVSS-CqQFWcuW.js → chunk-32BRIVSS-DvuSWQnf.js} +1 -1
- package/web-dist/assets/{chunk-52WLFC77-DIA4ep-j.js → chunk-52WLFC77-4E2J-uvF.js} +1 -1
- package/web-dist/assets/{chunk-C7G6YPKG-uYEufieL.js → chunk-C7G6YPKG-HhvTLxPi.js} +1 -1
- package/web-dist/assets/{chunk-EX3LRPZG-Ctuj9M07.js → chunk-EX3LRPZG-DU2vZbkt.js} +1 -1
- package/web-dist/assets/{chunk-FWX5IMBZ-BSeGDrvG.js → chunk-FWX5IMBZ-BG_FOvjT.js} +2 -2
- package/web-dist/assets/{chunk-HOUHSVGY-DFtB1XOE.js → chunk-HOUHSVGY-DoLv22O1.js} +1 -1
- package/web-dist/assets/{chunk-ICXQ74PX-DvvNMH3B.js → chunk-ICXQ74PX-CIS41K-3.js} +1 -1
- package/web-dist/assets/{chunk-MOJQB5TN-blCgZYTp.js → chunk-MOJQB5TN-CAVteDne.js} +1 -1
- package/web-dist/assets/{chunk-OGEWGWER-DiKWBhls.js → chunk-OGEWGWER-DXOz4_Hy.js} +1 -1
- package/web-dist/assets/{chunk-PUDLZKDR-CEZ-LRny.js → chunk-PUDLZKDR-p8-UchSj.js} +1 -1
- package/web-dist/assets/{chunk-Q4XR5HBZ-BO1Y_Z4a.js → chunk-Q4XR5HBZ-ysaS6hzX.js} +1 -1
- package/web-dist/assets/{chunk-V7JOEXUC-ouWDihRg.js → chunk-V7JOEXUC-BKPgk0Ma.js} +1 -1
- package/web-dist/assets/{chunk-VAUOI2AC-DCCN8ceH.js → chunk-VAUOI2AC-C8XyTeg3.js} +1 -1
- package/web-dist/assets/{chunk-VR4S4FIN-D8VxxNLW.js → chunk-VR4S4FIN-DT3kI56L.js} +1 -1
- package/web-dist/assets/{chunk-WYO6CB5R-_B7FSzZM.js → chunk-WYO6CB5R-Chn5KyvG.js} +1 -1
- package/web-dist/assets/{chunk-ZGVPDNZ5-BErRylCv.js → chunk-ZGVPDNZ5-BnwuZm7Y.js} +1 -1
- package/web-dist/assets/classDiagram-OUVF2IWQ-4xAMAfr_.js +1 -0
- package/web-dist/assets/classDiagram-v2-EOCWNBFH-4xAMAfr_.js +1 -0
- package/web-dist/assets/{cynefin-VYW2F7L2-CgH8n1RK.js → cynefin-VYW2F7L2-CfKJwszJ.js} +1 -1
- package/web-dist/assets/{cynefinDiagram-TSTJHNR4-Cp3iB5ig.js → cynefinDiagram-TSTJHNR4-CTGSvPJC.js} +1 -1
- package/web-dist/assets/{dagre-VKFMJZFB-DEJ5M2UQ.js → dagre-VKFMJZFB-IEAnnijO.js} +1 -1
- package/web-dist/assets/{diagram-FQU43EPY-B7TBBYyA.js → diagram-FQU43EPY-DGrmY1mz.js} +1 -1
- package/web-dist/assets/{diagram-G47NLZAW-Djy0qteu.js → diagram-G47NLZAW-BWbRa0Qp.js} +1 -1
- package/web-dist/assets/{diagram-NH7WQ7WH-C7ASxlCE.js → diagram-NH7WQ7WH-DieWMCK1.js} +1 -1
- package/web-dist/assets/{diagram-OA4YK3LP-DQs7Hn4c.js → diagram-OA4YK3LP-BABEK3QJ.js} +1 -1
- package/web-dist/assets/{diagram-WEI45ONY-DvjYq10q.js → diagram-WEI45ONY-Bn6HzRhS.js} +1 -1
- package/web-dist/assets/{ebnfDiagram-CCIWWBDH-D5dvO41S.js → ebnfDiagram-CCIWWBDH-DAswFWeH.js} +1 -1
- package/web-dist/assets/{erDiagram-Q63AITRT-DGMDAMz2.js → erDiagram-Q63AITRT-DnQ3OGS6.js} +1 -1
- package/web-dist/assets/eventmodeling-45OFAUF4-CiF_Cyk8.js +1 -0
- package/web-dist/assets/flowDiagram-23GEKE2U-C34OL8XH.js +1 -0
- package/web-dist/assets/{ganttDiagram-NO4QXBWP-DE4sBbug.js → ganttDiagram-NO4QXBWP-h6IumNeF.js} +1 -1
- package/web-dist/assets/{gitGraph-TEB2WS4Q-6iwymAqh.js → gitGraph-TEB2WS4Q-D5miazSS.js} +1 -1
- package/web-dist/assets/{gitGraphDiagram-IHSO6WYX-B8M8HMMa.js → gitGraphDiagram-IHSO6WYX-rCF_alGf.js} +1 -1
- package/web-dist/assets/index-Cs-YNEjh.css +1 -0
- package/web-dist/assets/{index-C-jkL60P.js → index-fJYZO7Ai.js} +55 -55
- package/web-dist/assets/{info-DKCQHKI2-D1rdRKv2.js → info-DKCQHKI2-Cd4hseAQ.js} +1 -1
- package/web-dist/assets/{infoDiagram-FWYZ7A6U-DfXxAWG-.js → infoDiagram-FWYZ7A6U-CGfUtvIa.js} +1 -1
- package/web-dist/assets/{ishikawaDiagram-FXEZZL3T-C6huyjB4.js → ishikawaDiagram-FXEZZL3T-Z403Dptn.js} +1 -1
- package/web-dist/assets/{journeyDiagram-5HDEW3XC-Cz0dAdxo.js → journeyDiagram-5HDEW3XC-BaQNBWFo.js} +1 -1
- package/web-dist/assets/{kanban-definition-HUTT4EX6-CnOJ2JGq.js → kanban-definition-HUTT4EX6-BkbSHwml.js} +1 -1
- package/web-dist/assets/{line-BsyJpb4L.js → line-DGXofgeC.js} +1 -1
- package/web-dist/assets/{mermaid-parser.core-B2YDnnfc.js → mermaid-parser.core-CR7LZZEK.js} +3 -3
- package/web-dist/assets/{mermaid.core-DZmxOzX_.js → mermaid.core-CpLYjKp0.js} +3 -3
- package/web-dist/assets/{mindmap-definition-LN4V7U3C-C-cB8iLg.js → mindmap-definition-LN4V7U3C-BetUGJPe.js} +1 -1
- package/web-dist/assets/{packet-7NZHBO7P-ByYSVaHA.js → packet-7NZHBO7P-BRvBNpIE.js} +1 -1
- package/web-dist/assets/{pegDiagram-2B236MQR-CiIbvo6V.js → pegDiagram-2B236MQR-BfucWsgY.js} +1 -1
- package/web-dist/assets/{pie-RZYD4A2V-DT0L5Lbg.js → pie-RZYD4A2V-BciCzqSu.js} +1 -1
- package/web-dist/assets/{pieDiagram-ENE6RG2P-BpX1rkMn.js → pieDiagram-ENE6RG2P-B9gq73nN.js} +1 -1
- package/web-dist/assets/{quadrantDiagram-ABIIQ3AL-Bl6eITpX.js → quadrantDiagram-ABIIQ3AL-BKQ8-4ms.js} +1 -1
- package/web-dist/assets/{radar-I7S5WNFK-Dc5znSZ_.js → radar-I7S5WNFK-CEZNpKLK.js} +1 -1
- package/web-dist/assets/{railroad-3IZDKUUU-Ho4iVXCL.js → railroad-3IZDKUUU-DLkLtNsX.js} +1 -1
- package/web-dist/assets/railroad-abnf-AHOZXSZD-DktOu4VY.js +1 -0
- package/web-dist/assets/railroad-ebnf-EBAXGLYW-v6GP9yGH.js +1 -0
- package/web-dist/assets/railroad-peg-LSFZ7HO6-Dp4G_TMl.js +1 -0
- package/web-dist/assets/{railroadDiagram-RFXS5EU6-D5afWytG.js → railroadDiagram-RFXS5EU6-CfcczTD0.js} +1 -1
- package/web-dist/assets/{requirementDiagram-TGXJPOKE-0L5V-_bC.js → requirementDiagram-TGXJPOKE-DDi1_Sx6.js} +1 -1
- package/web-dist/assets/{sankeyDiagram-HTMAVEWB-CH-xRkM4.js → sankeyDiagram-HTMAVEWB-B-sibOny.js} +1 -1
- package/web-dist/assets/{sequenceDiagram-DBY2YBRQ-CMUPviAU.js → sequenceDiagram-DBY2YBRQ-m4JoedCx.js} +1 -1
- package/web-dist/assets/{stateDiagram-2N3HPSRC-ayE6u0KZ.js → stateDiagram-2N3HPSRC-2c6_7vMb.js} +1 -1
- package/web-dist/assets/stateDiagram-v2-6OUMAXLB-vQfHq4-m.js +1 -0
- package/web-dist/assets/{swimlanes-5IMT3BWC-BggKIJzJ.js → swimlanes-5IMT3BWC-CaR-KY52.js} +1 -1
- package/web-dist/assets/swimlanesDiagram-G3AALYLV-BBJrQt-B.js +8 -0
- package/web-dist/assets/{timeline-definition-FHXFAJF6-B4mcBscv.js → timeline-definition-FHXFAJF6-BTUJfN9E.js} +1 -1
- package/web-dist/assets/{treeView-QDETBFTQ-DAH6PHIx.js → treeView-QDETBFTQ-Dx4qSq4R.js} +1 -1
- package/web-dist/assets/{treemap-6X3UGDF4-CUipyr2w.js → treemap-6X3UGDF4-BQrP0aOT.js} +1 -1
- package/web-dist/assets/{vennDiagram-L72KCM5P-CuKqAm0J.js → vennDiagram-L72KCM5P-Cb6FiUn1.js} +1 -1
- package/web-dist/assets/{wardley-OPB4EBWU-D5Wfkjy9.js → wardley-OPB4EBWU-DxhyL1lM.js} +1 -1
- package/web-dist/assets/{wardleyDiagram-EHGQE667-M5MDAf53.js → wardleyDiagram-EHGQE667-3EfJ9d7V.js} +1 -1
- package/web-dist/assets/{xychartDiagram-FW5EYKEG-BaSJmtNq.js → xychartDiagram-FW5EYKEG-COC-ChrZ.js} +1 -1
- package/web-dist/index.html +16 -10
- package/web-dist/assets/architecture-TIHT7OUA-C4ce4EvA.js +0 -1
- package/web-dist/assets/channel-46DdEyrY.js +0 -1
- package/web-dist/assets/classDiagram-OUVF2IWQ-BvKONN2o.js +0 -1
- package/web-dist/assets/classDiagram-v2-EOCWNBFH-BvKONN2o.js +0 -1
- package/web-dist/assets/eventmodeling-45OFAUF4-eNNW0zlr.js +0 -1
- package/web-dist/assets/flowDiagram-23GEKE2U-C5RJ-lqT.js +0 -1
- package/web-dist/assets/index-D0gz-Bx-.css +0 -1
- package/web-dist/assets/railroad-abnf-AHOZXSZD-JkQWwE17.js +0 -1
- package/web-dist/assets/railroad-ebnf-EBAXGLYW-grVU10Bk.js +0 -1
- package/web-dist/assets/railroad-peg-LSFZ7HO6-BTqoHLa0.js +0 -1
- package/web-dist/assets/stateDiagram-v2-6OUMAXLB-DAjtM6iw.js +0 -1
- package/web-dist/assets/swimlanesDiagram-G3AALYLV-BS0jxTx_.js +0 -8
|
@@ -10,7 +10,7 @@ import { fileURLToPath } from "node:url";
|
|
|
10
10
|
import { accessSync, constants as fsConstants } from "node:fs";
|
|
11
11
|
import { delimiter as delimiter2, isAbsolute as isAbsolute4 } from "node:path";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@anthropic-ai+claude-agent-sdk@0.3.
|
|
13
|
+
// node_modules/.pnpm/@anthropic-ai+claude-agent-sdk@0.3.278_@anthropic-ai+sdk@0.111.0_zod@4.4.3__@modelconte_2f91fcc895c8af7cfc785c3c680d4687/node_modules/@anthropic-ai/claude-agent-sdk/sdk.mjs
|
|
14
14
|
import { createRequire as ose } from "node:module";
|
|
15
15
|
import * as Er from "node:fs/promises";
|
|
16
16
|
import * as Un from "node:path";
|
|
@@ -17567,8 +17567,8 @@ var Zx = class {
|
|
|
17567
17567
|
#m = false;
|
|
17568
17568
|
#g = null;
|
|
17569
17569
|
#h = false;
|
|
17570
|
+
#_ = false;
|
|
17570
17571
|
#S = false;
|
|
17571
|
-
#b = false;
|
|
17572
17572
|
#y = false;
|
|
17573
17573
|
#E = false;
|
|
17574
17574
|
#v = void 0;
|
|
@@ -17709,16 +17709,16 @@ var Zx = class {
|
|
|
17709
17709
|
this.#A = e;
|
|
17710
17710
|
}
|
|
17711
17711
|
accountSkillsSyncEnabled() {
|
|
17712
|
-
return this.#
|
|
17712
|
+
return this.#_;
|
|
17713
17713
|
}
|
|
17714
17714
|
replaceAccountSkillsSyncEnabled(e) {
|
|
17715
|
-
this.#
|
|
17715
|
+
this.#_ = e;
|
|
17716
17716
|
}
|
|
17717
17717
|
skillsSyncVetoed() {
|
|
17718
|
-
return this.#
|
|
17718
|
+
return this.#S;
|
|
17719
17719
|
}
|
|
17720
17720
|
replaceSkillsSyncVetoed(e) {
|
|
17721
|
-
this.#
|
|
17721
|
+
this.#S = e;
|
|
17722
17722
|
}
|
|
17723
17723
|
accountPluginsSyncEnabled() {
|
|
17724
17724
|
return this.#y;
|
|
@@ -17743,7 +17743,7 @@ var Zx = class {
|
|
|
17743
17743
|
this.#v = void 0;
|
|
17744
17744
|
}
|
|
17745
17745
|
reset() {
|
|
17746
|
-
this.#
|
|
17746
|
+
this.#_ = false, this.#S = false, this.#y = false, this.#E = false, this.#e = false, this.#t = false, this.#n = false, this.#o = false, this.#i = false, this.#l = false, this.#c = false, this.#u = false, this.#s = false, this.#m = false, this.#a = false, this.#r = false, this.#p = null, this.#f = null, this.#d = null, this.#g = null, this.#h = false, this.#x = void 0, this.#O = void 0, this.#w = null, this.#A = null, this.#v = void 0;
|
|
17747
17747
|
}
|
|
17748
17748
|
};
|
|
17749
17749
|
var Yx = class {
|
|
@@ -17764,8 +17764,8 @@ var Yx = class {
|
|
|
17764
17764
|
#m = /* @__PURE__ */ new Set();
|
|
17765
17765
|
#g = void 0;
|
|
17766
17766
|
#h = void 0;
|
|
17767
|
+
#_ = void 0;
|
|
17767
17768
|
#S = void 0;
|
|
17768
|
-
#b = void 0;
|
|
17769
17769
|
#y = void 0;
|
|
17770
17770
|
planSlugCache() {
|
|
17771
17771
|
return this.#e;
|
|
@@ -17834,16 +17834,16 @@ var Yx = class {
|
|
|
17834
17834
|
this.#h = e;
|
|
17835
17835
|
}
|
|
17836
17836
|
pendingGoalReprompt() {
|
|
17837
|
-
return this.#
|
|
17837
|
+
return this.#_;
|
|
17838
17838
|
}
|
|
17839
17839
|
replacePendingGoalReprompt(e) {
|
|
17840
|
-
this.#
|
|
17840
|
+
this.#_ = e;
|
|
17841
17841
|
}
|
|
17842
17842
|
goalInterruptionStreak() {
|
|
17843
|
-
return this.#
|
|
17843
|
+
return this.#S;
|
|
17844
17844
|
}
|
|
17845
17845
|
replaceGoalInterruptionStreak(e) {
|
|
17846
|
-
this.#
|
|
17846
|
+
this.#S = e;
|
|
17847
17847
|
}
|
|
17848
17848
|
workerCheckin() {
|
|
17849
17849
|
return this.#y;
|
|
@@ -17852,7 +17852,7 @@ var Yx = class {
|
|
|
17852
17852
|
this.#y = e;
|
|
17853
17853
|
}
|
|
17854
17854
|
reset() {
|
|
17855
|
-
this.#e = /* @__PURE__ */ new Map(), this.#t = /* @__PURE__ */ new Map(), this.#n = null, this.#o = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Set(), this.#l = /* @__PURE__ */ new Set(), this.#c = /* @__PURE__ */ new Set(), this.#u = /* @__PURE__ */ new Set(), this.#s = /* @__PURE__ */ new Set(), this.#a = /* @__PURE__ */ new Set(), this.#r = /* @__PURE__ */ new Set(), this.#p = /* @__PURE__ */ new Set(), this.#f = /* @__PURE__ */ new Set(), this.#d = /* @__PURE__ */ new Map(), this.#m = /* @__PURE__ */ new Set(), this.#g = void 0, clearTimeout(this.#h), this.#h = void 0, clearTimeout(this.#
|
|
17855
|
+
this.#e = /* @__PURE__ */ new Map(), this.#t = /* @__PURE__ */ new Map(), this.#n = null, this.#o = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Set(), this.#l = /* @__PURE__ */ new Set(), this.#c = /* @__PURE__ */ new Set(), this.#u = /* @__PURE__ */ new Set(), this.#s = /* @__PURE__ */ new Set(), this.#a = /* @__PURE__ */ new Set(), this.#r = /* @__PURE__ */ new Set(), this.#p = /* @__PURE__ */ new Set(), this.#f = /* @__PURE__ */ new Set(), this.#d = /* @__PURE__ */ new Map(), this.#m = /* @__PURE__ */ new Set(), this.#g = void 0, clearTimeout(this.#h), this.#h = void 0, clearTimeout(this.#_), this.#_ = void 0, this.#S = void 0, clearInterval(this.#y?.timer), this.#y = void 0;
|
|
17856
17856
|
}
|
|
17857
17857
|
};
|
|
17858
17858
|
var WN = { renderTarget: "ink", workspace: "local", canDrive: true, transcriptSource: "local-jsonl", remote: null };
|
|
@@ -18912,8 +18912,8 @@ var CA = class {
|
|
|
18912
18912
|
#m = "cli";
|
|
18913
18913
|
#g = "fresh";
|
|
18914
18914
|
#h = void 0;
|
|
18915
|
+
#_ = false;
|
|
18915
18916
|
#S = false;
|
|
18916
|
-
#b = false;
|
|
18917
18917
|
#y = [];
|
|
18918
18918
|
#E = false;
|
|
18919
18919
|
#v = false;
|
|
@@ -18932,7 +18932,7 @@ var CA = class {
|
|
|
18932
18932
|
#F = true;
|
|
18933
18933
|
#L = null;
|
|
18934
18934
|
#M = false;
|
|
18935
|
-
#
|
|
18935
|
+
#b = null;
|
|
18936
18936
|
#$ = false;
|
|
18937
18937
|
#I = false;
|
|
18938
18938
|
#k = {};
|
|
@@ -19040,16 +19040,16 @@ var CA = class {
|
|
|
19040
19040
|
this.#h = e;
|
|
19041
19041
|
}
|
|
19042
19042
|
extendedQuestionsEnabled() {
|
|
19043
|
-
return this.#
|
|
19043
|
+
return this.#_;
|
|
19044
19044
|
}
|
|
19045
19045
|
replaceExtendedQuestionsEnabled(e) {
|
|
19046
|
-
this.#
|
|
19046
|
+
this.#_ = e;
|
|
19047
19047
|
}
|
|
19048
19048
|
questionOptionDescriptionsOptional() {
|
|
19049
|
-
return this.#
|
|
19049
|
+
return this.#S;
|
|
19050
19050
|
}
|
|
19051
19051
|
replaceQuestionOptionDescriptionsOptional(e) {
|
|
19052
|
-
this.#
|
|
19052
|
+
this.#S = e;
|
|
19053
19053
|
}
|
|
19054
19054
|
replConfigArgv() {
|
|
19055
19055
|
return this.#y;
|
|
@@ -19160,10 +19160,10 @@ var CA = class {
|
|
|
19160
19160
|
this.#M = e;
|
|
19161
19161
|
}
|
|
19162
19162
|
initJsonSchema() {
|
|
19163
|
-
return this.#
|
|
19163
|
+
return this.#b;
|
|
19164
19164
|
}
|
|
19165
19165
|
replaceInitJsonSchema(e) {
|
|
19166
|
-
this.#
|
|
19166
|
+
this.#b = e;
|
|
19167
19167
|
}
|
|
19168
19168
|
cliSessionConfigCarried() {
|
|
19169
19169
|
return this.#$;
|
|
@@ -19190,7 +19190,7 @@ var CA = class {
|
|
|
19190
19190
|
this.#z = e;
|
|
19191
19191
|
}
|
|
19192
19192
|
reset() {
|
|
19193
|
-
this.#e = false, this.#t = null, this.#n = false, this.#o = void 0, this.#i = false, this.#l = false, this.#c = false, this.#u = false, this.#s = void 0, this.#a = false, this.#r = false, this.#p = null, this.replaceWorkspaceRestrictionUnsubscribe(null), this.#d = /* @__PURE__ */ new Map(), this.#m = "cli", this.#g = "fresh", this.#h = void 0, this.#
|
|
19193
|
+
this.#e = false, this.#t = null, this.#n = false, this.#o = void 0, this.#i = false, this.#l = false, this.#c = false, this.#u = false, this.#s = void 0, this.#a = false, this.#r = false, this.#p = null, this.replaceWorkspaceRestrictionUnsubscribe(null), this.#d = /* @__PURE__ */ new Map(), this.#m = "cli", this.#g = "fresh", this.#h = void 0, this.#_ = false, this.#S = false, this.#y = [], this.#E = false, this.#v = false, this.#x = false, this.#O = false, this.#w = "none", this.#A = false, this.#N = false, this.#C = false, this.#j = false, this.#P = void 0, this.#D = false, this.#U = false, this.#T = false, this.#R = null, this.#F = true, this.#L = null, this.#M = false, this.#b = null, this.#$ = false, this.#I = false, this.#k = {}, this.#z = null;
|
|
19194
19194
|
}
|
|
19195
19195
|
};
|
|
19196
19196
|
var TA = class {
|
|
@@ -19440,8 +19440,8 @@ var PA = class {
|
|
|
19440
19440
|
#m = null;
|
|
19441
19441
|
#g = q1();
|
|
19442
19442
|
#h = null;
|
|
19443
|
+
#_ = null;
|
|
19443
19444
|
#S = null;
|
|
19444
|
-
#b = null;
|
|
19445
19445
|
#y = { direct: null, proxied: null };
|
|
19446
19446
|
#E = null;
|
|
19447
19447
|
#v = null;
|
|
@@ -19523,16 +19523,16 @@ var PA = class {
|
|
|
19523
19523
|
this.#h = e;
|
|
19524
19524
|
}
|
|
19525
19525
|
tracerProvider() {
|
|
19526
|
-
return this.#
|
|
19526
|
+
return this.#_;
|
|
19527
19527
|
}
|
|
19528
19528
|
replaceTracerProvider(e) {
|
|
19529
|
-
this.#
|
|
19529
|
+
this.#_ = e;
|
|
19530
19530
|
}
|
|
19531
19531
|
cachedTelemetryResource() {
|
|
19532
|
-
return this.#
|
|
19532
|
+
return this.#S;
|
|
19533
19533
|
}
|
|
19534
19534
|
replaceCachedTelemetryResource(e) {
|
|
19535
|
-
this.#
|
|
19535
|
+
this.#S = e;
|
|
19536
19536
|
}
|
|
19537
19537
|
cachedOtlpHttpAgentFactory(e) {
|
|
19538
19538
|
return this.#y[e ? "proxied" : "direct"];
|
|
@@ -19553,7 +19553,7 @@ var PA = class {
|
|
|
19553
19553
|
this.#v = e;
|
|
19554
19554
|
}
|
|
19555
19555
|
reset() {
|
|
19556
|
-
this.#e = null, this.#t = null, this.#n = null, this.#o = null, this.#i = null, this.#l = null, this.#c = null, this.#u = null, this.#s = null, this.#a = null, this.#r = null, this.#p = null, this.#f = null, this.#d = [], this.#m = null, this.#g = q1(), this.#h = null, this.#
|
|
19556
|
+
this.#e = null, this.#t = null, this.#n = null, this.#o = null, this.#i = null, this.#l = null, this.#c = null, this.#u = null, this.#s = null, this.#a = null, this.#r = null, this.#p = null, this.#f = null, this.#d = [], this.#m = null, this.#g = q1(), this.#h = null, this.#_ = null, this.#S = null, this.#y = { direct: null, proxied: null }, this.#E = null, this.#v = null;
|
|
19557
19557
|
}
|
|
19558
19558
|
};
|
|
19559
19559
|
var IA = class {
|
|
@@ -19724,8 +19724,11 @@ var LA = class {
|
|
|
19724
19724
|
#f = false;
|
|
19725
19725
|
#d = false;
|
|
19726
19726
|
#m = false;
|
|
19727
|
-
#g =
|
|
19728
|
-
#h =
|
|
19727
|
+
#g = false;
|
|
19728
|
+
#h = void 0;
|
|
19729
|
+
#_ = void 0;
|
|
19730
|
+
#S = /* @__PURE__ */ new Map();
|
|
19731
|
+
#y = /* @__PURE__ */ new Map();
|
|
19729
19732
|
promptCache1hAllowlist() {
|
|
19730
19733
|
return this.#e;
|
|
19731
19734
|
}
|
|
@@ -19816,17 +19819,36 @@ var LA = class {
|
|
|
19816
19819
|
markThirdPartyServerClassifierRefused() {
|
|
19817
19820
|
this.#m = true;
|
|
19818
19821
|
}
|
|
19822
|
+
observedGateway() {
|
|
19823
|
+
return this.#h;
|
|
19824
|
+
}
|
|
19825
|
+
serverClassifierFallbackChoice() {
|
|
19826
|
+
return this.#_;
|
|
19827
|
+
}
|
|
19828
|
+
setServerClassifierFallbackChoice(e) {
|
|
19829
|
+
this.#_ = e;
|
|
19830
|
+
}
|
|
19831
|
+
clearServerClassifierFallbackChoice() {
|
|
19832
|
+
this.#_ = void 0;
|
|
19833
|
+
}
|
|
19834
|
+
noteObservedGateway(e) {
|
|
19835
|
+
this.#h ??= e;
|
|
19836
|
+
}
|
|
19837
|
+
takeServerClassifierFallbackAnnouncement() {
|
|
19838
|
+
if (!this.#m || this.#g) return false;
|
|
19839
|
+
return this.#g = true, true;
|
|
19840
|
+
}
|
|
19819
19841
|
inferenceProfileBackingModels() {
|
|
19820
|
-
return this.#
|
|
19842
|
+
return this.#S;
|
|
19821
19843
|
}
|
|
19822
19844
|
recordInferenceProfileBackingModel(e, t) {
|
|
19823
|
-
this.#
|
|
19845
|
+
this.#S.set(e, t);
|
|
19824
19846
|
}
|
|
19825
19847
|
foundryDeploymentCapabilities() {
|
|
19826
|
-
return this.#
|
|
19848
|
+
return this.#y;
|
|
19827
19849
|
}
|
|
19828
19850
|
reset() {
|
|
19829
|
-
this.#e = null, this.#t = /* @__PURE__ */ new Map(), this.#n = /* @__PURE__ */ new Map(), this.#o = /* @__PURE__ */ new Set(), this.#i = false, this.#l = false, this.#c = false, this.#u = false, this.#s = false, this.#a = false, this.#r = false, this.#p = /* @__PURE__ */ new Set(), this.#f = false, this.#d = false, this.#m = false, this.#g = /* @__PURE__ */ new Map(), this.#
|
|
19851
|
+
this.#e = null, this.#t = /* @__PURE__ */ new Map(), this.#n = /* @__PURE__ */ new Map(), this.#o = /* @__PURE__ */ new Set(), this.#i = false, this.#l = false, this.#c = false, this.#u = false, this.#s = false, this.#a = false, this.#r = false, this.#p = /* @__PURE__ */ new Set(), this.#f = false, this.#d = false, this.#m = false, this.#g = false, this.#h = void 0, this.#_ = void 0, this.#S = /* @__PURE__ */ new Map(), this.#y = /* @__PURE__ */ new Map();
|
|
19830
19852
|
}
|
|
19831
19853
|
};
|
|
19832
19854
|
var MA = class {
|
|
@@ -25064,7 +25086,7 @@ var NRe = d.triBool();
|
|
|
25064
25086
|
var URe = d.triBool();
|
|
25065
25087
|
var FRe = d.triBool();
|
|
25066
25088
|
var $Re = d.triBool();
|
|
25067
|
-
var zRe = d.
|
|
25089
|
+
var zRe = d.str();
|
|
25068
25090
|
var jRe = d.bool();
|
|
25069
25091
|
var HRe = d.bool();
|
|
25070
25092
|
var BRe = d.bool();
|
|
@@ -30513,18 +30535,18 @@ var EE = class _EE {
|
|
|
30513
30535
|
#m;
|
|
30514
30536
|
#g;
|
|
30515
30537
|
#h;
|
|
30538
|
+
#_;
|
|
30516
30539
|
#S;
|
|
30517
|
-
#b;
|
|
30518
30540
|
#y;
|
|
30519
30541
|
#E;
|
|
30520
30542
|
#v;
|
|
30521
30543
|
#x;
|
|
30522
30544
|
static unsafeExposeInternals(e) {
|
|
30523
|
-
return { starts: e.#
|
|
30545
|
+
return { starts: e.#S, ttls: e.#y, sizes: e.#_, keyMap: e.#s, keyList: e.#a, valList: e.#r, next: e.#p, prev: e.#f, get head() {
|
|
30524
30546
|
return e.#d;
|
|
30525
30547
|
}, get tail() {
|
|
30526
30548
|
return e.#m;
|
|
30527
|
-
}, free: e.#g, isBackgroundFetch: (t) => e.#
|
|
30549
|
+
}, free: e.#g, isBackgroundFetch: (t) => e.#b(t), backgroundFetch: (t, n, r, o) => e.#M(t, n, r, o), moveToTail: (t) => e.#I(t), indexes: (t) => e.#T(t), rindexes: (t) => e.#R(t), isStale: (t) => e.#C(t) };
|
|
30528
30550
|
}
|
|
30529
30551
|
get max() {
|
|
30530
30552
|
return this.#e;
|
|
@@ -30585,7 +30607,7 @@ var EE = class _EE {
|
|
|
30585
30607
|
}
|
|
30586
30608
|
#O() {
|
|
30587
30609
|
let e = new xh(this.#e), t = new xh(this.#e);
|
|
30588
|
-
this.#y = e, this.#
|
|
30610
|
+
this.#y = e, this.#S = t, this.#N = (o, s, i = ud.now()) => {
|
|
30589
30611
|
if (t[o] = s !== 0 ? i : 0, e[o] = s, s !== 0 && this.ttlAutopurge) {
|
|
30590
30612
|
let a = setTimeout(() => {
|
|
30591
30613
|
if (this.#C(o)) this.#k(this.#a[o], "expire");
|
|
@@ -30633,10 +30655,10 @@ var EE = class _EE {
|
|
|
30633
30655
|
#C = () => false;
|
|
30634
30656
|
#j() {
|
|
30635
30657
|
let e = new xh(this.#e);
|
|
30636
|
-
this.#u = 0, this.#
|
|
30658
|
+
this.#u = 0, this.#_ = e, this.#P = (t) => {
|
|
30637
30659
|
this.#u -= e[t], e[t] = 0;
|
|
30638
30660
|
}, this.#U = (t, n, r, o) => {
|
|
30639
|
-
if (this.#
|
|
30661
|
+
if (this.#b(n)) return 0;
|
|
30640
30662
|
if (!Ji(r)) if (o) {
|
|
30641
30663
|
if (typeof o !== "function") throw TypeError("sizeCalculation must be a function");
|
|
30642
30664
|
if (r = o(n, t), !Ji(r)) throw TypeError("sizeCalculation return invalid (expect positive integer)");
|
|
@@ -30678,28 +30700,28 @@ var EE = class _EE {
|
|
|
30678
30700
|
return e !== void 0 && this.#s.get(this.#a[e]) === e;
|
|
30679
30701
|
}
|
|
30680
30702
|
*entries() {
|
|
30681
|
-
for (let e of this.#T()) if (this.#r[e] !== void 0 && this.#a[e] !== void 0 && !this.#
|
|
30703
|
+
for (let e of this.#T()) if (this.#r[e] !== void 0 && this.#a[e] !== void 0 && !this.#b(this.#r[e])) yield [this.#a[e], this.#r[e]];
|
|
30682
30704
|
}
|
|
30683
30705
|
*rentries() {
|
|
30684
|
-
for (let e of this.#R()) if (this.#r[e] !== void 0 && this.#a[e] !== void 0 && !this.#
|
|
30706
|
+
for (let e of this.#R()) if (this.#r[e] !== void 0 && this.#a[e] !== void 0 && !this.#b(this.#r[e])) yield [this.#a[e], this.#r[e]];
|
|
30685
30707
|
}
|
|
30686
30708
|
*keys() {
|
|
30687
30709
|
for (let e of this.#T()) {
|
|
30688
30710
|
let t = this.#a[e];
|
|
30689
|
-
if (t !== void 0 && !this.#
|
|
30711
|
+
if (t !== void 0 && !this.#b(this.#r[e])) yield t;
|
|
30690
30712
|
}
|
|
30691
30713
|
}
|
|
30692
30714
|
*rkeys() {
|
|
30693
30715
|
for (let e of this.#R()) {
|
|
30694
30716
|
let t = this.#a[e];
|
|
30695
|
-
if (t !== void 0 && !this.#
|
|
30717
|
+
if (t !== void 0 && !this.#b(this.#r[e])) yield t;
|
|
30696
30718
|
}
|
|
30697
30719
|
}
|
|
30698
30720
|
*values() {
|
|
30699
|
-
for (let e of this.#T()) if (this.#r[e] !== void 0 && !this.#
|
|
30721
|
+
for (let e of this.#T()) if (this.#r[e] !== void 0 && !this.#b(this.#r[e])) yield this.#r[e];
|
|
30700
30722
|
}
|
|
30701
30723
|
*rvalues() {
|
|
30702
|
-
for (let e of this.#R()) if (this.#r[e] !== void 0 && !this.#
|
|
30724
|
+
for (let e of this.#R()) if (this.#r[e] !== void 0 && !this.#b(this.#r[e])) yield this.#r[e];
|
|
30703
30725
|
}
|
|
30704
30726
|
[Symbol.iterator]() {
|
|
30705
30727
|
return this.entries();
|
|
@@ -30707,21 +30729,21 @@ var EE = class _EE {
|
|
|
30707
30729
|
[Symbol.toStringTag] = "LRUCache";
|
|
30708
30730
|
find(e, t = {}) {
|
|
30709
30731
|
for (let n of this.#T()) {
|
|
30710
|
-
let r = this.#r[n], o = this.#
|
|
30732
|
+
let r = this.#r[n], o = this.#b(r) ? r.__staleWhileFetching : r;
|
|
30711
30733
|
if (o === void 0) continue;
|
|
30712
30734
|
if (e(o, this.#a[n], this)) return this.get(this.#a[n], t);
|
|
30713
30735
|
}
|
|
30714
30736
|
}
|
|
30715
30737
|
forEach(e, t = this) {
|
|
30716
30738
|
for (let n of this.#T()) {
|
|
30717
|
-
let r = this.#r[n], o = this.#
|
|
30739
|
+
let r = this.#r[n], o = this.#b(r) ? r.__staleWhileFetching : r;
|
|
30718
30740
|
if (o === void 0) continue;
|
|
30719
30741
|
e.call(t, o, this.#a[n], this);
|
|
30720
30742
|
}
|
|
30721
30743
|
}
|
|
30722
30744
|
rforEach(e, t = this) {
|
|
30723
30745
|
for (let n of this.#R()) {
|
|
30724
|
-
let r = this.#r[n], o = this.#
|
|
30746
|
+
let r = this.#r[n], o = this.#b(r) ? r.__staleWhileFetching : r;
|
|
30725
30747
|
if (o === void 0) continue;
|
|
30726
30748
|
e.call(t, o, this.#a[n], this);
|
|
30727
30749
|
}
|
|
@@ -30734,31 +30756,31 @@ var EE = class _EE {
|
|
|
30734
30756
|
info(e) {
|
|
30735
30757
|
let t = this.#s.get(e);
|
|
30736
30758
|
if (t === void 0) return;
|
|
30737
|
-
let n = this.#r[t], r = this.#
|
|
30759
|
+
let n = this.#r[t], r = this.#b(n) ? n.__staleWhileFetching : n;
|
|
30738
30760
|
if (r === void 0) return;
|
|
30739
30761
|
let o = { value: r };
|
|
30740
|
-
if (this.#y && this.#
|
|
30741
|
-
let s = this.#y[t], i = this.#
|
|
30762
|
+
if (this.#y && this.#S) {
|
|
30763
|
+
let s = this.#y[t], i = this.#S[t];
|
|
30742
30764
|
if (s && i) {
|
|
30743
30765
|
let a = s - (ud.now() - i);
|
|
30744
30766
|
o.ttl = a, o.start = Date.now();
|
|
30745
30767
|
}
|
|
30746
30768
|
}
|
|
30747
|
-
if (this.#
|
|
30769
|
+
if (this.#_) o.size = this.#_[t];
|
|
30748
30770
|
return o;
|
|
30749
30771
|
}
|
|
30750
30772
|
dump() {
|
|
30751
30773
|
let e = [];
|
|
30752
30774
|
for (let t of this.#T({ allowStale: true })) {
|
|
30753
|
-
let n = this.#a[t], r = this.#r[t], o = this.#
|
|
30775
|
+
let n = this.#a[t], r = this.#r[t], o = this.#b(r) ? r.__staleWhileFetching : r;
|
|
30754
30776
|
if (o === void 0 || n === void 0) continue;
|
|
30755
30777
|
let s = { value: o };
|
|
30756
|
-
if (this.#y && this.#
|
|
30778
|
+
if (this.#y && this.#S) {
|
|
30757
30779
|
s.ttl = this.#y[t];
|
|
30758
|
-
let i = ud.now() - this.#
|
|
30780
|
+
let i = ud.now() - this.#S[t];
|
|
30759
30781
|
s.start = Math.floor(Date.now() - i);
|
|
30760
30782
|
}
|
|
30761
|
-
if (this.#
|
|
30783
|
+
if (this.#_) s.size = this.#_[t];
|
|
30762
30784
|
e.unshift([n, s]);
|
|
30763
30785
|
}
|
|
30764
30786
|
return e;
|
|
@@ -30788,7 +30810,7 @@ var EE = class _EE {
|
|
|
30788
30810
|
this.#I(u);
|
|
30789
30811
|
let p = this.#r[u];
|
|
30790
30812
|
if (t !== p) {
|
|
30791
|
-
if (this.#v && this.#
|
|
30813
|
+
if (this.#v && this.#b(p)) {
|
|
30792
30814
|
p.__abortController.abort(Error("replaced"));
|
|
30793
30815
|
let { __staleWhileFetching: f } = p;
|
|
30794
30816
|
if (f !== void 0 && !s) {
|
|
@@ -30801,7 +30823,7 @@ var EE = class _EE {
|
|
|
30801
30823
|
}
|
|
30802
30824
|
if (this.#P(u), this.#D(u, l, a), this.#r[u] = t, a) {
|
|
30803
30825
|
a.set = "replace";
|
|
30804
|
-
let f = p && this.#
|
|
30826
|
+
let f = p && this.#b(p) ? p.__staleWhileFetching : p;
|
|
30805
30827
|
if (f !== void 0) a.oldValue = f;
|
|
30806
30828
|
}
|
|
30807
30829
|
} else if (a) a.set = "update";
|
|
@@ -30821,7 +30843,7 @@ var EE = class _EE {
|
|
|
30821
30843
|
try {
|
|
30822
30844
|
while (this.#c) {
|
|
30823
30845
|
let e = this.#r[this.#d];
|
|
30824
|
-
if (this.#L(true), this.#
|
|
30846
|
+
if (this.#L(true), this.#b(e)) {
|
|
30825
30847
|
if (e.__staleWhileFetching) return e.__staleWhileFetching;
|
|
30826
30848
|
} else if (e !== void 0) return e;
|
|
30827
30849
|
}
|
|
@@ -30834,7 +30856,7 @@ var EE = class _EE {
|
|
|
30834
30856
|
}
|
|
30835
30857
|
#L(e) {
|
|
30836
30858
|
let t = this.#d, n = this.#a[t], r = this.#r[t];
|
|
30837
|
-
if (this.#v && this.#
|
|
30859
|
+
if (this.#v && this.#b(r)) r.__abortController.abort(Error("evicted"));
|
|
30838
30860
|
else if (this.#E || this.#x) {
|
|
30839
30861
|
if (this.#E) this.#n?.(r, n, "evict");
|
|
30840
30862
|
if (this.#x) this.#h?.push([r, n, "evict"]);
|
|
@@ -30848,7 +30870,7 @@ var EE = class _EE {
|
|
|
30848
30870
|
let { updateAgeOnHas: n = this.updateAgeOnHas, status: r } = t, o = this.#s.get(e);
|
|
30849
30871
|
if (o !== void 0) {
|
|
30850
30872
|
let s = this.#r[o];
|
|
30851
|
-
if (this.#
|
|
30873
|
+
if (this.#b(s) && s.__staleWhileFetching === void 0) return false;
|
|
30852
30874
|
if (!this.#C(o)) {
|
|
30853
30875
|
if (n) this.#w(o);
|
|
30854
30876
|
if (r) r.has = "hit", this.#A(r, o);
|
|
@@ -30861,11 +30883,11 @@ var EE = class _EE {
|
|
|
30861
30883
|
let { allowStale: n = this.allowStale } = t, r = this.#s.get(e);
|
|
30862
30884
|
if (r === void 0 || !n && this.#C(r)) return;
|
|
30863
30885
|
let o = this.#r[r];
|
|
30864
|
-
return this.#
|
|
30886
|
+
return this.#b(o) ? o.__staleWhileFetching : o;
|
|
30865
30887
|
}
|
|
30866
30888
|
#M(e, t, n, r) {
|
|
30867
30889
|
let o = t === void 0 ? void 0 : this.#r[t];
|
|
30868
|
-
if (this.#
|
|
30890
|
+
if (this.#b(o)) return o;
|
|
30869
30891
|
let s = new bE(), { signal: i } = n;
|
|
30870
30892
|
i?.addEventListener("abort", () => s.abort(i.reason), { signal: s.signal });
|
|
30871
30893
|
let a = { signal: s.signal, options: n, context: r }, c = (h, g = false) => {
|
|
@@ -30910,7 +30932,7 @@ var EE = class _EE {
|
|
|
30910
30932
|
else this.#r[t] = m;
|
|
30911
30933
|
return m;
|
|
30912
30934
|
}
|
|
30913
|
-
#
|
|
30935
|
+
#b(e) {
|
|
30914
30936
|
if (!this.#v) return false;
|
|
30915
30937
|
let t = e;
|
|
30916
30938
|
return !!t && t instanceof Promise && t.hasOwnProperty("__staleWhileFetching") && t.__abortController instanceof bE;
|
|
@@ -30928,7 +30950,7 @@ var EE = class _EE {
|
|
|
30928
30950
|
return x.__returned = x;
|
|
30929
30951
|
} else {
|
|
30930
30952
|
let x = this.#r[S];
|
|
30931
|
-
if (this.#
|
|
30953
|
+
if (this.#b(x)) {
|
|
30932
30954
|
let N = n && x.__staleWhileFetching !== void 0;
|
|
30933
30955
|
if (y) {
|
|
30934
30956
|
if (y.fetch = "inflight", N) y.returnedStale = true;
|
|
@@ -30965,7 +30987,7 @@ var EE = class _EE {
|
|
|
30965
30987
|
get(e, t = {}) {
|
|
30966
30988
|
let { allowStale: n = this.allowStale, updateAgeOnGet: r = this.updateAgeOnGet, noDeleteOnStaleGet: o = this.noDeleteOnStaleGet, status: s } = t, i = this.#s.get(e);
|
|
30967
30989
|
if (i !== void 0) {
|
|
30968
|
-
let a = this.#r[i], c = this.#
|
|
30990
|
+
let a = this.#r[i], c = this.#b(a);
|
|
30969
30991
|
if (s) this.#A(s, i);
|
|
30970
30992
|
if (this.#C(i)) {
|
|
30971
30993
|
if (s) s.get = "stale";
|
|
@@ -31006,7 +31028,7 @@ var EE = class _EE {
|
|
|
31006
31028
|
else {
|
|
31007
31029
|
this.#P(r);
|
|
31008
31030
|
let o = this.#r[r];
|
|
31009
|
-
if (this.#
|
|
31031
|
+
if (this.#b(o)) o.__abortController.abort(Error("deleted"));
|
|
31010
31032
|
else if (this.#E || this.#x) {
|
|
31011
31033
|
if (this.#E) this.#n?.(o, e, t);
|
|
31012
31034
|
if (this.#x) this.#h?.push([o, e, t]);
|
|
@@ -31034,15 +31056,15 @@ var EE = class _EE {
|
|
|
31034
31056
|
#z(e) {
|
|
31035
31057
|
for (let t of this.#R({ allowStale: true })) {
|
|
31036
31058
|
let n = this.#r[t];
|
|
31037
|
-
if (this.#
|
|
31059
|
+
if (this.#b(n)) n.__abortController.abort(Error("deleted"));
|
|
31038
31060
|
else {
|
|
31039
31061
|
let r = this.#a[t];
|
|
31040
31062
|
if (this.#E) this.#n?.(n, r, e);
|
|
31041
31063
|
if (this.#x) this.#h?.push([n, r, e]);
|
|
31042
31064
|
}
|
|
31043
31065
|
}
|
|
31044
|
-
if (this.#s.clear(), this.#r.fill(void 0), this.#a.fill(void 0), this.#y && this.#
|
|
31045
|
-
if (this.#
|
|
31066
|
+
if (this.#s.clear(), this.#r.fill(void 0), this.#a.fill(void 0), this.#y && this.#S) this.#y.fill(0), this.#S.fill(0);
|
|
31067
|
+
if (this.#_) this.#_.fill(0);
|
|
31046
31068
|
if (this.#d = 0, this.#m = 0, this.#g.length = 0, this.#u = 0, this.#c = 0, this.#x && this.#h) {
|
|
31047
31069
|
let t = this.#h, n;
|
|
31048
31070
|
while (n = t?.shift()) this.#o?.(...n);
|
|
@@ -34320,7 +34342,7 @@ function H0(e, t) {
|
|
|
34320
34342
|
else if (Array.isArray(s)) p = s;
|
|
34321
34343
|
else if (s.type === "custom") p = s.prompt, h = s.snapshot;
|
|
34322
34344
|
else if (s.type === "preset") f = s.append, m = s.excludeDynamicSections, h = s.snapshot;
|
|
34323
|
-
process.env.CLAUDE_AGENT_SDK_VERSION = "0.3.
|
|
34345
|
+
process.env.CLAUDE_AGENT_SDK_VERSION = "0.3.278";
|
|
34324
34346
|
let { abortController: g = nf(), additionalDirectories: y = [], projectConfigRoot: E, agent: v, agents: S, allowedTools: x = [], betas: w, canUseTool: I, continue: O, cwd: z, debug: N, debugFile: V, disallowedTools: X = [], tools: ee, env: fe, executable: te = Ml() ? "bun" : "node", executableArgs: nt = [], extraArgs: De = {}, fallbackModel: Dt, enableFileCheckpointing: Oe, toolConfig: q, forkSession: Rn, hooks: vt, includeHookEvents: ae, includePartialMessages: re, forwardSubagentText: Fe, onElicitation: ht, onUserDialog: Ye, supportedDialogKinds: he, perTaskStopAffordance: $t, rapidFollowupPreempt: Be, workspaceTrust: an, persistSession: $o, sessionStore: rt, sessionStoreFlush: oa, thinking: xd, effort: Moe, maxThinkingTokens: bx, maxTurns: Noe, maxBudgetUsd: Uoe, taskBudget: Foe, mcpServers: K0, model: $oe, outputFormat: G0, permissionMode: zoe, allowDangerouslySkipPermissions: joe = false, permissionPromptToolName: Hoe, permissionPrompts: Boe, plugins: qh, pluginDelivery: Ex = "argv", getOAuthToken: W0, getHostAuthToken: V0, workload: q0, resume: Z0, resumeSessionAt: Koe, resumeDropsTurn: Goe, sessionId: Woe, skills: Y0, stderr: Voe, strictMcpConfig: qoe } = u, J0 = zoe ?? (e?.resolvePermissionModeInCli ? void 0 : "default");
|
|
34325
34347
|
if (rt && $o === false) throw Error("sessionStore cannot be used with persistSession: false -- the storage adapter requires local writes to mirror from. Use CLAUDE_CONFIG_DIR=/tmp for ephemeral local writes with external mirroring.");
|
|
34326
34348
|
if (he !== void 0 && he.length > 0 && !Ye) throw Error("supportedDialogKinds requires an onUserDialog callback -- declaring dialog kinds without a handler would park dialogs nothing can answer. Provide onUserDialog, or omit supportedDialogKinds.");
|
|
@@ -34338,7 +34360,7 @@ function H0(e, t) {
|
|
|
34338
34360
|
}
|
|
34339
34361
|
let eM = G0?.type === "json_schema" ? G0.schema : void 0, cn = fe ? { ...fe } : { ...process.env };
|
|
34340
34362
|
if (!cn.CLAUDE_CODE_ENTRYPOINT) cn.CLAUDE_CODE_ENTRYPOINT = "sdk-ts";
|
|
34341
|
-
if (!cn.CLAUDE_AGENT_SDK_VERSION) cn.CLAUDE_AGENT_SDK_VERSION = "0.3.
|
|
34363
|
+
if (!cn.CLAUDE_AGENT_SDK_VERSION) cn.CLAUDE_AGENT_SDK_VERSION = "0.3.278";
|
|
34342
34364
|
if (Oe) cn.CLAUDE_CODE_ENABLE_SDK_FILE_CHECKPOINTING = "true";
|
|
34343
34365
|
if (W0) cn.CLAUDE_CODE_SDK_HAS_OAUTH_REFRESH = "1";
|
|
34344
34366
|
if (V0) cn.CLAUDE_CODE_SDK_HAS_HOST_AUTH_REFRESH = "1";
|