@opencode/core 0.0.0-dev-19757 → 0.0.0-dev-19758
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 +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{formatter-w1k39n5e.js → bus-06dxphr1.js} +4 -4
- package/dist/chunks/{formatter-g34rm5ee.js → bus-098d3mqp.js} +30 -30
- package/dist/chunks/{formatter-xe2dwhgm.js → bus-0b0th7s4.js} +10 -10
- package/dist/chunks/{formatter-nccgq8j4.js → bus-0c8m848g.js} +16 -16
- package/dist/chunks/{formatter-z9s6ggjz.js → bus-0cbj8ajh.js} +9 -9
- package/dist/chunks/{formatter-sh9rh5j7.js → bus-0cm1nqy3.js} +25 -25
- package/dist/chunks/{formatter-7y3w5jth.js → bus-0j9y03t3.js} +40 -40
- package/dist/chunks/{formatter-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{formatter-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
- package/dist/chunks/{formatter-xt2789zt.js → bus-0qzv51dm.js} +30 -30
- package/dist/chunks/{formatter-p6j26bex.js → bus-100ecgng.js} +7 -7
- package/dist/chunks/{formatter-4jv7e9dq.js → bus-10jtetaj.js} +9 -9
- package/dist/chunks/{formatter-7xmff81v.js → bus-110m9arz.js} +15 -15
- package/dist/chunks/{formatter-xfp1mhk8.js → bus-17gne236.js} +4 -4
- package/dist/chunks/{formatter-dy8qh9xy.js → bus-1956heqa.js} +5 -5
- package/dist/chunks/{formatter-szgtqmk5.js → bus-1c4h0esh.js} +6 -6
- package/dist/chunks/{formatter-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{formatter-2z5bgv6k.js → bus-1fn7qz6r.js} +9 -9
- package/dist/chunks/{formatter-jcf77vsk.js → bus-1rfd4xxr.js} +2 -2
- package/dist/chunks/{formatter-6anwy9fs.js → bus-1s3p39g4.js} +6 -6
- package/dist/chunks/{formatter-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{formatter-2402vzrj.js → bus-2402vzrj.js} +1 -1
- package/dist/chunks/{formatter-tq9bddfy.js → bus-25bb1hc4.js} +13 -13
- package/dist/chunks/{formatter-6js7ajd4.js → bus-25trdgaf.js} +25 -25
- package/dist/chunks/{formatter-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{formatter-sw8vrykn.js → bus-2chdexej.js} +17 -17
- package/dist/chunks/{formatter-vmwh049b.js → bus-2e96adxv.js} +6 -6
- package/dist/chunks/bus-2h9152w8.js +252 -0
- package/dist/chunks/{formatter-fcrkznn8.js → bus-2k8khapm.js} +5 -5
- package/dist/chunks/{formatter-ceh329e1.js → bus-2msw9s5m.js} +11 -11
- package/dist/chunks/{formatter-kw4y2rsq.js → bus-2r959258.js} +302 -302
- package/dist/chunks/{formatter-hmq6fc40.js → bus-2s6k9xab.js} +11 -11
- package/dist/chunks/{formatter-24rwab1a.js → bus-2tth53p7.js} +31 -31
- package/dist/chunks/{formatter-7815knry.js → bus-2x1qdj5q.js} +11 -11
- package/dist/chunks/{formatter-nwpzj615.js → bus-33dbnsft.js} +9 -9
- package/dist/chunks/{formatter-1ygqh575.js → bus-33w4ejhs.js} +6 -6
- package/dist/chunks/{formatter-c78bbtc9.js → bus-37s12vcn.js} +5 -5
- package/dist/chunks/{formatter-1yv162eq.js → bus-3838ekre.js} +4 -4
- package/dist/chunks/{formatter-xwrmtca6.js → bus-38ac530a.js} +11 -11
- package/dist/chunks/{formatter-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{formatter-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-87gcxw7f.js → bus-3nse7x66.js} +14 -14
- package/dist/chunks/{formatter-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{formatter-zqx8wcya.js → bus-3tq5qxbk.js} +6 -6
- package/dist/chunks/{formatter-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{formatter-q52v1zkd.js → bus-441xk2wv.js} +11 -11
- package/dist/chunks/{formatter-kyarz3ws.js → bus-44jp0xn3.js} +4 -4
- package/dist/chunks/{formatter-psve6y68.js → bus-456sctqq.js} +4 -4
- package/dist/chunks/{formatter-c9qv3xyw.js → bus-47xrm495.js} +84 -84
- package/dist/chunks/{formatter-hkxhfj70.js → bus-4a6e8mmv.js} +16 -16
- package/dist/chunks/{formatter-zk1psjwf.js → bus-4bj7sh8v.js} +85 -85
- package/dist/chunks/{formatter-2mmbc3xp.js → bus-4fccdz1z.js} +47 -47
- package/dist/chunks/{formatter-ywmq5p8p.js → bus-4wmfdqaa.js} +15 -15
- package/dist/chunks/{formatter-wbt8he73.js → bus-54spjwjz.js} +18 -18
- package/dist/chunks/{formatter-pgey37v9.js → bus-55xf98n8.js} +12 -12
- package/dist/chunks/{formatter-qqeeq2t9.js → bus-57b9ws8p.js} +4 -4
- package/dist/chunks/{formatter-57ez7d0k.js → bus-57ez7d0k.js} +2 -2
- package/dist/chunks/{formatter-gs7mtawa.js → bus-5bmybb02.js} +33 -33
- package/dist/chunks/{formatter-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{formatter-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{formatter-6q2qzy88.js → bus-5y3kegep.js} +4 -4
- package/dist/chunks/bus-619r8v3y.js +18 -0
- package/dist/chunks/{formatter-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{formatter-s0b4m20z.js → bus-67mc9q1p.js} +8 -8
- package/dist/chunks/{formatter-xhqsr2sb.js → bus-696j2597.js} +53 -53
- package/dist/chunks/{formatter-pstjchew.js → bus-6b0wr2gn.js} +23 -23
- package/dist/chunks/bus-6kdq0pjd.js +4 -0
- package/dist/chunks/{formatter-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{formatter-39vx9120.js → bus-6s3pmmk2.js} +8 -8
- package/dist/chunks/{formatter-qzjnbpqp.js → bus-6vaawb56.js} +50 -50
- package/dist/chunks/{formatter-q7daxc3f.js → bus-6xckhbd5.js} +19 -19
- package/dist/chunks/{formatter-st612rmk.js → bus-72macrbw.js} +52 -52
- package/dist/chunks/{formatter-xpzt8j8n.js → bus-7azjdvpr.js} +11 -11
- package/dist/chunks/{formatter-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-q99k41bd.js → bus-7dz8p9xt.js} +29 -29
- package/dist/chunks/{formatter-aj204w2b.js → bus-7q2t57ev.js} +43 -43
- package/dist/chunks/{formatter-6rmnkzfb.js → bus-7qgwwy7f.js} +13 -13
- package/dist/chunks/{formatter-h3b1qqa9.js → bus-7vvypxen.js} +7 -7
- package/dist/chunks/{formatter-5cmxdwv8.js → bus-7w99qc9d.js} +3 -3
- package/dist/chunks/{formatter-gqn8487k.js → bus-7xx1524k.js} +44 -44
- package/dist/chunks/{formatter-0996nyz8.js → bus-82rhge12.js} +9 -9
- package/dist/chunks/{formatter-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{formatter-06x8he3q.js → bus-8gxqpgph.js} +4 -4
- package/dist/chunks/{formatter-kkjryrew.js → bus-8jr144xf.js} +9 -9
- package/dist/chunks/{formatter-8p4f9s12.js → bus-8p4f9s12.js} +2 -2
- package/dist/chunks/{formatter-wvj88p5n.js → bus-9bzaahhz.js} +21 -21
- package/dist/chunks/{formatter-bh0zzf2s.js → bus-9c3np669.js} +8 -8
- package/dist/chunks/{formatter-2wj8n25z.js → bus-9nepbqpa.js} +6 -6
- package/dist/chunks/{formatter-a1bz86dw.js → bus-a1bz86dw.js} +3 -3
- package/dist/chunks/{formatter-sfmpga1j.js → bus-a471nxk4.js} +24 -24
- package/dist/chunks/{formatter-jfn6ykkf.js → bus-a4rjqnpf.js} +14 -14
- package/dist/chunks/{formatter-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{formatter-s61nvhk3.js → bus-adq3kxc0.js} +5 -5
- package/dist/chunks/{formatter-rmk2c50f.js → bus-aeb4sny1.js} +5 -5
- package/dist/chunks/{formatter-qby8jf2p.js → bus-aeck6645.js} +8 -8
- package/dist/chunks/{formatter-3b7cesba.js → bus-ayg85fpn.js} +5 -5
- package/dist/chunks/{formatter-rc8abpkz.js → bus-b4tzb99z.js} +6 -6
- package/dist/chunks/{formatter-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{formatter-4jc5c4h4.js → bus-bz85s9hh.js} +1 -1
- package/dist/chunks/{formatter-3ybmm67g.js → bus-c019crvg.js} +14 -14
- package/dist/chunks/{formatter-wrj9kdwa.js → bus-c4mstr5p.js} +1 -1
- package/dist/chunks/{formatter-rfczfd12.js → bus-c7beamen.js} +7 -7
- package/dist/chunks/{formatter-qj8eh1ht.js → bus-cavr175a.js} +4 -4
- package/dist/chunks/{formatter-cfpkc3c9.js → bus-cfpkc3c9.js} +2 -2
- package/dist/chunks/{formatter-3hr7jtfn.js → bus-ck8c2f3r.js} +22 -22
- package/dist/chunks/{formatter-rmerk4f4.js → bus-cktevt8v.js} +46 -46
- package/dist/chunks/{formatter-djszqvmq.js → bus-cwa6csj7.js} +9 -9
- package/dist/chunks/{formatter-2vywekkr.js → bus-cwbe6ym8.js} +15 -15
- package/dist/chunks/{formatter-6q3qeyxk.js → bus-cyg049pt.js} +5 -5
- package/dist/chunks/{formatter-432zg6d4.js → bus-d3s8mw9x.js} +29 -29
- package/dist/chunks/{formatter-82gda1eq.js → bus-d4g3vwm5.js} +21 -21
- package/dist/chunks/{formatter-xhczph7k.js → bus-d5j16axh.js} +12 -12
- package/dist/chunks/{formatter-k3a03e74.js → bus-d6mgh4yr.js} +8 -8
- package/dist/chunks/{formatter-rz9n75z5.js → bus-d84x1h8e.js} +29 -29
- package/dist/chunks/{formatter-zh9xaa1s.js → bus-dapfwjck.js} +32 -32
- package/dist/chunks/{formatter-47aj3v1p.js → bus-dc69t32x.js} +14 -14
- package/dist/chunks/{formatter-s5cgwvcm.js → bus-dg3w1nd5.js} +3 -3
- package/dist/chunks/{formatter-6h1s4fng.js → bus-dpehwp0a.js} +13 -13
- package/dist/chunks/{formatter-n1tnp0w1.js → bus-dq56eeb5.js} +20 -20
- package/dist/chunks/{formatter-pegh2r6s.js → bus-drwba54j.js} +14 -14
- package/dist/chunks/{formatter-dv1qgsyq.js → bus-dv1qgsyq.js} +1 -1
- package/dist/chunks/{formatter-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{formatter-erw5rpbs.js → bus-erw5rpbs.js} +2 -2
- package/dist/chunks/{formatter-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{formatter-skfdyt5m.js → bus-ezbx256a.js} +27 -27
- package/dist/chunks/{formatter-dsxekm4p.js → bus-f010ntnv.js} +19 -19
- package/dist/chunks/{formatter-haqyfn71.js → bus-f4sjgpj8.js} +37 -37
- package/dist/chunks/{formatter-8krhc899.js → bus-f57shvpt.js} +33 -33
- package/dist/chunks/{formatter-f828m53h.js → bus-f828m53h.js} +2 -2
- package/dist/chunks/{formatter-1zksj7yq.js → bus-fbwcgawc.js} +11 -11
- package/dist/chunks/{formatter-mg63z3hs.js → bus-feyb32n1.js} +18 -18
- package/dist/chunks/{formatter-bgmk75ab.js → bus-ff8g97f7.js} +6 -6
- package/dist/chunks/{formatter-q3rwwjss.js → bus-fp3b2tyn.js} +24 -24
- package/dist/chunks/{formatter-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
- package/dist/chunks/{formatter-pg9911fw.js → bus-g0b57gve.js} +43 -43
- package/dist/chunks/{formatter-ryr25ayn.js → bus-g8d3gcyj.js} +7 -7
- package/dist/chunks/{formatter-g3yyr5p0.js → bus-gbhek550.js} +13 -13
- package/dist/chunks/{formatter-p9wyast9.js → bus-gcsw9y0t.js} +8 -8
- package/dist/chunks/{formatter-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{formatter-ss1d5n7s.js → bus-ge6x8gv9.js} +17 -17
- package/dist/chunks/{formatter-zdbfb4d6.js → bus-gf7f2369.js} +6 -6
- package/dist/chunks/{formatter-zab19jja.js → bus-gffqj91w.js} +9 -9
- package/dist/chunks/{formatter-e4346r51.js → bus-gm7vvz5v.js} +17 -17
- package/dist/chunks/{formatter-qrg0q5a9.js → bus-gn047571.js} +25 -25
- package/dist/chunks/{formatter-jwpsb1fs.js → bus-gprn4qe6.js} +24 -24
- package/dist/chunks/{formatter-08ym40nb.js → bus-gv0zjanc.js} +2 -2
- package/dist/chunks/{formatter-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
- package/dist/chunks/{formatter-ry9ybv6e.js → bus-h3g6m2mf.js} +1 -1
- package/dist/chunks/{formatter-y766knqa.js → bus-h4sy77rb.js} +13 -13
- package/dist/chunks/{formatter-nzyhnfxz.js → bus-h6r3nrb9.js} +4 -4
- package/dist/chunks/{formatter-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{formatter-shh6fz4q.js → bus-h6z8d5tn.js} +4 -4
- package/dist/chunks/{formatter-spr8h2ym.js → bus-h8j3vz9y.js} +9 -9
- package/dist/chunks/{formatter-3c1tgrea.js → bus-hdab2k61.js} +6 -6
- package/dist/chunks/{formatter-ks6s6bng.js → bus-hdf6015e.js} +46 -46
- package/dist/chunks/{formatter-76vcy4ng.js → bus-heexpby2.js} +18 -18
- package/dist/chunks/{formatter-bha4atvq.js → bus-hfdr1yjj.js} +4 -4
- package/dist/chunks/{formatter-arr7rt2x.js → bus-hjbpbmpy.js} +19 -19
- package/dist/chunks/{formatter-ekt5sq8n.js → bus-hmhpv68n.js} +11 -11
- package/dist/chunks/{formatter-wbkyxrgf.js → bus-hnr5yq9h.js} +5 -5
- package/dist/chunks/{formatter-8xgg1ta2.js → bus-hrns00hc.js} +3 -3
- package/dist/chunks/{formatter-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{formatter-s4jehtr9.js → bus-j8ajybmk.js} +13 -13
- package/dist/chunks/{formatter-z47fxbth.js → bus-ja2b05k4.js} +42 -42
- package/dist/chunks/{formatter-mtz5a3ex.js → bus-jj64m3ds.js} +5 -5
- package/dist/chunks/{formatter-wgcgxnpz.js → bus-jjapnhx6.js} +3 -3
- package/dist/chunks/{formatter-qk09twxp.js → bus-jzy2rg4w.js} +12 -12
- package/dist/chunks/{formatter-c5aq6n3b.js → bus-kcdjsgm9.js} +7 -7
- package/dist/chunks/{formatter-kvz7gft4.js → bus-kg0nn6m1.js} +3 -3
- package/dist/chunks/{formatter-gqf6jkd0.js → bus-kmphysr3.js} +13 -13
- package/dist/chunks/{formatter-bkbe2fp5.js → bus-kprffh1k.js} +12 -12
- package/dist/chunks/{formatter-46kx5wxz.js → bus-m2btv783.js} +11 -11
- package/dist/chunks/{formatter-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
- package/dist/chunks/bus-m5kkt6zs.js +26 -0
- package/dist/chunks/{formatter-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-4r1f55er.js → bus-mc494fkv.js} +16 -16
- package/dist/chunks/{formatter-mhkvc446.js → bus-mhkvc446.js} +1 -1
- package/dist/chunks/{formatter-37sjec0g.js → bus-mmj3etnc.js} +11 -11
- package/dist/chunks/{formatter-34nv4jvf.js → bus-mvr5bn4j.js} +12 -12
- package/dist/chunks/{formatter-enbm4ny7.js → bus-mxg2czg2.js} +15 -15
- package/dist/chunks/{formatter-82ppghe7.js → bus-n1y7d7jv.js} +5 -5
- package/dist/chunks/{formatter-wht0dt7x.js → bus-n3akjfbb.js} +3 -3
- package/dist/chunks/{formatter-dtv9hzvh.js → bus-n4avssqr.js} +21 -21
- package/dist/chunks/{formatter-d858xzj7.js → bus-nb9p6b26.js} +4 -4
- package/dist/chunks/{formatter-9rj3xa8n.js → bus-nbtewark.js} +15 -15
- package/dist/chunks/{formatter-aettmwyp.js → bus-nkcyb48x.js} +33 -33
- package/dist/chunks/{formatter-vmgq4x8b.js → bus-nng2ktcm.js} +2 -2
- package/dist/chunks/{formatter-v1kad2yc.js → bus-ns2eanfy.js} +20 -20
- package/dist/chunks/{formatter-0fxerekh.js → bus-nzeerxgc.js} +7 -7
- package/dist/chunks/{formatter-nzks3jc8.js → bus-nzks3jc8.js} +3 -3
- package/dist/chunks/{formatter-ryvbxndv.js → bus-p139kq9c.js} +25 -25
- package/dist/chunks/{formatter-p28j5sbe.js → bus-p28j5sbe.js} +2 -2
- package/dist/chunks/{formatter-spettxyb.js → bus-p7r1y5kx.js} +3 -3
- package/dist/chunks/{formatter-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{formatter-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-qtdgjjy1.js → bus-pykab6j4.js} +11 -11
- package/dist/chunks/{formatter-yt4sqp67.js → bus-q4jz9h3x.js} +21 -21
- package/dist/chunks/{formatter-a002vgwb.js → bus-q6a741vd.js} +3 -3
- package/dist/chunks/{formatter-sxjzzd7x.js → bus-q6gqpcae.js} +7 -7
- package/dist/chunks/{formatter-g9nqk1j3.js → bus-q9jgfmem.js} +26 -26
- package/dist/chunks/{formatter-6gqwehnk.js → bus-qbfpstdc.js} +11 -11
- package/dist/chunks/{formatter-3fq7r9z3.js → bus-qf472px8.js} +28 -28
- package/dist/chunks/{formatter-pnv527nz.js → bus-qg0jgkcp.js} +9 -9
- package/dist/chunks/{formatter-wgdgcqs0.js → bus-qgw0maww.js} +23 -23
- package/dist/chunks/{formatter-98ms71gf.js → bus-qhxefk9a.js} +11 -11
- package/dist/chunks/{formatter-d78wf4jw.js → bus-qr8h26wd.js} +11 -11
- package/dist/chunks/{formatter-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{formatter-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{formatter-86d6e2n1.js → bus-rfj6pkw1.js} +33 -33
- package/dist/chunks/{formatter-xc7y8sbe.js → bus-rhykyrb3.js} +27 -27
- package/dist/chunks/{formatter-gaftdbkr.js → bus-rped87jq.js} +35 -35
- package/dist/chunks/{formatter-f7c5yctb.js → bus-rvgr0dnq.js} +3 -3
- package/dist/chunks/{formatter-7tmymnpd.js → bus-s0fe0qa9.js} +9 -9
- package/dist/chunks/{formatter-eaj1djv9.js → bus-s8d7rejh.js} +6 -6
- package/dist/chunks/{formatter-vavx823f.js → bus-saatj7sj.js} +11 -11
- package/dist/chunks/{formatter-cacz7m9f.js → bus-sgz639f1.js} +17 -17
- package/dist/chunks/{formatter-w6fn3d5n.js → bus-sscd0z9x.js} +4 -4
- package/dist/chunks/{formatter-jfq5ya7h.js → bus-sskj22e4.js} +29 -29
- package/dist/chunks/{formatter-4h2p8nkm.js → bus-t2ps0g64.js} +9 -9
- package/dist/chunks/{formatter-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{formatter-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{formatter-q3thq4d0.js → bus-td6h23sg.js} +5 -5
- package/dist/chunks/{formatter-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{formatter-e8ym8eqq.js → bus-tehawftv.js} +16 -16
- package/dist/chunks/{formatter-mxz1spxe.js → bus-tggcyvkj.js} +13 -13
- package/dist/chunks/{formatter-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{formatter-ax3z2rcn.js → bus-v9j9833d.js} +6 -6
- package/dist/chunks/{formatter-d650b0nm.js → bus-vbs1nqmn.js} +18 -18
- package/dist/chunks/{formatter-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{formatter-2bh5apgf.js → bus-vgmgvddh.js} +26 -26
- package/dist/chunks/{formatter-j83byb14.js → bus-vncycja5.js} +4 -4
- package/dist/chunks/{formatter-vbgqmq0k.js → bus-vskbemtc.js} +34 -34
- package/dist/chunks/{formatter-5fyzcds6.js → bus-vy4e6tmv.js} +24 -24
- package/dist/chunks/{formatter-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{formatter-w7m5m02k.js → bus-w0ksh1wc.js} +27 -27
- package/dist/chunks/{formatter-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-j9gazmrb.js → bus-wb3k4ach.js} +5 -5
- package/dist/chunks/{formatter-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-6ctg8cmm.js → bus-whw3a6ka.js} +11 -11
- package/dist/chunks/{formatter-rmf8y2x7.js → bus-wz82dyvb.js} +19 -19
- package/dist/chunks/{formatter-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{formatter-tx9w5tca.js → bus-x353b1jt.js} +8 -8
- package/dist/chunks/{formatter-2jshy6k2.js → bus-x4aqctta.js} +4 -4
- package/dist/chunks/{formatter-zyrceszn.js → bus-x7ksmd0v.js} +168 -168
- package/dist/chunks/{formatter-zs0nrmpk.js → bus-xee2b91r.js} +10 -10
- package/dist/chunks/{formatter-29bjb6a3.js → bus-xfe7h115.js} +17 -17
- package/dist/chunks/{formatter-4r6m9py7.js → bus-xj3yf2be.js} +18 -18
- package/dist/chunks/{formatter-52vhye62.js → bus-xjk1tc7r.js} +22 -22
- package/dist/chunks/{formatter-hn6dtez2.js → bus-xm4abfw6.js} +22 -22
- package/dist/chunks/{formatter-b5wchtbc.js → bus-xrfzp3qw.js} +20 -20
- package/dist/chunks/{formatter-0v0eynhg.js → bus-xxbvdv54.js} +9 -9
- package/dist/chunks/{formatter-4zaq21pg.js → bus-xxq58sya.js} +13 -13
- package/dist/chunks/{formatter-yp6mbb9j.js → bus-y05z3yvm.js} +27 -27
- package/dist/chunks/{formatter-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{formatter-c488s98d.js → bus-y5df08dr.js} +5 -5
- package/dist/chunks/{formatter-y71avatq.js → bus-y71avatq.js} +1 -1
- package/dist/chunks/{formatter-c61a4c85.js → bus-y7nx0r49.js} +24 -24
- package/dist/chunks/{formatter-c0m9hyz0.js → bus-ya6jt93q.js} +9 -9
- package/dist/chunks/{formatter-na2nrvv6.js → bus-yeh1225a.js} +27 -27
- package/dist/chunks/{formatter-xtdfp5ze.js → bus-ymh54tbp.js} +17 -17
- package/dist/chunks/{formatter-yp2x3t23.js → bus-yp2x3t23.js} +1 -1
- package/dist/chunks/{formatter-4d3mce5a.js → bus-ypmjrw8q.js} +37 -37
- package/dist/chunks/{formatter-2cyr096t.js → bus-yqmax6eh.js} +4 -4
- package/dist/chunks/{formatter-ft01kdnj.js → bus-yqphrj09.js} +4 -4
- package/dist/chunks/{formatter-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{formatter-yrznvahk.js → bus-yrznvahk.js} +2 -2
- package/dist/chunks/{formatter-0f9afca0.js → bus-yt0fqk68.js} +5 -5
- package/dist/chunks/{formatter-dqcgfggf.js → bus-yyhbbs14.js} +10 -10
- package/dist/chunks/{formatter-vy8be3j0.js → bus-yzrekgkv.js} +5 -5
- package/dist/chunks/{formatter-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-jjp0yg0r.js → bus-z2m37x9y.js} +16 -16
- package/dist/chunks/{formatter-nvb1qhwk.js → bus-z45f81hm.js} +9 -9
- package/dist/chunks/{formatter-z63w68vq.js → bus-z63w68vq.js} +2 -2
- package/dist/chunks/{formatter-akrnn5pm.js → bus-za9cx4qh.js} +8 -8
- package/dist/chunks/{formatter-858xx9fq.js → bus-zawb9p3e.js} +3 -3
- package/dist/chunks/{formatter-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{formatter-1pj95ama.js → bus-zk0vgq9k.js} +8 -8
- package/dist/chunks/{formatter-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{formatter-qb5946j2.js → bus-ztvng5ec.js} +16 -16
- package/dist/chunks/{formatter-pxcfj33x.js → bus-zvtp3jyd.js} +18 -18
- package/dist/chunks/{formatter-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +103 -103
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/formatter-9sd31a58.js +0 -26
- package/dist/chunks/formatter-hxa7m5za.js +0 -4
- package/dist/chunks/formatter-q509s3k3.js +0 -18
- package/dist/chunks/formatter-s0mep9za.js +0 -252
- /package/dist/chunks/{formatter-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-zawb9p3e.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-44jp0xn3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./bus-hdab2k61.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-2e96adxv.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service62
|
|
29
|
+
} from "./bus-jzy2rg4w.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service50
|
|
34
|
+
} from "./bus-feyb32n1.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service48
|
|
37
|
+
} from "./bus-rped87jq.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./bus-0c8m848g.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./bus-ns2eanfy.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./bus-h8j3vz9y.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./bus-ya6jt93q.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./bus-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make13
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
65
|
+
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service82;
|
|
67
67
|
const database = yield* Service83;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service62;
|
|
69
|
+
const instances = yield* Service51;
|
|
70
|
+
const execution = yield* Service48;
|
|
71
|
+
const admission = yield* Service50;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError8({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -131,7 +131,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
if (existing)
|
|
133
133
|
return existing;
|
|
134
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
134
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service51, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
135
135
|
if (session.revert)
|
|
136
136
|
yield* commit2(bus, session);
|
|
137
137
|
return yield* admission.admit({
|
|
@@ -147,7 +147,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
147
147
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
148
148
|
const session = yield* get(sessionID);
|
|
149
149
|
const running = yield* Effect.gen(function* () {
|
|
150
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
150
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service51, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
151
151
|
text: `User shell command failed to start:
|
|
152
152
|
${input.command}
|
|
153
153
|
|
|
@@ -176,7 +176,7 @@ ${error.message}`,
|
|
|
176
176
|
});
|
|
177
177
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
178
178
|
const session = yield* get(sessionID);
|
|
179
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
179
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service51, instances));
|
|
180
180
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
181
181
|
sessionID,
|
|
182
182
|
id: skill.id,
|
|
@@ -233,13 +233,13 @@ ${error.message}`,
|
|
|
233
233
|
const session = yield* get(sessionID);
|
|
234
234
|
if (yield* execution.isActive(sessionID))
|
|
235
235
|
return yield* new BusyError2({ sessionID });
|
|
236
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
236
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service51, instances), Effect.provideService(Service83, database), Effect.provideService(Service82, bus));
|
|
237
237
|
});
|
|
238
238
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
239
239
|
const session = yield* get(sessionID);
|
|
240
240
|
if (yield* execution.isActive(sessionID))
|
|
241
241
|
return yield* new BusyError2({ sessionID });
|
|
242
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
242
|
+
yield* clear2(session).pipe(Effect.provideService(Service51, instances), Effect.provideService(Service82, bus));
|
|
243
243
|
return yield* execution.wake(sessionID);
|
|
244
244
|
});
|
|
245
245
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -322,4 +322,4 @@ ${error.message}`,
|
|
|
322
322
|
return { forSession };
|
|
323
323
|
});
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { make13, exports_session2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-7w99qc9d.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-zawb9p3e.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-44jp0xn3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./bus-hdab2k61.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID11,
|
|
15
|
+
Service66
|
|
16
|
+
} from "./bus-25trdgaf.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./bus-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./bus-2e96adxv.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./bus-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service51;
|
|
46
46
|
const database = yield* Service83;
|
|
47
47
|
const bus = yield* Service82;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service66;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID11.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service51;
|
|
78
78
|
const bus = yield* Service82;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service66;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID11.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID11.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./bus-y05z3yvm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./bus-0j9y03t3.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-1c4h0esh.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -26,7 +26,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service44;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID12.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-1rfd4xxr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service26
|
|
9
|
+
} from "./bus-nbtewark.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service5
|
|
12
|
+
} from "./bus-4a6e8mmv.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service6
|
|
27
|
+
} from "./bus-110m9arz.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input9,
|
|
36
|
+
Plugin: () => Plugin11,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name9,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name9 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input9 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin11 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service6;
|
|
62
|
+
const access = yield* Service26;
|
|
63
|
+
const sessionInstructions = yield* Service5;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service79;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name9,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input9,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin44 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent4 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name9, Input9, Plugin11, toModelContent4, exports_read };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-kcdjsgm9.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-h3g6m2mf.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service44
|
|
4
|
+
} from "./bus-0j9y03t3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./bus-25trdgaf.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin41
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin41 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service44;
|
|
27
|
+
const snapshot = yield* Service66;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin34 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin41, exports_snapshot };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service79,
|
|
8
8
|
node83
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-1rfd4xxr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service20,
|
|
12
|
+
node23
|
|
13
|
+
} from "./bus-hjbpbmpy.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -29,13 +29,13 @@ __export(exports_filesystem, {
|
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
30
|
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError3,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service19,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node22
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -87,12 +87,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
87
87
|
}
|
|
88
88
|
var Event3 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service19 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
94
|
const location = yield* Service79;
|
|
95
|
-
const search = yield*
|
|
95
|
+
const search = yield* Service20;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service19.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node22 = makeLocationNode({
|
|
144
|
+
service: Service19,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node, node83,
|
|
146
|
+
deps: [FSUtil.node, node83, node23]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service19, node22, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-x4aqctta.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|