@opencode-ai/core 0.0.0-beta-18381 → 0.0.0-beta-18414
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/account/sql.js +2 -2
- package/dist/agent.js +70 -70
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +68 -68
- package/dist/catalog.js +78 -78
- package/dist/chunks/{snapshot-yc2vxtaa.js → tool-017jr2na.js} +44 -34
- package/dist/chunks/{snapshot-02dbfq60.js → tool-02dbfq60.js} +1 -1
- package/dist/chunks/{snapshot-bk64s4dd.js → tool-02xgq42f.js} +2 -2
- package/dist/chunks/{snapshot-08757z4f.js → tool-09s1bzmc.js} +3 -3
- package/dist/chunks/{snapshot-s8kt5tga.js → tool-0jn2bqed.js} +3 -3
- package/dist/chunks/{snapshot-0kvmztkf.js → tool-0kvmztkf.js} +1 -1
- package/dist/chunks/{snapshot-6s25njgp.js → tool-157r81nd.js} +6 -6
- package/dist/chunks/{snapshot-18pv8fg3.js → tool-18pv8fg3.js} +2 -2
- package/dist/chunks/{snapshot-mfjsqksh.js → tool-1tbh5vd4.js} +8 -8
- package/dist/chunks/{snapshot-tabz4g6h.js → tool-217z330v.js} +2 -2
- package/dist/chunks/{snapshot-xe4vkbsa.js → tool-23mx900r.js} +7 -7
- package/dist/chunks/{snapshot-wbt7vheq.js → tool-248dv4dv.js} +5 -5
- package/dist/chunks/{snapshot-q5hvgavd.js → tool-25n2gasw.js} +7 -7
- package/dist/chunks/{snapshot-e1qk74dz.js → tool-271gqszs.js} +7 -7
- package/dist/chunks/{snapshot-2m0hgr65.js → tool-2m0hgr65.js} +1 -1
- package/dist/chunks/{snapshot-2nmyybe0.js → tool-2nmyybe0.js} +1 -1
- package/dist/chunks/{snapshot-wj1cy6w2.js → tool-2ppgn6ch.js} +4 -4
- package/dist/chunks/{snapshot-2wds5nk3.js → tool-2wds5nk3.js} +1 -1
- package/dist/chunks/{snapshot-03say0j6.js → tool-2y40pff2.js} +2 -2
- package/dist/chunks/{snapshot-s84e4gf4.js → tool-2zb0j1mr.js} +1 -1
- package/dist/chunks/{snapshot-ee64mkrs.js → tool-3331j5hn.js} +12 -12
- package/dist/chunks/{snapshot-mw2kp8b7.js → tool-376q6v3y.js} +7 -7
- package/dist/chunks/{snapshot-k42t1tha.js → tool-393a352g.js} +2 -2
- package/dist/chunks/{snapshot-6fw15jmf.js → tool-3bben81c.js} +5 -5
- package/dist/chunks/{snapshot-3g8vftxb.js → tool-3g8vftxb.js} +2 -2
- package/dist/chunks/{snapshot-47ynegsy.js → tool-3jshngxf.js} +7 -7
- package/dist/chunks/{snapshot-gqn2zsfg.js → tool-3p1bsa7m.js} +127 -52
- package/dist/chunks/{snapshot-3qv8nf0b.js → tool-3qv8nf0b.js} +1 -1
- package/dist/chunks/{snapshot-h9jqdjpr.js → tool-3s135gjm.js} +7 -7
- package/dist/chunks/{snapshot-3thh6229.js → tool-3thh6229.js} +2 -2
- package/dist/chunks/{snapshot-dwhqy6ej.js → tool-400rk52g.js} +5 -5
- package/dist/chunks/{snapshot-wd9wya43.js → tool-4qk63h15.js} +3 -3
- package/dist/chunks/{snapshot-4s2xwh5d.js → tool-4s2xwh5d.js} +3 -3
- package/dist/chunks/{snapshot-wmv6gawp.js → tool-4ya343sq.js} +21 -21
- package/dist/chunks/{snapshot-4zzdwbaz.js → tool-4zzdwbaz.js} +2 -2
- package/dist/chunks/{snapshot-50jxp3hw.js → tool-50jxp3hw.js} +1 -1
- package/dist/chunks/{snapshot-c4sv2ydx.js → tool-53vhya9m.js} +7 -7
- package/dist/chunks/{snapshot-57tzwnz4.js → tool-57tzwnz4.js} +1 -1
- package/dist/chunks/{snapshot-58xdvehb.js → tool-58xdvehb.js} +1 -1
- package/dist/chunks/{snapshot-gy96pty5.js → tool-5aac0tby.js} +8 -8
- package/dist/chunks/{snapshot-5cdnkd94.js → tool-5cdnkd94.js} +3 -3
- package/dist/chunks/{snapshot-pv38wsrj.js → tool-5cmc2wkg.js} +8 -8
- package/dist/chunks/{snapshot-fmrrpnd6.js → tool-5drxeftm.js} +150 -150
- package/dist/chunks/{snapshot-5fe026tx.js → tool-5fe026tx.js} +3 -3
- package/dist/chunks/{snapshot-wqnb0rdj.js → tool-5h6b115z.js} +38 -32
- package/dist/chunks/{snapshot-5rs65q6p.js → tool-5rs65q6p.js} +1 -1
- package/dist/chunks/{snapshot-45y5aksg.js → tool-5t37zp3f.js} +8 -8
- package/dist/chunks/{snapshot-c5whbqdw.js → tool-5tp8bhe0.js} +7 -7
- package/dist/chunks/{snapshot-5vcssjzn.js → tool-5vcssjzn.js} +1 -1
- package/dist/chunks/{snapshot-nsb760q1.js → tool-5y7h4bj8.js} +7 -7
- package/dist/chunks/{snapshot-5z4zwtb4.js → tool-5z4zwtb4.js} +2 -2
- package/dist/chunks/{snapshot-6272rtjg.js → tool-6272rtjg.js} +1 -1
- package/dist/chunks/{snapshot-rrcg29fs.js → tool-6f8j85qb.js} +9 -9
- package/dist/chunks/{snapshot-6ky7rqk7.js → tool-6ky7rqk7.js} +1 -1
- package/dist/chunks/{snapshot-3dap0q13.js → tool-6mybbghn.js} +21 -15
- package/dist/chunks/{snapshot-p7kv2p3m.js → tool-6qnkp1xh.js} +11 -11
- package/dist/chunks/{snapshot-6wkzvma0.js → tool-6wkzvma0.js} +2 -2
- package/dist/chunks/{snapshot-75h1hfe2.js → tool-75h1hfe2.js} +2 -2
- package/dist/chunks/{snapshot-196w4y04.js → tool-75wg6agd.js} +15 -15
- package/dist/chunks/{snapshot-djs34hbz.js → tool-76jwqfe9.js} +6 -6
- package/dist/chunks/{snapshot-s2y2bmcn.js → tool-7bxmgbqt.js} +3 -3
- package/dist/chunks/{snapshot-7gqqz1s8.js → tool-7gqqz1s8.js} +1 -1
- package/dist/chunks/{snapshot-7khw64yh.js → tool-7khw64yh.js} +1 -1
- package/dist/chunks/{snapshot-7mrpdsq5.js → tool-7mrpdsq5.js} +1 -1
- package/dist/chunks/{snapshot-7thnevmq.js → tool-7thnevmq.js} +2 -2
- package/dist/chunks/{snapshot-vgtdbe2x.js → tool-7vqcvmjm.js} +8 -8
- package/dist/chunks/{snapshot-7wcmqxrc.js → tool-7wcmqxrc.js} +1 -1
- package/dist/chunks/{snapshot-gpy2ty3t.js → tool-7yfz5d5r.js} +5 -5
- package/dist/chunks/{snapshot-8ken28ys.js → tool-83kkwqqt.js} +5 -5
- package/dist/chunks/{snapshot-adhhpzkf.js → tool-88d62dqj.js} +13 -13
- package/dist/chunks/{snapshot-88jbfw8z.js → tool-88jbfw8z.js} +2 -2
- package/dist/chunks/{snapshot-prx0wmsc.js → tool-8dndtydw.js} +6 -6
- package/dist/chunks/{snapshot-nshjhgk3.js → tool-8ebp560e.js} +4 -4
- package/dist/chunks/{snapshot-8pngjawd.js → tool-8pngjawd.js} +2 -2
- package/dist/chunks/{snapshot-f7q7a28y.js → tool-8qrvdwwg.js} +6 -6
- package/dist/chunks/{snapshot-8tv6syt7.js → tool-8tv6syt7.js} +1 -1
- package/dist/chunks/{snapshot-999qd968.js → tool-999qd968.js} +1 -1
- package/dist/chunks/{snapshot-cp2m8bkb.js → tool-9cn9z662.js} +32 -32
- package/dist/chunks/{snapshot-9f0rnpkn.js → tool-9f0rnpkn.js} +1 -1
- package/dist/chunks/{snapshot-pn6jhed5.js → tool-9ksd5av3.js} +4 -4
- package/dist/chunks/{snapshot-wt898ny4.js → tool-a66h3var.js} +9 -9
- package/dist/chunks/{snapshot-avxmjs7d.js → tool-amkf47zv.js} +3 -3
- package/dist/chunks/{snapshot-awg5d31a.js → tool-awg5d31a.js} +1 -1
- package/dist/chunks/{snapshot-k5fakw8s.js → tool-axj9zjcw.js} +4 -4
- package/dist/chunks/{snapshot-2m73nq4z.js → tool-ay9jepqf.js} +7 -7
- package/dist/chunks/{snapshot-zmrwxzqm.js → tool-b12y280m.js} +6 -6
- package/dist/chunks/{snapshot-xxg4gb9n.js → tool-b273vq4v.js} +2 -2
- package/dist/chunks/{snapshot-n8tkcj0b.js → tool-bb6xq25h.js} +119 -94
- package/dist/chunks/{snapshot-csrx180a.js → tool-bbhffenw.js} +9 -5
- package/dist/chunks/{snapshot-bh1wr8rq.js → tool-bh1wr8rq.js} +2 -2
- package/dist/chunks/{snapshot-bmknfyv0.js → tool-bmknfyv0.js} +2 -2
- package/dist/chunks/{snapshot-byab506k.js → tool-byab506k.js} +1 -1
- package/dist/chunks/{snapshot-14b3y37g.js → tool-c03pdk3m.js} +3 -3
- package/dist/chunks/{snapshot-s7252bet.js → tool-c06ff3ts.js} +8 -8
- package/dist/chunks/{snapshot-y4rqcyeh.js → tool-c35fsjgg.js} +6 -6
- package/dist/chunks/{snapshot-8zdj5g8w.js → tool-c3ehh06a.js} +5 -5
- package/dist/chunks/{snapshot-c4wcb9vc.js → tool-c4wcb9vc.js} +2 -2
- package/dist/chunks/{snapshot-yptp00mq.js → tool-c7b2cm7c.js} +7 -7
- package/dist/chunks/{snapshot-gj5b7zp8.js → tool-cb19ghtj.js} +3 -3
- package/dist/chunks/{snapshot-2rdjsnre.js → tool-cb5zxvq2.js} +12 -12
- package/dist/chunks/{snapshot-63vvna7k.js → tool-chc00mz7.js} +6 -6
- package/dist/chunks/{snapshot-1dysp5zg.js → tool-cp982web.js} +7 -7
- package/dist/chunks/{snapshot-5rnr84zy.js → tool-cpbmr86j.js} +6 -6
- package/dist/chunks/{snapshot-2x3r6x66.js → tool-cstpqjcj.js} +15 -15
- package/dist/chunks/{snapshot-d2gk9vpf.js → tool-d2gk9vpf.js} +2 -2
- package/dist/chunks/{snapshot-dcerdtt9.js → tool-d6sk6h82.js} +9 -9
- package/dist/chunks/{snapshot-6qkbdayr.js → tool-d7kshenq.js} +38 -38
- package/dist/chunks/{snapshot-e6e4xn73.js → tool-d8s3r721.js} +4 -4
- package/dist/chunks/{snapshot-8mfwtbzr.js → tool-d8ve01t0.js} +34 -34
- package/dist/chunks/{snapshot-wy66qwpc.js → tool-dcqm2659.js} +13 -13
- package/dist/chunks/{snapshot-d9s19t2a.js → tool-dfjw0vq8.js} +10 -10
- package/dist/chunks/{snapshot-dhphtf1x.js → tool-dhphtf1x.js} +1 -1
- package/dist/chunks/{snapshot-51nh63zp.js → tool-dp4z5d5v.js} +6 -6
- package/dist/chunks/{snapshot-e1z9a0ts.js → tool-e1z9a0ts.js} +2 -2
- package/dist/chunks/{snapshot-ncenzm7w.js → tool-e39r3b28.js} +5 -5
- package/dist/chunks/{snapshot-1p81j20r.js → tool-e4n4v60w.js} +3 -3
- package/dist/chunks/{snapshot-3x74d76a.js → tool-e7m167yz.js} +9 -9
- package/dist/chunks/{snapshot-ec8vrfw5.js → tool-ec8vrfw5.js} +1 -1
- package/dist/chunks/{snapshot-efy08wzy.js → tool-eek2pnnt.js} +13 -13
- package/dist/chunks/{snapshot-pdp9vdkd.js → tool-eeta29b7.js} +4 -4
- package/dist/chunks/{snapshot-hed1mxmy.js → tool-ef9y63ry.js} +3 -3
- package/dist/chunks/{snapshot-00adz425.js → tool-emrme47h.js} +6 -6
- package/dist/chunks/{snapshot-enpg66yn.js → tool-enpg66yn.js} +1 -1
- package/dist/chunks/{snapshot-qrhnghma.js → tool-ey81096p.js} +7 -7
- package/dist/chunks/{snapshot-ztjk4rav.js → tool-f11jbhcb.js} +6 -6
- package/dist/chunks/{snapshot-f9wt0tjw.js → tool-f9wt0tjw.js} +2 -2
- package/dist/chunks/{snapshot-fb7nfzf2.js → tool-fb7nfzf2.js} +3 -3
- package/dist/chunks/{snapshot-hym5c3c0.js → tool-ffe33p6j.js} +14 -14
- package/dist/chunks/{snapshot-fgyjabww.js → tool-fgyjabww.js} +2 -2
- package/dist/chunks/{snapshot-d2nk018e.js → tool-g64wqzyd.js} +3 -3
- package/dist/chunks/{snapshot-gcay93cp.js → tool-gcay93cp.js} +1 -1
- package/dist/chunks/{snapshot-gd2xppx8.js → tool-gd2xppx8.js} +1 -1
- package/dist/chunks/{snapshot-74ve57mp.js → tool-gf27j7mb.js} +8 -8
- package/dist/chunks/{snapshot-8yrf0jrn.js → tool-gfdah46y.js} +11 -11
- package/dist/chunks/{snapshot-gpybhmhb.js → tool-gpybhmhb.js} +3 -3
- package/dist/chunks/{snapshot-7crkfncx.js → tool-h01rtytj.js} +5 -5
- package/dist/chunks/{snapshot-h12kt9pa.js → tool-h12kt9pa.js} +2 -2
- package/dist/chunks/{snapshot-krxnrwxf.js → tool-h2mftgr1.js} +6 -6
- package/dist/chunks/{snapshot-7h4d1ktr.js → tool-h4a7m801.js} +11 -11
- package/dist/chunks/{snapshot-hntswt6m.js → tool-h5xzwr1g.js} +6 -9
- package/dist/chunks/{snapshot-h94zdhz8.js → tool-h94zdhz8.js} +2 -2
- package/dist/chunks/{snapshot-beenkza5.js → tool-hd8q5g8p.js} +3 -3
- package/dist/chunks/{snapshot-msys3ym3.js → tool-hjc64t6x.js} +32 -32
- package/dist/chunks/{snapshot-hp6rpdnc.js → tool-hp6rpdnc.js} +1 -1
- package/dist/chunks/{snapshot-qh9gbvw6.js → tool-hszm49c7.js} +13 -13
- package/dist/chunks/{snapshot-n5wwh254.js → tool-jcxfg7j9.js} +5 -5
- package/dist/chunks/{snapshot-ck5pgha0.js → tool-jqms80b0.js} +2 -2
- package/dist/chunks/{snapshot-0y8axsp8.js → tool-jy183kys.js} +7 -7
- package/dist/chunks/{snapshot-x4139j55.js → tool-k7pbmry0.js} +9 -9
- package/dist/chunks/{snapshot-kg1345f7.js → tool-kg1345f7.js} +1 -1
- package/dist/chunks/{snapshot-d4ax61k3.js → tool-kgkfyy1j.js} +35 -33
- package/dist/chunks/{snapshot-kp1t5rcy.js → tool-kp1t5rcy.js} +1 -1
- package/dist/chunks/{snapshot-03r4d3d7.js → tool-kprre75d.js} +5 -5
- package/dist/chunks/{snapshot-krsqcmnj.js → tool-krsqcmnj.js} +1 -1
- package/dist/chunks/{snapshot-rt37qqhk.js → tool-kt491qp2.js} +9 -11
- package/dist/chunks/{snapshot-3kdy3jz5.js → tool-m1wb9dgh.js} +17 -19
- package/dist/chunks/{snapshot-m55whf0h.js → tool-m55whf0h.js} +2 -2
- package/dist/chunks/{snapshot-kwb0smgr.js → tool-merfm3fd.js} +3 -3
- package/dist/chunks/{snapshot-mf0hyk7z.js → tool-mf0hyk7z.js} +1 -1
- package/dist/chunks/{snapshot-mh28new4.js → tool-mh28new4.js} +2 -2
- package/dist/chunks/{snapshot-mnb85w6b.js → tool-mnb85w6b.js} +2 -2
- package/dist/chunks/{snapshot-3d9nr5nj.js → tool-mtf7yncj.js} +4 -4
- package/dist/chunks/{snapshot-mxvw03gv.js → tool-mxvw03gv.js} +1 -1
- package/dist/chunks/{snapshot-wy2qp8gn.js → tool-n0eq3s1b.js} +8 -8
- package/dist/chunks/{snapshot-w7wsm18c.js → tool-n93x7mqk.js} +3 -3
- package/dist/chunks/{snapshot-zzzm04t5.js → tool-na96fv1q.js} +3 -3
- package/dist/chunks/{snapshot-jcx5349t.js → tool-ndg5dzdd.js} +3 -3
- package/dist/chunks/{snapshot-c5r7nv49.js → tool-negttf37.js} +90 -90
- package/dist/chunks/{snapshot-nesb2rcz.js → tool-nesb2rcz.js} +2 -2
- package/dist/chunks/{snapshot-cvh07btz.js → tool-ngpnqj2n.js} +3 -3
- package/dist/chunks/{snapshot-pbrtg6rm.js → tool-njstbtdj.js} +59 -59
- package/dist/chunks/{snapshot-nr76rjj3.js → tool-nr76rjj3.js} +2 -2
- package/dist/chunks/{snapshot-c0s2ts20.js → tool-nr9n2d4p.js} +8 -8
- package/dist/chunks/{snapshot-x2wpvvza.js → tool-nt13qee2.js} +83 -79
- package/dist/chunks/{snapshot-nzrjycs5.js → tool-nzrjycs5.js} +1 -1
- package/dist/chunks/{snapshot-m4ywk5sr.js → tool-p379w5v5.js} +9 -9
- package/dist/chunks/{snapshot-p8fr6x1v.js → tool-p8fr6x1v.js} +1 -1
- package/dist/chunks/{snapshot-t1r7k897.js → tool-pcyacrd3.js} +8 -8
- package/dist/chunks/{snapshot-e49v8j09.js → tool-pkezspgh.js} +13 -13
- package/dist/chunks/{snapshot-pq4b4pqk.js → tool-pq4b4pqk.js} +2 -2
- package/dist/chunks/{snapshot-qy7rwb66.js → tool-pqe0bsb2.js} +2 -2
- package/dist/chunks/{snapshot-xf1x0v67.js → tool-pqjwk9ze.js} +3 -3
- package/dist/chunks/{snapshot-mwb02z4x.js → tool-pr2pekfr.js} +12 -12
- package/dist/chunks/{snapshot-pts35d3y.js → tool-pts35d3y.js} +6 -6
- package/dist/chunks/{snapshot-0hz0tmad.js → tool-q693p5za.js} +13 -13
- package/dist/chunks/{snapshot-j37e0edx.js → tool-q70gvhbx.js} +9 -9
- package/dist/chunks/{snapshot-q9b4qnv8.js → tool-q9b4qnv8.js} +2 -2
- package/dist/chunks/{snapshot-qe0d689s.js → tool-qe0d689s.js} +2 -2
- package/dist/chunks/{snapshot-rcenkehz.js → tool-qfcm9j97.js} +6 -6
- package/dist/chunks/{snapshot-r13w8t0w.js → tool-r13w8t0w.js} +2 -2
- package/dist/chunks/{snapshot-r3k9abhd.js → tool-r3k9abhd.js} +2 -2
- package/dist/chunks/{snapshot-p62hky5s.js → tool-r958g7pm.js} +4 -4
- package/dist/chunks/{snapshot-rahat93a.js → tool-rahat93a.js} +1 -1
- package/dist/chunks/{snapshot-rameyvmv.js → tool-rameyvmv.js} +1 -1
- package/dist/chunks/{snapshot-rbnp2c85.js → tool-rbnp2c85.js} +3 -3
- package/dist/chunks/{snapshot-gap8nnk0.js → tool-re1rhra9.js} +6 -6
- package/dist/chunks/{snapshot-rfbm65k8.js → tool-rfbm65k8.js} +1 -1
- package/dist/chunks/{snapshot-3zx24fbc.js → tool-rm0rdhcq.js} +4 -4
- package/dist/chunks/{snapshot-1we70vc5.js → tool-rmm5c85b.js} +15 -24
- package/dist/chunks/{snapshot-bq0z9m2s.js → tool-rp2ch0tc.js} +3 -3
- package/dist/chunks/{snapshot-08c11tpd.js → tool-s2dmwbat.js} +7 -7
- package/dist/chunks/{snapshot-s33fw6zm.js → tool-s33fw6zm.js} +1 -1
- package/dist/chunks/{snapshot-2xwhcp5e.js → tool-s758z954.js} +2 -2
- package/dist/chunks/{snapshot-89hw1mvm.js → tool-s8xxtbar.js} +5 -5
- package/dist/chunks/{snapshot-eac0r68y.js → tool-scfq11we.js} +24 -24
- package/dist/chunks/{snapshot-mkaeg0rc.js → tool-se8395as.js} +17 -13
- package/dist/chunks/{snapshot-smpeg8c9.js → tool-smpeg8c9.js} +2 -2
- package/dist/chunks/{snapshot-sw84ckhj.js → tool-sw84ckhj.js} +1 -1
- package/dist/chunks/{snapshot-wjht6mwf.js → tool-sxpjdhga.js} +6 -6
- package/dist/chunks/{snapshot-gp6nnez7.js → tool-t0msbthe.js} +3 -3
- package/dist/chunks/{snapshot-kaw593bn.js → tool-t11m5yr4.js} +6 -6
- package/dist/chunks/{snapshot-t14kykx1.js → tool-t14kykx1.js} +1 -1
- package/dist/chunks/{snapshot-f3p3rja9.js → tool-t4r89bwk.js} +3 -3
- package/dist/chunks/{snapshot-drw2awgz.js → tool-t66bwez3.js} +2 -2
- package/dist/chunks/{snapshot-tgx8ecrw.js → tool-t9sv4zem.js} +4 -4
- package/dist/chunks/{snapshot-tcptxgyq.js → tool-tcptxgyq.js} +1 -1
- package/dist/chunks/{snapshot-tgbb2ckq.js → tool-tgbb2ckq.js} +2 -2
- package/dist/chunks/{snapshot-thstd87d.js → tool-thstd87d.js} +1 -1
- package/dist/chunks/{snapshot-a09abg6q.js → tool-txw0c3p3.js} +3 -3
- package/dist/chunks/{snapshot-v2wshkax.js → tool-v2wshkax.js} +1 -1
- package/dist/chunks/{snapshot-cver0dzq.js → tool-v72crqz7.js} +3 -3
- package/dist/chunks/{snapshot-v80zsxnb.js → tool-v80zsxnb.js} +1 -1
- package/dist/chunks/{snapshot-v972xay6.js → tool-v972xay6.js} +1 -1
- package/dist/chunks/{snapshot-v9bfv94f.js → tool-v9bfv94f.js} +1 -1
- package/dist/chunks/{snapshot-vcwr2vpf.js → tool-vcwr2vpf.js} +1 -1
- package/dist/chunks/{snapshot-vqbmgfq1.js → tool-vqbmgfq1.js} +3 -3
- package/dist/chunks/{snapshot-ckmbwzgz.js → tool-vvdjq78e.js} +5 -5
- package/dist/chunks/{snapshot-vycjsnjm.js → tool-vycjsnjm.js} +2 -2
- package/dist/chunks/{snapshot-vz89hfgr.js → tool-vz89hfgr.js} +1 -1
- package/dist/chunks/{snapshot-5mjnegmn.js → tool-w52cyf08.js} +2 -2
- package/dist/chunks/{snapshot-wbkt8qpj.js → tool-wbkt8qpj.js} +1 -1
- package/dist/chunks/{snapshot-mm5bk5a9.js → tool-wcb745wb.js} +5 -5
- package/dist/chunks/{snapshot-wd268jeg.js → tool-wd268jeg.js} +1 -1
- package/dist/chunks/{snapshot-whk0g8cz.js → tool-whk0g8cz.js} +4 -4
- package/dist/chunks/{snapshot-wmxdh12w.js → tool-wmxdh12w.js} +1 -1
- package/dist/chunks/{snapshot-wps8gh8n.js → tool-wps8gh8n.js} +2 -2
- package/dist/chunks/{snapshot-xkfjdjay.js → tool-x33kb18g.js} +3 -3
- package/dist/chunks/{snapshot-x89rah0x.js → tool-x89rah0x.js} +1 -1
- package/dist/chunks/{snapshot-xczfw7dq.js → tool-xczfw7dq.js} +1 -1
- package/dist/chunks/{snapshot-xgv25zxy.js → tool-xgv25zxy.js} +1 -1
- package/dist/chunks/{snapshot-xwftk1fd.js → tool-xwftk1fd.js} +2 -2
- package/dist/chunks/{snapshot-xxpvz42q.js → tool-xxpvz42q.js} +3 -3
- package/dist/chunks/{snapshot-tfprkz91.js → tool-y0a17w9d.js} +5 -5
- package/dist/chunks/{snapshot-y0x38cee.js → tool-y0x38cee.js} +1 -1
- package/dist/chunks/{snapshot-ns5zakmm.js → tool-y109krwg.js} +3 -3
- package/dist/chunks/{snapshot-y198y2ra.js → tool-y198y2ra.js} +1 -1
- package/dist/chunks/{snapshot-6tp65bqk.js → tool-y4v09x0q.js} +4 -4
- package/dist/chunks/{snapshot-y67x6rf6.js → tool-y67x6rf6.js} +1 -1
- package/dist/chunks/{snapshot-y980s7ka.js → tool-y980s7ka.js} +3 -3
- package/dist/chunks/{snapshot-pkm79cpk.js → tool-yaw62s0n.js} +4 -4
- package/dist/chunks/{snapshot-ybhfpy64.js → tool-ybhfpy64.js} +2 -2
- package/dist/chunks/{snapshot-bje3p123.js → tool-yde8fdw7.js} +7 -7
- package/dist/chunks/{snapshot-yf0knd5z.js → tool-yf0knd5z.js} +2 -2
- package/dist/chunks/{snapshot-ygy0xbqa.js → tool-ygy0xbqa.js} +3 -3
- package/dist/chunks/{snapshot-cnee8f6y.js → tool-ykb30cq4.js} +5 -5
- package/dist/chunks/{snapshot-5a713ksd.js → tool-yncnzy6p.js} +3 -3
- package/dist/chunks/{snapshot-z9qfd23w.js → tool-z8gh2y42.js} +4 -4
- package/dist/chunks/{snapshot-zbqqnp0n.js → tool-zbqqnp0n.js} +1 -1
- package/dist/chunks/{snapshot-zdkg1k91.js → tool-zdkg1k91.js} +1 -1
- package/dist/chunks/{snapshot-zxcy6vhn.js → tool-zxcy6vhn.js} +1 -1
- package/dist/chunks/{snapshot-zxe9jjhn.js → tool-zxe9jjhn.js} +2 -2
- package/dist/codemode/catalog.js +2 -2
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +3 -3
- package/dist/command.js +70 -70
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +136 -136
- package/dist/config/plugin/command.js +118 -118
- package/dist/config/plugin/compaction.js +150 -150
- package/dist/config/plugin/entry-observer.js +114 -114
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +109 -109
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/variable.js +4 -4
- package/dist/config.js +113 -113
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +71 -71
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
- package/dist/database/drizzle/effect-sqlite/index.js +13 -13
- package/dist/database/drizzle/effect-sqlite/session.js +12 -12
- package/dist/database/drizzle/index.js +14 -14
- package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/index.js +19 -19
- package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/session.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
- package/dist/database/drizzle.js +15 -15
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
- package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
- package/dist/database/migration/20260225215848_workspace.js +2 -2
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
- package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
- package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
- package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
- package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
- package/dist/database/migration/20260323234822_events.js +2 -2
- package/dist/database/migration/20260410174513_workspace-name.js +2 -2
- package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
- package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
- package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
- package/dist/database/migration/20260428004200_add_session_path.js +2 -2
- package/dist/database/migration/20260501142318_next_venus.js +2 -2
- package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
- package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
- package/dist/database/migration/20260510033149_session_usage.js +2 -2
- package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
- package/dist/database/migration/20260511173437_session-metadata.js +2 -2
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
- package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
- package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
- package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
- package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
- package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
- package/dist/database/migration/20260611035744_credential.js +2 -2
- package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
- package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
- package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
- package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
- package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
- package/dist/database/migration/20260812181746_session_inbox.js +2 -2
- package/dist/database/migration/20260812213948_worktree.js +2 -2
- package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +3 -3
- package/dist/database/schema.gen.js +2 -2
- package/dist/database/schema.sql.js +2 -2
- package/dist/database/sqlite.bun.js +2 -2
- package/dist/database/sqlite.js +2 -2
- package/dist/database/sqlite.node.js +2 -2
- package/dist/database/sqlite.workerd.js +2 -2
- package/dist/database/v1-migration.bun.js +93 -93
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +328 -328
- package/dist/effect/app-node-platform.js +3 -3
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/effect/websocket-constructor.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +91 -91
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +3 -3
- package/dist/environment/memory.js +3 -3
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +2 -2
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +2 -2
- package/dist/file.js +2 -2
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +2 -2
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +3 -3
- package/dist/filesystem/location-watcher.js +304 -304
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +96 -96
- package/dist/form.js +69 -69
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +85 -85
- package/dist/generate.js +84 -84
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
- package/dist/github-copilot/chat/get-response-metadata.js +2 -2
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
- package/dist/github-copilot/copilot-provider.js +18 -18
- package/dist/github-copilot/models.js +4 -4
- package/dist/github-copilot/openai-compatible-error.js +2 -2
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
- package/dist/github-copilot/responses/openai-error.js +2 -2
- package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
- package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
- package/dist/github-copilot/responses/tool/file-search.js +2 -2
- package/dist/github-copilot/responses/tool/image-generation.js +2 -2
- package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
- package/dist/github-copilot/responses/tool/web-search.js +2 -2
- package/dist/id/id.js +2 -2
- package/dist/image/photon-wasm.bun.js +1 -1
- package/dist/image/photon-wasm.node.js +1 -1
- package/dist/image/photon-wasm.workerd.js +1 -1
- package/dist/image/photon.js +98 -98
- package/dist/image.js +98 -98
- package/dist/instruction-discovery.js +72 -72
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +75 -75
- package/dist/job.js +72 -72
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +87 -87
- package/dist/location-mutation.js +84 -84
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +328 -328
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +124 -114
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +83 -83
- package/dist/model.js +3 -3
- package/dist/models-dev.js +75 -75
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +2 -2
- package/dist/persistent-pty/binary.node.js +1 -1
- package/dist/persistent-pty/binary.workerd.js +1 -1
- package/dist/persistent-pty/daemon.js +2 -2
- package/dist/persistent-pty/index.js +80 -71
- package/dist/persistent-pty/pty-binding.js +2 -2
- package/dist/persistent-pty.js +73 -70
- package/dist/plugin/agent.js +107 -107
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +171 -171
- package/dist/plugin/internal.js +298 -298
- package/dist/plugin/mcp-codemode-exclusion.js +2 -2
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +3 -3
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +2 -2
- package/dist/plugin/provider/alibaba.js +3 -3
- package/dist/plugin/provider/amazon-bedrock.js +3 -3
- package/dist/plugin/provider/anthropic.js +3 -3
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +2 -2
- package/dist/plugin/provider/gateway.js +3 -3
- package/dist/plugin/provider/github-copilot.js +82 -82
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +4 -4
- package/dist/plugin/provider/perplexity.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/snowflake-cortex.js +3 -3
- package/dist/plugin/provider/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/vllm.js +114 -114
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/runtime.js +159 -159
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +2 -2
- package/dist/plugin/supervisor-service.js +2 -2
- package/dist/plugin/supervisor.js +303 -303
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +3 -3
- package/dist/plugin.js +172 -172
- package/dist/project/markers.js +74 -74
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +82 -82
- package/dist/provider.js +2 -2
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/pty.bun.js +1 -1
- package/dist/pty/pty.node.js +1 -1
- package/dist/pty/pty.workerd.js +1 -1
- package/dist/pty/schema.js +2 -2
- package/dist/pty/ticket.js +70 -70
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +77 -77
- package/dist/reference.js +75 -75
- package/dist/repository-cache.js +7 -7
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +94 -94
- package/dist/schema.js +2 -2
- package/dist/session/compaction.js +122 -122
- package/dist/session/context.js +313 -313
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +159 -159
- package/dist/session/execution.js +126 -126
- package/dist/session/generate-node.js +314 -314
- package/dist/session/generate.js +2 -2
- package/dist/session/history.js +94 -94
- package/dist/session/inbox.js +93 -91
- package/dist/session/info.js +92 -92
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +91 -91
- package/dist/session/instructions.js +102 -102
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-request.js +139 -139
- package/dist/session/model-transport.js +5 -5
- package/dist/session/projector.js +101 -101
- package/dist/session/prompt-cache-diagnostics.js +2 -2
- package/dist/session/revert.js +94 -94
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +84 -84
- package/dist/session/runner/llm.js +320 -320
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +72 -72
- package/dist/session/runner/step.js +148 -148
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/sql.js +87 -87
- package/dist/session/stats.js +87 -87
- package/dist/session/store.js +101 -101
- package/dist/session/system-prompt.js +2 -2
- package/dist/session/title.js +314 -314
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +164 -161
- package/dist/session/usage.js +2 -2
- package/dist/session.js +157 -157
- package/dist/shell/parse.js +6 -6
- package/dist/shell/parser-wasm.bun.js +1 -1
- package/dist/shell/parser-wasm.node.js +1 -1
- package/dist/shell/parser-wasm.workerd.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +6 -4
- package/dist/shell.js +99 -99
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +85 -85
- package/dist/state.js +2 -2
- package/dist/tool/html-markdown.js +2 -2
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +110 -110
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +187 -187
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +184 -184
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +121 -121
- package/dist/types/location-service-map.d.ts +2 -2
- package/dist/types/location-services.d.ts +2 -1
- package/dist/types/model-resolver.d.ts +1 -1
- package/dist/types/persistent-pty/daemon.d.ts +34 -2
- package/dist/types/persistent-pty/index.d.ts +17 -5
- package/dist/types/plugin/host.d.ts +6 -2
- package/dist/types/session/inbox.d.ts +82 -0
- package/dist/types/session/transfer.d.ts +1 -1
- package/dist/types/shell/select.d.ts +3 -0
- package/dist/types/tool/plugin/patch.d.ts +1 -1
- package/dist/types/tool/plugin/question.d.ts +1 -1
- package/dist/types/tool/plugin/write.d.ts +1 -1
- package/dist/util/array.js +1 -1
- package/dist/util/error.js +2 -2
- package/dist/util/identifier.js +1 -1
- package/dist/util/iife.js +2 -2
- package/dist/util/lazy.js +2 -2
- package/dist/util/process-lock-ffi.bun.js +1 -1
- package/dist/util/process-lock-ffi.node.js +1 -1
- package/dist/util/process-lock-ffi.workerd.js +1 -1
- package/dist/util/process-lock.js +1 -1
- package/dist/util/slug.js +2 -2
- package/dist/util/token.js +2 -2
- package/dist/util/which.js +2 -2
- package/dist/util/wildcard.js +2 -2
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +2 -2
- package/dist/v1/config/config.js +15 -15
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +2 -2
- package/dist/v1/config/layout.js +2 -2
- package/dist/v1/config/lsp.js +2 -2
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +19 -19
- package/dist/v1/config/permission.js +2 -2
- package/dist/v1/config/plugin.js +2 -2
- package/dist/v1/config/provider-options.js +2 -2
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/server.js +3 -3
- package/dist/v1/config/skills.js +2 -2
- package/dist/v1/permission.js +2 -2
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +73 -73
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +72 -72
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +69 -69
- package/dist/worktree/directory.js +3 -3
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +6 -6
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- /package/dist/chunks/{snapshot-0cgt0xh2.js → tool-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{snapshot-0f48qthw.js → tool-0f48qthw.js} +0 -0
- /package/dist/chunks/{snapshot-0zz82cjq.js → tool-0zz82cjq.js} +0 -0
- /package/dist/chunks/{snapshot-1fb7bmpf.js → tool-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{snapshot-1wcz8fvj.js → tool-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{snapshot-29n7vfk2.js → tool-29n7vfk2.js} +0 -0
- /package/dist/chunks/{snapshot-2qdx6zz3.js → tool-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{snapshot-2xb0r1c6.js → tool-2xb0r1c6.js} +0 -0
- /package/dist/chunks/{snapshot-39ktntah.js → tool-39ktntah.js} +0 -0
- /package/dist/chunks/{snapshot-3g3rpp2x.js → tool-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{snapshot-3q6gbwmd.js → tool-3q6gbwmd.js} +0 -0
- /package/dist/chunks/{snapshot-3w3ybtfd.js → tool-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{snapshot-47ty4mvs.js → tool-47ty4mvs.js} +0 -0
- /package/dist/chunks/{snapshot-4b2tz2m9.js → tool-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{snapshot-5a5ch9ts.js → tool-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{snapshot-5va1yh78.js → tool-5va1yh78.js} +0 -0
- /package/dist/chunks/{snapshot-61ek4hj9.js → tool-61ek4hj9.js} +0 -0
- /package/dist/chunks/{snapshot-69qrqpw0.js → tool-69qrqpw0.js} +0 -0
- /package/dist/chunks/{snapshot-6zqxzw0a.js → tool-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{snapshot-7n9qwqk4.js → tool-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{snapshot-8nn8kqcn.js → tool-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{snapshot-8rpfd2h6.js → tool-8rpfd2h6.js} +0 -0
- /package/dist/chunks/{snapshot-8sj3ajy5.js → tool-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{snapshot-8w9tzfz1.js → tool-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{snapshot-906y0b6d.js → tool-906y0b6d.js} +0 -0
- /package/dist/chunks/{snapshot-9dct5xhx.js → tool-9dct5xhx.js} +0 -0
- /package/dist/chunks/{snapshot-9sdtsapf.js → tool-9sdtsapf.js} +0 -0
- /package/dist/chunks/{snapshot-a02svayp.js → tool-a02svayp.js} +0 -0
- /package/dist/chunks/{snapshot-a83yvq99.js → tool-a83yvq99.js} +0 -0
- /package/dist/chunks/{snapshot-a9vdgkgd.js → tool-a9vdgkgd.js} +0 -0
- /package/dist/chunks/{snapshot-ayevdmef.js → tool-ayevdmef.js} +0 -0
- /package/dist/chunks/{snapshot-b02txbh8.js → tool-b02txbh8.js} +0 -0
- /package/dist/chunks/{snapshot-bbqs2y60.js → tool-bbqs2y60.js} +0 -0
- /package/dist/chunks/{snapshot-bjwj8hwv.js → tool-bjwj8hwv.js} +0 -0
- /package/dist/chunks/{snapshot-brsh5f65.js → tool-brsh5f65.js} +0 -0
- /package/dist/chunks/{snapshot-bxdhjb3y.js → tool-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{snapshot-c77ad0vh.js → tool-c77ad0vh.js} +0 -0
- /package/dist/chunks/{snapshot-cm67rqy2.js → tool-cm67rqy2.js} +0 -0
- /package/dist/chunks/{snapshot-df3v2q6j.js → tool-df3v2q6j.js} +0 -0
- /package/dist/chunks/{snapshot-dhcq6c44.js → tool-dhcq6c44.js} +0 -0
- /package/dist/chunks/{snapshot-dht5baf0.js → tool-dht5baf0.js} +0 -0
- /package/dist/chunks/{snapshot-dkmkay92.js → tool-dkmkay92.js} +0 -0
- /package/dist/chunks/{snapshot-drean1vx.js → tool-drean1vx.js} +0 -0
- /package/dist/chunks/{snapshot-ehj9csmv.js → tool-ehj9csmv.js} +0 -0
- /package/dist/chunks/{snapshot-em6xpscd.js → tool-em6xpscd.js} +0 -0
- /package/dist/chunks/{snapshot-emmqknsm.js → tool-emmqknsm.js} +0 -0
- /package/dist/chunks/{snapshot-ezs3tagn.js → tool-ezs3tagn.js} +0 -0
- /package/dist/chunks/{snapshot-f14r7hfz.js → tool-f14r7hfz.js} +0 -0
- /package/dist/chunks/{snapshot-f4cp4g4a.js → tool-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{snapshot-faypg4r1.js → tool-faypg4r1.js} +0 -0
- /package/dist/chunks/{snapshot-fgbfdq62.js → tool-fgbfdq62.js} +0 -0
- /package/dist/chunks/{snapshot-gd5xeqc2.js → tool-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{snapshot-ghm4673n.js → tool-ghm4673n.js} +0 -0
- /package/dist/chunks/{snapshot-ghwjy7my.js → tool-ghwjy7my.js} +0 -0
- /package/dist/chunks/{snapshot-gy500k2r.js → tool-gy500k2r.js} +0 -0
- /package/dist/chunks/{snapshot-hzeg9cfr.js → tool-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{snapshot-j07kk359.js → tool-j07kk359.js} +0 -0
- /package/dist/chunks/{snapshot-jve7t217.js → tool-jve7t217.js} +0 -0
- /package/dist/chunks/{snapshot-k3e42drn.js → tool-k3e42drn.js} +0 -0
- /package/dist/chunks/{snapshot-k8b45nas.js → tool-k8b45nas.js} +0 -0
- /package/dist/chunks/{snapshot-kcacmy5c.js → tool-kcacmy5c.js} +0 -0
- /package/dist/chunks/{snapshot-kpdbz7gn.js → tool-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{snapshot-kxy11nzk.js → tool-kxy11nzk.js} +0 -0
- /package/dist/chunks/{snapshot-kyyqvx4s.js → tool-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{snapshot-m8cbvarh.js → tool-m8cbvarh.js} +0 -0
- /package/dist/chunks/{snapshot-ma60vzgv.js → tool-ma60vzgv.js} +0 -0
- /package/dist/chunks/{snapshot-n3m50c2t.js → tool-n3m50c2t.js} +0 -0
- /package/dist/chunks/{snapshot-nkm1m8dz.js → tool-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{snapshot-nsc0c3zb.js → tool-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{snapshot-qaarhjrp.js → tool-qaarhjrp.js} +0 -0
- /package/dist/chunks/{snapshot-qc167nrn.js → tool-qc167nrn.js} +0 -0
- /package/dist/chunks/{snapshot-qp95y4jb.js → tool-qp95y4jb.js} +0 -0
- /package/dist/chunks/{snapshot-r8f4w671.js → tool-r8f4w671.js} +0 -0
- /package/dist/chunks/{snapshot-rdfev9jy.js → tool-rdfev9jy.js} +0 -0
- /package/dist/chunks/{snapshot-rvfvac9x.js → tool-rvfvac9x.js} +0 -0
- /package/dist/chunks/{snapshot-s7whb9gt.js → tool-s7whb9gt.js} +0 -0
- /package/dist/chunks/{snapshot-se76j685.js → tool-se76j685.js} +0 -0
- /package/dist/chunks/{snapshot-sem2g21k.js → tool-sem2g21k.js} +0 -0
- /package/dist/chunks/{snapshot-sp575ygv.js → tool-sp575ygv.js} +0 -0
- /package/dist/chunks/{snapshot-tmb1f636.js → tool-tmb1f636.js} +0 -0
- /package/dist/chunks/{snapshot-ttxf0gsy.js → tool-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{snapshot-tvmhrvfj.js → tool-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{snapshot-v2adqbbe.js → tool-v2adqbbe.js} +0 -0
- /package/dist/chunks/{snapshot-wj4sxzqa.js → tool-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{snapshot-wwntjmk1.js → tool-wwntjmk1.js} +0 -0
- /package/dist/chunks/{snapshot-wyqjaaa5.js → tool-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{snapshot-x4q807cx.js → tool-x4q807cx.js} +0 -0
- /package/dist/chunks/{snapshot-xt0068v8.js → tool-xt0068v8.js} +0 -0
- /package/dist/chunks/{snapshot-yrqrg4vp.js → tool-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{snapshot-z47nswr2.js → tool-z47nswr2.js} +0 -0
- /package/dist/chunks/{snapshot-zsf8rs93.js → tool-zsf8rs93.js} +0 -0
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
exports_model_request
|
|
3
|
+
} from "./tool-6mybbghn.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_instructions as exports_instructions3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-xxpvz42q.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
exports_builtins
|
|
9
|
+
} from "./tool-c03pdk3m.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
exports_instructions as exports_instructions2
|
|
12
|
+
} from "./tool-rp2ch0tc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
exports_instructions as exports_instructions4
|
|
15
|
+
} from "./tool-248dv4dv.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_mcp
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-83kkwqqt.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
exports_instructions as exports_instructions5
|
|
21
|
+
} from "./tool-x33kb18g.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
exports_supervisor
|
|
24
|
+
} from "./tool-5t37zp3f.js";
|
|
25
|
+
import {
|
|
26
|
+
exports_instruction_discovery
|
|
27
|
+
} from "./tool-5tp8bhe0.js";
|
|
25
28
|
import {
|
|
26
29
|
exports_instruction_entry
|
|
27
|
-
} from "./
|
|
30
|
+
} from "./tool-z8gh2y42.js";
|
|
28
31
|
import {
|
|
29
32
|
exports_model as exports_model2
|
|
30
|
-
} from "./
|
|
33
|
+
} from "./tool-jy183kys.js";
|
|
31
34
|
import {
|
|
32
35
|
exports_catalog
|
|
33
|
-
} from "./
|
|
36
|
+
} from "./tool-7vqcvmjm.js";
|
|
34
37
|
import {
|
|
35
38
|
exports_tool
|
|
36
|
-
} from "./
|
|
39
|
+
} from "./tool-k7pbmry0.js";
|
|
37
40
|
import {
|
|
38
41
|
exports_store
|
|
39
|
-
} from "./
|
|
42
|
+
} from "./tool-53vhya9m.js";
|
|
40
43
|
import {
|
|
41
44
|
exports_history
|
|
42
|
-
} from "./
|
|
45
|
+
} from "./tool-q70gvhbx.js";
|
|
43
46
|
import {
|
|
44
47
|
AgentNotFoundError
|
|
45
|
-
} from "./
|
|
48
|
+
} from "./tool-fb7nfzf2.js";
|
|
46
49
|
import {
|
|
47
50
|
exports_agent
|
|
48
|
-
} from "./
|
|
49
|
-
import {
|
|
50
|
-
exports_model
|
|
51
|
-
} from "./snapshot-r13w8t0w.js";
|
|
52
|
-
import {
|
|
53
|
-
exports_instruction_discovery
|
|
54
|
-
} from "./snapshot-c5whbqdw.js";
|
|
51
|
+
} from "./tool-kprre75d.js";
|
|
55
52
|
import {
|
|
56
53
|
exports_instructions
|
|
57
|
-
} from "./
|
|
54
|
+
} from "./tool-ec8vrfw5.js";
|
|
55
|
+
import {
|
|
56
|
+
exports_model
|
|
57
|
+
} from "./tool-r13w8t0w.js";
|
|
58
58
|
import {
|
|
59
59
|
exports_location
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./tool-2y40pff2.js";
|
|
61
61
|
import {
|
|
62
62
|
exports_database
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./tool-merfm3fd.js";
|
|
64
64
|
import {
|
|
65
65
|
__export
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./tool-rvfvac9x.js";
|
|
67
67
|
|
|
68
68
|
// src/session/context.ts
|
|
69
69
|
var exports_context = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_entry_observer
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-kp1t5rcy.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_config
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-dcqm2659.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_wildcard
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-y67x6rf6.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_page
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-7mrpdsq5.js";
|
|
4
|
+
import {
|
|
5
|
+
exports_app
|
|
6
|
+
} from "./tool-50jxp3hw.js";
|
|
4
7
|
import {
|
|
5
8
|
exports_integration
|
|
6
|
-
} from "./
|
|
9
|
+
} from "./tool-gf27j7mb.js";
|
|
7
10
|
import {
|
|
8
11
|
exports_credential
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
exports_app
|
|
12
|
-
} from "./snapshot-50jxp3hw.js";
|
|
12
|
+
} from "./tool-r958g7pm.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_provider
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-krsqcmnj.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_bus
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-8dndtydw.js";
|
|
19
19
|
import {
|
|
20
20
|
__require
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-rvfvac9x.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/openai.ts
|
|
24
24
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_config
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-dcqm2659.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_model
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-r13w8t0w.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_provider
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-krsqcmnj.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/lmstudio.ts
|
|
12
12
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_entry_observer
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-kp1t5rcy.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_config
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-dcqm2659.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_image
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-s758z954.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-rvfvac9x.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image2 = {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
exports_state
|
|
3
|
+
} from "./tool-x89rah0x.js";
|
|
1
4
|
import {
|
|
2
5
|
exports_location
|
|
3
|
-
} from "./
|
|
6
|
+
} from "./tool-2y40pff2.js";
|
|
4
7
|
import {
|
|
5
8
|
exports_git
|
|
6
|
-
} from "./
|
|
9
|
+
} from "./tool-kt491qp2.js";
|
|
7
10
|
import {
|
|
8
11
|
AbsolutePath,
|
|
9
12
|
RelativePath
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
exports_state
|
|
13
|
-
} from "./snapshot-x89rah0x.js";
|
|
13
|
+
} from "./tool-j07kk359.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-rvfvac9x.js";
|
|
17
17
|
|
|
18
18
|
// src/snapshot.ts
|
|
19
19
|
var exports_snapshot = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-tvmhrvfj.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-8w9tzfz1.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_select
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-bbhffenw.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_location
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-2y40pff2.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_bus
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-8dndtydw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export,
|
|
18
18
|
__require
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-rvfvac9x.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
@@ -1,121 +1,124 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
exports_execution
|
|
3
|
+
} from "./tool-cstpqjcj.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_projector
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-4ya343sq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
exports_inbox
|
|
9
|
+
} from "./tool-se8395as.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_generate
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
exports_execution
|
|
15
|
-
} from "./snapshot-2x3r6x66.js";
|
|
12
|
+
} from "./tool-xgv25zxy.js";
|
|
16
13
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
14
|
+
exports_instruction_entry
|
|
15
|
+
} from "./tool-z8gh2y42.js";
|
|
19
16
|
import {
|
|
20
17
|
exports_revert
|
|
21
|
-
} from "./
|
|
18
|
+
} from "./tool-q693p5za.js";
|
|
22
19
|
import {
|
|
23
20
|
exports_model_transport
|
|
24
|
-
} from "./
|
|
21
|
+
} from "./tool-kgkfyy1j.js";
|
|
25
22
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
23
|
+
exports_supervisor_service
|
|
24
|
+
} from "./tool-s33fw6zm.js";
|
|
28
25
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
26
|
+
exports_shell
|
|
27
|
+
} from "./tool-6qnkp1xh.js";
|
|
28
|
+
import {
|
|
29
|
+
exports_environment
|
|
30
|
+
} from "./tool-6ky7rqk7.js";
|
|
31
31
|
import {
|
|
32
32
|
exports_app
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-50jxp3hw.js";
|
|
34
|
+
import {
|
|
35
|
+
Slug
|
|
36
|
+
} from "./tool-df3v2q6j.js";
|
|
37
|
+
import {
|
|
38
|
+
exports_mime
|
|
39
|
+
} from "./tool-dhphtf1x.js";
|
|
34
40
|
import {
|
|
35
41
|
exports_skill
|
|
36
|
-
} from "./
|
|
42
|
+
} from "./tool-sxpjdhga.js";
|
|
43
|
+
import {
|
|
44
|
+
exports_job
|
|
45
|
+
} from "./tool-376q6v3y.js";
|
|
37
46
|
import {
|
|
38
47
|
exports_store
|
|
39
|
-
} from "./
|
|
48
|
+
} from "./tool-53vhya9m.js";
|
|
49
|
+
import {
|
|
50
|
+
fromRow
|
|
51
|
+
} from "./tool-cb5zxvq2.js";
|
|
40
52
|
import {
|
|
41
53
|
exports_history
|
|
42
|
-
} from "./
|
|
54
|
+
} from "./tool-q70gvhbx.js";
|
|
43
55
|
import {
|
|
44
56
|
exports_instruction_state
|
|
45
|
-
} from "./
|
|
57
|
+
} from "./tool-f11jbhcb.js";
|
|
46
58
|
import {
|
|
47
59
|
ForkEmptyError,
|
|
48
60
|
MessageDecodeError,
|
|
49
61
|
NotFoundError
|
|
50
|
-
} from "./
|
|
51
|
-
import {
|
|
52
|
-
fromRow
|
|
53
|
-
} from "./snapshot-2rdjsnre.js";
|
|
62
|
+
} from "./tool-fb7nfzf2.js";
|
|
54
63
|
import {
|
|
55
64
|
SessionMessageTable,
|
|
56
65
|
SessionTable
|
|
57
|
-
} from "./
|
|
58
|
-
import {
|
|
59
|
-
SessionEvent
|
|
60
|
-
} from "./snapshot-a83yvq99.js";
|
|
61
|
-
import {
|
|
62
|
-
exports_model
|
|
63
|
-
} from "./snapshot-r13w8t0w.js";
|
|
66
|
+
} from "./tool-ygy0xbqa.js";
|
|
64
67
|
import {
|
|
65
|
-
|
|
66
|
-
} from "./
|
|
67
|
-
import {
|
|
68
|
-
exports_location_service_map
|
|
69
|
-
} from "./snapshot-zdkg1k91.js";
|
|
70
|
-
import {
|
|
71
|
-
exports_job
|
|
72
|
-
} from "./snapshot-mw2kp8b7.js";
|
|
68
|
+
exports_hooks
|
|
69
|
+
} from "./tool-v2wshkax.js";
|
|
73
70
|
import {
|
|
74
71
|
SessionMessage
|
|
75
|
-
} from "./
|
|
76
|
-
import {
|
|
77
|
-
exports_mime
|
|
78
|
-
} from "./snapshot-dhphtf1x.js";
|
|
79
|
-
import {
|
|
80
|
-
exports_shell
|
|
81
|
-
} from "./snapshot-p7kv2p3m.js";
|
|
82
|
-
import {
|
|
83
|
-
exports_environment
|
|
84
|
-
} from "./snapshot-6ky7rqk7.js";
|
|
72
|
+
} from "./tool-8rpfd2h6.js";
|
|
85
73
|
import {
|
|
86
74
|
ID,
|
|
87
75
|
Info,
|
|
88
76
|
SessionSchema
|
|
89
|
-
} from "./
|
|
77
|
+
} from "./tool-bjwj8hwv.js";
|
|
78
|
+
import {
|
|
79
|
+
exports_model
|
|
80
|
+
} from "./tool-r13w8t0w.js";
|
|
81
|
+
import {
|
|
82
|
+
exports_image
|
|
83
|
+
} from "./tool-s758z954.js";
|
|
90
84
|
import {
|
|
91
85
|
exports_workspace
|
|
92
|
-
} from "./
|
|
86
|
+
} from "./tool-n0eq3s1b.js";
|
|
87
|
+
import {
|
|
88
|
+
exports_command
|
|
89
|
+
} from "./tool-e39r3b28.js";
|
|
90
|
+
import {
|
|
91
|
+
exports_location_service_map
|
|
92
|
+
} from "./tool-zdkg1k91.js";
|
|
93
|
+
import {
|
|
94
|
+
SessionEvent
|
|
95
|
+
} from "./tool-a83yvq99.js";
|
|
93
96
|
import {
|
|
94
97
|
exports_location
|
|
95
|
-
} from "./
|
|
98
|
+
} from "./tool-2y40pff2.js";
|
|
96
99
|
import {
|
|
97
100
|
exports_project
|
|
98
|
-
} from "./
|
|
101
|
+
} from "./tool-gfdah46y.js";
|
|
99
102
|
import {
|
|
100
103
|
upsertProject
|
|
101
|
-
} from "./
|
|
104
|
+
} from "./tool-88jbfw8z.js";
|
|
102
105
|
import {
|
|
103
106
|
AbsolutePath,
|
|
104
107
|
PositiveInt,
|
|
105
108
|
RelativePath
|
|
106
|
-
} from "./
|
|
109
|
+
} from "./tool-j07kk359.js";
|
|
107
110
|
import {
|
|
108
111
|
exports_bus
|
|
109
|
-
} from "./
|
|
110
|
-
import {
|
|
111
|
-
exports_keyed_mutex
|
|
112
|
-
} from "./snapshot-0kvmztkf.js";
|
|
112
|
+
} from "./tool-8dndtydw.js";
|
|
113
113
|
import {
|
|
114
114
|
exports_database
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./tool-merfm3fd.js";
|
|
116
|
+
import {
|
|
117
|
+
exports_keyed_mutex
|
|
118
|
+
} from "./tool-0kvmztkf.js";
|
|
116
119
|
import {
|
|
117
120
|
__export
|
|
118
|
-
} from "./
|
|
121
|
+
} from "./tool-rvfvac9x.js";
|
|
119
122
|
|
|
120
123
|
// src/session.ts
|
|
121
124
|
var exports_session = {};
|
|
@@ -451,31 +454,25 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
451
454
|
steerInbox: Effect.fn("Session.steerInbox")((input) => mutatePending(input, exports_inbox.steer, true)),
|
|
452
455
|
queueInbox: Effect.fn("Session.queueInbox")((input) => mutatePending(input, exports_inbox.queue)),
|
|
453
456
|
log: (input) => Stream.unwrap(result.get(input.sessionID).pipe(Effect.as(bus.log({ aggregateID: input.sessionID, after: input.after, follow: input.follow })))).pipe(Stream.filter((item) => exports_bus.isSynced(item) || isDurableSessionEvent(item))),
|
|
454
|
-
prompt: Effect.fn("Session.prompt")((input) => Effect.
|
|
457
|
+
prompt: Effect.fn("Session.prompt")((input) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
455
458
|
const session = yield* result.get(input.sessionID);
|
|
456
|
-
if (session.revert)
|
|
457
|
-
yield* exports_revert.commit(session).pipe(Effect.provideService(exports_bus.Service, bus));
|
|
458
|
-
const image = Effect.gen(function* () {
|
|
459
|
-
const plugins = yield* exports_supervisor_service.Service;
|
|
460
|
-
yield* plugins.flush;
|
|
461
|
-
return yield* exports_image.Service;
|
|
462
|
-
}).pipe(Effect.provide(locations.get(session.location)));
|
|
463
|
-
const skills = Effect.gen(function* () {
|
|
464
|
-
const plugins = yield* exports_supervisor_service.Service;
|
|
465
|
-
yield* plugins.flush;
|
|
466
|
-
return yield* exports_skill.Service;
|
|
467
|
-
}).pipe(Effect.provide(locations.get(session.location)));
|
|
468
|
-
const prompt = yield* resolvePrompt({ text: input.text, files: input.files, agents: input.agents, skills: input.skills }, image, skills).pipe(Effect.provideService(FSUtil.Service, fs));
|
|
469
459
|
const messageID = input.id ?? SessionMessage.ID.create();
|
|
470
|
-
const
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
item
|
|
460
|
+
const admitted = yield* Effect.gen(function* () {
|
|
461
|
+
const existing = yield* exports_inbox.reconcile(db, {
|
|
462
|
+
id: messageID,
|
|
463
|
+
sessionID: session.id,
|
|
464
|
+
delivery: input.delivery ?? "steer"
|
|
465
|
+
});
|
|
466
|
+
if (existing)
|
|
467
|
+
return existing;
|
|
468
|
+
const item = yield* restore(preparePrompt(input, messageID).pipe(Effect.provide(locations.get(session.location)), Effect.provideService(FSUtil.Service, fs)));
|
|
469
|
+
if (session.revert)
|
|
470
|
+
yield* exports_revert.commit(session).pipe(Effect.provideService(exports_bus.Service, bus));
|
|
471
|
+
return yield* exports_inbox.admit(db, bus, {
|
|
472
|
+
id: messageID,
|
|
473
|
+
sessionID: session.id,
|
|
474
|
+
item
|
|
475
|
+
});
|
|
479
476
|
}).pipe(Effect.catchDefect((defect) => defect instanceof exports_inbox.LifecycleConflict ? new PromptConflictError({ sessionID: input.sessionID, messageID }) : Effect.die(defect)));
|
|
480
477
|
if (admitted.type !== "user" || admitted.sessionID !== input.sessionID)
|
|
481
478
|
return yield* new PromptConflictError({ sessionID: input.sessionID, messageID });
|
|
@@ -750,14 +747,30 @@ function synthesizeTerminalShellInfo(started) {
|
|
|
750
747
|
time: { ...started.time, completed: Date.now() }
|
|
751
748
|
};
|
|
752
749
|
}
|
|
753
|
-
var
|
|
750
|
+
var preparePrompt = Effect.fn("Session.preparePrompt")(function* (request, messageID) {
|
|
751
|
+
const plugins = yield* exports_supervisor_service.Service;
|
|
752
|
+
yield* plugins.flush;
|
|
753
|
+
const hooks = yield* exports_hooks.Service;
|
|
754
|
+
const event = yield* hooks.trigger("session", "prompt", {
|
|
755
|
+
sessionID: request.sessionID,
|
|
756
|
+
messageID,
|
|
757
|
+
prompt: structuredClone({
|
|
758
|
+
text: request.text,
|
|
759
|
+
files: request.files?.slice(),
|
|
760
|
+
agents: request.agents?.slice(),
|
|
761
|
+
skills: request.skills?.slice()
|
|
762
|
+
}),
|
|
763
|
+
metadata: structuredClone(request.metadata),
|
|
764
|
+
delivery: request.delivery ?? "steer"
|
|
765
|
+
});
|
|
766
|
+
const input = event.prompt;
|
|
754
767
|
const fs = yield* FSUtil.Service;
|
|
755
|
-
const files = input.files ? yield* Effect.forEach(input.files, (file) => materializeAttachment(fs, file
|
|
768
|
+
const files = input.files ? yield* Effect.forEach(input.files, (file) => materializeAttachment(fs, file), { concurrency: 8 }) : undefined;
|
|
756
769
|
const requested = input.skills;
|
|
757
770
|
const selected = yield* Effect.gen(function* () {
|
|
758
771
|
if (!requested?.length)
|
|
759
772
|
return;
|
|
760
|
-
const skillService = yield*
|
|
773
|
+
const skillService = yield* exports_skill.Service;
|
|
761
774
|
const prepared = new Map;
|
|
762
775
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
763
776
|
const name = prepared.get(attachment.id);
|
|
@@ -775,10 +788,22 @@ var resolvePrompt = Effect.fn("Session.resolvePrompt")(function* (input, image,
|
|
|
775
788
|
};
|
|
776
789
|
}));
|
|
777
790
|
});
|
|
778
|
-
return
|
|
791
|
+
return exports_inbox.Item.make({
|
|
792
|
+
type: "user",
|
|
793
|
+
payload: {
|
|
794
|
+
...Prompt.make({
|
|
795
|
+
text: input.text,
|
|
796
|
+
agents: input.agents,
|
|
797
|
+
files,
|
|
798
|
+
skills: selected?.length ? selected : undefined
|
|
799
|
+
}),
|
|
800
|
+
metadata: event.metadata
|
|
801
|
+
},
|
|
802
|
+
delivery: event.delivery
|
|
803
|
+
});
|
|
779
804
|
});
|
|
780
805
|
var MAX_ATTACHMENT_BYTES = 20 * 1024 * 1024;
|
|
781
|
-
var materializeAttachment = Effect.fn("Session.materializeAttachment")(function* (fs, input
|
|
806
|
+
var materializeAttachment = Effect.fn("Session.materializeAttachment")(function* (fs, input) {
|
|
782
807
|
const resolved = input.uri.startsWith("data:") ? {
|
|
783
808
|
bytes: yield* decodeDataURL(input.uri),
|
|
784
809
|
source: { type: "inline" },
|
|
@@ -796,7 +821,7 @@ var materializeAttachment = Effect.fn("Session.materializeAttachment")(function*
|
|
|
796
821
|
const content = mime === "text/plain" && resolved.start !== undefined ? Buffer.from(Buffer.from(resolved.bytes).toString("utf8").split(`
|
|
797
822
|
`).slice(resolved.start - 1, resolved.end).join(`
|
|
798
823
|
`)) : resolved.bytes;
|
|
799
|
-
const normalized = yield* normalizeImageAttachment(input, Buffer.from(content).toString("base64"), mime
|
|
824
|
+
const normalized = yield* normalizeImageAttachment(input, Buffer.from(content).toString("base64"), mime);
|
|
800
825
|
return FileAttachment.create({
|
|
801
826
|
data: normalized.data,
|
|
802
827
|
mime: normalized.mime,
|
|
@@ -806,10 +831,10 @@ var materializeAttachment = Effect.fn("Session.materializeAttachment")(function*
|
|
|
806
831
|
mention: input.mention
|
|
807
832
|
});
|
|
808
833
|
});
|
|
809
|
-
var normalizeImageAttachment = Effect.fn("Session.normalizeImageAttachment")(function* (input, data, mime
|
|
834
|
+
var normalizeImageAttachment = Effect.fn("Session.normalizeImageAttachment")(function* (input, data, mime) {
|
|
810
835
|
if (!mime.startsWith("image/"))
|
|
811
836
|
return { data: Base64.make(data), mime };
|
|
812
|
-
const service = yield*
|
|
837
|
+
const service = yield* exports_image.Service;
|
|
813
838
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
814
839
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
815
840
|
const normalized = yield* service.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError({ uri: label, message: error.message })));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-k3e42drn.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_state
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-x89rah0x.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-rvfvac9x.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
@@ -18,6 +18,7 @@ __export(exports_select, {
|
|
|
18
18
|
login: () => login,
|
|
19
19
|
list: () => list,
|
|
20
20
|
gitbash: () => gitbash,
|
|
21
|
+
environment: () => environment,
|
|
21
22
|
configured: () => configured,
|
|
22
23
|
args: () => args,
|
|
23
24
|
ShellSelect: () => exports_select,
|
|
@@ -158,6 +159,9 @@ function args(file, command) {
|
|
|
158
159
|
return ["-NoLogo", "-NoProfile", "-NonInteractive", "-Command", command];
|
|
159
160
|
return ["-c", command];
|
|
160
161
|
}
|
|
162
|
+
function environment(bin, filter) {
|
|
163
|
+
return select(process.env.SHELL, undefined, filter, bin) ?? fallback(bin);
|
|
164
|
+
}
|
|
161
165
|
var defaultConfigured;
|
|
162
166
|
var defaultCompatible;
|
|
163
167
|
function resolve(input, configShell, options, bin) {
|
|
@@ -169,7 +173,7 @@ function resolve(input, configShell, options, bin) {
|
|
|
169
173
|
const cached = input.priority === "compat" ? defaultCompatible : defaultConfigured;
|
|
170
174
|
if (cached && cached.bin === bin)
|
|
171
175
|
return cached.value;
|
|
172
|
-
const value =
|
|
176
|
+
const value = environment(bin, filter);
|
|
173
177
|
if (input.priority === "compat")
|
|
174
178
|
defaultCompatible = { bin, value };
|
|
175
179
|
if (input.priority === "config")
|
|
@@ -206,4 +210,4 @@ function configured(options) {
|
|
|
206
210
|
}
|
|
207
211
|
var node = configured();
|
|
208
212
|
|
|
209
|
-
export { Options, Service, gitbash, name, login, ps, args, resolve, list, configured, node, exports_select };
|
|
213
|
+
export { Options, Service, gitbash, name, login, ps, args, environment, resolve, list, configured, node, exports_select };
|