@opencode/core 0.0.0-dev-20982 → 0.0.0-dev-20987
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-9jryrv3a.js → plugin-00baw62t.js} +13 -13
- package/dist/chunks/{model-kx1gjmzp.js → plugin-05g88y6a.js} +5 -5
- package/dist/chunks/{model-hz9wj0ed.js → plugin-0d9qa2tf.js} +4 -4
- package/dist/chunks/{model-qpzj3qa9.js → plugin-0jd8sj79.js} +5 -5
- package/dist/chunks/{model-228yc791.js → plugin-0q39gc6a.js} +24 -24
- package/dist/chunks/{model-wwncb6zf.js → plugin-0th41499.js} +13 -13
- package/dist/chunks/{model-0vbcp93d.js → plugin-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-41k1h118.js → plugin-1jmdn8am.js} +18 -18
- package/dist/chunks/{model-568arzm9.js → plugin-1nfnr1zf.js} +4 -4
- package/dist/chunks/{model-r2a53ztr.js → plugin-1qd0evgj.js} +14 -14
- package/dist/chunks/{model-jwwy4gf7.js → plugin-1s12kdka.js} +8 -8
- package/dist/chunks/{model-znj2jcy4.js → plugin-1tc691j3.js} +9 -9
- package/dist/chunks/{model-jcgcvvgv.js → plugin-1tfayqc2.js} +30 -30
- package/dist/chunks/{model-n7gz5fxy.js → plugin-1xsagsv9.js} +7 -7
- package/dist/chunks/{model-n5n1zjbv.js → plugin-1zc547w2.js} +35 -35
- package/dist/chunks/{model-5a7z4yxf.js → plugin-2c5f8jc9.js} +14 -14
- package/dist/chunks/{model-1y283654.js → plugin-2k71kv7p.js} +4 -4
- package/dist/chunks/{model-2k8khapm.js → plugin-2k8khapm.js} +1 -1
- package/dist/chunks/{model-2eegacq4.js → plugin-2ktf0ed2.js} +8 -8
- package/dist/chunks/{model-7nh8f0wn.js → plugin-38b0zhzj.js} +19 -19
- package/dist/chunks/{model-r6xwq2vk.js → plugin-38qkyyzj.js} +22 -22
- package/dist/chunks/{model-tat11k01.js → plugin-3b9qt4hj.js} +9 -9
- package/dist/chunks/{model-vpdcaygd.js → plugin-3cd0gcz5.js} +33 -33
- package/dist/chunks/{model-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-3hwn7j4h.js → plugin-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-30x88qrh.js → plugin-3mb0heve.js} +5 -5
- package/dist/chunks/{model-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-zr2nq6gp.js → plugin-3vtps2rz.js} +3 -3
- package/dist/chunks/{model-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-6hh0p4jj.js → plugin-44jfc2xj.js} +11 -11
- package/dist/chunks/{model-1bwe3qwc.js → plugin-49jfgwq4.js} +9 -9
- package/dist/chunks/{model-kvw3mq9v.js → plugin-4dh7xncv.js} +9 -9
- package/dist/chunks/{model-4kca7kha.js → plugin-4xm5g7v4.js} +33 -33
- package/dist/chunks/{model-54ma36ye.js → plugin-54ma36ye.js} +1 -1
- package/dist/chunks/{model-xfkkasph.js → plugin-57b9ws8p.js} +7 -7
- package/dist/chunks/{model-5m9w47nd.js → plugin-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-sffa00cj.js → plugin-5p1mvtk9.js} +28 -28
- package/dist/chunks/{model-2gft9see.js → plugin-5rdhx2xc.js} +17 -17
- package/dist/chunks/{model-8bv2d044.js → plugin-5t18yj4d.js} +23 -23
- package/dist/chunks/{model-61sfa1aj.js → plugin-5w2xphe4.js} +27 -27
- package/dist/chunks/{model-drnf6xwf.js → plugin-63db42yp.js} +2 -2
- package/dist/chunks/{model-vdqx43ex.js → plugin-6bbspn9t.js} +2 -2
- package/dist/chunks/{model-6kg1vfnr.js → plugin-6d6xcght.js} +6 -6
- package/dist/chunks/{model-ff251rbv.js → plugin-6ezj741r.js} +14 -14
- package/dist/chunks/{model-fqcgpcra.js → plugin-6hjx5zpb.js} +9 -9
- package/dist/chunks/{model-nd7vcjm8.js → plugin-6k3ch7pf.js} +13 -13
- package/dist/chunks/{model-p2c1p7fg.js → plugin-6mr4qq3f.js} +4 -4
- package/dist/chunks/{model-4z3vwhnt.js → plugin-6r8k8crv.js} +10 -10
- package/dist/chunks/{model-ekw32q82.js → plugin-6s0m3qhq.js} +11 -11
- package/dist/chunks/{model-6xb47vfp.js → plugin-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-5s0x098x.js → plugin-6z61g4ae.js} +36 -36
- package/dist/chunks/{model-kkjc9dy5.js → plugin-6z8hc3gt.js} +15 -15
- package/dist/chunks/{model-4p1qn5j9.js → plugin-70hsqc2y.js} +3 -3
- package/dist/chunks/{model-775gj3j1.js → plugin-775gj3j1.js} +2 -2
- package/dist/chunks/{model-tyawky02.js → plugin-78xfqfc0.js} +17 -17
- package/dist/chunks/{model-khxmfjj5.js → plugin-7b8ab80m.js} +50 -50
- package/dist/chunks/{model-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-hvh251q6.js → plugin-7gra0nqm.js} +12 -12
- package/dist/chunks/{model-dm0nfydx.js → plugin-7kp82rcy.js} +9 -9
- package/dist/chunks/{model-1wv6ewf4.js → plugin-7qgqj6h9.js} +20 -20
- package/dist/chunks/{model-3g8j9he4.js → plugin-7zt5x37y.js} +1 -1
- package/dist/chunks/{model-dxw5vmgr.js → plugin-89dc0cna.js} +18 -18
- package/dist/chunks/{model-8rez7pc9.js → plugin-8d5k0j9g.js} +5 -5
- package/dist/chunks/{model-8m6m0r52.js → plugin-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-6eadky4a.js → plugin-8s8evkng.js} +47 -47
- package/dist/chunks/{model-pg3d8dpb.js → plugin-8wbxkt1z.js} +4 -4
- package/dist/chunks/{model-z4526mx1.js → plugin-9251t4jt.js} +17 -17
- package/dist/chunks/{model-txm3e8qz.js → plugin-97aeaand.js} +4 -4
- package/dist/chunks/{model-n8ja6an3.js → plugin-996h7373.js} +9 -9
- package/dist/chunks/{model-apnwk0zd.js → plugin-99hkrf0s.js} +11 -11
- package/dist/chunks/{model-fjb8erg1.js → plugin-9arzq6ja.js} +7 -7
- package/dist/chunks/{model-wzvjkcye.js → plugin-9e57h4wj.js} +19 -19
- package/dist/chunks/{model-vgx6weyf.js → plugin-9ex8f1cq.js} +8 -8
- package/dist/chunks/{model-0njq27v6.js → plugin-9f1ve9k3.js} +38 -38
- package/dist/chunks/{model-br0tr5aq.js → plugin-9hn6k4tm.js} +8 -8
- package/dist/chunks/{model-gj71zhbs.js → plugin-9hwaqfsw.js} +5 -5
- package/dist/chunks/plugin-9zdhvgqs.js +18 -0
- package/dist/chunks/{model-3vhfphj7.js → plugin-a0dypht8.js} +36 -36
- package/dist/chunks/{model-wzf7q3t7.js → plugin-a1gf1d4c.js} +32 -32
- package/dist/chunks/{model-1dds5gcz.js → plugin-a217p0cg.js} +33 -33
- package/dist/chunks/{model-qwsskq9g.js → plugin-a3p85wzn.js} +25 -25
- package/dist/chunks/{model-7hbcydxm.js → plugin-a924s04s.js} +32 -32
- package/dist/chunks/{model-rsswyzw7.js → plugin-agy2y8sp.js} +13 -13
- package/dist/chunks/{model-e01gj4cd.js → plugin-arrsq6mc.js} +79 -79
- package/dist/chunks/{model-jmkbrx6z.js → plugin-bbdjrh4a.js} +28 -28
- package/dist/chunks/{model-j142m76w.js → plugin-bcqw1z7t.js} +18 -18
- package/dist/chunks/{model-csjk4z4y.js → plugin-bfawj8q0.js} +27 -27
- package/dist/chunks/{model-yxebmv17.js → plugin-bjt99bzb.js} +20 -20
- package/dist/chunks/{model-ywt8jp22.js → plugin-bjx1sjef.js} +9 -9
- package/dist/chunks/{model-bsqtyhzw.js → plugin-bmkxrsv0.js} +32 -32
- package/dist/chunks/{model-0m0wxxk9.js → plugin-btxxe8kp.js} +32 -32
- package/dist/chunks/{model-r7ka9ch8.js → plugin-bwh8ny1a.js} +33 -33
- package/dist/chunks/{model-nf63sdyz.js → plugin-by0zv8e8.js} +24 -24
- package/dist/chunks/{model-xmk3nhga.js → plugin-bzv9p62c.js} +14 -14
- package/dist/chunks/{model-c1fqxshp.js → plugin-c1fqxshp.js} +3 -3
- package/dist/chunks/{model-s4q167yz.js → plugin-c4nmgq50.js} +22 -22
- package/dist/chunks/{model-0ppgc59f.js → plugin-c7p469fg.js} +5 -5
- package/dist/chunks/{model-6x53d5fk.js → plugin-c8c33vcy.js} +13 -13
- package/dist/chunks/{model-7x0qfkxs.js → plugin-c8p7dyh3.js} +13 -13
- package/dist/chunks/{model-gs2he756.js → plugin-c8tg4zqz.js} +187 -187
- package/dist/chunks/{model-rzn7k92n.js → plugin-cdbp1kfq.js} +3 -3
- package/dist/chunks/{model-ajzsbz6h.js → plugin-ceyj3j96.js} +15 -15
- package/dist/chunks/{model-q2736rqt.js → plugin-cnhry24e.js} +23 -23
- package/dist/chunks/{model-04ym1fwe.js → plugin-cnwqvbhr.js} +6 -6
- package/dist/chunks/{model-3n54exg3.js → plugin-cp17y4jc.js} +16 -16
- package/dist/chunks/{model-16nrxpzh.js → plugin-cwm7gddp.js} +15 -15
- package/dist/chunks/{model-h3cseehx.js → plugin-dmw4eekk.js} +29 -29
- package/dist/chunks/{model-dqxsqydv.js → plugin-dqxsqydv.js} +1 -1
- package/dist/chunks/{model-jj9d5szw.js → plugin-drhqfmd7.js} +18 -18
- package/dist/chunks/{model-57myy5jh.js → plugin-dssbfrwz.js} +5 -5
- package/dist/chunks/{model-nf4ty3xq.js → plugin-dtper4kw.js} +35 -35
- package/dist/chunks/{model-453djzx7.js → plugin-dx0ahrbs.js} +11 -11
- package/dist/chunks/{model-ap7d67yw.js → plugin-e3t259rg.js} +41 -41
- package/dist/chunks/{model-1a5352wv.js → plugin-e4kxckzv.js} +5 -5
- package/dist/chunks/{model-ed1g29hy.js → plugin-e80seqcp.js} +3 -3
- package/dist/chunks/{model-1gpb38yh.js → plugin-e8vwfchq.js} +6 -6
- package/dist/chunks/{model-dhfmk2zr.js → plugin-e9sk57r0.js} +10 -10
- package/dist/chunks/{model-n724kc2b.js → plugin-ea52er9y.js} +6 -6
- package/dist/chunks/{model-868thhtj.js → plugin-ea86jchq.js} +36 -36
- package/dist/chunks/{model-s8d7rejh.js → plugin-eaj1djv9.js} +6 -6
- package/dist/chunks/{model-r6734q5n.js → plugin-edk4kg4w.js} +13 -13
- package/dist/chunks/{model-cazcby7s.js → plugin-edk74nrp.js} +24 -24
- package/dist/chunks/{model-eej6y6fw.js → plugin-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-7j4s1nts.js → plugin-em0vfqkc.js} +17 -17
- package/dist/chunks/{model-68yh2fx3.js → plugin-f969mz9s.js} +337 -337
- package/dist/chunks/{model-k6fa6tfe.js → plugin-ffdmfgpd.js} +22 -22
- package/dist/chunks/{model-vbktcqf2.js → plugin-fkx5jj97.js} +17 -17
- package/dist/chunks/plugin-fns117cr.js +253 -0
- package/dist/chunks/{model-ts98378q.js → plugin-fs38a6q6.js} +5 -5
- package/dist/chunks/{model-9dk8dbn0.js → plugin-fscpr29m.js} +56 -56
- package/dist/chunks/{model-f6j4pfw7.js → plugin-fsym37ny.js} +19 -19
- package/dist/chunks/{model-zmtn6p76.js → plugin-fx2px4q7.js} +15 -15
- package/dist/chunks/{model-ac9zsgge.js → plugin-fyzjewjj.js} +20 -20
- package/dist/chunks/{model-exwpqpdy.js → plugin-g1mqf7m7.js} +5 -5
- package/dist/chunks/{model-phz50fbd.js → plugin-g686f6pq.js} +9 -9
- package/dist/chunks/{model-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-m0b7pkkd.js → plugin-gdy8j7r5.js} +34 -34
- package/dist/chunks/{model-v9sgcpv9.js → plugin-ge3s0wg3.js} +47 -47
- package/dist/chunks/{model-pyz1vfrp.js → plugin-gh413yer.js} +21 -21
- package/dist/chunks/{model-hh74v2b0.js → plugin-gkha1jv8.js} +15 -15
- package/dist/chunks/{model-n1n192bv.js → plugin-gw7cjrad.js} +4 -4
- package/dist/chunks/{model-p7jr90hv.js → plugin-gxs96pen.js} +16 -16
- package/dist/chunks/{model-efjxf17k.js → plugin-h6fyjg0r.js} +43 -43
- package/dist/chunks/{model-gj1adh3k.js → plugin-h6m7tbpw.js} +23 -23
- package/dist/chunks/{model-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-h7s7r6s9.js → plugin-h7s7r6s9.js} +2 -2
- package/dist/chunks/{model-0fjeggm9.js → plugin-hfwqrdm3.js} +8 -8
- package/dist/chunks/{model-hgz4x7wa.js → plugin-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-1w2wqhfv.js → plugin-hq3c8me3.js} +4 -4
- package/dist/chunks/{model-k4h0p2n0.js → plugin-hvgcezwv.js} +11 -11
- package/dist/chunks/{model-npypc4rd.js → plugin-hyay7qq8.js} +8 -8
- package/dist/chunks/{model-bq5355gp.js → plugin-j03b9j45.js} +45 -45
- package/dist/chunks/{model-91qna3x0.js → plugin-j09zfasm.js} +3 -3
- package/dist/chunks/{model-sjyz1h2d.js → plugin-jgcf9eez.js} +15 -15
- package/dist/chunks/{model-jk540des.js → plugin-jk540des.js} +2 -2
- package/dist/chunks/{model-97868axb.js → plugin-jp8nadq0.js} +16 -16
- package/dist/chunks/{model-wwhqjdsn.js → plugin-jwezxdpn.js} +18 -18
- package/dist/chunks/{model-jvjaj5rz.js → plugin-k761rqdn.js} +17 -17
- package/dist/chunks/{model-y9yrahrn.js → plugin-k7anq8pt.js} +22 -22
- package/dist/chunks/{model-hjd8wwja.js → plugin-k8w2mwx2.js} +12 -12
- package/dist/chunks/{model-rgqhra37.js → plugin-k9rzzrck.js} +26 -26
- package/dist/chunks/{model-dd5e861g.js → plugin-kb7d7e2j.js} +4 -4
- package/dist/chunks/{model-79rwpvn4.js → plugin-kdekk8dj.js} +50 -50
- package/dist/chunks/{model-zzdhwppw.js → plugin-krks7zng.js} +46 -46
- package/dist/chunks/{model-x04pqkrt.js → plugin-kvve2c2e.js} +3 -3
- package/dist/chunks/{model-9m88xfvv.js → plugin-kwrw5b4w.js} +35 -35
- package/dist/chunks/{model-6xw3seg4.js → plugin-kzdcqyn1.js} +5 -5
- package/dist/chunks/{model-wk6sqcc5.js → plugin-m2hjyvdx.js} +10 -10
- package/dist/chunks/{model-9syxb0r3.js → plugin-m6h2js40.js} +11 -11
- package/dist/chunks/{model-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-maspj1v3.js → plugin-maspj1v3.js} +1 -1
- package/dist/chunks/{model-6897dy4y.js → plugin-mbmw0fzc.js} +8 -8
- package/dist/chunks/{model-sfj6zb2f.js → plugin-mr9gr0dw.js} +90 -90
- package/dist/chunks/{model-p3mytphf.js → plugin-mv87pcae.js} +29 -29
- package/dist/chunks/{model-hcv80w8f.js → plugin-n61013np.js} +8 -8
- package/dist/chunks/{model-dexdmn7s.js → plugin-n9dxnm7s.js} +61 -61
- package/dist/chunks/plugin-nc1sf92k.js +26 -0
- package/dist/chunks/{model-xea223yn.js → plugin-nj2ezgpq.js} +1 -1
- package/dist/chunks/{model-npyp060g.js → plugin-nvcb2me1.js} +11 -11
- package/dist/chunks/{model-q81gz903.js → plugin-p97g2b6e.js} +5 -5
- package/dist/chunks/{model-b3dw1nxt.js → plugin-pghr0e6b.js} +11 -11
- package/dist/chunks/{model-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{model-bpxpvztg.js → plugin-pvvwf6ns.js} +21 -21
- package/dist/chunks/{model-q0xm7vwc.js → plugin-q0xm7vwc.js} +2 -2
- package/dist/chunks/{model-b1et22ex.js → plugin-q2a5psr3.js} +28 -28
- package/dist/chunks/{model-vtdgthxf.js → plugin-q7fmfyb6.js} +24 -24
- package/dist/chunks/{model-81njmjsm.js → plugin-qd3ws2s7.js} +11 -11
- package/dist/chunks/{model-g5ppxhgr.js → plugin-qen1rk3p.js} +19 -19
- package/dist/chunks/{model-djszqvmq.js → plugin-qmqgtz8f.js} +9 -9
- package/dist/chunks/{model-qnc92qwc.js → plugin-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-qsdy395h.js → plugin-qsdy395h.js} +1 -1
- package/dist/chunks/{model-yp2x3t23.js → plugin-r8xr0va3.js} +4 -4
- package/dist/chunks/{model-f6fz9g7x.js → plugin-r9e0ec4k.js} +11 -11
- package/dist/chunks/{model-5xzyc826.js → plugin-rc4509ep.js} +28 -28
- package/dist/chunks/{model-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-rert0e01.js → plugin-rert0e01.js} +2 -2
- package/dist/chunks/{model-rj3eygr5.js → plugin-rj3eygr5.js} +2 -2
- package/dist/chunks/{model-dhmh7aw6.js → plugin-rpg9c19m.js} +4 -4
- package/dist/chunks/{model-avj7e4e4.js → plugin-rpv61pk1.js} +11 -11
- package/dist/chunks/{model-nftsbvkz.js → plugin-rx3cs4hp.js} +27 -27
- package/dist/chunks/{model-6nsfmgdp.js → plugin-ryd39m9g.js} +27 -27
- package/dist/chunks/{model-13wqnzak.js → plugin-s3mwfbqp.js} +5 -5
- package/dist/chunks/{model-20zrxk89.js → plugin-s3ygsj4w.js} +14 -14
- package/dist/chunks/{model-es9h6wy0.js → plugin-s4pcn8n2.js} +4 -4
- package/dist/chunks/{model-866gnewa.js → plugin-s95shv0s.js} +11 -11
- package/dist/chunks/{model-sa8ekw3f.js → plugin-sa8ekw3f.js} +2 -2
- package/dist/chunks/{model-wecqtg5s.js → plugin-scgrse2b.js} +5 -5
- package/dist/chunks/{model-z1j5fswa.js → plugin-scth1bsp.js} +4 -4
- package/dist/chunks/{model-c8bydgjz.js → plugin-sd5f6jdk.js} +6 -6
- package/dist/chunks/{model-30ezw4dz.js → plugin-sm9gc2jd.js} +22 -22
- package/dist/chunks/{model-wr3xabqx.js → plugin-sp1b1nr5.js} +13 -13
- package/dist/chunks/{model-rh2yf6b2.js → plugin-srthdmpb.js} +12 -12
- package/dist/chunks/{model-my4zabxr.js → plugin-ss358qx3.js} +3 -3
- package/dist/chunks/{model-syv4x271.js → plugin-syv4x271.js} +1 -1
- package/dist/chunks/{model-r35mg9et.js → plugin-t009z71z.js} +15 -15
- package/dist/chunks/{model-z5d5yc96.js → plugin-t4hb561r.js} +21 -21
- package/dist/chunks/{model-vta2cxva.js → plugin-t81k1mn3.js} +14 -14
- package/dist/chunks/{model-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-8kamc0n0.js → plugin-tbv0jd26.js} +8 -8
- package/dist/chunks/{model-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-tdstcens.js → plugin-tdstcens.js} +1 -1
- package/dist/chunks/{model-z164wy97.js → plugin-tgwxt44d.js} +17 -17
- package/dist/chunks/{model-918hk0p8.js → plugin-tjcyaeh1.js} +18 -18
- package/dist/chunks/{model-tm0kqsz3.js → plugin-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-6w1q88cy.js → plugin-trdj4ww0.js} +9 -9
- package/dist/chunks/{model-tyytaxap.js → plugin-tyytaxap.js} +1 -1
- package/dist/chunks/{model-k83c78af.js → plugin-tzvh2gs3.js} +28 -28
- package/dist/chunks/{model-v0es1rhs.js → plugin-v0es1rhs.js} +2 -2
- package/dist/chunks/{model-aspgww5t.js → plugin-v3a7a683.js} +95 -95
- package/dist/chunks/{model-bcffw6zz.js → plugin-v3m4sgma.js} +48 -48
- package/dist/chunks/{model-sxz6gkc3.js → plugin-v5dkyp31.js} +7 -7
- package/dist/chunks/{model-249n4y23.js → plugin-v6q0tf7w.js} +4 -4
- package/dist/chunks/{model-v7p4zvkq.js → plugin-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-nfh0qqsf.js → plugin-v9hs2t89.js} +23 -23
- package/dist/chunks/{model-1qreg6w5.js → plugin-vay5vsk0.js} +32 -32
- package/dist/chunks/{model-nzs7qp78.js → plugin-ve45bn9x.js} +6 -6
- package/dist/chunks/{model-veqvce7d.js → plugin-veqvce7d.js} +1 -1
- package/dist/chunks/{model-qy52ep8z.js → plugin-vj84ws7f.js} +16 -16
- package/dist/chunks/{model-qjcj5bxx.js → plugin-vp09je9j.js} +11 -11
- package/dist/chunks/{model-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-w1eejvng.js → plugin-w1eejvng.js} +1 -1
- package/dist/chunks/{model-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-8sze2n9a.js → plugin-w92k2e0p.js} +4 -4
- package/dist/chunks/{model-gtr46jpy.js → plugin-w9ksqg8k.js} +13 -13
- package/dist/chunks/{model-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{model-sk663hk0.js → plugin-wdzdhp05.js} +26 -26
- package/dist/chunks/{model-hkffa77z.js → plugin-wg81ww38.js} +4 -4
- package/dist/chunks/{model-pk4brtys.js → plugin-wxkxg7pe.js} +35 -35
- package/dist/chunks/{model-rpxwryvh.js → plugin-wyvaje2d.js} +9 -9
- package/dist/chunks/{model-wj5z0n6a.js → plugin-x12m7dcs.js} +20 -20
- package/dist/chunks/{model-q504mf2g.js → plugin-x36x4dn3.js} +4 -4
- package/dist/chunks/{model-zmfgr60r.js → plugin-xavayxxs.js} +9 -9
- package/dist/chunks/{model-6epe09p4.js → plugin-xc5gvvts.js} +42 -42
- package/dist/chunks/{model-fng1q3a6.js → plugin-xqrjpkhz.js} +34 -34
- package/dist/chunks/{model-3xvck7mv.js → plugin-xrbyaemf.js} +16 -16
- package/dist/chunks/{model-qbfqzset.js → plugin-xsh6ezrg.js} +13 -13
- package/dist/chunks/{model-v9vx4ha1.js → plugin-xxqja81c.js} +8 -8
- package/dist/chunks/{model-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-7pw8yz1b.js → plugin-y4tnthzg.js} +11 -11
- package/dist/chunks/{model-dpkg50ah.js → plugin-y71avatq.js} +4 -4
- package/dist/chunks/{model-4zjcfn6g.js → plugin-ybh2csg6.js} +28 -28
- package/dist/chunks/{model-782zrs06.js → plugin-yd4bzqjj.js} +5 -5
- package/dist/chunks/{model-6exrpman.js → plugin-yyeg9sqj.js} +32 -32
- package/dist/chunks/{model-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-5e81dfca.js → plugin-z1n9w882.js} +50 -50
- package/dist/chunks/{model-8beabzaw.js → plugin-z20qjtc6.js} +11 -11
- package/dist/chunks/{model-sxkxnm8w.js → plugin-zcx9axj5.js} +6 -6
- package/dist/chunks/{model-dbz9e5sv.js → plugin-zgqd9n5q.js} +18 -18
- package/dist/chunks/{model-zm0hys1r.js → plugin-zp9fj1k8.js} +21 -21
- package/dist/chunks/{model-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-addxnjmp.js → plugin-zw2hpfmh.js} +4 -4
- package/dist/chunks/{model-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-4e171ha0.js → plugin-zyzzesw9.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 +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- 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 +87 -87
- package/dist/database/database.js +74 -74
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +81 -81
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +93 -93
- 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/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 +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- 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 +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/model-6vb0jgt0.js +0 -26
- package/dist/chunks/model-f81tjggh.js +0 -18
- package/dist/chunks/model-wk815h5a.js +0 -253
- /package/dist/chunks/{model-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → plugin-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → plugin-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3t0ybcrp.js → plugin-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-5qd3pb7m.js → plugin-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → plugin-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → plugin-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → plugin-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → plugin-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jze0r7bz.js → plugin-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → plugin-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-pkyv6v7h.js → plugin-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-pyv0edze.js → plugin-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → plugin-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wjj7prxr.js → plugin-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → plugin-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → plugin-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID16,
|
|
3
|
+
Info26,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./plugin-ss358qx3.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service85,
|
|
11
|
+
node89
|
|
12
|
+
} from "./plugin-0th41499.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
+
Service84,
|
|
16
|
+
node88
|
|
17
|
+
} from "./plugin-vj84ws7f.js";
|
|
18
|
+
import {
|
|
15
19
|
Service82,
|
|
16
20
|
node86
|
|
17
|
-
} from "./
|
|
18
|
-
import {
|
|
19
|
-
Service80,
|
|
20
|
-
node84
|
|
21
|
-
} from "./model-jmkbrx6z.js";
|
|
21
|
+
} from "./plugin-bbdjrh4a.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service55,
|
|
24
|
+
node58
|
|
25
|
+
} from "./plugin-sd5f6jdk.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./plugin-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./plugin-c1fqxshp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node56
|
|
34
|
+
} from "./plugin-q7fmfyb6.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./plugin-wg81ww38.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./plugin-tgwxt44d.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./plugin-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node33
|
|
47
|
+
} from "./plugin-ffdmfgpd.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node47
|
|
51
|
+
} from "./plugin-m6h2js40.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError10,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./plugin-e8vwfchq.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput5,
|
|
67
|
+
Service78,
|
|
68
|
+
node82
|
|
69
|
+
} from "./plugin-78xfqfc0.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service56,
|
|
72
|
+
node59
|
|
73
|
+
} from "./plugin-cp17y4jc.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service51,
|
|
76
|
+
node55
|
|
77
|
+
} from "./plugin-xc5gvvts.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./plugin-775gj3j1.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service37,
|
|
83
|
+
node40
|
|
84
|
+
} from "./plugin-nvcb2me1.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./plugin-bzv9p62c.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./plugin-xxqja81c.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service69,
|
|
93
|
+
node72
|
|
94
|
+
} from "./plugin-wyvaje2d.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service29,
|
|
100
|
+
node32
|
|
101
|
+
} from "./plugin-n9dxnm7s.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service47,
|
|
104
|
+
node51
|
|
105
|
+
} from "./plugin-9ex8f1cq.js";
|
|
106
106
|
import {
|
|
107
107
|
make13
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./plugin-gdy8j7r5.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./plugin-z20qjtc6.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./plugin-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID16,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info26,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError10,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service28,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node31
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var ListInput3 =
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput5;
|
|
152
|
+
class Service28 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
|
-
const database = yield*
|
|
156
|
+
const database = yield* Service85;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
158
|
+
const bus = yield* Service84;
|
|
159
|
+
const projects = yield* Service82;
|
|
160
|
+
const execution = yield* Service51;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service37;
|
|
163
|
+
const store = yield* Service78;
|
|
164
|
+
const instances = yield* Service55;
|
|
165
|
+
const moves = yield* Service29;
|
|
166
|
+
const jobs = yield* Service56;
|
|
167
|
+
const environments = yield* Service47;
|
|
168
|
+
const locations = yield* Service69;
|
|
169
169
|
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service28.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError10({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service55, instances), Effect.provideService(Service85, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service55, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node31 = Node.makeGlobalNode({
|
|
331
|
+
service: Service28,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
node58,
|
|
336
|
-
node87,
|
|
337
|
-
node86,
|
|
338
|
-
node84,
|
|
339
|
-
node48,
|
|
340
|
-
node38,
|
|
341
|
-
llmClient2,
|
|
342
|
-
node69,
|
|
334
|
+
node59,
|
|
343
335
|
node51,
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
336
|
+
node89,
|
|
337
|
+
node88,
|
|
338
|
+
node86,
|
|
347
339
|
node55,
|
|
340
|
+
node40,
|
|
341
|
+
llmClient2,
|
|
342
|
+
node82,
|
|
343
|
+
node58,
|
|
344
|
+
node56,
|
|
345
|
+
node32,
|
|
346
|
+
node33,
|
|
347
|
+
node72,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node47
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service28, node31, exports_session };
|
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./plugin-0th41499.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./plugin-vj84ws7f.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID15,
|
|
14
|
+
Service79,
|
|
15
|
+
node83
|
|
16
|
+
} from "./plugin-0q39gc6a.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./plugin-775gj3j1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service58,
|
|
22
|
+
node61
|
|
23
|
+
} from "./plugin-a217p0cg.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./plugin-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./plugin-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./plugin-gw7cjrad.js";
|
|
36
36
|
import {
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./plugin-mbmw0fzc.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./plugin-7zt5x37y.js";
|
|
42
42
|
import {
|
|
43
43
|
outputLimit2,
|
|
44
44
|
baseTranscript2,
|
|
45
45
|
unsupportedParts2,
|
|
46
46
|
boundImages2,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service36,
|
|
48
|
+
node39
|
|
49
|
+
} from "./plugin-4xm5g7v4.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service54,
|
|
52
|
+
node57
|
|
53
|
+
} from "./plugin-00baw62t.js";
|
|
54
54
|
import {
|
|
55
55
|
isRetryable2,
|
|
56
56
|
policy2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./plugin-scgrse2b.js";
|
|
58
58
|
import {
|
|
59
59
|
toSessionError2,
|
|
60
60
|
contentFilterError2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./plugin-0jd8sj79.js";
|
|
62
62
|
import {
|
|
63
63
|
calculateCost2,
|
|
64
64
|
record2,
|
|
65
65
|
add2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./plugin-tdstcens.js";
|
|
67
67
|
import {
|
|
68
68
|
__export
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./plugin-9rqn6x4v.js";
|
|
70
70
|
|
|
71
71
|
// src/session/compaction.ts
|
|
72
72
|
var exports_compaction2 = {};
|
|
73
73
|
__export(exports_compaction2, {
|
|
74
|
-
Service: () =>
|
|
74
|
+
Service: () => Service10,
|
|
75
75
|
SessionCompaction: () => exports_compaction2,
|
|
76
76
|
buildPrompt: () => buildPrompt2,
|
|
77
77
|
estimateContext: () => estimateContext2,
|
|
78
78
|
estimatePrompt: () => estimatePrompt2,
|
|
79
|
-
layer: () =>
|
|
80
|
-
node: () =>
|
|
79
|
+
layer: () => layer7,
|
|
80
|
+
node: () => node12,
|
|
81
81
|
recentUserMessages: () => recentUserMessages2
|
|
82
82
|
});
|
|
83
83
|
import {
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
} from "@opencode/ai";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
95
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
96
|
-
class
|
|
96
|
+
class Service10 extends Context.Service()("@opencode/SessionCompaction") {
|
|
97
97
|
}
|
|
98
98
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
99
99
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -172,14 +172,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
172
172
|
};
|
|
173
173
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
174
174
|
var LEGACY_HEADING = "## Additional Context";
|
|
175
|
-
var
|
|
176
|
-
const agents = yield*
|
|
177
|
-
const bus = yield*
|
|
175
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
176
|
+
const agents = yield* Service79;
|
|
177
|
+
const bus = yield* Service84;
|
|
178
178
|
const llm = yield* LLMClient.Service;
|
|
179
|
-
const catalog = yield*
|
|
180
|
-
const models = yield*
|
|
181
|
-
const db = (yield*
|
|
182
|
-
const requests = yield*
|
|
179
|
+
const catalog = yield* Service58;
|
|
180
|
+
const models = yield* Service54;
|
|
181
|
+
const db = (yield* Service85).db;
|
|
182
|
+
const requests = yield* Service36;
|
|
183
183
|
const state = create3({
|
|
184
184
|
name: "session-compaction",
|
|
185
185
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -197,7 +197,7 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
197
197
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
198
198
|
return { status: "skipped" };
|
|
199
199
|
const native = context.model.compaction?.type === "native";
|
|
200
|
-
const agent = native ? undefined : yield* agents.get(
|
|
200
|
+
const agent = native ? undefined : yield* agents.get(ID15.make("compaction"));
|
|
201
201
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
202
202
|
return;
|
|
203
203
|
})))) ?? context.model;
|
|
@@ -473,16 +473,16 @@ ${text}`;
|
|
|
473
473
|
}, { metadata: outcome.metadata });
|
|
474
474
|
return { status: "completed" };
|
|
475
475
|
});
|
|
476
|
-
return
|
|
476
|
+
return Service10.of({
|
|
477
477
|
transform: state.transform,
|
|
478
478
|
reload: state.reload,
|
|
479
479
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
480
480
|
});
|
|
481
481
|
}));
|
|
482
|
-
var
|
|
483
|
-
service:
|
|
484
|
-
layer:
|
|
485
|
-
deps: [
|
|
482
|
+
var node12 = makeLocationNode({
|
|
483
|
+
service: Service10,
|
|
484
|
+
layer: layer7,
|
|
485
|
+
deps: [node83, node88, node89, llmClient2, node61, node39, node57]
|
|
486
486
|
});
|
|
487
487
|
var previousCompaction = (messages) => {
|
|
488
488
|
const [first] = messages;
|
|
@@ -696,4 +696,4 @@ var estimateMedia = (mime) => {
|
|
|
696
696
|
return 0;
|
|
697
697
|
};
|
|
698
698
|
|
|
699
|
-
export {
|
|
699
|
+
export { Service10, buildPrompt2, layer7, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info12
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info12 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info13 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info12, exports_command5 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-t81k1mn3.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make4 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make8 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make4();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make4, LMStudioPlugin2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./plugin-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
+
Service83,
|
|
9
|
+
node87
|
|
10
|
+
} from "./plugin-7gra0nqm.js";
|
|
11
|
+
import {
|
|
8
12
|
Service81,
|
|
9
13
|
node85
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
Service79,
|
|
13
|
-
node83
|
|
14
|
-
} from "./model-ff251rbv.js";
|
|
14
|
+
} from "./plugin-6ezj741r.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./plugin-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./plugin-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service45,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node49,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service45 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service83;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service81;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID4.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -147,14 +147,14 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service45.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node49 = makeLocationNode({
|
|
153
|
+
service: Service45,
|
|
154
154
|
layer,
|
|
155
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node87, Global.node, node85]
|
|
156
156
|
});
|
|
157
|
-
var noopLayer2 = Layer.succeed(
|
|
157
|
+
var noopLayer2 = Layer.succeed(Service45, Service45.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -172,4 +172,4 @@ function failure(operation, cause) {
|
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID4, Error3, Service45, node49, noopLayer2, exports_snapshot2 };
|