@opencode/core 0.0.0-dev-20862 → 0.0.0-dev-20865
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 +71 -71
- package/dist/chunks/{filesystem-29627893.js → models-dev-02vpj3qc.js} +17 -17
- package/dist/chunks/{filesystem-e2cmhjkj.js → models-dev-09dj6j0c.js} +25 -25
- package/dist/chunks/{filesystem-hnb4yx9q.js → models-dev-0c77cqtw.js} +6 -6
- package/dist/chunks/{filesystem-by8c53ka.js → models-dev-0cwy3bsm.js} +33 -33
- package/dist/chunks/{filesystem-8pd28bjz.js → models-dev-0ef4xx30.js} +11 -11
- package/dist/chunks/{filesystem-7t1q934f.js → models-dev-0sakkys5.js} +9 -9
- package/dist/chunks/{filesystem-0vbcp93d.js → models-dev-0vbcp93d.js} +2 -2
- package/dist/chunks/{filesystem-196dp0k4.js → models-dev-0xb1ev3y.js} +18 -18
- package/dist/chunks/{filesystem-7cjfetaf.js → models-dev-1813d5zh.js} +13 -13
- package/dist/chunks/{filesystem-fmb6frcs.js → models-dev-18ged8s4.js} +5 -5
- package/dist/chunks/{filesystem-zmdnfm9g.js → models-dev-1kzng4v9.js} +29 -29
- package/dist/chunks/{filesystem-w39jehkq.js → models-dev-1pxz8ven.js} +5 -5
- package/dist/chunks/{filesystem-zrj251rj.js → models-dev-1xbam7mh.js} +12 -12
- package/dist/chunks/{filesystem-wb1x78f5.js → models-dev-1zran81s.js} +44 -44
- package/dist/chunks/{filesystem-q0zsatc3.js → models-dev-1zzep20k.js} +52 -52
- package/dist/chunks/{filesystem-4c0s820n.js → models-dev-20y73wgn.js} +82 -82
- package/dist/chunks/{filesystem-nm4yzjmp.js → models-dev-27jjh9qb.js} +8 -8
- package/dist/chunks/{filesystem-pr4c8k5d.js → models-dev-27k0aesg.js} +34 -34
- package/dist/chunks/{filesystem-aqazz0j8.js → models-dev-2fah77kf.js} +17 -17
- package/dist/chunks/{filesystem-2k8khapm.js → models-dev-2k8khapm.js} +1 -1
- package/dist/chunks/{filesystem-2vvh33eb.js → models-dev-2vvh33eb.js} +2 -2
- package/dist/chunks/{filesystem-6xktvksv.js → models-dev-3066s64a.js} +10 -10
- package/dist/chunks/{filesystem-rb70syh1.js → models-dev-3711sgqg.js} +15 -15
- package/dist/chunks/{filesystem-234r1ky0.js → models-dev-38ae7j5t.js} +8 -8
- package/dist/chunks/{filesystem-mwpbc7s8.js → models-dev-38qn8yeh.js} +22 -22
- package/dist/chunks/{filesystem-p1ezge1v.js → models-dev-3af8jha9.js} +14 -14
- package/dist/chunks/{filesystem-18a9s3e7.js → models-dev-3ak9ykqq.js} +8 -8
- package/dist/chunks/{filesystem-3fc6dm20.js → models-dev-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-yezy7z0k.js → models-dev-3gkd5a8g.js} +8 -8
- package/dist/chunks/{filesystem-58hzr473.js → models-dev-3h8e7zd4.js} +19 -19
- package/dist/chunks/{filesystem-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-3hwn7j4h.js → models-dev-3hwn7j4h.js} +2 -2
- package/dist/chunks/{filesystem-1a4qr9z1.js → models-dev-3kdapj6e.js} +3 -3
- package/dist/chunks/{filesystem-v47ja0kk.js → models-dev-3pe8x8yc.js} +42 -42
- package/dist/chunks/{filesystem-2t8rmdrh.js → models-dev-3qsb6rdp.js} +11 -11
- package/dist/chunks/{filesystem-mggg0rbc.js → models-dev-3rf335s5.js} +41 -41
- package/dist/chunks/{filesystem-3smtnn6g.js → models-dev-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-9s024g5s.js → models-dev-3svptyzd.js} +7 -7
- package/dist/chunks/{filesystem-ma48de29.js → models-dev-3tt1qkhr.js} +5 -5
- package/dist/chunks/{filesystem-3tvqynh2.js → models-dev-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-nbkf97mm.js → models-dev-3xh5mtw1.js} +15 -15
- package/dist/chunks/{filesystem-kav7weha.js → models-dev-3zkyqq39.js} +30 -30
- package/dist/chunks/{filesystem-3zsf4n22.js → models-dev-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-jq5zn2gb.js → models-dev-41ha1pse.js} +18 -18
- package/dist/chunks/{filesystem-n4fsvy2x.js → models-dev-4297re2w.js} +16 -16
- package/dist/chunks/{filesystem-m5jcjszt.js → models-dev-48kw51zw.js} +3 -3
- package/dist/chunks/{filesystem-nsdra7pt.js → models-dev-4c9nws0q.js} +42 -42
- package/dist/chunks/{filesystem-4ts7tf6z.js → models-dev-4ts7tf6z.js} +2 -2
- package/dist/chunks/{filesystem-v7z2bvyd.js → models-dev-4v7ngy20.js} +4 -4
- package/dist/chunks/models-dev-4v7qdvcn.js +18 -0
- package/dist/chunks/{filesystem-b11b6prk.js → models-dev-4vs05w9v.js} +79 -79
- package/dist/chunks/{filesystem-cc09gky1.js → models-dev-50jefmw0.js} +26 -26
- package/dist/chunks/{filesystem-54ma36ye.js → models-dev-54ma36ye.js} +1 -1
- package/dist/chunks/{filesystem-pg0x4j42.js → models-dev-56zrnamb.js} +11 -11
- package/dist/chunks/{filesystem-yg152t47.js → models-dev-5cr9rfmm.js} +33 -33
- package/dist/chunks/{filesystem-ws0htp7c.js → models-dev-5dn4fjfa.js} +13 -13
- package/dist/chunks/{filesystem-628nc13m.js → models-dev-5fxerghj.js} +23 -23
- package/dist/chunks/{filesystem-hbvtdghj.js → models-dev-5jebg124.js} +4 -4
- package/dist/chunks/{filesystem-5m9w47nd.js → models-dev-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-7ha8mbyb.js → models-dev-5rb28c55.js} +9 -9
- package/dist/chunks/{filesystem-e1t3mam8.js → models-dev-62wenpza.js} +9 -9
- package/dist/chunks/{filesystem-kmpk7fbr.js → models-dev-6631xwdh.js} +16 -16
- package/dist/chunks/{filesystem-1b39dbdd.js → models-dev-6893qs62.js} +4 -4
- package/dist/chunks/{filesystem-r9h634c8.js → models-dev-6f60r94z.js} +3 -3
- package/dist/chunks/{filesystem-hddh30xx.js → models-dev-6m68mxhc.js} +9 -9
- package/dist/chunks/{filesystem-0hxnjnx8.js → models-dev-6nndasc1.js} +12 -12
- package/dist/chunks/{filesystem-42q5z408.js → models-dev-6nvb4mge.js} +5 -5
- package/dist/chunks/{filesystem-6xb47vfp.js → models-dev-6xb47vfp.js} +1 -1
- package/dist/chunks/{filesystem-9kg7wp4x.js → models-dev-76qnrnma.js} +6 -6
- package/dist/chunks/{filesystem-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-f0bdtv1n.js → models-dev-7j2crns3.js} +11 -11
- package/dist/chunks/{filesystem-d7h2nsz1.js → models-dev-7mjqmdtc.js} +32 -32
- package/dist/chunks/{filesystem-e0w2vstn.js → models-dev-7z5rppbg.js} +10 -10
- package/dist/chunks/{filesystem-5w9yjztw.js → models-dev-7zt5x37y.js} +1 -1
- package/dist/chunks/{filesystem-e448g38w.js → models-dev-82148vs9.js} +7 -7
- package/dist/chunks/{filesystem-w1eejvng.js → models-dev-84txncab.js} +5 -5
- package/dist/chunks/{filesystem-yar3z0vm.js → models-dev-8a2c1kbr.js} +20 -20
- package/dist/chunks/{filesystem-e0v6r3rc.js → models-dev-8dthkasz.js} +36 -36
- package/dist/chunks/{filesystem-4c2dxef7.js → models-dev-8e54dvz2.js} +16 -16
- package/dist/chunks/{filesystem-rjtxxem0.js → models-dev-8jwn2r34.js} +8 -8
- package/dist/chunks/{filesystem-n9kc33re.js → models-dev-8krkc3yk.js} +3 -3
- package/dist/chunks/{filesystem-8m6m0r52.js → models-dev-8m6m0r52.js} +1 -1
- package/dist/chunks/{filesystem-rkprpv83.js → models-dev-8sze2n9a.js} +6 -6
- package/dist/chunks/{filesystem-3rj2b0mx.js → models-dev-91ywsamh.js} +24 -24
- package/dist/chunks/{filesystem-kzxe22pz.js → models-dev-93m7ndqx.js} +4 -4
- package/dist/chunks/{filesystem-89ppyk96.js → models-dev-977z57ma.js} +3 -3
- package/dist/chunks/{filesystem-3ez4gjkt.js → models-dev-98str5rv.js} +1 -1
- package/dist/chunks/{filesystem-77w66y0t.js → models-dev-9c6cajnv.js} +11 -11
- package/dist/chunks/{filesystem-rnwzxv10.js → models-dev-9j9hzet3.js} +20 -20
- package/dist/chunks/{filesystem-42721k3a.js → models-dev-9n90zg10.js} +16 -16
- package/dist/chunks/{filesystem-k0sjew9s.js → models-dev-9p0xfm4a.js} +19 -19
- package/dist/chunks/{filesystem-z7d7tagb.js → models-dev-9v3ssj07.js} +11 -11
- package/dist/chunks/{filesystem-pn3cc07s.js → models-dev-a2qe2ev9.js} +8 -8
- package/dist/chunks/{filesystem-a6xg053j.js → models-dev-ab4qm1k1.js} +16 -16
- package/dist/chunks/{filesystem-w5yqftge.js → models-dev-acd4vkpt.js} +6 -6
- package/dist/chunks/{filesystem-58hng72m.js → models-dev-ajxsk1x2.js} +5 -5
- package/dist/chunks/{filesystem-h9k3zmfa.js → models-dev-awppbkr6.js} +16 -16
- package/dist/chunks/{filesystem-ek1kdr8s.js → models-dev-az0s1ab0.js} +30 -30
- package/dist/chunks/{filesystem-bmwsgzm3.js → models-dev-b250jdey.js} +15 -15
- package/dist/chunks/{filesystem-scgrse2b.js → models-dev-b3f8fkhc.js} +5 -5
- package/dist/chunks/{filesystem-jvekf0st.js → models-dev-b41xg0sk.js} +11 -11
- package/dist/chunks/{filesystem-bx0gyb4h.js → models-dev-b674v2dg.js} +5 -5
- package/dist/chunks/{filesystem-hk8fhejm.js → models-dev-b9tgwt06.js} +23 -23
- package/dist/chunks/{filesystem-t8c0xvf3.js → models-dev-bggdt6jp.js} +7 -7
- package/dist/chunks/{filesystem-bjx1sjef.js → models-dev-bjx1sjef.js} +2 -2
- package/dist/chunks/{filesystem-0z1n3j5c.js → models-dev-bky1yqwv.js} +21 -21
- package/dist/chunks/{filesystem-bmr56wjg.js → models-dev-bmr56wjg.js} +1 -1
- package/dist/chunks/{filesystem-f33qb1th.js → models-dev-bmzae5ya.js} +22 -22
- package/dist/chunks/{filesystem-wwxyb18g.js → models-dev-bty79xpe.js} +4 -4
- package/dist/chunks/{filesystem-p42kja40.js → models-dev-bvnvcshr.js} +30 -30
- package/dist/chunks/{filesystem-c41wscbt.js → models-dev-c41wscbt.js} +2 -2
- package/dist/chunks/{filesystem-2ryng5r3.js → models-dev-c6bnrspk.js} +4 -4
- package/dist/chunks/{filesystem-c8ax2afj.js → models-dev-c8ax2afj.js} +2 -2
- package/dist/chunks/{filesystem-njfdx3sy.js → models-dev-ce0wjd2x.js} +6 -6
- package/dist/chunks/{filesystem-a78v4ve5.js → models-dev-cedw1as4.js} +22 -22
- package/dist/chunks/{filesystem-bkpsvkt5.js → models-dev-cfdgyghc.js} +22 -22
- package/dist/chunks/{filesystem-rpg9c19m.js → models-dev-ckf8nxjz.js} +4 -4
- package/dist/chunks/{filesystem-a5qtj7q6.js → models-dev-cm1qnfez.js} +11 -11
- package/dist/chunks/{filesystem-d9jtx293.js → models-dev-d9jtx293.js} +6 -6
- package/dist/chunks/{filesystem-g5gnrdpy.js → models-dev-db8bgabc.js} +12 -12
- package/dist/chunks/{filesystem-q7nk3s7j.js → models-dev-dk2prtcf.js} +4 -4
- package/dist/chunks/{filesystem-khjjjyc5.js → models-dev-dwbvz6j3.js} +303 -303
- package/dist/chunks/{filesystem-faat08va.js → models-dev-e8tkc3qk.js} +21 -21
- package/dist/chunks/{filesystem-2k71kv7p.js → models-dev-eahhehpg.js} +4 -4
- package/dist/chunks/{filesystem-rhjbct0v.js → models-dev-eaj1djv9.js} +8 -8
- package/dist/chunks/{filesystem-kdykjer7.js → models-dev-ednkbcah.js} +15 -15
- package/dist/chunks/{filesystem-eej6y6fw.js → models-dev-eej6y6fw.js} +2 -2
- package/dist/chunks/{filesystem-ef5x83kb.js → models-dev-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-es1vcfrp.js → models-dev-es1vcfrp.js} +3 -3
- package/dist/chunks/{filesystem-3xj61p28.js → models-dev-f1f91z08.js} +17 -17
- package/dist/chunks/{filesystem-v22mneq0.js → models-dev-f2wtk041.js} +49 -49
- package/dist/chunks/{filesystem-bfegkxfd.js → models-dev-fan8xm03.js} +6 -6
- package/dist/chunks/{filesystem-y9q49zk7.js → models-dev-fbwp6pwa.js} +4 -4
- package/dist/chunks/{filesystem-6ygttn8c.js → models-dev-fdkb9ec3.js} +29 -29
- package/dist/chunks/{filesystem-6hjx5zpb.js → models-dev-fdms3n6w.js} +9 -9
- package/dist/chunks/{filesystem-btv47zes.js → models-dev-fg3tm49t.js} +29 -29
- package/dist/chunks/{filesystem-8rqycdgd.js → models-dev-fqb2p7cx.js} +7 -7
- package/dist/chunks/{filesystem-mt5arhrs.js → models-dev-fxjftaq6.js} +15 -15
- package/dist/chunks/{filesystem-mddpn92g.js → models-dev-g0ma4c6w.js} +22 -22
- package/dist/chunks/{filesystem-z541wn70.js → models-dev-g74jm693.js} +8 -8
- package/dist/chunks/{filesystem-mek16e5d.js → models-dev-g8ytx0e6.js} +11 -11
- package/dist/chunks/{filesystem-9s29ec0q.js → models-dev-gaagjm2t.js} +3 -3
- package/dist/chunks/{filesystem-ng5df8nw.js → models-dev-gbmjry2n.js} +8 -8
- package/dist/chunks/{filesystem-gd4qta3r.js → models-dev-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-ft3hqk2c.js → models-dev-gjwgx2c5.js} +9 -9
- package/dist/chunks/{filesystem-hbn0bbep.js → models-dev-gm86nbja.js} +9 -9
- package/dist/chunks/{filesystem-c1pk8j7t.js → models-dev-gvmpqvya.js} +16 -16
- package/dist/chunks/{filesystem-3sj8yt8v.js → models-dev-gw7cjrad.js} +4 -4
- package/dist/chunks/{filesystem-ryep13dd.js → models-dev-h0q4qrbw.js} +18 -18
- package/dist/chunks/{filesystem-7w42pd46.js → models-dev-h4k3px47.js} +9 -9
- package/dist/chunks/{filesystem-h6vf3j39.js → models-dev-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-h7s7r6s9.js → models-dev-h7s7r6s9.js} +2 -2
- package/dist/chunks/{filesystem-73n0zeyz.js → models-dev-hakjpm15.js} +8 -8
- package/dist/chunks/{filesystem-3t90d3dy.js → models-dev-hgbphaw8.js} +34 -34
- package/dist/chunks/{filesystem-hgz4x7wa.js → models-dev-hgz4x7wa.js} +1 -1
- package/dist/chunks/{filesystem-zrdk58qt.js → models-dev-hpa38nzs.js} +4 -4
- package/dist/chunks/{filesystem-y5x50g1v.js → models-dev-hpf1ew30.js} +27 -27
- package/dist/chunks/{filesystem-fxaymqdw.js → models-dev-hq3c8me3.js} +4 -4
- package/dist/chunks/{filesystem-53rak1ew.js → models-dev-hzphjpmd.js} +2 -2
- package/dist/chunks/{filesystem-91qna3x0.js → models-dev-j09zfasm.js} +3 -3
- package/dist/chunks/{filesystem-9sdvy6ea.js → models-dev-j0zrtwtb.js} +8 -8
- package/dist/chunks/{filesystem-j56e64zr.js → models-dev-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-6ah3a7p6.js → models-dev-jcnpjjtr.js} +37 -37
- package/dist/chunks/{filesystem-p756njhy.js → models-dev-jk72hbrr.js} +21 -21
- package/dist/chunks/{filesystem-krc3a0yk.js → models-dev-k64wxf8y.js} +3 -3
- package/dist/chunks/{filesystem-9sjeq45g.js → models-dev-k6n6e38h.js} +1 -1
- package/dist/chunks/{filesystem-vbk72xvh.js → models-dev-k6ysx7ta.js} +24 -24
- package/dist/chunks/{filesystem-3b9qt4hj.js → models-dev-k7myrtme.js} +9 -9
- package/dist/chunks/{filesystem-k7xxzs5q.js → models-dev-kbrj9m31.js} +20 -20
- package/dist/chunks/{filesystem-w2t8mqbe.js → models-dev-ke4s2br1.js} +17 -17
- package/dist/chunks/{filesystem-wpf4st6a.js → models-dev-ktzky0j0.js} +6 -6
- package/dist/chunks/{filesystem-5hf5f199.js → models-dev-ky2vbgv2.js} +13 -13
- package/dist/chunks/{filesystem-tmjqwtp5.js → models-dev-m1pp26ww.js} +13 -13
- package/dist/chunks/{filesystem-dg29p2pd.js → models-dev-m8yn9wqd.js} +16 -16
- package/dist/chunks/{filesystem-x0gy9gxe.js → models-dev-m92ve9wx.js} +23 -23
- package/dist/chunks/{filesystem-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-gk8qb678.js → models-dev-maspj1v3.js} +6 -19
- package/dist/chunks/{filesystem-vw83hb19.js → models-dev-mbqxj1ec.js} +3 -3
- package/dist/chunks/{filesystem-rksd8sej.js → models-dev-mjx5rav7.js} +30 -30
- package/dist/chunks/{filesystem-zdqhb26j.js → models-dev-n0dhg24y.js} +5 -5
- package/dist/chunks/{filesystem-hnh8n5n7.js → models-dev-n59g9vmt.js} +11 -11
- package/dist/chunks/{filesystem-e6464sbd.js → models-dev-n8brk52a.js} +7 -7
- package/dist/chunks/{filesystem-8cdcjcc6.js → models-dev-nasydrcy.js} +11 -11
- package/dist/chunks/{filesystem-vknd5qb0.js → models-dev-nex57z9h.js} +27 -27
- package/dist/chunks/{filesystem-4wxv1g1t.js → models-dev-njr6j307.js} +3 -3
- package/dist/chunks/{filesystem-y3h0e103.js → models-dev-nk6ny5be.js} +9 -9
- package/dist/chunks/{filesystem-e80seqcp.js → models-dev-nma959mg.js} +3 -3
- package/dist/chunks/{filesystem-6fnntsj1.js → models-dev-p0acjafb.js} +21 -21
- package/dist/chunks/{filesystem-9hn6k4tm.js → models-dev-p37cw4rj.js} +8 -8
- package/dist/chunks/{filesystem-gp9jqd59.js → models-dev-pck7vvdx.js} +6 -6
- package/dist/chunks/{filesystem-tzpbkfcj.js → models-dev-pj8gj9vn.js} +13 -13
- package/dist/chunks/{filesystem-pjvnvgmy.js → models-dev-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → models-dev-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-ewpvmgf2.js → models-dev-pw0wjf5b.js} +32 -32
- package/dist/chunks/{filesystem-fa4ww1ng.js → models-dev-pxgkna3x.js} +11 -11
- package/dist/chunks/{filesystem-q0xm7vwc.js → models-dev-q0xm7vwc.js} +2 -2
- package/dist/chunks/{filesystem-hf1n9z3x.js → models-dev-q3986erm.js} +5 -5
- package/dist/chunks/{filesystem-y1zbefzb.js → models-dev-q3jzg8ra.js} +169 -169
- package/dist/chunks/{filesystem-eg1jtzjt.js → models-dev-qa0fzn5w.js} +37 -37
- package/dist/chunks/{filesystem-7bj0298e.js → models-dev-qbqawk7j.js} +17 -17
- package/dist/chunks/{filesystem-x8g8cxcn.js → models-dev-qm5jr2ty.js} +13 -13
- package/dist/chunks/{filesystem-qnc92qwc.js → models-dev-qnc92qwc.js} +1 -1
- package/dist/chunks/{filesystem-qsdy395h.js → models-dev-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-y8p3zjbc.js → models-dev-r7nsrefv.js} +6 -6
- package/dist/chunks/{filesystem-z114v3my.js → models-dev-r9bvg2me.js} +13 -13
- package/dist/chunks/{filesystem-bxqk5pf5.js → models-dev-ra67jj04.js} +9 -9
- package/dist/chunks/{filesystem-ashq5n6s.js → models-dev-rc1kv93m.js} +7 -7
- package/dist/chunks/{filesystem-rdw6cm16.js → models-dev-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-thnax083.js → models-dev-rek66y3z.js} +11 -11
- package/dist/chunks/{filesystem-e430bhbh.js → models-dev-rg0zttgc.js} +4 -4
- package/dist/chunks/{filesystem-8v4mw3b0.js → models-dev-rj9375zf.js} +43 -43
- package/dist/chunks/{filesystem-v0xmac3n.js → models-dev-rqa1jxse.js} +2 -2
- package/dist/chunks/{filesystem-426dk71k.js → models-dev-rqd2zw5t.js} +10 -10
- package/dist/chunks/{filesystem-tam3xr47.js → models-dev-rx0anvt2.js} +22 -22
- package/dist/chunks/{filesystem-xf7aeygg.js → models-dev-s0wmvqbr.js} +26 -26
- package/dist/chunks/{filesystem-1dpj84zp.js → models-dev-sqp85fkz.js} +42 -42
- package/dist/chunks/{filesystem-svcw9x3w.js → models-dev-svcw9x3w.js} +5 -5
- package/dist/chunks/{filesystem-syv4x271.js → models-dev-syv4x271.js} +1 -1
- package/dist/chunks/{filesystem-54s1q3kk.js → models-dev-t77ee9tw.js} +17 -17
- package/dist/chunks/{filesystem-tazgh4e4.js → models-dev-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-tcezcvh9.js → models-dev-tcezcvh9.js} +1 -1
- package/dist/chunks/{filesystem-8004wwfb.js → models-dev-tdr9jbt8.js} +20 -20
- package/dist/chunks/{filesystem-tdstcens.js → models-dev-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-tkb22qbm.js → models-dev-tkb22qbm.js} +2 -2
- package/dist/chunks/{filesystem-tm0kqsz3.js → models-dev-tm0kqsz3.js} +1 -1
- package/dist/chunks/{filesystem-5dzcxebq.js → models-dev-ts5gehh4.js} +5 -5
- package/dist/chunks/{filesystem-cap0p8nj.js → models-dev-ts9abvhb.js} +30 -30
- package/dist/chunks/{filesystem-z2jd07rd.js → models-dev-twwzjqdf.js} +6 -6
- package/dist/chunks/{filesystem-tyytaxap.js → models-dev-tyytaxap.js} +1 -1
- package/dist/chunks/{filesystem-nx9q51n4.js → models-dev-tzza62aq.js} +18 -18
- package/dist/chunks/{filesystem-4g0yx14a.js → models-dev-v05n4cdg.js} +10 -10
- package/dist/chunks/{filesystem-v0es1rhs.js → models-dev-v0es1rhs.js} +2 -2
- package/dist/chunks/{filesystem-k97zh3d1.js → models-dev-v1aj2m8y.js} +6 -6
- package/dist/chunks/{filesystem-z7tsfxrw.js → models-dev-v1rcz1aj.js} +34 -34
- package/dist/chunks/{filesystem-nnd1qh7g.js → models-dev-v4r7zn86.js} +20 -20
- package/dist/chunks/{filesystem-v7p4zvkq.js → models-dev-v7p4zvkq.js} +2 -2
- package/dist/chunks/{filesystem-gveanz76.js → models-dev-vd2q3was.js} +20 -20
- package/dist/chunks/{filesystem-veqvce7d.js → models-dev-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-d77571hn.js → models-dev-vqh374jc.js} +19 -19
- package/dist/chunks/{filesystem-vzs5sf6e.js → models-dev-vzs5sf6e.js} +1 -1
- package/dist/chunks/{filesystem-hppj45g6.js → models-dev-w0dkdy3z.js} +28 -28
- package/dist/chunks/{filesystem-d47p0dev.js → models-dev-w0k2ty99.js} +6 -6
- package/dist/chunks/{filesystem-wd9v2wqs.js → models-dev-w2ad8e9p.js} +22 -22
- package/dist/chunks/{filesystem-adgawzpd.js → models-dev-w2zfgxdh.js} +5 -5
- package/dist/chunks/{filesystem-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-tyts7tda.js → models-dev-w6082x2g.js} +50 -50
- package/dist/chunks/{filesystem-s9d98z9z.js → models-dev-w8yyf988.js} +70 -70
- package/dist/chunks/{filesystem-hp4earpc.js → models-dev-wbta6961.js} +8 -8
- package/dist/chunks/{filesystem-wd87259q.js → models-dev-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-2d8qmkmz.js → models-dev-wg0er8g6.js} +13 -13
- package/dist/chunks/{filesystem-mqq7cghv.js → models-dev-wh5jxp3t.js} +15 -15
- package/dist/chunks/{filesystem-jfskkshb.js → models-dev-wwzpy5az.js} +20 -20
- package/dist/chunks/{filesystem-ssb0bxwr.js → models-dev-xcqtwf8k.js} +12 -12
- package/dist/chunks/{filesystem-7mwvqe74.js → models-dev-xfbgawb1.js} +2 -2
- package/dist/chunks/{filesystem-drwq78ky.js → models-dev-xfkkasph.js} +4 -4
- package/dist/chunks/{filesystem-xcf4ra81.js → models-dev-xfmbje2f.js} +4 -4
- package/dist/chunks/{filesystem-cqwer3tv.js → models-dev-xjg855ze.js} +14 -14
- package/dist/chunks/{filesystem-9h395ey8.js → models-dev-xsrwpwr1.js} +25 -25
- package/dist/chunks/{filesystem-y1fvbwt7.js → models-dev-y1fvbwt7.js} +1 -1
- package/dist/chunks/models-dev-y4h261y3.js +253 -0
- package/dist/chunks/{filesystem-0m69c59p.js → models-dev-y4n4c0dd.js} +30 -30
- package/dist/chunks/{filesystem-y71avatq.js → models-dev-y71avatq.js} +1 -1
- package/dist/chunks/{filesystem-tz35mf6x.js → models-dev-y9s9xvs6.js} +8 -8
- package/dist/chunks/{filesystem-cjb3hyea.js → models-dev-yjqf8yma.js} +23 -23
- package/dist/chunks/{filesystem-cya74875.js → models-dev-ym59rfmj.js} +4 -4
- package/dist/chunks/{filesystem-f2n192rq.js → models-dev-yp2x3t23.js} +4 -4
- package/dist/chunks/{filesystem-w3x9v1nk.js → models-dev-yvvvp4gn.js} +8 -8
- package/dist/chunks/{filesystem-z0bkrqjs.js → models-dev-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-09ygvw9n.js → models-dev-z0mn02tj.js} +15 -15
- package/dist/chunks/{filesystem-jx42mra6.js → models-dev-z1bdek5p.js} +11 -11
- package/dist/chunks/{filesystem-66srcv4s.js → models-dev-z9b11dw0.js} +5 -5
- package/dist/chunks/{filesystem-c8dsy7xk.js → models-dev-zmzf6gpz.js} +14 -14
- package/dist/chunks/{filesystem-ytt1fcja.js → models-dev-zpywvqex.js} +11 -11
- package/dist/chunks/{filesystem-zr2ceqn5.js → models-dev-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-addxnjmp.js → models-dev-zw2hpfmh.js} +4 -4
- package/dist/chunks/{filesystem-zxq2ej10.js → models-dev-zxq2ej10.js} +1 -1
- package/dist/chunks/{filesystem-2jjh643m.js → models-dev-zyq7fnpt.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +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 +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +90 -90
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +123 -123
- 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 +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +117 -117
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/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 +78 -78
- 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 +1 -1
- 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 +72 -72
- 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 +222 -222
- 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 +7 -7
- 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 +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 +101 -101
- 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 +87 -87
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- 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 +133 -133
- 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 +83 -83
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- 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 +101 -101
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- 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 +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +102 -102
- 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 +117 -117
- package/dist/plugin/optimize.js +4 -4
- 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 +116 -116
- 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 +120 -120
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +4 -4
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +216 -216
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- 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 +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- 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 +128 -128
- 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 +124 -124
- 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 +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +10 -10
- 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 +1 -1
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/filesystem-hgn7cgj3.js +0 -253
- package/dist/chunks/filesystem-qc068m1q.js +0 -18
- /package/dist/chunks/{filesystem-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → models-dev-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → models-dev-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2bv980vf.js → models-dev-2bv980vf.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → models-dev-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3t0ybcrp.js → models-dev-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → models-dev-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → models-dev-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → models-dev-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → models-dev-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → models-dev-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5qd3pb7m.js → models-dev-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → models-dev-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-6q2bdcd1.js → models-dev-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → models-dev-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-84wd9syh.js → models-dev-84wd9syh.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → models-dev-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → models-dev-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → models-dev-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-bw78ga2c.js → models-dev-bw78ga2c.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → models-dev-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → models-dev-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → models-dev-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → models-dev-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → models-dev-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → models-dev-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → models-dev-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → models-dev-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hcxmzztb.js → models-dev-hcxmzztb.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → models-dev-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → models-dev-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jze0r7bz.js → models-dev-jze0r7bz.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-m18g726c.js → models-dev-m18g726c.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-pkyv6v7h.js → models-dev-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{filesystem-pyv0edze.js → models-dev-pyv0edze.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → models-dev-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → models-dev-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → models-dev-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → models-dev-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → models-dev-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-hzphjpmd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service66
|
|
9
|
+
} from "./models-dev-3711sgqg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./models-dev-awppbkr6.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./models-dev-hgz4x7wa.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -24,25 +24,25 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service5
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./models-dev-gm86nbja.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input3,
|
|
36
|
+
Plugin: () => Plugin21,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
38
|
+
name: () => name3,
|
|
39
39
|
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name3 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input3 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin21 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service5;
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
62
|
+
const access = yield* Service66;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service81;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name3,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input3,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -182,4 +182,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name3, Input3, Plugin21, toModelContent3, exports_read };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-hzphjpmd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-fdkb9ec3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service50
|
|
10
|
+
} from "./models-dev-7mjqmdtc.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service46
|
|
13
|
+
} from "./models-dev-e8tkc3qk.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./models-dev-hq3c8me3.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./models-dev-w0k2ty99.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,8 +32,8 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service50;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service46);
|
|
37
37
|
const location = yield* Effect.serviceOption(Service81);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID6.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-bggdt6jp.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
32
|
+
function make15(tools) {
|
|
33
33
|
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
35
|
function render3(prompt, tools) {
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./models-dev-e8tkc3qk.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service46;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
@@ -14,7 +14,7 @@ __export(exports_watcher, {
|
|
|
14
14
|
Event: () => Event7,
|
|
15
15
|
Native: () => Native3,
|
|
16
16
|
Options: () => Options7,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service51,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
20
|
configured: () => configured7,
|
|
@@ -22,7 +22,7 @@ __export(exports_watcher, {
|
|
|
22
22
|
layer: () => layer20,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node54,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -57,14 +57,14 @@ var Options7 = Schema.Struct({
|
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service51 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var layer20 = (options) => Layer.effect(
|
|
65
|
+
var layer20 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service51.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer20 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service51.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service51).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service51, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
167
|
function configured7(options) {
|
|
168
|
-
return makeGlobalNode({ service:
|
|
168
|
+
return makeGlobalNode({ service: Service51, layer: layer20(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node54 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export { Event7, hasNativeBinding2, Native3, Options7,
|
|
190
|
+
export { Event7, hasNativeBinding2, Native3, Options7, Service51, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured7, node54, exports_watcher };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-hpa38nzs.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event17,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID10,
|
|
20
|
+
Info: () => Info20,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError8,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service73,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer27,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node76,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event17 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID10 = Form.ID;
|
|
39
|
+
var Info20 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID10
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID10
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID10
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID10,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service73 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer27 = Layer.effect(
|
|
84
|
+
var layer27 = Layer.effect(Service73, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service84;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID10.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service73.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node76 = makeLocationNode({ service: Service73, layer: layer27, deps: [node88] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID10, Info20, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service73, layer27, node76, validateAnswer2, validateFields2, exports_form, Event17 };
|