@opencode/core 0.0.0-dev-19842 → 0.0.0-dev-19845
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/{workspace-mfhfdr54.js → tool-output-06dxphr1.js} +4 -4
- package/dist/chunks/{workspace-epb4w8jv.js → tool-output-0ctfqbfs.js} +24 -24
- package/dist/chunks/{workspace-z0zyb1s8.js → tool-output-0ebpwq5w.js} +50 -50
- package/dist/chunks/{workspace-j13v91pw.js → tool-output-0j4e08ab.js} +4 -4
- package/dist/chunks/{workspace-0jwsre1p.js → tool-output-0jwsre1p.js} +1 -1
- package/dist/chunks/tool-output-0mesazry.js +4 -0
- package/dist/chunks/{workspace-0paq2nw3.js → tool-output-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-0q0f95c6.js → tool-output-0q0f95c6.js} +1 -1
- package/dist/chunks/{workspace-79psx6ha.js → tool-output-0t92tgkg.js} +15 -15
- package/dist/chunks/{workspace-g8j4ctvn.js → tool-output-0tzgc68b.js} +5 -5
- package/dist/chunks/{workspace-j8zzr2am.js → tool-output-10jtetaj.js} +6 -6
- package/dist/chunks/{workspace-m6v93gq1.js → tool-output-11abf4nd.js} +25 -25
- package/dist/chunks/{workspace-rysm8zhq.js → tool-output-16crv7a5.js} +3 -3
- package/dist/chunks/{workspace-d8nc1xcx.js → tool-output-179189h4.js} +4 -4
- package/dist/chunks/{workspace-4mtpks84.js → tool-output-18pxec54.js} +24 -24
- package/dist/chunks/{workspace-1acjjqhc.js → tool-output-1acjjqhc.js} +1 -1
- package/dist/chunks/{workspace-r5x6zcsm.js → tool-output-1bbkgx8g.js} +3 -3
- package/dist/chunks/{workspace-1dazxqgg.js → tool-output-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-vmm0d4j2.js → tool-output-1j263eaf.js} +21 -21
- package/dist/chunks/{workspace-pr971s7g.js → tool-output-1mft72er.js} +3 -3
- package/dist/chunks/{workspace-xwchxfcw.js → tool-output-1qkp9pgm.js} +8 -8
- package/dist/chunks/{workspace-21r38tys.js → tool-output-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-2402vzrj.js → tool-output-2402vzrj.js} +1 -1
- package/dist/chunks/{workspace-xam54x1y.js → tool-output-298hvbsz.js} +24 -24
- package/dist/chunks/{workspace-9n314x6j.js → tool-output-299vedwh.js} +15 -15
- package/dist/chunks/{workspace-jj1193c7.js → tool-output-29svvmb9.js} +6 -6
- package/dist/chunks/{workspace-2a5m3afh.js → tool-output-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-ce8etdrj.js → tool-output-2ecqap47.js} +1 -1
- package/dist/chunks/{workspace-c7yg1ngd.js → tool-output-2egw2h4q.js} +10 -10
- package/dist/chunks/{workspace-rp7dq0jc.js → tool-output-2p4a0wrd.js} +6 -6
- package/dist/chunks/{workspace-sv23krr8.js → tool-output-2pmgnsye.js} +24 -24
- package/dist/chunks/{workspace-6sc0ns97.js → tool-output-2tzcf3n6.js} +22 -22
- package/dist/chunks/{workspace-r79m9za8.js → tool-output-2xx6zsf3.js} +9 -9
- package/dist/chunks/{workspace-17zqg50h.js → tool-output-2xz9fsyh.js} +24 -24
- package/dist/chunks/{workspace-56gdpj1q.js → tool-output-33w4ejhs.js} +6 -6
- package/dist/chunks/{workspace-crekkz1m.js → tool-output-38ps540c.js} +18 -18
- package/dist/chunks/{workspace-bm5d57fs.js → tool-output-3bq6e3kw.js} +30 -30
- package/dist/chunks/{workspace-tz2bjj40.js → tool-output-3cfzdc8e.js} +5 -5
- package/dist/chunks/{workspace-7r3ygdmz.js → tool-output-3erfa1xx.js} +14 -14
- package/dist/chunks/{workspace-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-5jv9rtqx.js → tool-output-3fnpgzn5.js} +27 -27
- package/dist/chunks/{workspace-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-dhtzjjzz.js → tool-output-42wmm055.js} +3 -3
- package/dist/chunks/{workspace-mrekswpf.js → tool-output-4asjw5xf.js} +15 -15
- package/dist/chunks/{workspace-kwv0msad.js → tool-output-4b894mw3.js} +82 -82
- package/dist/chunks/tool-output-4k6bgpa7.js +26 -0
- package/dist/chunks/{workspace-m0ned3ze.js → tool-output-4n7sxd34.js} +10 -10
- package/dist/chunks/{workspace-rtv6ahp9.js → tool-output-4ns3h2re.js} +6 -6
- package/dist/chunks/{workspace-a84sqmex.js → tool-output-4v5efhad.js} +5 -5
- package/dist/chunks/{workspace-ejevs9sw.js → tool-output-4yepsfvz.js} +15 -15
- package/dist/chunks/{workspace-p00q0h88.js → tool-output-50q487e9.js} +20 -20
- package/dist/chunks/{workspace-57ez7d0k.js → tool-output-57ez7d0k.js} +2 -2
- package/dist/chunks/{workspace-5c4hm403.js → tool-output-5c4hm403.js} +3 -3
- package/dist/chunks/{workspace-ge7qjysf.js → tool-output-5chtqh4v.js} +14 -14
- package/dist/chunks/{workspace-5daktx2q.js → tool-output-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-hdm8jbsf.js → tool-output-5dndv3ms.js} +24 -24
- package/dist/chunks/{workspace-a2m7fzmh.js → tool-output-5hn2rzbs.js} +14 -14
- package/dist/chunks/{workspace-fffkv7qf.js → tool-output-5m4v41fc.js} +29 -29
- package/dist/chunks/{workspace-9aza1f1x.js → tool-output-5mtjp6jd.js} +42 -42
- package/dist/chunks/{workspace-5t3nmthw.js → tool-output-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-xbpzf4zn.js → tool-output-5vvygm16.js} +11 -11
- package/dist/chunks/{workspace-4n9bywtw.js → tool-output-5wm1xxad.js} +6 -6
- package/dist/chunks/{workspace-j3enmtp4.js → tool-output-60z3ws0z.js} +43 -43
- package/dist/chunks/{workspace-669tq793.js → tool-output-669tq793.js} +1 -1
- package/dist/chunks/{workspace-gn97k1b0.js → tool-output-6e2rzpgk.js} +11 -11
- package/dist/chunks/{workspace-ejgp49jg.js → tool-output-6m4cmbhe.js} +16 -16
- package/dist/chunks/{workspace-11kb2ryy.js → tool-output-6mh3cfgg.js} +16 -16
- package/dist/chunks/{workspace-6msgmcgs.js → tool-output-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-0tgtrx77.js → tool-output-6mv24n1m.js} +15 -15
- package/dist/chunks/{workspace-pm2w02ap.js → tool-output-6pcm4e8x.js} +17 -17
- package/dist/chunks/{workspace-8kae62x2.js → tool-output-6wdfmdvs.js} +5 -5
- package/dist/chunks/{workspace-ta339n92.js → tool-output-6xsfpsaq.js} +12 -12
- package/dist/chunks/{workspace-3838ekre.js → tool-output-6xwcf1a8.js} +4 -4
- package/dist/chunks/{workspace-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-e1pmkxcv.js → tool-output-7ephwp7v.js} +8 -8
- package/dist/chunks/{workspace-zq22gkb0.js → tool-output-7gk96wx5.js} +9 -9
- package/dist/chunks/{workspace-ydpabj6e.js → tool-output-7yysym46.js} +26 -26
- package/dist/chunks/{workspace-rfe2qg2a.js → tool-output-842ne6kv.js} +25 -25
- package/dist/chunks/{workspace-v3ryxckp.js → tool-output-86gpt4jk.js} +47 -47
- package/dist/chunks/{workspace-8d7r5vzw.js → tool-output-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-rk7bc7ed.js → tool-output-8t4ymjd2.js} +29 -29
- package/dist/chunks/{workspace-6vdste0b.js → tool-output-8vmbwak9.js} +14 -14
- package/dist/chunks/{workspace-c3nqgy48.js → tool-output-8vzzn56d.js} +23 -23
- package/dist/chunks/{workspace-rdp84m7y.js → tool-output-948vpjdp.js} +33 -33
- package/dist/chunks/{workspace-je7c2t6y.js → tool-output-97fmyryk.js} +6 -6
- package/dist/chunks/{workspace-ra0m4r42.js → tool-output-9fzck1jq.js} +4 -4
- package/dist/chunks/{workspace-n8dykrk6.js → tool-output-9gea571p.js} +6 -6
- package/dist/chunks/{workspace-j699j8bt.js → tool-output-9kmbd9mt.js} +2 -2
- package/dist/chunks/{workspace-kexq2ab1.js → tool-output-9m1t8hdw.js} +8 -8
- package/dist/chunks/{workspace-2mkhnbvz.js → tool-output-9qr22qer.js} +23 -23
- package/dist/chunks/{workspace-vrpz8t5t.js → tool-output-9w4ppqge.js} +5 -5
- package/dist/chunks/{workspace-357e4jec.js → tool-output-9zjzvbv6.js} +13 -13
- package/dist/chunks/{workspace-0f9afca0.js → tool-output-a1a50ys5.js} +5 -5
- package/dist/chunks/{workspace-aaet6srn.js → tool-output-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-6p1etxq2.js → tool-output-agq0v9q9.js} +11 -11
- package/dist/chunks/{workspace-qvb3nf84.js → tool-output-ahd542yp.js} +8 -8
- package/dist/chunks/{workspace-9hckxq4k.js → tool-output-anj18jyj.js} +10 -10
- package/dist/chunks/{workspace-ek42fa6x.js → tool-output-aze75by4.js} +25 -25
- package/dist/chunks/{workspace-c34eff8t.js → tool-output-b1pekgz3.js} +8 -8
- package/dist/chunks/{workspace-2xmpv3m6.js → tool-output-b23vczq1.js} +10 -10
- package/dist/chunks/{workspace-x5rn7qjp.js → tool-output-b5e2qkdg.js} +20 -20
- package/dist/chunks/{workspace-b6gygkdw.js → tool-output-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-fdc34wrr.js → tool-output-bc3fwvwz.js} +24 -24
- package/dist/chunks/{workspace-avc8n21j.js → tool-output-bep0w5gt.js} +15 -15
- package/dist/chunks/{workspace-405nw1q2.js → tool-output-bg7bk5jn.js} +16 -16
- package/dist/chunks/{workspace-avrvke37.js → tool-output-bsqpmkwg.js} +9 -9
- package/dist/chunks/{workspace-6pmq8b1f.js → tool-output-bxcf9bp1.js} +43 -43
- package/dist/chunks/{workspace-n882b035.js → tool-output-byrgtvq8.js} +11 -11
- package/dist/chunks/{workspace-fch79rh9.js → tool-output-bz85s9hh.js} +1 -1
- package/dist/chunks/{workspace-8z9aqbjr.js → tool-output-c1xp69en.js} +4 -4
- package/dist/chunks/{workspace-ks40ppne.js → tool-output-c3nej1j1.js} +13 -13
- package/dist/chunks/{workspace-9yzdvftt.js → tool-output-c488s98d.js} +5 -5
- package/dist/chunks/{workspace-jw80jp6b.js → tool-output-cavr175a.js} +4 -4
- package/dist/chunks/{workspace-6dev9rqa.js → tool-output-cf9fh20f.js} +3 -3
- package/dist/chunks/{workspace-ydm93f9x.js → tool-output-cp0d9x4t.js} +8 -8
- package/dist/chunks/{workspace-xqq38mk8.js → tool-output-cpm7w1h6.js} +34 -34
- package/dist/chunks/{workspace-h7krgpah.js → tool-output-cr1t41be.js} +11 -11
- package/dist/chunks/{workspace-cn886m9x.js → tool-output-cvgayg76.js} +11 -11
- package/dist/chunks/{workspace-0t9d6x9s.js → tool-output-cxt9nj17.js} +22 -22
- package/dist/chunks/{workspace-48nt27tg.js → tool-output-d92p8dbg.js} +15 -15
- package/dist/chunks/{workspace-p79yh7x8.js → tool-output-ddc2dhww.js} +24 -24
- package/dist/chunks/{workspace-dj2t23y0.js → tool-output-dj2t23y0.js} +2 -2
- package/dist/chunks/{workspace-57b9ws8p.js → tool-output-drwq78ky.js} +5 -5
- package/dist/chunks/{workspace-q5asdkn4.js → tool-output-e2hjzebn.js} +4 -4
- package/dist/chunks/{workspace-wdh627yk.js → tool-output-eb500h05.js} +18 -18
- package/dist/chunks/{workspace-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-tn8p7ecq.js → tool-output-egjcgzyn.js} +13 -13
- package/dist/chunks/{workspace-qmrp7vx8.js → tool-output-emwaxmsr.js} +27 -27
- package/dist/chunks/{workspace-erw5rpbs.js → tool-output-erw5rpbs.js} +2 -2
- package/dist/chunks/{workspace-etq0c3wd.js → tool-output-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-wxg1tfxb.js → tool-output-evr5wpk5.js} +4 -4
- package/dist/chunks/{workspace-xhhx516y.js → tool-output-f6qn8qx5.js} +19 -19
- package/dist/chunks/{workspace-wssc7tyq.js → tool-output-f7camdp9.js} +26 -26
- package/dist/chunks/{workspace-y201z2mx.js → tool-output-fd5ygrzr.js} +4 -4
- package/dist/chunks/{workspace-0me4z1n8.js → tool-output-fjw2kq1t.js} +16 -16
- package/dist/chunks/{workspace-3tq5qxbk.js → tool-output-fkjmw100.js} +4 -4
- package/dist/chunks/{workspace-twm8s0v6.js → tool-output-fkkzbwec.js} +27 -27
- package/dist/chunks/{workspace-fxbjtjnd.js → tool-output-fxbjtjnd.js} +1 -1
- package/dist/chunks/{workspace-5xtgfte3.js → tool-output-g0445xdp.js} +6 -6
- package/dist/chunks/{workspace-svpqbh55.js → tool-output-g0nvv8aa.js} +23 -23
- package/dist/chunks/{workspace-qa3qhgw8.js → tool-output-g8d3gcyj.js} +7 -7
- package/dist/chunks/{workspace-h2r7bbkd.js → tool-output-g8jasmdt.js} +8 -8
- package/dist/chunks/{workspace-as71pn4z.js → tool-output-gb6nf032.js} +12 -12
- package/dist/chunks/{workspace-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-1s7b1csw.js → tool-output-gee9nz04.js} +10 -10
- package/dist/chunks/{workspace-gv66gg0x.js → tool-output-gft05b0a.js} +8 -8
- package/dist/chunks/{workspace-pg93v6jv.js → tool-output-gny4z5fd.js} +7 -7
- package/dist/chunks/{workspace-pn3cc07s.js → tool-output-gs3s1a1g.js} +8 -8
- package/dist/chunks/{workspace-gv6a8nnw.js → tool-output-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-4dgbcxzg.js → tool-output-h6r3nrb9.js} +4 -4
- package/dist/chunks/{workspace-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-hdnk95c8.js → tool-output-hdnk95c8.js} +2 -2
- package/dist/chunks/{workspace-3fe6bt6f.js → tool-output-hr1py8cc.js} +15 -15
- package/dist/chunks/{workspace-7t824xx2.js → tool-output-hyzbt47e.js} +14 -14
- package/dist/chunks/{workspace-8r0skts4.js → tool-output-j3tjvm70.js} +28 -28
- package/dist/chunks/{workspace-j56e64zr.js → tool-output-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-9btd272k.js → tool-output-j7djrdz3.js} +26 -26
- package/dist/chunks/{workspace-857crm20.js → tool-output-jw552sfg.js} +20 -20
- package/dist/chunks/{workspace-04y2rkk2.js → tool-output-jx2qd1c8.js} +11 -11
- package/dist/chunks/{workspace-t04jp1as.js → tool-output-jy9nrdqr.js} +30 -30
- package/dist/chunks/{workspace-nzks3jc8.js → tool-output-k3c624dm.js} +3 -3
- package/dist/chunks/{workspace-hmyzz8y0.js → tool-output-ka4rcrkh.js} +15 -15
- package/dist/chunks/{workspace-9tb0v2yh.js → tool-output-kf5kp5mk.js} +70 -70
- package/dist/chunks/{workspace-x1w6bk3j.js → tool-output-kfap4x0b.js} +16 -16
- package/dist/chunks/{workspace-m0jqrx5p.js → tool-output-m0jqrx5p.js} +2 -2
- package/dist/chunks/{workspace-m3fdjcah.js → tool-output-m3fdjcah.js} +1 -1
- package/dist/chunks/{workspace-bpy2r9c4.js → tool-output-m4eepma1.js} +15 -15
- package/dist/chunks/{workspace-0kkgx1hv.js → tool-output-m8y9hb2k.js} +5 -5
- package/dist/chunks/{workspace-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-pk2244jm.js → tool-output-mf9m2v67.js} +3 -3
- package/dist/chunks/{workspace-90bky85a.js → tool-output-mkk5r95x.js} +37 -37
- package/dist/chunks/{workspace-1v57fm2m.js → tool-output-mnzjajcq.js} +7 -7
- package/dist/chunks/{workspace-8s9gdvz1.js → tool-output-mwzkew1k.js} +13 -13
- package/dist/chunks/{workspace-t15k3d3j.js → tool-output-n1v3qg02.js} +35 -35
- package/dist/chunks/{workspace-rpery1mk.js → tool-output-n4nqgmdm.js} +15 -15
- package/dist/chunks/{workspace-1y283654.js → tool-output-nb9p6b26.js} +4 -4
- package/dist/chunks/{workspace-w118tzke.js → tool-output-nf925zhj.js} +5 -5
- package/dist/chunks/{workspace-waexrdgv.js → tool-output-nkw3ejtv.js} +31 -31
- package/dist/chunks/{workspace-mnfv1s1b.js → tool-output-nw6wgtsp.js} +13 -13
- package/dist/chunks/{workspace-hcxmrj2a.js → tool-output-nxfrxvv0.js} +11 -11
- package/dist/chunks/{workspace-p28j5sbe.js → tool-output-p28j5sbe.js} +2 -2
- package/dist/chunks/{workspace-cka6kvq6.js → tool-output-p5qm3gp3.js} +12 -12
- package/dist/chunks/{workspace-342mg198.js → tool-output-pdhr04yd.js} +10 -10
- package/dist/chunks/{workspace-vcryphxd.js → tool-output-pfbcw4k6.js} +10 -10
- package/dist/chunks/tool-output-phz3h32g.js +18 -0
- package/dist/chunks/{workspace-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-31gccvh4.js → tool-output-pke2h1dx.js} +15 -15
- package/dist/chunks/{workspace-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-hdm3sk1y.js → tool-output-pphk0kja.js} +36 -36
- package/dist/chunks/{workspace-7pncbcke.js → tool-output-ppkep8fy.js} +4 -4
- package/dist/chunks/{workspace-mjcsnwzf.js → tool-output-prse655p.js} +310 -310
- package/dist/chunks/{workspace-e624nkeg.js → tool-output-pwng45mh.js} +12 -12
- package/dist/chunks/{workspace-6as31qen.js → tool-output-pwqr4ghy.js} +16 -16
- package/dist/chunks/{workspace-j4n38w1e.js → tool-output-py4qxy13.js} +15 -15
- package/dist/chunks/{workspace-w6x78c9c.js → tool-output-pyg2tpx1.js} +11 -11
- package/dist/chunks/{workspace-g3ns9rat.js → tool-output-q4ebtpf0.js} +17 -17
- package/dist/chunks/{workspace-1xam1b6j.js → tool-output-qdf9s1rc.js} +47 -47
- package/dist/chunks/{workspace-5ah12t62.js → tool-output-qect7kdv.js} +6 -6
- package/dist/chunks/{workspace-rackk5d8.js → tool-output-qgm3x6bw.js} +18 -18
- package/dist/chunks/{workspace-2sezm37j.js → tool-output-qgx2d5sc.js} +9 -9
- package/dist/chunks/{workspace-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-cwa6csj7.js → tool-output-r2m716tb.js} +9 -9
- package/dist/chunks/{workspace-rdw6cm16.js → tool-output-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-yt3hy1g9.js → tool-output-reg6q42h.js} +5 -5
- package/dist/chunks/{workspace-nscznvay.js → tool-output-rhafb4aa.js} +9 -9
- package/dist/chunks/{workspace-t550f9t1.js → tool-output-rhjbct0v.js} +4 -4
- package/dist/chunks/{workspace-e43vk65n.js → tool-output-rjqrwyyz.js} +20 -20
- package/dist/chunks/{workspace-4n7sevkh.js → tool-output-rjtsaaxh.js} +22 -22
- package/dist/chunks/{workspace-5smvddr8.js → tool-output-rmm3qdq2.js} +22 -22
- package/dist/chunks/{workspace-2znr0nan.js → tool-output-rqs2hjm2.js} +32 -32
- package/dist/chunks/{workspace-rag3edqr.js → tool-output-rsvjr92d.js} +42 -42
- package/dist/chunks/{workspace-347p2yks.js → tool-output-s1ekbybe.js} +9 -9
- package/dist/chunks/{workspace-7nd7t3y6.js → tool-output-s9jmwvjg.js} +40 -40
- package/dist/chunks/{workspace-berxm3qr.js → tool-output-sd4bk822.js} +7 -7
- package/dist/chunks/{workspace-b8qvbf28.js → tool-output-snfvj9kv.js} +4 -4
- package/dist/chunks/{workspace-w8vega6y.js → tool-output-sr17v8dg.js} +4 -4
- package/dist/chunks/tool-output-srgmx9yy.js +252 -0
- package/dist/chunks/{workspace-7fzvq14v.js → tool-output-svgxwh3h.js} +21 -21
- package/dist/chunks/{workspace-4ejejf2p.js → tool-output-szr3gftz.js} +11 -11
- package/dist/chunks/{workspace-te18sgca.js → tool-output-t0dvfr7r.js} +20 -20
- package/dist/chunks/{workspace-fszp41pp.js → tool-output-t852h53b.js} +6 -6
- package/dist/chunks/{workspace-qed8dvxx.js → tool-output-ta9z4cry.js} +9 -9
- package/dist/chunks/{workspace-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-tcezcvh9.js → tool-output-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-8nhzdh16.js → tool-output-td2xyjdn.js} +8 -8
- package/dist/chunks/{workspace-tdstcens.js → tool-output-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-z1va2kz6.js → tool-output-thmxwjwq.js} +5 -5
- package/dist/chunks/{workspace-vbrdpthe.js → tool-output-tnyz8ww6.js} +6 -6
- package/dist/chunks/{workspace-afps5b8n.js → tool-output-tq5zwqfy.js} +2 -2
- package/dist/chunks/{workspace-qvxdy1p7.js → tool-output-tsdakzmx.js} +3 -3
- package/dist/chunks/{workspace-sqkfb9wh.js → tool-output-ttmhcw5g.js} +11 -11
- package/dist/chunks/{workspace-tvtrv512.js → tool-output-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-0qn3s7y6.js → tool-output-ty2n0sby.js} +9 -9
- package/dist/chunks/{workspace-byhenq9m.js → tool-output-v4yjtdtk.js} +13 -13
- package/dist/chunks/{workspace-4m58q416.js → tool-output-v86zhtje.js} +49 -49
- package/dist/chunks/{workspace-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-sx1n432n.js → tool-output-vncycja5.js} +4 -4
- package/dist/chunks/{workspace-t0mtj9sp.js → tool-output-vwh2k8vs.js} +20 -20
- package/dist/chunks/{workspace-vzcthcp8.js → tool-output-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-0gptwf17.js → tool-output-w4qjf6jj.js} +30 -30
- package/dist/chunks/{workspace-cg72rvag.js → tool-output-w6n7nat8.js} +6 -6
- package/dist/chunks/{workspace-n69p783e.js → tool-output-w9w5w4b9.js} +1 -1
- package/dist/chunks/{workspace-jmphe03k.js → tool-output-wcge806m.js} +4 -4
- package/dist/chunks/{workspace-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-pxfs15kn.js → tool-output-wjcd3aje.js} +37 -37
- package/dist/chunks/{workspace-7fpdhx8y.js → tool-output-wr8b92bk.js} +86 -86
- package/dist/chunks/{workspace-1b4r2z2j.js → tool-output-wvtz0szs.js} +49 -49
- package/dist/chunks/{workspace-y7f35ff5.js → tool-output-wxd4brq3.js} +16 -16
- package/dist/chunks/{workspace-x1ezjp6w.js → tool-output-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-fwwk8vbp.js → tool-output-x2aynqqh.js} +9 -9
- package/dist/chunks/{workspace-zdn3zq9y.js → tool-output-x5jg6qqq.js} +9 -9
- package/dist/chunks/{workspace-2438drjd.js → tool-output-xb57afqb.js} +9 -9
- package/dist/chunks/{workspace-a414py93.js → tool-output-xbwfk08e.js} +32 -32
- package/dist/chunks/{workspace-adykyd42.js → tool-output-xdj4rk2r.js} +14 -14
- package/dist/chunks/{workspace-374v8g3a.js → tool-output-xdssxgw6.js} +16 -16
- package/dist/chunks/{workspace-w19jy31r.js → tool-output-xsymymvd.js} +5 -5
- package/dist/chunks/{workspace-46kfxrdk.js → tool-output-xwjax07d.js} +35 -35
- package/dist/chunks/{workspace-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-bxbnev26.js → tool-output-y5km9ccv.js} +32 -32
- package/dist/chunks/{workspace-dpkg50ah.js → tool-output-y71avatq.js} +4 -4
- package/dist/chunks/{workspace-e6hd9jay.js → tool-output-y8nmaz64.js} +6 -6
- package/dist/chunks/{workspace-24xg1x4z.js → tool-output-yase533t.js} +19 -19
- package/dist/chunks/{workspace-ynpw39jf.js → tool-output-ycmv3hzt.js} +22 -22
- package/dist/chunks/{workspace-f2we9qpp.js → tool-output-ye64be0r.js} +13 -13
- package/dist/chunks/{workspace-qn4ba14w.js → tool-output-yjptyezs.js} +5 -5
- package/dist/chunks/{workspace-yrhqyw5v.js → tool-output-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-gwphwnjy.js → tool-output-yrx1cgkb.js} +9 -9
- package/dist/chunks/{workspace-yrznvahk.js → tool-output-yrznvahk.js} +2 -2
- package/dist/chunks/{workspace-h72e87dw.js → tool-output-ys9tvfdj.js} +5 -5
- package/dist/chunks/{workspace-qxge5qk3.js → tool-output-z0126vss.js} +5 -5
- package/dist/chunks/{workspace-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-7wh8xm2m.js → tool-output-z1jtrpe4.js} +19 -19
- package/dist/chunks/{workspace-8ycrq1wj.js → tool-output-z4mzhy3k.js} +24 -24
- package/dist/chunks/{workspace-n5ff45t7.js → tool-output-z5vyvvwh.js} +20 -20
- package/dist/chunks/{workspace-z63w68vq.js → tool-output-z63w68vq.js} +2 -2
- package/dist/chunks/{workspace-asfqdkpb.js → tool-output-z6b8ny61.js} +168 -168
- package/dist/chunks/{workspace-t45trqgm.js → tool-output-zc3g4y8x.js} +16 -16
- package/dist/chunks/{workspace-zeh9ct20.js → tool-output-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-zxq2ej10.js → tool-output-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- 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 +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +131 -131
- 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 +122 -122
- 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 +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +92 -92
- 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 +9 -9
- package/dist/filesystem.js +97 -97
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- 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 +98 -98
- 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 +359 -359
- 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 +70 -70
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- 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 +108 -108
- 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 +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- 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 +3 -3
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- 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 +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- 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 +121 -121
- 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 +75 -75
- 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 +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- 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 +7 -7
- 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 +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +98 -98
- 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 +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- 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 +89 -89
- 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 +230 -230
- 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 +113 -113
- package/dist/session/runner/step.js +125 -125
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- 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 +215 -215
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- 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 +122 -122
- 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 +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +111 -111
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- 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 +5 -5
- 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 +1 -1
- 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 +88 -88
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- 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/workspace-6dqdswvk.js +0 -252
- package/dist/chunks/workspace-6r3amyyd.js +0 -4
- package/dist/chunks/workspace-rap9a73h.js +0 -18
- package/dist/chunks/workspace-wjzzwpk8.js +0 -26
- /package/dist/chunks/{workspace-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → tool-output-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-5qd3pb7m.js → tool-output-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → tool-output-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → tool-output-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → tool-output-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → tool-output-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-twg0f83k.js → tool-output-twg0f83k.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → tool-output-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
Entry: () => Entry3,
|
|
10
|
+
Info: () => Info9
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry3 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info9 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry3, Info9, exports_formatter3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service40,
|
|
3
|
+
node43
|
|
4
|
+
} from "./tool-output-6m4cmbhe.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./tool-output-p5qm3gp3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service39,
|
|
11
|
+
node42
|
|
12
|
+
} from "./tool-output-wjcd3aje.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service9,
|
|
26
26
|
empty: () => empty2,
|
|
27
27
|
layer: () => layer5,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node10
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service9 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var layer5 = Layer.effect(
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service9, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service39;
|
|
40
|
+
const watcher = yield* Service40;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service78;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service9.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
73
|
+
var node10 = makeLocationNode({
|
|
74
|
+
service: Service9,
|
|
75
75
|
layer: layer5,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node42, FSUtil.node, node43, node82]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service9,
|
|
80
|
+
layer: Layer.succeed(Service9, Service9.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service9, layer5, node10, empty2, exports_source };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-qdf9s1rc.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin27
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin27 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin39 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin27, exports_mcp_codemode_exclusion };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-1mft72er.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service82,
|
|
10
10
|
node86
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-0j4e08ab.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-output-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-output-mf9m2v67.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-output-5c4hm403.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info20,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service57,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer23,
|
|
49
|
+
list: () => list4,
|
|
50
|
+
make: () => make18,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node60,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info20,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service57 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service83;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service82;
|
|
@@ -173,7 +173,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info20.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -193,7 +193,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list4(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer23 = Layer.effect(Service57, make18());
|
|
231
|
+
var node60 = makeGlobalNode({ service: Service57, layer: layer23, deps: [node87, node86] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info20, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service57, make18, layer23, node60, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make7(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make7 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-output-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-0j4e08ab.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event15,
|
|
18
|
+
ID: () => ID10,
|
|
19
|
+
Info: () => Info24,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service64,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node67
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event15 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID10 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID10.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info24 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service64 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service82;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info24.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID10.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service64.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID10.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID10.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node67 = makeLocationNode({ service: Service64, layer, deps: [node86, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID10, Name3, defaultID2, Color2, Info24, Service64, node67, exports_agent4, Event15 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-qect7kdv.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-16crv7a5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./tool-output-rjtsaaxh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./tool-output-9gea571p.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-phz3h32g.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service59;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service45), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./tool-output-ddc2dhww.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./tool-output-0ebpwq5w.js";
|
|
7
7
|
import {
|
|
8
8
|
ID5,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service42
|
|
14
|
+
} from "./tool-output-hyzbt47e.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input3,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin3,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description2,
|
|
27
|
+
name: () => name3
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name3 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input3 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID5,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin3 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service61;
|
|
53
|
+
const forms = yield* Service79;
|
|
54
|
+
const websearch = yield* Service42;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name3,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description2,
|
|
59
|
+
input: Input3,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name3,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name3];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name3, NO_RESULTS2, description2, Input3, Plugin3, exports_websearch };
|