@caspian2026/agent-sdk 0.0.13 → 0.0.15
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/{chunk-0vewdqr2.js → chunk-05d4nbqx.js} +3 -3
- package/dist/{chunk-p6qdjxvz.js → chunk-083agw6a.js} +4 -4
- package/dist/{chunk-46yrjrpt.js → chunk-0emm0yvn.js} +5 -5
- package/dist/{chunk-dyvrz8pf.js → chunk-0ghamvvb.js} +3 -3
- package/dist/{chunk-yxk5gqyj.js → chunk-0ns77w8v.js} +1 -1
- package/dist/{chunk-vb6811d0.js → chunk-0q33zpny.js} +2 -2
- package/dist/{chunk-k8m0scgj.js → chunk-12hq1ha7.js} +3 -3
- package/dist/{chunk-eb59rs3b.js → chunk-15g2mh9p.js} +2 -2
- package/dist/{chunk-kj12dpfk.js → chunk-16tnp97x.js} +6 -6
- package/dist/{chunk-5evd2zse.js → chunk-1ek78rsf.js} +47 -47
- package/dist/{chunk-yjg74qmp.js → chunk-29es5rq8.js} +3 -3
- package/dist/{chunk-y26haxyd.js → chunk-2ekqmqv3.js} +3 -3
- package/dist/{chunk-28zk60za.js → chunk-2j63162w.js} +3 -3
- package/dist/{chunk-1qy5fzfv.js → chunk-31bd2413.js} +2 -2
- package/dist/{chunk-3pydh5j4.js → chunk-33wa5mwn.js} +67 -67
- package/dist/{chunk-78e5yhhq.js → chunk-34mcd0qr.js} +3 -3
- package/dist/{chunk-2731ytyz.js → chunk-34xvctr4.js} +2 -2
- package/dist/{chunk-80nhm5kv.js → chunk-3gcmk93c.js} +4 -4
- package/dist/{chunk-nqen92y9.js → chunk-3wf6bqn4.js} +2 -2
- package/dist/{chunk-6napjp29.js → chunk-419x8722.js} +2 -2
- package/dist/{chunk-wgy3ajgs.js → chunk-508wvc51.js} +2 -2
- package/dist/{chunk-61s4nyrq.js → chunk-54dg6e30.js} +1 -1
- package/dist/{chunk-chyw2mbg.js → chunk-5rm8he7t.js} +2 -2
- package/dist/{chunk-214tavdv.js → chunk-5ty68mqk.js} +4 -4
- package/dist/{chunk-w22x70jh.js → chunk-5vp2v5da.js} +7 -7
- package/dist/{chunk-mn75r067.js → chunk-64qyep5d.js} +1 -1
- package/dist/{chunk-6ad9zkxx.js → chunk-6bngm91w.js} +2 -2
- package/dist/{chunk-hd4eg6kh.js → chunk-6pg8j8vx.js} +1 -1
- package/dist/{chunk-41n0ay0p.js → chunk-6v0ae1nh.js} +2 -2
- package/dist/{chunk-dag4jq4v.js → chunk-77n6cc7y.js} +3 -3
- package/dist/{chunk-prmzj577.js → chunk-790ey6rw.js} +8 -8
- package/dist/{chunk-k74dn9ed.js → chunk-7kge6zer.js} +2 -2
- package/dist/{chunk-a5xn5zcr.js → chunk-7rdye8qk.js} +1 -1
- package/dist/{chunk-0f66wzb1.js → chunk-7vjnedhb.js} +1 -1
- package/dist/{chunk-08de1bkc.js → chunk-7wezmwtb.js} +1 -1
- package/dist/{chunk-95t7bqz3.js → chunk-84qdsc71.js} +1 -1
- package/dist/{chunk-t4xsmp8v.js → chunk-89942kk1.js} +2 -2
- package/dist/{chunk-kgbz47x2.js → chunk-89f6szhy.js} +3 -3
- package/dist/{chunk-4dee9ybp.js → chunk-8csnkgj5.js} +2 -2
- package/dist/{chunk-avztt5dv.js → chunk-8gqhtswj.js} +3 -3
- package/dist/{chunk-vyc4jpmd.js → chunk-8mffwag2.js} +3 -3
- package/dist/{chunk-0kf7k9m5.js → chunk-8nw0be5v.js} +2 -2
- package/dist/{chunk-nxww6w6y.js → chunk-8qdr12kk.js} +8 -8
- package/dist/{chunk-dcmxz2jc.js → chunk-9a9721qa.js} +2 -2
- package/dist/{chunk-3nahqj60.js → chunk-9fv8x4z9.js} +1 -1
- package/dist/{chunk-04493mqv.js → chunk-9m9gda9b.js} +1 -1
- package/dist/{chunk-hv17xdf2.js → chunk-9rf5w469.js} +3 -3
- package/dist/{chunk-9v8bfqqf.js → chunk-a9pa363t.js} +13 -13
- package/dist/{chunk-92tdswr4.js → chunk-a9pj298y.js} +3 -3
- package/dist/{chunk-wbnakd1c.js → chunk-aazd62g0.js} +3 -3
- package/dist/{chunk-7m88tgnf.js → chunk-agk30cva.js} +2 -2
- package/dist/{chunk-fqeza860.js → chunk-aq40hm18.js} +2 -2
- package/dist/{chunk-ghak0k29.js → chunk-avessfjm.js} +1 -1
- package/dist/{chunk-drp374qg.js → chunk-b2944ttb.js} +2 -2
- package/dist/{chunk-nr0tf2mh.js → chunk-b2hzefb3.js} +2 -2
- package/dist/{chunk-ja27ank4.js → chunk-bk2sebs7.js} +1 -1
- package/dist/{chunk-r2rs4j2j.js → chunk-bm77yw1t.js} +2 -2
- package/dist/{chunk-d4geyzbs.js → chunk-bz1xarje.js} +1 -1
- package/dist/{chunk-7cdb1dmj.js → chunk-c7d1xq2c.js} +2 -2
- package/dist/{chunk-dh90decj.js → chunk-cbtdzn4n.js} +2 -2
- package/dist/{chunk-0kadewva.js → chunk-cejp895f.js} +4 -4
- package/dist/{chunk-zg0pfvsf.js → chunk-chrhnfm2.js} +4 -4
- package/dist/{chunk-hbjfgsq7.js → chunk-d3mqz65a.js} +3 -3
- package/dist/{chunk-janv6kzf.js → chunk-d55rhsae.js} +2 -2
- package/dist/{chunk-x0kh4peb.js → chunk-e3t1kxzw.js} +11 -11
- package/dist/{chunk-1a1vxr0c.js → chunk-e6sthm24.js} +2 -2
- package/dist/{chunk-gh9nd6cm.js → chunk-ebj6051b.js} +2 -2
- package/dist/{chunk-xzyjwk6j.js → chunk-eeap3z6b.js} +2 -2
- package/dist/{chunk-jckcqmvg.js → chunk-egfj2v2a.js} +2 -2
- package/dist/{chunk-xs51q1qa.js → chunk-f3er7pr9.js} +9 -9
- package/dist/{chunk-nyz79eye.js → chunk-f4vvjw02.js} +9 -9
- package/dist/{chunk-qt5gdpwa.js → chunk-fghry534.js} +1 -1
- package/dist/{chunk-hvd5f5h0.js → chunk-fmer4sbv.js} +2 -2
- package/dist/{chunk-45d8h5fm.js → chunk-fpm7gj3m.js} +1 -1
- package/dist/{chunk-zsm1wrwx.js → chunk-fqrvrhhq.js} +1 -1
- package/dist/{chunk-jdcbgzym.js → chunk-g28z03f9.js} +1 -1
- package/dist/{chunk-1ty5asgx.js → chunk-g4pe7bay.js} +3 -3
- package/dist/{chunk-0f6sd60f.js → chunk-g9pvzjby.js} +1 -1
- package/dist/{chunk-07hj3a7t.js → chunk-ghsrqk8m.js} +1 -1
- package/dist/{chunk-n61z171a.js → chunk-gx8kpmhv.js} +5 -5
- package/dist/{chunk-4pqjrr8y.js → chunk-h3mmevhg.js} +2 -2
- package/dist/{chunk-sj3ntw5a.js → chunk-h4jsnhjf.js} +2 -2
- package/dist/{chunk-23v0rkfx.js → chunk-hbfyv3xf.js} +2 -2
- package/dist/{chunk-v8h27d3a.js → chunk-hqpx8yrz.js} +3 -3
- package/dist/{chunk-qvvyx9ng.js → chunk-hrkpj9f6.js} +2 -2
- package/dist/{chunk-cdcdm51e.js → chunk-htzsbyg5.js} +2 -2
- package/dist/{chunk-4c622mwe.js → chunk-hvgh4jrm.js} +3 -3
- package/dist/{chunk-efw8je3h.js → chunk-hwycnsc7.js} +4 -4
- package/dist/{chunk-j74js26x.js → chunk-hz0ezmdm.js} +4 -4
- package/dist/{chunk-v0wh0bgd.js → chunk-j1knpstd.js} +2 -2
- package/dist/{chunk-43jvrt4d.js → chunk-j31pvw9j.js} +2 -2
- package/dist/{chunk-zzgpnftk.js → chunk-jawam8jk.js} +2 -2
- package/dist/{chunk-yqzy84qy.js → chunk-jf0p1r1c.js} +2 -2
- package/dist/{chunk-8r6fbt5c.js → chunk-jqdye8m8.js} +1 -1
- package/dist/{chunk-4mf6kgx2.js → chunk-js6e203p.js} +12 -12
- package/dist/{chunk-rs064jvw.js → chunk-js7s44zm.js} +8 -8
- package/dist/{chunk-expz589n.js → chunk-jses8c9v.js} +12 -12
- package/dist/{chunk-an61z5e5.js → chunk-jsjfmttc.js} +1 -1
- package/dist/{chunk-cnjjhxan.js → chunk-jtcbz8sp.js} +2 -2
- package/dist/{chunk-6ydz9pjp.js → chunk-k1q59mr6.js} +1 -1
- package/dist/{chunk-am6tqacd.js → chunk-k2ge5dx4.js} +1 -1
- package/dist/{chunk-3f5qszvs.js → chunk-k6vc8tfj.js} +5 -5
- package/dist/{chunk-f2rmgh78.js → chunk-k8dbm0a7.js} +2 -2
- package/dist/{chunk-2wks5tbp.js → chunk-kxpjg8s7.js} +1 -1
- package/dist/{chunk-aphk8j5w.js → chunk-m0xzgepc.js} +10 -10
- package/dist/{chunk-jqep56xs.js → chunk-m4pfn45q.js} +4 -4
- package/dist/{chunk-e41dxjrm.js → chunk-mfen6g48.js} +2 -2
- package/dist/{chunk-j6q4ew2b.js → chunk-mfrcqzvc.js} +2 -2
- package/dist/{chunk-546yeymz.js → chunk-mxax3zmr.js} +6 -6
- package/dist/{chunk-fv93118c.js → chunk-mxxgnbsz.js} +10 -10
- package/dist/{chunk-qybnayqm.js → chunk-n3en8vmf.js} +2 -2
- package/dist/{chunk-kkb0165y.js → chunk-n3xygbvg.js} +1 -1
- package/dist/{chunk-e0k5wevz.js → chunk-naknrbs1.js} +38 -38
- package/dist/{chunk-x3c6448d.js → chunk-nc2rrtb6.js} +4 -4
- package/dist/{chunk-mwzzqca7.js → chunk-nfy58jsw.js} +2 -2
- package/dist/{chunk-1sy6bdrv.js → chunk-ng7kq563.js} +1 -1
- package/dist/{chunk-0259ffd5.js → chunk-nhfafbej.js} +2 -2
- package/dist/{chunk-83gk1qqt.js → chunk-nhhkfxt1.js} +2 -2
- package/dist/{chunk-eh344a7h.js → chunk-nkaap81r.js} +1 -1
- package/dist/{chunk-cew3ax9k.js → chunk-pemaxw36.js} +58 -58
- package/dist/{chunk-7177yqpa.js → chunk-pf4csnkm.js} +2 -2
- package/dist/{chunk-redqdwa5.js → chunk-pgjn7b4n.js} +1 -1
- package/dist/{chunk-z3th2q62.js → chunk-pgjqafjx.js} +5 -5
- package/dist/{chunk-2jcrkn8m.js → chunk-ptrxmfcx.js} +1 -1
- package/dist/{chunk-g6bpc05g.js → chunk-q09gqme7.js} +78 -61
- package/dist/{chunk-3j2d5r8z.js → chunk-q26mw5w6.js} +5 -5
- package/dist/{chunk-vjd52x2d.js → chunk-qfkdzwpw.js} +12 -12
- package/dist/{chunk-pcz5838z.js → chunk-qj29yvdp.js} +6 -6
- package/dist/{chunk-4r5k4e1k.js → chunk-qqd2twg2.js} +21 -21
- package/dist/{chunk-sga2ay5t.js → chunk-qrjx16m7.js} +2 -2
- package/dist/{chunk-zgck4td9.js → chunk-qxv6dbef.js} +1 -1
- package/dist/{chunk-zzs0138c.js → chunk-qy4x4thf.js} +9 -9
- package/dist/{chunk-v2801hvz.js → chunk-r54ccfvf.js} +2 -2
- package/dist/{chunk-qd2ztwsc.js → chunk-r6817wsv.js} +1 -1
- package/dist/{chunk-cn646q7m.js → chunk-r6vmfgvb.js} +4 -4
- package/dist/{chunk-sqhgc03m.js → chunk-rbb8aadm.js} +1 -1
- package/dist/{chunk-ya4nc0ee.js → chunk-reekeaw0.js} +5 -5
- package/dist/{chunk-pmw1pw00.js → chunk-rgxzwbc5.js} +8 -8
- package/dist/{chunk-8s7kcstd.js → chunk-rppwqq3c.js} +2 -2
- package/dist/{chunk-e9pw9h37.js → chunk-rqb3d1ab.js} +4 -4
- package/dist/{chunk-zr18x8mm.js → chunk-rrsttgrq.js} +2 -2
- package/dist/{chunk-br16k3dc.js → chunk-s8pbd9x3.js} +1 -1
- package/dist/{chunk-bkrganba.js → chunk-sjpeqc4n.js} +2 -2
- package/dist/{chunk-txckt9ke.js → chunk-sq8qey5q.js} +6 -6
- package/dist/{chunk-50ccstzb.js → chunk-sxajcbmn.js} +1 -1
- package/dist/{chunk-qbjs0b0k.js → chunk-sxcqg6k8.js} +2 -2
- package/dist/{chunk-jnssgm4f.js → chunk-syh85y45.js} +2 -2
- package/dist/{chunk-99w11kb7.js → chunk-tsskxz6d.js} +5 -5
- package/dist/{chunk-6sf1v2cq.js → chunk-tvp4vqf3.js} +7 -7
- package/dist/{chunk-yrr9ykn9.js → chunk-v5kncmyk.js} +5 -5
- package/dist/{chunk-1py8an1f.js → chunk-vg42jd58.js} +2 -2
- package/dist/{chunk-4swpnh0b.js → chunk-vkhs95be.js} +2 -2
- package/dist/{chunk-1vzz9b06.js → chunk-w59ckbap.js} +3 -3
- package/dist/{chunk-y12r2kxd.js → chunk-w6d8vh5z.js} +1 -1
- package/dist/{chunk-4750qavh.js → chunk-wat7dk7j.js} +2 -2
- package/dist/{chunk-6j0rkk59.js → chunk-wmxe6b8n.js} +2 -2
- package/dist/{chunk-9gvm6tmk.js → chunk-wpddkjvd.js} +2 -2
- package/dist/{chunk-rasd60cv.js → chunk-x0cydsvq.js} +2 -2
- package/dist/{chunk-9ax032z9.js → chunk-x1yrt86q.js} +4 -4
- package/dist/{chunk-g1396pvw.js → chunk-x5kkaerc.js} +4 -4
- package/dist/{chunk-8rc8jtgd.js → chunk-x9tq1eew.js} +3 -3
- package/dist/{chunk-embf6hvv.js → chunk-xt2v8y2n.js} +2 -2
- package/dist/{chunk-bnyy9ktk.js → chunk-y6xwhrtg.js} +2 -2
- package/dist/{chunk-8zct692x.js → chunk-yazxcv11.js} +3 -3
- package/dist/{chunk-7zwyj3jm.js → chunk-yza03kxz.js} +3 -3
- package/dist/{chunk-0px6jj0k.js → chunk-z7kpj5vh.js} +2 -2
- package/dist/{chunk-sx1nf0bd.js → chunk-zet2vkqz.js} +48 -48
- package/dist/{chunk-cxdje86s.js → chunk-zzmt0165.js} +1 -1
- package/dist/cli.js +3 -3
- package/dist/gateway/index.js +2 -2
- package/dist/gateway/worker.js +86 -67
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
REPL
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import"./chunk-
|
|
6
|
-
import"./chunk-
|
|
7
|
-
import"./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
4
|
+
} from "./chunk-naknrbs1.js";
|
|
5
|
+
import"./chunk-yazxcv11.js";
|
|
6
|
+
import"./chunk-29es5rq8.js";
|
|
7
|
+
import"./chunk-v5kncmyk.js";
|
|
8
|
+
import"./chunk-reekeaw0.js";
|
|
9
|
+
import"./chunk-g4pe7bay.js";
|
|
10
10
|
import {
|
|
11
11
|
computeStandaloneAgentContext,
|
|
12
12
|
restoreAgentFromSession,
|
|
13
13
|
restoreWorktreeForResume
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-bm77yw1t.js";
|
|
15
15
|
import"./chunk-a1e7apvj.js";
|
|
16
16
|
import"./chunk-mswx2nma.js";
|
|
17
17
|
import {
|
|
@@ -19,19 +19,19 @@ import {
|
|
|
19
19
|
} from "./chunk-9t6ktd1k.js";
|
|
20
20
|
import"./chunk-xhfmdq1y.js";
|
|
21
21
|
import"./chunk-h9n54swm.js";
|
|
22
|
-
import"./chunk-
|
|
22
|
+
import"./chunk-9m9gda9b.js";
|
|
23
23
|
import"./chunk-3mgywd32.js";
|
|
24
|
-
import"./chunk-
|
|
24
|
+
import"./chunk-pgjn7b4n.js";
|
|
25
25
|
import"./chunk-4ch0yj7k.js";
|
|
26
|
-
import"./chunk-
|
|
27
|
-
import"./chunk-
|
|
28
|
-
import"./chunk-
|
|
29
|
-
import"./chunk-
|
|
30
|
-
import"./chunk-
|
|
31
|
-
import"./chunk-
|
|
26
|
+
import"./chunk-fqrvrhhq.js";
|
|
27
|
+
import"./chunk-h3mmevhg.js";
|
|
28
|
+
import"./chunk-ptrxmfcx.js";
|
|
29
|
+
import"./chunk-j1knpstd.js";
|
|
30
|
+
import"./chunk-wat7dk7j.js";
|
|
31
|
+
import"./chunk-6pg8j8vx.js";
|
|
32
32
|
import"./chunk-0paqc2yw.js";
|
|
33
|
-
import"./chunk-
|
|
34
|
-
import"./chunk-
|
|
33
|
+
import"./chunk-hrkpj9f6.js";
|
|
34
|
+
import"./chunk-0ns77w8v.js";
|
|
35
35
|
import {
|
|
36
36
|
LogSelector,
|
|
37
37
|
agenticSessionSearch,
|
|
@@ -39,44 +39,44 @@ import {
|
|
|
39
39
|
init_LogSelector,
|
|
40
40
|
init_agenticSessionSearch,
|
|
41
41
|
init_crossProjectResume
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-w59ckbap.js";
|
|
43
43
|
import"./chunk-c6sjhj89.js";
|
|
44
|
-
import"./chunk-
|
|
45
|
-
import"./chunk-
|
|
44
|
+
import"./chunk-pgjqafjx.js";
|
|
45
|
+
import"./chunk-7rdye8qk.js";
|
|
46
46
|
import"./chunk-cnsj3vq2.js";
|
|
47
|
-
import"./chunk-
|
|
47
|
+
import"./chunk-jsjfmttc.js";
|
|
48
48
|
import"./chunk-kxjfdqf8.js";
|
|
49
|
-
import"./chunk-
|
|
50
|
-
import"./chunk-
|
|
51
|
-
import"./chunk-
|
|
52
|
-
import"./chunk-
|
|
53
|
-
import"./chunk-
|
|
54
|
-
import"./chunk-
|
|
55
|
-
import"./chunk-
|
|
49
|
+
import"./chunk-3wf6bqn4.js";
|
|
50
|
+
import"./chunk-g28z03f9.js";
|
|
51
|
+
import"./chunk-jf0p1r1c.js";
|
|
52
|
+
import"./chunk-sxcqg6k8.js";
|
|
53
|
+
import"./chunk-fghry534.js";
|
|
54
|
+
import"./chunk-31bd2413.js";
|
|
55
|
+
import"./chunk-54dg6e30.js";
|
|
56
56
|
import"./chunk-5ccdsxgy.js";
|
|
57
|
-
import"./chunk-
|
|
58
|
-
import"./chunk-
|
|
59
|
-
import"./chunk-
|
|
60
|
-
import"./chunk-
|
|
61
|
-
import"./chunk-
|
|
62
|
-
import"./chunk-
|
|
63
|
-
import"./chunk-
|
|
64
|
-
import"./chunk-
|
|
65
|
-
import"./chunk-
|
|
66
|
-
import"./chunk-
|
|
67
|
-
import"./chunk-
|
|
57
|
+
import"./chunk-ebj6051b.js";
|
|
58
|
+
import"./chunk-rbb8aadm.js";
|
|
59
|
+
import"./chunk-9fv8x4z9.js";
|
|
60
|
+
import"./chunk-avessfjm.js";
|
|
61
|
+
import"./chunk-7wezmwtb.js";
|
|
62
|
+
import"./chunk-7kge6zer.js";
|
|
63
|
+
import"./chunk-mxax3zmr.js";
|
|
64
|
+
import"./chunk-nkaap81r.js";
|
|
65
|
+
import"./chunk-7vjnedhb.js";
|
|
66
|
+
import"./chunk-c7d1xq2c.js";
|
|
67
|
+
import"./chunk-qxv6dbef.js";
|
|
68
68
|
import"./chunk-qgzma8ky.js";
|
|
69
69
|
import"./chunk-p8na2wwp.js";
|
|
70
|
-
import"./chunk-
|
|
71
|
-
import"./chunk-
|
|
72
|
-
import"./chunk-
|
|
73
|
-
import"./chunk-
|
|
70
|
+
import"./chunk-sxajcbmn.js";
|
|
71
|
+
import"./chunk-ng7kq563.js";
|
|
72
|
+
import"./chunk-64qyep5d.js";
|
|
73
|
+
import"./chunk-fpm7gj3m.js";
|
|
74
74
|
import"./chunk-x7fdwq3d.js";
|
|
75
75
|
import"./chunk-a7fqavjt.js";
|
|
76
|
-
import"./chunk-
|
|
77
|
-
import"./chunk-
|
|
76
|
+
import"./chunk-kxpjg8s7.js";
|
|
77
|
+
import"./chunk-84qdsc71.js";
|
|
78
78
|
import"./chunk-t9p85zff.js";
|
|
79
|
-
import"./chunk-
|
|
79
|
+
import"./chunk-n3xygbvg.js";
|
|
80
80
|
import"./chunk-hqdwr6mz.js";
|
|
81
81
|
import"./chunk-rn0v1hk8.js";
|
|
82
82
|
import"./chunk-wa8yn2p0.js";
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
updateSessionName,
|
|
104
104
|
useAppState,
|
|
105
105
|
useSetAppState
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-33wa5mwn.js";
|
|
107
107
|
import"./chunk-mcws22k3.js";
|
|
108
108
|
import"./chunk-jzthz1bx.js";
|
|
109
109
|
import"./chunk-xkpb3hbc.js";
|
|
@@ -113,7 +113,7 @@ import"./chunk-ehtwnxpg.js";
|
|
|
113
113
|
import"./chunk-w9v6bd0p.js";
|
|
114
114
|
import"./chunk-0wy4ckdx.js";
|
|
115
115
|
import"./chunk-87xg6yb4.js";
|
|
116
|
-
import"./chunk-
|
|
116
|
+
import"./chunk-s8pbd9x3.js";
|
|
117
117
|
import"./chunk-2gzv8nrw.js";
|
|
118
118
|
import"./chunk-2h6f45jx.js";
|
|
119
119
|
import"./chunk-cgfdkzhb.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
|
|
11
11
|
// src/commands/diff/diff.tsx
|
|
12
12
|
var jsx_dev_runtime, call = async (onDone, context) => {
|
|
13
|
-
const { DiffDialog } = await import("./chunk-
|
|
13
|
+
const { DiffDialog } = await import("./chunk-2ekqmqv3.js");
|
|
14
14
|
return /* @__PURE__ */ jsx_dev_runtime.jsxDEV(DiffDialog, {
|
|
15
15
|
messages: context.messages,
|
|
16
16
|
onDone
|
package/dist/cli.js
CHANGED
|
@@ -33,7 +33,7 @@ async function main() {
|
|
|
33
33
|
if (false) {}
|
|
34
34
|
if (process.argv[2] === "--claude-in-chrome-mcp") {
|
|
35
35
|
profileCheckpoint("cli_claude_in_chrome_mcp_path");
|
|
36
|
-
const { runClaudeInChromeMcpServer } = await import("./chunk-
|
|
36
|
+
const { runClaudeInChromeMcpServer } = await import("./chunk-wmxe6b8n.js");
|
|
37
37
|
await runClaudeInChromeMcpServer();
|
|
38
38
|
return;
|
|
39
39
|
} else if (process.argv[2] === "--chrome-native-host") {
|
|
@@ -66,7 +66,7 @@ async function main() {
|
|
|
66
66
|
enableConfigs();
|
|
67
67
|
const { isWorktreeModeEnabled } = await import("./chunk-pwwa7s62.js");
|
|
68
68
|
if (isWorktreeModeEnabled()) {
|
|
69
|
-
const { execIntoTmuxWorktree } = await import("./chunk-
|
|
69
|
+
const { execIntoTmuxWorktree } = await import("./chunk-y6xwhrtg.js");
|
|
70
70
|
const result = await execIntoTmuxWorktree(args);
|
|
71
71
|
if (result.handled) {
|
|
72
72
|
return;
|
|
@@ -83,7 +83,7 @@ async function main() {
|
|
|
83
83
|
const { startCapturingEarlyInput } = await import("./chunk-etdt1xz3.js");
|
|
84
84
|
startCapturingEarlyInput();
|
|
85
85
|
profileCheckpoint("cli_before_main_import");
|
|
86
|
-
const { main: cliMain } = await import("./chunk-
|
|
86
|
+
const { main: cliMain } = await import("./chunk-pemaxw36.js");
|
|
87
87
|
profileCheckpoint("cli_after_main_import");
|
|
88
88
|
await cliMain();
|
|
89
89
|
profileCheckpoint("cli_after_main_complete");
|
package/dist/gateway/index.js
CHANGED
|
@@ -338,9 +338,9 @@ async function handleRequest(req) {
|
|
|
338
338
|
break;
|
|
339
339
|
}
|
|
340
340
|
case "session.prompt": {
|
|
341
|
-
const { session_key, text } = req.params;
|
|
341
|
+
const { session_key, input, text } = req.params;
|
|
342
342
|
try {
|
|
343
|
-
router.send(session_key, { type: "prompt", text });
|
|
343
|
+
router.send(session_key, { type: "prompt", input: input ?? text ?? "" });
|
|
344
344
|
} catch (err) {
|
|
345
345
|
notify({
|
|
346
346
|
method: "session.error",
|
package/dist/gateway/worker.js
CHANGED
|
@@ -116228,7 +116228,7 @@ var init_metadata = __esm(() => {
|
|
|
116228
116228
|
isClaudeAiAuth: false,
|
|
116229
116229
|
version: "2.1.888",
|
|
116230
116230
|
versionBase: getVersionBase(),
|
|
116231
|
-
buildTime: "2026-05-
|
|
116231
|
+
buildTime: "2026-05-21T07:40:06.717Z",
|
|
116232
116232
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
116233
116233
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
116234
116234
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -384467,7 +384467,7 @@ function getAnthropicEnvMetadata() {
|
|
|
384467
384467
|
function getBuildAgeMinutes() {
|
|
384468
384468
|
if (false)
|
|
384469
384469
|
;
|
|
384470
|
-
const buildTime = new Date("2026-05-
|
|
384470
|
+
const buildTime = new Date("2026-05-21T07:40:06.717Z").getTime();
|
|
384471
384471
|
if (isNaN(buildTime))
|
|
384472
384472
|
return;
|
|
384473
384473
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -452773,7 +452773,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
452773
452773
|
var call55 = async () => {
|
|
452774
452774
|
return {
|
|
452775
452775
|
type: "text",
|
|
452776
|
-
value: `${"2.1.888"} (built ${"2026-05-
|
|
452776
|
+
value: `${"2.1.888"} (built ${"2026-05-21T07:40:06.717Z"})`
|
|
452777
452777
|
};
|
|
452778
452778
|
}, version2, version_default;
|
|
452779
452779
|
var init_version = __esm(() => {
|
|
@@ -477231,6 +477231,26 @@ var init_openai = __esm(() => {
|
|
|
477231
477231
|
});
|
|
477232
477232
|
|
|
477233
477233
|
// src/services/api/openai/client.ts
|
|
477234
|
+
function getOpenAICustomHeaders() {
|
|
477235
|
+
const customHeaders = {};
|
|
477236
|
+
const customHeadersEnv = process.env.OPENAI_CUSTOM_HEADERS;
|
|
477237
|
+
if (!customHeadersEnv)
|
|
477238
|
+
return customHeaders;
|
|
477239
|
+
const headerStrings = customHeadersEnv.split(/\n|\r\n/);
|
|
477240
|
+
for (const headerString of headerStrings) {
|
|
477241
|
+
if (!headerString.trim())
|
|
477242
|
+
continue;
|
|
477243
|
+
const colonIdx = headerString.indexOf(":");
|
|
477244
|
+
if (colonIdx === -1)
|
|
477245
|
+
continue;
|
|
477246
|
+
const name = headerString.slice(0, colonIdx).trim();
|
|
477247
|
+
const value = headerString.slice(colonIdx + 1).trim();
|
|
477248
|
+
if (name) {
|
|
477249
|
+
customHeaders[name] = value;
|
|
477250
|
+
}
|
|
477251
|
+
}
|
|
477252
|
+
return customHeaders;
|
|
477253
|
+
}
|
|
477234
477254
|
function getOpenAIClient(options) {
|
|
477235
477255
|
if (cachedClient)
|
|
477236
477256
|
return cachedClient;
|
|
@@ -477244,6 +477264,7 @@ function getOpenAIClient(options) {
|
|
|
477244
477264
|
dangerouslyAllowBrowser: true,
|
|
477245
477265
|
...process.env.OPENAI_ORG_ID && { organization: process.env.OPENAI_ORG_ID },
|
|
477246
477266
|
...process.env.OPENAI_PROJECT_ID && { project: process.env.OPENAI_PROJECT_ID },
|
|
477267
|
+
defaultHeaders: getOpenAICustomHeaders(),
|
|
477247
477268
|
fetchOptions: getProxyFetchOptions({ forAnthropicAPI: false }),
|
|
477248
477269
|
...options?.fetchOverride && { fetch: options.fetchOverride }
|
|
477249
477270
|
});
|
|
@@ -477326,8 +477347,8 @@ function convertInternalUserMessage(msg) {
|
|
|
477326
477347
|
});
|
|
477327
477348
|
} else if (Array.isArray(content)) {
|
|
477328
477349
|
const textParts = [];
|
|
477329
|
-
const toolResults = [];
|
|
477330
477350
|
const imageParts = [];
|
|
477351
|
+
const toolResults = [];
|
|
477331
477352
|
for (const block of content) {
|
|
477332
477353
|
if (typeof block === "string") {
|
|
477333
477354
|
textParts.push(block);
|
|
@@ -477336,57 +477357,76 @@ function convertInternalUserMessage(msg) {
|
|
|
477336
477357
|
} else if (block.type === "tool_result") {
|
|
477337
477358
|
toolResults.push(block);
|
|
477338
477359
|
} else if (block.type === "image") {
|
|
477339
|
-
|
|
477340
|
-
|
|
477341
|
-
|
|
477360
|
+
if (block.source.type === "base64") {
|
|
477361
|
+
imageParts.push({
|
|
477362
|
+
type: "image_url",
|
|
477363
|
+
image_url: { url: `data:${block.source.media_type};base64,${block.source.data}` }
|
|
477364
|
+
});
|
|
477365
|
+
} else if (block.source.type === "url") {
|
|
477366
|
+
imageParts.push({
|
|
477367
|
+
type: "image_url",
|
|
477368
|
+
image_url: { url: block.source.url }
|
|
477369
|
+
});
|
|
477342
477370
|
}
|
|
477343
477371
|
}
|
|
477344
477372
|
}
|
|
477373
|
+
const toolFollowUpMessages = [];
|
|
477345
477374
|
for (const tr of toolResults) {
|
|
477346
|
-
|
|
477347
|
-
|
|
477348
|
-
|
|
477349
|
-
|
|
477350
|
-
|
|
477351
|
-
|
|
477375
|
+
const [toolMessage, ...followUpMessages] = convertToolResult(tr);
|
|
477376
|
+
result.push(toolMessage);
|
|
477377
|
+
toolFollowUpMessages.push(...followUpMessages);
|
|
477378
|
+
}
|
|
477379
|
+
result.push(...toolFollowUpMessages);
|
|
477380
|
+
if (textParts.length > 0 || imageParts.length > 0) {
|
|
477381
|
+
if (imageParts.length > 0) {
|
|
477382
|
+
const contentParts = [];
|
|
477383
|
+
if (textParts.length > 0) {
|
|
477384
|
+
contentParts.push({ type: "text", text: textParts.join(`
|
|
477352
477385
|
`) });
|
|
477353
|
-
|
|
477354
|
-
|
|
477355
|
-
|
|
477356
|
-
|
|
477357
|
-
|
|
477358
|
-
|
|
477359
|
-
|
|
477360
|
-
|
|
477361
|
-
|
|
477362
|
-
|
|
477386
|
+
}
|
|
477387
|
+
contentParts.push(...imageParts);
|
|
477388
|
+
result.push({
|
|
477389
|
+
role: "user",
|
|
477390
|
+
content: contentParts
|
|
477391
|
+
});
|
|
477392
|
+
} else {
|
|
477393
|
+
result.push({
|
|
477394
|
+
role: "user",
|
|
477395
|
+
content: textParts.join(`
|
|
477363
477396
|
`)
|
|
477364
|
-
|
|
477397
|
+
});
|
|
477398
|
+
}
|
|
477365
477399
|
}
|
|
477366
477400
|
}
|
|
477367
477401
|
return result;
|
|
477368
477402
|
}
|
|
477369
477403
|
function convertToolResult(block) {
|
|
477370
|
-
|
|
477404
|
+
const textParts = [];
|
|
477371
477405
|
if (typeof block.content === "string") {
|
|
477372
|
-
|
|
477406
|
+
textParts.push(block.content);
|
|
477373
477407
|
} else if (Array.isArray(block.content)) {
|
|
477374
|
-
|
|
477375
|
-
if (typeof c6 === "string")
|
|
477376
|
-
|
|
477377
|
-
|
|
477378
|
-
|
|
477379
|
-
|
|
477380
|
-
|
|
477381
|
-
|
|
477382
|
-
|
|
477383
|
-
|
|
477408
|
+
for (const c6 of block.content) {
|
|
477409
|
+
if (typeof c6 === "string") {
|
|
477410
|
+
textParts.push(c6);
|
|
477411
|
+
continue;
|
|
477412
|
+
}
|
|
477413
|
+
if ("text" in c6 && typeof c6.text === "string") {
|
|
477414
|
+
textParts.push(c6.text);
|
|
477415
|
+
continue;
|
|
477416
|
+
}
|
|
477417
|
+
if (c6.type === "image") {
|
|
477418
|
+
textParts.push("[image returned by tool]");
|
|
477419
|
+
} else if (c6.type === "document") {
|
|
477420
|
+
textParts.push("[document returned by tool]");
|
|
477421
|
+
}
|
|
477422
|
+
}
|
|
477384
477423
|
}
|
|
477385
|
-
return {
|
|
477424
|
+
return [{
|
|
477386
477425
|
role: "tool",
|
|
477387
477426
|
tool_call_id: block.tool_use_id,
|
|
477388
|
-
content
|
|
477389
|
-
|
|
477427
|
+
content: textParts.filter(Boolean).join(`
|
|
477428
|
+
`) || ""
|
|
477429
|
+
}];
|
|
477390
477430
|
}
|
|
477391
477431
|
function convertInternalAssistantMessage(msg, preserveReasoning = false) {
|
|
477392
477432
|
const content = msg.message.content;
|
|
@@ -477441,29 +477481,6 @@ function convertInternalAssistantMessage(msg, preserveReasoning = false) {
|
|
|
477441
477481
|
};
|
|
477442
477482
|
return [result];
|
|
477443
477483
|
}
|
|
477444
|
-
function convertImageBlockToOpenAI(block) {
|
|
477445
|
-
const source = block.source;
|
|
477446
|
-
if (!source)
|
|
477447
|
-
return null;
|
|
477448
|
-
if (source.type === "base64" && typeof source.data === "string") {
|
|
477449
|
-
const mediaType = source.media_type || "image/png";
|
|
477450
|
-
return {
|
|
477451
|
-
type: "image_url",
|
|
477452
|
-
image_url: {
|
|
477453
|
-
url: `data:${mediaType};base64,${source.data}`
|
|
477454
|
-
}
|
|
477455
|
-
};
|
|
477456
|
-
}
|
|
477457
|
-
if (source.type === "url" && typeof source.url === "string") {
|
|
477458
|
-
return {
|
|
477459
|
-
type: "image_url",
|
|
477460
|
-
image_url: {
|
|
477461
|
-
url: source.url
|
|
477462
|
-
}
|
|
477463
|
-
};
|
|
477464
|
-
}
|
|
477465
|
-
return null;
|
|
477466
|
-
}
|
|
477467
477484
|
|
|
477468
477485
|
// src/services/api/openai/convertTools.ts
|
|
477469
477486
|
function anthropicToolsToOpenAI(tools) {
|
|
@@ -482249,7 +482266,8 @@ class Session {
|
|
|
482249
482266
|
if (state === "prompting" || state === "aborting") {
|
|
482250
482267
|
throw new SessionBusyError;
|
|
482251
482268
|
}
|
|
482252
|
-
|
|
482269
|
+
const inputPreview = typeof input === "string" ? input.slice(0, 50) : `[multimodal: ${input.length} blocks]`;
|
|
482270
|
+
this.sm.transition("prompting", `prompt(${inputPreview})`);
|
|
482253
482271
|
this.lastPromptAt = Date.now();
|
|
482254
482272
|
try {
|
|
482255
482273
|
yield* this.engine.submitMessage(input);
|
|
@@ -482531,7 +482549,7 @@ async function dequeueAndProcess(msg) {
|
|
|
482531
482549
|
try {
|
|
482532
482550
|
switch (msg.type) {
|
|
482533
482551
|
case "prompt":
|
|
482534
|
-
await handlePrompt(msg.
|
|
482552
|
+
await handlePrompt(msg.input);
|
|
482535
482553
|
break;
|
|
482536
482554
|
case "update":
|
|
482537
482555
|
await handleUpdate(msg.config);
|
|
@@ -482548,7 +482566,7 @@ async function dequeueAndProcess(msg) {
|
|
|
482548
482566
|
}
|
|
482549
482567
|
}
|
|
482550
482568
|
}
|
|
482551
|
-
async function handlePrompt(
|
|
482569
|
+
async function handlePrompt(input) {
|
|
482552
482570
|
const state = session2.getState().state;
|
|
482553
482571
|
if (state !== "idle") {
|
|
482554
482572
|
process.stderr.write(`[Worker ${sessionKey}] Prompt rejected: session state is ${state}
|
|
@@ -482560,9 +482578,10 @@ async function handlePrompt(text2) {
|
|
|
482560
482578
|
});
|
|
482561
482579
|
return;
|
|
482562
482580
|
}
|
|
482563
|
-
|
|
482581
|
+
const inputPreview = typeof input === "string" ? input.slice(0, 50) : `[multimodal: ${input.length} blocks]`;
|
|
482582
|
+
logState(`prompt(${inputPreview})`);
|
|
482564
482583
|
try {
|
|
482565
|
-
for await (const sdkMsg of session2.prompt(
|
|
482584
|
+
for await (const sdkMsg of session2.prompt(input)) {
|
|
482566
482585
|
send({
|
|
482567
482586
|
type: "stream",
|
|
482568
482587
|
session_key: sessionKey,
|