@opencode/core 2.0.28 → 2.0.30
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 +85 -85
- 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-axkrk270.js → instance-01hxeeh0.js} +14 -14
- package/dist/chunks/{filesystem-28n8c4ka.js → instance-084aw373.js} +58 -18
- package/dist/chunks/{filesystem-2ryng5r3.js → instance-0b5g1ynf.js} +4 -4
- package/dist/chunks/{filesystem-q0xm7vwc.js → instance-0j77ygfz.js} +6 -6
- package/dist/chunks/{filesystem-b6snqm39.js → instance-0mp499ze.js} +16 -16
- package/dist/chunks/{filesystem-0vbcp93d.js → instance-0vbcp93d.js} +2 -2
- package/dist/chunks/{filesystem-73n0zeyz.js → instance-10ya1n95.js} +14 -14
- package/dist/chunks/{filesystem-qmr691ca.js → instance-128xx7kp.js} +3 -3
- package/dist/chunks/{filesystem-4h495arh.js → instance-16rkhh34.js} +6 -6
- package/dist/chunks/{filesystem-f2n192rq.js → instance-1acjjqhc.js} +4 -4
- package/dist/chunks/{filesystem-9hn6k4tm.js → instance-1ajx6rf5.js} +8 -8
- package/dist/chunks/{filesystem-t5jqnx4m.js → instance-1azxtnvn.js} +13 -13
- package/dist/chunks/{filesystem-7w42pd46.js → instance-1jnacwd4.js} +12 -12
- package/dist/chunks/{filesystem-7ha8mbyb.js → instance-1mgrvebq.js} +14 -14
- package/dist/chunks/{filesystem-wtwcdvfd.js → instance-1vezjraj.js} +20 -20
- package/dist/chunks/{filesystem-j72mgbmv.js → instance-1wwhh6tg.js} +35 -35
- package/dist/chunks/{filesystem-3fz2a589.js → instance-20q3sypg.js} +2 -2
- package/dist/chunks/{filesystem-fzcmqh9t.js → instance-24jcxqcv.js} +21 -21
- package/dist/chunks/{filesystem-0m69c59p.js → instance-26g27jq4.js} +32 -32
- package/dist/chunks/{filesystem-7mwvqe74.js → instance-2bthg6ps.js} +3 -3
- package/dist/chunks/{filesystem-ws0htp7c.js → instance-32g268rd.js} +13 -13
- package/dist/chunks/{filesystem-g3wzybmp.js → instance-387g8trv.js} +27 -27
- package/dist/chunks/{filesystem-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-38mdmq5f.js → instance-3gn2397m.js} +86 -86
- package/dist/chunks/{filesystem-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-3hwn7j4h.js → instance-3hwn7j4h.js} +2 -2
- package/dist/chunks/{filesystem-2mcy88br.js → instance-3rbmmj0g.js} +185 -179
- package/dist/chunks/{filesystem-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-b8h848z5.js → instance-3stxt38w.js} +11 -11
- package/dist/chunks/{filesystem-rthc7gf6.js → instance-3t3ppxhb.js} +9 -9
- package/dist/chunks/{filesystem-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-addxnjmp.js → instance-3y377wv9.js} +4 -4
- package/dist/chunks/{filesystem-3zsf4n22.js → instance-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-v0es1rhs.js → instance-4434d9q2.js} +9 -9
- package/dist/chunks/{filesystem-gtfaydnj.js → instance-49r3emx4.js} +18 -18
- package/dist/chunks/{filesystem-kzxe22pz.js → instance-4eb7yy46.js} +4 -4
- package/dist/chunks/{filesystem-wne619hj.js → instance-4jr7zcc0.js} +16 -16
- package/dist/chunks/{filesystem-v7s1536z.js → instance-4ra0jzgx.js} +6 -6
- package/dist/chunks/{filesystem-ct7wq3h5.js → instance-4tp750a6.js} +1 -1
- package/dist/chunks/instance-4v7qdvcn.js +18 -0
- package/dist/chunks/{filesystem-3sj8yt8v.js → instance-4z58m4b4.js} +4 -4
- package/dist/chunks/{filesystem-m30bzzm8.js → instance-5211rpnm.js} +9 -9
- package/dist/chunks/{filesystem-drwq78ky.js → instance-57b9ws8p.js} +5 -5
- package/dist/chunks/{filesystem-njfdx3sy.js → instance-57gtfk2n.js} +6 -6
- package/dist/chunks/{filesystem-t3f4tea4.js → instance-59zy69mk.js} +1 -1
- package/dist/chunks/{filesystem-w40f6bsw.js → instance-5gx9hkbw.js} +4 -4
- package/dist/chunks/{filesystem-rdd07134.js → instance-5ha5er23.js} +34 -34
- package/dist/chunks/{filesystem-5m9w47nd.js → instance-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-shy0vwdw.js → instance-5xaqq0zy.js} +2 -2
- package/dist/chunks/{filesystem-rb70syh1.js → instance-646vn7sd.js} +18 -18
- package/dist/chunks/{filesystem-cjb3hyea.js → instance-652w1b7r.js} +23 -23
- package/dist/chunks/{filesystem-ysasxjy6.js → instance-6g0jnfpe.js} +11 -11
- package/dist/chunks/{filesystem-4ts7tf6z.js → instance-6g107h22.js} +10 -12
- package/dist/chunks/{filesystem-7kmr86m7.js → instance-6hzf4208.js} +19 -19
- package/dist/chunks/{filesystem-6xb47vfp.js → instance-6xb47vfp.js} +1 -1
- package/dist/chunks/{filesystem-4c2dxef7.js → instance-6y11rvqm.js} +16 -16
- package/dist/chunks/{filesystem-mek16e5d.js → instance-73wr0wn5.js} +11 -11
- package/dist/chunks/{filesystem-kjrg4dz2.js → instance-74rqx77g.js} +28 -28
- package/dist/chunks/{filesystem-775gj3j1.js → instance-775gj3j1.js} +2 -2
- package/dist/chunks/{filesystem-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-2k8khapm.js → instance-7dqw4kz8.js} +5 -5
- package/dist/chunks/{filesystem-naas6dry.js → instance-7efvswca.js} +27 -27
- package/dist/chunks/{filesystem-qpdrzbsd.js → instance-7khw7vys.js} +54 -44
- package/dist/chunks/{filesystem-yezy7z0k.js → instance-7m78zzez.js} +11 -11
- package/dist/chunks/{filesystem-wb1x78f5.js → instance-7v30ghwx.js} +49 -49
- package/dist/chunks/{filesystem-r9h634c8.js → instance-7vr1nntc.js} +3 -3
- package/dist/chunks/{filesystem-7q2snjpw.js → instance-7y33ce21.js} +20 -20
- package/dist/chunks/{filesystem-qnxbmed8.js → instance-7zjtannr.js} +46 -46
- package/dist/chunks/{filesystem-svcw9x3w.js → instance-81fjg4yx.js} +12 -12
- package/dist/chunks/{filesystem-0x07vhym.js → instance-82rf0sny.js} +15 -15
- package/dist/chunks/{filesystem-w1eejvng.js → instance-84txncab.js} +5 -5
- package/dist/chunks/{filesystem-9h395ey8.js → instance-89fs7e8f.js} +23 -23
- package/dist/chunks/{filesystem-z2jd07rd.js → instance-89za3yyg.js} +7 -7
- package/dist/chunks/{filesystem-628nc13m.js → instance-8aap4tw6.js} +28 -28
- package/dist/chunks/{filesystem-a78v4ve5.js → instance-8dsgf78a.js} +25 -25
- package/dist/chunks/{filesystem-8m6m0r52.js → instance-8m6m0r52.js} +1 -1
- package/dist/chunks/{filesystem-ehv7knr3.js → instance-8srf40xe.js} +19 -19
- package/dist/chunks/{filesystem-d9jtx293.js → instance-8wvgy420.js} +6 -6
- package/dist/chunks/{filesystem-zqq8czsd.js → instance-93pem10m.js} +29 -29
- package/dist/chunks/{filesystem-y5x50g1v.js → instance-9413mpzz.js} +34 -34
- package/dist/chunks/{filesystem-9sjeq45g.js → instance-97233r0r.js} +1 -1
- package/dist/chunks/{filesystem-n4fsvy2x.js → instance-9d9vbnr3.js} +22 -22
- package/dist/chunks/{filesystem-zrdk58qt.js → instance-9f6w07v2.js} +4 -4
- package/dist/chunks/instance-9k954qnc.js +253 -0
- package/dist/chunks/{filesystem-qa6qpaa9.js → instance-9kb2pehy.js} +11 -11
- package/dist/chunks/{filesystem-y9q49zk7.js → instance-9q36pw28.js} +4 -4
- package/dist/chunks/{filesystem-vbk72xvh.js → instance-9s02qxdw.js} +24 -24
- package/dist/chunks/{filesystem-ng5df8nw.js → instance-9tgftdjr.js} +8 -8
- package/dist/chunks/{filesystem-0z1n3j5c.js → instance-9vk391re.js} +24 -24
- package/dist/chunks/{filesystem-xey671re.js → instance-9y7wfsj2.js} +26 -26
- package/dist/chunks/{filesystem-zx2dsnbk.js → instance-ae24bvb0.js} +36 -35
- package/dist/chunks/{filesystem-58hng72m.js → instance-ag1vmkq5.js} +5 -5
- package/dist/chunks/{filesystem-wwgtjrva.js → instance-agyyzp1p.js} +13 -13
- package/dist/chunks/{filesystem-c1pk8j7t.js → instance-aj8kt33w.js} +16 -16
- package/dist/chunks/{filesystem-gveanz76.js → instance-ajnf4kf4.js} +23 -23
- package/dist/chunks/{filesystem-e29yd45t.js → instance-aw3nxxyh.js} +13 -13
- package/dist/chunks/{filesystem-eebh6wmp.js → instance-b3zzy7tw.js} +40 -40
- package/dist/chunks/{filesystem-2k71kv7p.js → instance-bacyadyn.js} +4 -4
- package/dist/chunks/{filesystem-4rdhmkj7.js → instance-bh593mvy.js} +7 -7
- package/dist/chunks/{filesystem-aqazz0j8.js → instance-bvg8t9y0.js} +24 -24
- package/dist/chunks/{filesystem-65v4cnad.js → instance-bwsrjyzy.js} +12 -12
- package/dist/chunks/{filesystem-es1vcfrp.js → instance-c1fqxshp.js} +3 -3
- package/dist/chunks/{filesystem-315k6hst.js → instance-c1zyyjeb.js} +16 -16
- package/dist/chunks/{filesystem-8004wwfb.js → instance-c2zdvb4p.js} +23 -23
- package/dist/chunks/{filesystem-w5yqftge.js → instance-c8bydgjz.js} +6 -6
- package/dist/chunks/{filesystem-4g0yx14a.js → instance-cxpwe6s4.js} +10 -10
- package/dist/chunks/{filesystem-zrj251rj.js → instance-d454q9jw.js} +29 -29
- package/dist/chunks/{filesystem-btv47zes.js → instance-d5fs7d09.js} +32 -32
- package/dist/chunks/{filesystem-ma48de29.js → instance-d9wzmzc3.js} +5 -5
- package/dist/chunks/{filesystem-3xj61p28.js → instance-dfb3ggbz.js} +34 -34
- package/dist/chunks/{filesystem-hnh8n5n7.js → instance-dgmj5nq6.js} +20 -20
- package/dist/chunks/{filesystem-rpg9c19m.js → instance-dhmh7aw6.js} +4 -4
- package/dist/chunks/{filesystem-h9k3zmfa.js → instance-dpctj94h.js} +19 -19
- package/dist/chunks/{filesystem-y71avatq.js → instance-dpkg50ah.js} +4 -4
- package/dist/chunks/{filesystem-dqxsqydv.js → instance-dqxsqydv.js} +1 -1
- package/dist/chunks/{filesystem-v0xmac3n.js → instance-drnf6xwf.js} +2 -2
- package/dist/chunks/{filesystem-139mpvga.js → instance-drvctdx3.js} +8 -8
- package/dist/chunks/{filesystem-xcf4ra81.js → instance-e3658yqs.js} +4 -4
- package/dist/chunks/{filesystem-5qd3pb7m.js → instance-e3qxr5gk.js} +2 -2
- package/dist/chunks/{filesystem-pb5kndam.js → instance-e4ph37mk.js} +17 -17
- package/dist/chunks/{filesystem-e80seqcp.js → instance-e80seqcp.js} +1 -1
- package/dist/chunks/{filesystem-b71jh5yt.js → instance-e914qee0.js} +21 -22
- package/dist/chunks/{filesystem-7cjfetaf.js → instance-e9t82wt6.js} +15 -15
- package/dist/chunks/{filesystem-9sdvy6ea.js → instance-eckn7hvg.js} +10 -10
- package/dist/chunks/{filesystem-eej6y6fw.js → instance-eej6y6fw.js} +2 -2
- package/dist/chunks/{filesystem-ffk923an.js → instance-eez13zz9.js} +80 -80
- package/dist/chunks/{filesystem-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-kdykjer7.js → instance-efsrwh4r.js} +17 -17
- package/dist/chunks/instance-egqmz7mr.js +513 -0
- package/dist/chunks/{filesystem-47wyv12f.js → instance-erxpr3ta.js} +11 -11
- package/dist/chunks/{filesystem-faat08va.js → instance-ew85sj6a.js} +24 -24
- package/dist/chunks/{filesystem-gp9jqd59.js → instance-eyhnzkb4.js} +8 -8
- package/dist/chunks/{filesystem-42q5z408.js → instance-eyngvhkr.js} +5 -5
- package/dist/chunks/{filesystem-3b9qt4hj.js → instance-f0ftzx98.js} +9 -9
- package/dist/chunks/{filesystem-yar3z0vm.js → instance-f4vpr7ft.js} +18 -18
- package/dist/chunks/{filesystem-6y8xypev.js → instance-fd3cesbe.js} +4 -4
- package/dist/chunks/{filesystem-8rqycdgd.js → instance-fm2qvscf.js} +7 -7
- package/dist/chunks/{filesystem-kzk6m8s6.js → instance-fx5e31t2.js} +77 -60
- package/dist/chunks/{filesystem-fxaymqdw.js → instance-fxaymqdw.js} +1 -1
- package/dist/chunks/{filesystem-aj2z5ayr.js → instance-g1ntr7f2.js} +25 -25
- package/dist/chunks/{filesystem-bxqk5pf5.js → instance-g686f6pq.js} +9 -9
- package/dist/chunks/instance-g92sbvmr.js +180 -0
- package/dist/chunks/{filesystem-rgx5n1kn.js → instance-ga72xv16.js} +4 -4
- package/dist/chunks/{filesystem-pn3cc07s.js → instance-gbtx73hb.js} +8 -8
- package/dist/chunks/{filesystem-5w9yjztw.js → instance-gd0tnyjc.js} +1 -1
- package/dist/chunks/{filesystem-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-hxdhxhc0.js → instance-gs0zmrt4.js} +37 -37
- package/dist/chunks/{filesystem-e6464sbd.js → instance-gvx299k3.js} +11 -11
- package/dist/chunks/{filesystem-93b1zj1y.js → instance-gxf5jgrz.js} +13 -13
- package/dist/chunks/{filesystem-hp4earpc.js → instance-gzc7yqgf.js} +10 -10
- package/dist/chunks/{filesystem-thnax083.js → instance-h1xayf8s.js} +11 -11
- package/dist/chunks/{filesystem-tyts7tda.js → instance-h4mdy8pc.js} +50 -50
- package/dist/chunks/{filesystem-n9kc33re.js → instance-h55420by.js} +6 -6
- package/dist/chunks/{filesystem-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-h7s7r6s9.js → instance-h7s7r6s9.js} +2 -2
- package/dist/chunks/{filesystem-e1t3mam8.js → instance-h969w5wg.js} +10 -10
- package/dist/chunks/{filesystem-z7d7tagb.js → instance-hfbp3x8a.js} +15 -15
- package/dist/chunks/{filesystem-hgz4x7wa.js → instance-hgz4x7wa.js} +1 -1
- package/dist/chunks/{filesystem-ycge4e7e.js → instance-hhbh25th.js} +3 -3
- package/dist/chunks/{filesystem-4wxv1g1t.js → instance-hkh1jdqf.js} +3 -3
- package/dist/chunks/{filesystem-cc09gky1.js → instance-hnpn8713.js} +27 -30
- package/dist/chunks/{filesystem-91qna3x0.js → instance-j09zfasm.js} +3 -3
- package/dist/chunks/{filesystem-hddh30xx.js → instance-j5j6nemg.js} +11 -11
- package/dist/chunks/{filesystem-krc3a0yk.js → instance-k2wyjrxv.js} +5 -5
- package/dist/chunks/{filesystem-vy98fec5.js → instance-kehp7em2.js} +11 -11
- package/dist/chunks/{filesystem-ktnh1044.js → instance-kj46zcys.js} +34 -34
- package/dist/chunks/{filesystem-yw46jfkh.js → instance-kjh956ek.js} +13 -13
- package/dist/chunks/{filesystem-k0sjew9s.js → instance-kkamx07x.js} +22 -22
- package/dist/chunks/{filesystem-tfw769rq.js → instance-kmvkq3az.js} +11 -11
- package/dist/chunks/{filesystem-dvb8jg9v.js → instance-krpr0985.js} +33 -27
- package/dist/chunks/{filesystem-hnb4yx9q.js → instance-ktqq3893.js} +9 -9
- package/dist/chunks/{filesystem-n2bdxpfq.js → instance-kwnyzz7d.js} +14 -14
- package/dist/chunks/{filesystem-9wfts7m5.js → instance-m2je0bek.js} +20 -20
- package/dist/chunks/{filesystem-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-maspj1v3.js → instance-maspj1v3.js} +1 -1
- package/dist/chunks/{filesystem-m5jcjszt.js → instance-my4zabxr.js} +3 -3
- package/dist/chunks/{filesystem-mrfr3fv8.js → instance-n2456yrq.js} +15 -15
- package/dist/chunks/{filesystem-bx0gyb4h.js → instance-n8vdnqrc.js} +5 -5
- package/dist/chunks/{filesystem-jv0d82ph.js → instance-n9c20jj2.js} +44 -44
- package/dist/chunks/{filesystem-ek1kdr8s.js → instance-njsm5atp.js} +20 -20
- package/dist/chunks/{filesystem-hppj45g6.js → instance-nve97s1q.js} +28 -28
- package/dist/chunks/{filesystem-53rak1ew.js → instance-nxf3zzt8.js} +17 -17
- package/dist/chunks/{filesystem-4kv77ab9.js → instance-nz4k6rdb.js} +13 -13
- package/dist/chunks/{filesystem-c8cfwmf0.js → instance-p0qk8z8k.js} +13 -13
- package/dist/chunks/{filesystem-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-7bj0298e.js → instance-pkrkjz2y.js} +13 -13
- package/dist/chunks/{filesystem-zdqhb26j.js → instance-pkxbvvp1.js} +5 -5
- package/dist/chunks/{filesystem-cqwer3tv.js → instance-pqm9awga.js} +24 -24
- package/dist/chunks/{filesystem-pr4c8k5d.js → instance-pv8bk7wt.js} +36 -36
- package/dist/chunks/{filesystem-d77571hn.js → instance-py3c7vzz.js} +22 -22
- package/dist/chunks/{filesystem-3rj2b0mx.js → instance-q4cy6t51.js} +24 -24
- package/dist/chunks/{filesystem-crx3azpj.js → instance-qk1jtr9h.js} +14 -14
- package/dist/chunks/{filesystem-qnc92qwc.js → instance-qnc92qwc.js} +1 -1
- package/dist/chunks/{filesystem-hgx0r8wb.js → instance-qq3sn5ka.js} +42 -42
- package/dist/chunks/{filesystem-6nt2he5f.js → instance-qr7wvshd.js} +30 -30
- package/dist/chunks/{filesystem-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-dg29p2pd.js → instance-qve4m158.js} +21 -21
- package/dist/chunks/{filesystem-e0w2vstn.js → instance-qvtb430p.js} +18 -18
- package/dist/chunks/{filesystem-f1bjnzfm.js → instance-r0d06n1c.js} +22 -25
- package/dist/chunks/{filesystem-b5s5zk2w.js → instance-r56f0ccq.js} +11 -11
- package/dist/chunks/{filesystem-60fs82z5.js → instance-r8zgbxzs.js} +11 -11
- package/dist/chunks/{filesystem-54ma36ye.js → instance-r94pvvab.js} +4 -4
- package/dist/chunks/{filesystem-6xktvksv.js → instance-rb1chcf1.js} +10 -10
- package/dist/chunks/{filesystem-02hzg919.js → instance-rcxh9wm8.js} +27 -24
- package/dist/chunks/{filesystem-rdw6cm16.js → instance-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-tkb22qbm.js → instance-rert0e01.js} +2 -2
- package/dist/chunks/{filesystem-ft3hqk2c.js → instance-rey5gbxv.js} +9 -9
- package/dist/chunks/{filesystem-c41wscbt.js → instance-rj3eygr5.js} +2 -2
- package/dist/chunks/{filesystem-v7z2bvyd.js → instance-rk7s9xkn.js} +4 -4
- package/dist/chunks/{filesystem-bmr56wjg.js → instance-rkg4v3e5.js} +9 -9
- package/dist/chunks/{filesystem-9s024g5s.js → instance-rscer41a.js} +9 -9
- package/dist/chunks/{filesystem-42721k3a.js → instance-s0eg5ze8.js} +13 -13
- package/dist/chunks/{filesystem-c8ax2afj.js → instance-sa8ekw3f.js} +2 -2
- package/dist/chunks/{filesystem-scgrse2b.js → instance-scgrse2b.js} +2 -2
- package/dist/chunks/{filesystem-wpf4st6a.js → instance-sr5j7zs6.js} +9 -9
- package/dist/chunks/{filesystem-p42kja40.js → instance-sst9p08r.js} +28 -28
- package/dist/chunks/{filesystem-k7xxzs5q.js → instance-svgb3jrm.js} +22 -22
- package/dist/chunks/{filesystem-r3fk5851.js → instance-svwmrgfz.js} +47 -47
- package/dist/chunks/{filesystem-syv4x271.js → instance-syv4x271.js} +1 -1
- package/dist/chunks/{filesystem-rhjbct0v.js → instance-t550f9t1.js} +4 -4
- package/dist/chunks/{filesystem-k97zh3d1.js → instance-t64r4gaf.js} +8 -8
- package/dist/chunks/{filesystem-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-tcezcvh9.js → instance-tcezcvh9.js} +1 -1
- package/dist/chunks/{filesystem-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-w39jehkq.js → instance-tk14y25j.js} +5 -5
- package/dist/chunks/{filesystem-tm0kqsz3.js → instance-tm0kqsz3.js} +1 -1
- package/dist/chunks/{filesystem-bvv8j0qg.js → instance-ts0yefbj.js} +11 -11
- package/dist/chunks/{filesystem-tyytaxap.js → instance-tyytaxap.js} +1 -1
- package/dist/chunks/{filesystem-0sdzw0m1.js → instance-v3chy9qq.js} +33 -33
- package/dist/chunks/{filesystem-g5gnrdpy.js → instance-v73z6nkx.js} +16 -16
- package/dist/chunks/{filesystem-v7p4zvkq.js → instance-v7p4zvkq.js} +2 -2
- package/dist/chunks/{filesystem-t8c0xvf3.js → instance-vbbe25mn.js} +7 -7
- package/dist/chunks/{filesystem-vtbmj6qa.js → instance-ve4f4wdb.js} +7 -7
- package/dist/chunks/{filesystem-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-75kbjv4y.js → instance-vmvrq3v0.js} +9 -9
- package/dist/chunks/{filesystem-bfegkxfd.js → instance-vtqafnzr.js} +11 -11
- package/dist/chunks/{filesystem-jvz4rjy9.js → instance-vvgk372g.js} +25 -25
- package/dist/chunks/{filesystem-f5dbfwc4.js → instance-vwh8akjg.js} +4 -4
- package/dist/chunks/{filesystem-n3yfs7ec.js → instance-vz3edhsq.js} +39 -39
- package/dist/chunks/{filesystem-vzs5sf6e.js → instance-vzs5sf6e.js} +1 -1
- package/dist/chunks/{filesystem-cfkx2x8f.js → instance-w1vdttf2.js} +20 -20
- package/dist/chunks/{filesystem-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-234r1ky0.js → instance-w48fp5bf.js} +11 -11
- package/dist/chunks/{filesystem-tz35mf6x.js → instance-w919w76e.js} +8 -8
- package/dist/chunks/{filesystem-rkprpv83.js → instance-w92k2e0p.js} +8 -8
- package/dist/chunks/{filesystem-0q6ztsng.js → instance-w93dz47x.js} +35 -35
- package/dist/chunks/{filesystem-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-zftfvc0z.js → instance-whajmtxv.js} +5 -5
- package/dist/chunks/{filesystem-wd9v2wqs.js → instance-whdm53sh.js} +25 -25
- package/dist/chunks/{filesystem-mddpn92g.js → instance-wqvmb1h2.js} +30 -30
- package/dist/chunks/{filesystem-20mebfjn.js → instance-x287n01n.js} +21 -21
- package/dist/chunks/{filesystem-adgawzpd.js → instance-x8fc36mw.js} +5 -5
- package/dist/chunks/{filesystem-ej4n91fq.js → instance-xe0aze4b.js} +19 -19
- package/dist/chunks/{filesystem-d0gnxsps.js → instance-xjg9p4ge.js} +24 -24
- package/dist/chunks/instance-xkv0wwhy.js +26 -0
- package/dist/chunks/{filesystem-d8kc7qyj.js → instance-xmvkzca6.js} +9 -9
- package/dist/chunks/{filesystem-6hjx5zpb.js → instance-xrpg47n6.js} +9 -9
- package/dist/chunks/{filesystem-kmpk7fbr.js → instance-xtrd0rcy.js} +20 -20
- package/dist/chunks/{filesystem-7t1q934f.js → instance-xtv1bm8z.js} +11 -11
- package/dist/chunks/{filesystem-cv0wr4wv.js → instance-y0ks4s6t.js} +15 -15
- package/dist/chunks/{filesystem-p3m2ynk3.js → instance-y1fe2wt7.js} +12 -7
- package/dist/chunks/{filesystem-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-q0zsatc3.js → instance-y7e6sser.js} +50 -50
- package/dist/chunks/instance-ybw1dpzx.js +123 -0
- package/dist/chunks/{filesystem-z114v3my.js → instance-yccdg3qs.js} +18 -18
- package/dist/chunks/{filesystem-wm56crqz.js → instance-ysgxa1w9.js} +65 -46
- package/dist/chunks/{filesystem-bjx1sjef.js → instance-ywt8jp22.js} +9 -9
- package/dist/chunks/{filesystem-rjtxxem0.js → instance-yxpkbsn2.js} +46 -46
- package/dist/chunks/{filesystem-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-mwpbc7s8.js → instance-z4zqze96.js} +20 -20
- package/dist/chunks/{filesystem-w3x9v1nk.js → instance-z733aene.js} +8 -8
- package/dist/chunks/{filesystem-y8p3zjbc.js → instance-zfq801h6.js} +6 -6
- package/dist/chunks/{filesystem-shnqbm89.js → instance-zp59tdhe.js} +8 -8
- package/dist/chunks/{filesystem-dqcpnaex.js → instance-zq4fxkvp.js} +16 -16
- package/dist/chunks/{filesystem-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- package/dist/chunks/{filesystem-09ygvw9n.js → instance-zyqwfmwv.js} +16 -16
- 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 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- 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 +120 -120
- 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 +119 -119
- 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 +83 -83
- package/dist/database/database.js +68 -68
- 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 +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 +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 +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +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 +86 -87
- 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 +91 -91
- 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 +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +107 -99
- package/dist/mcp/index.js +111 -111
- 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 +100 -100
- 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 +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- 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 +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 +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 +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 +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 +348 -348
- 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 +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- 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 +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- 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 +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- 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 +124 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +86 -86
- 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 +224 -224
- 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 +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- 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 +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +122 -122
- 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 +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- 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 +14 -14
- package/dist/types/config/discovery.d.ts +1 -0
- package/dist/types/config/plugin/instruction.d.ts +3 -1
- package/dist/types/config/variable.d.ts +0 -1
- package/dist/types/config.d.ts +1 -0
- package/dist/types/github-copilot/chat/openai-compatible-chat-language-model.d.ts +1 -1
- package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +2 -2
- package/dist/types/instruction-discovery.d.ts +2 -3
- package/dist/types/session/model-request.d.ts +2 -0
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -0
- package/dist/types/session/runner/step.d.ts +32 -3
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- 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 +84 -84
- 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 +100 -100
- package/package.json +8 -8
- package/dist/chunks/filesystem-18a9s3e7.js +0 -26
- package/dist/chunks/filesystem-1z5jn46p.js +0 -253
- package/dist/chunks/filesystem-426dk71k.js +0 -118
- package/dist/chunks/filesystem-9s29ec0q.js +0 -76
- package/dist/chunks/filesystem-cv0e3ffa.js +0 -513
- package/dist/chunks/filesystem-qc068m1q.js +0 -18
- /package/dist/chunks/{filesystem-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → instance-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2bv980vf.js → instance-2bv980vf.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3t0ybcrp.js → instance-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-6q2bdcd1.js → instance-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-84wd9syh.js → instance-84wd9syh.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → instance-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hcxmzztb.js → instance-hcxmzztb.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jze0r7bz.js → instance-jze0r7bz.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-m18g726c.js → instance-m18g726c.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-pkyv6v7h.js → instance-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{filesystem-pyv0edze.js → instance-pyv0edze.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → instance-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wjj7prxr.js → instance-wjj7prxr.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → instance-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → instance-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./instance-ysgxa1w9.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service34,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-xtv1bm8z.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instance-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin16
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin16 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const managed = yield*
|
|
33
|
+
const config = yield* Service68;
|
|
34
|
+
const managed = yield* Service34;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
37
37
|
yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -69,4 +69,4 @@ var Plugin35 = define({
|
|
|
69
69
|
})
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Plugin16, exports_policy };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node79
|
|
4
|
+
} from "./instance-cxpwe6s4.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-my4zabxr.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service53,
|
|
20
|
+
make: () => make18,
|
|
21
|
+
node: () => node55
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service53 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make18 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service75;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make17 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service53.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make17 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service53, make18);
|
|
358
|
+
var node55 = makeGlobalNode({ service: Service53, layer, deps: [node79] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service53, make18, node55, exports_job };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./instance-y7e6sser.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input7,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin26,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name7 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input7 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input12 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input7.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin26 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service56;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name7,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description3,
|
|
104
|
+
input: Input7,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin31 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name7,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name7, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input7, Plugin26, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service61,
|
|
3
|
+
node63
|
|
4
|
+
} from "./instance-5ha5er23.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-my4zabxr.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service48,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node50,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service48 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service61;
|
|
59
|
+
return Service48.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node50 = makeLocationNode({ service: Service48, layer, deps: [node63] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service48, resolved2, node50, exports_model };
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-81fjg4yx.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service85,
|
|
12
12
|
node89
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-7vr1nntc.js";
|
|
14
14
|
import {
|
|
15
15
|
Service84,
|
|
16
16
|
node88
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-9f6w07v2.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instance-rj3eygr5.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-sa8ekw3f.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
ID14,
|
|
26
|
+
NotFoundError10
|
|
27
|
+
} from "./instance-yxpkbsn2.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Ref3
|
|
30
|
+
} from "./instance-nxf3zzt8.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service50,
|
|
33
|
+
node52
|
|
34
|
+
} from "./instance-j5j6nemg.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./instance-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service15
|
|
41
|
+
} from "./instance-qve4m158.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./instance-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event3,
|
|
53
|
+
Info: () => Info3,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service14,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node17
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -73,13 +73,13 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
73
73
|
import { ChildProcess } from "effect/process";
|
|
74
74
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
|
-
var
|
|
76
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info3 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID14, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event3 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service14 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service85;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service84;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service50;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError10({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
113
113
|
if (current?.directory === directory)
|
|
114
114
|
return current.get();
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
|
-
const context = yield* locations.contextEffect(
|
|
116
|
+
const context = yield* locations.contextEffect(Ref3.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service15).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event3.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service14.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node17 = Node.makeGlobalNode({
|
|
260
|
+
service: Service14,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node88, node89, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node88, node89, AppProcess.node, node52]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2,
|
|
272
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event3, Service14, node17, exports_worktree2, OperationError2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin40,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin40 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin16 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin40, exports_identity };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9f6w07v2.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-vvgk372g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service74,
|
|
9
|
+
Event15
|
|
10
|
+
} from "./instance-w93dz47x.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,7 +32,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
32
32
|
var ModelsDevPlugin2 = define({
|
|
33
33
|
id: "opencode.models.dev",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const modelsDev = yield*
|
|
35
|
+
const modelsDev = yield* Service74;
|
|
36
36
|
const bus = yield* Service84;
|
|
37
37
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
38
38
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
loaded.data = snapshots(data);
|
|
67
67
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
68
68
|
};
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event15.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
const latest = yield* modelsDev.get();
|
|
71
71
|
if (snapshots(latest) !== loaded.data)
|
|
72
72
|
yield* apply(latest);
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-pyv0edze.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-j09zfasm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service44,
|
|
17
|
+
node47
|
|
18
|
+
} from "./instance-f0ftzx98.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service71,
|
|
21
|
+
node73
|
|
22
|
+
} from "./instance-gbtx73hb.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./instance-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./instance-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service42,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node45
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service42 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service71;
|
|
58
|
+
const image = yield* Service44;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service42.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node45 = makeLocationNode({
|
|
277
|
+
service: Service42,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node73, node47]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service42, node45, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
|