@opencode/core 0.0.0-dev-20652 → 0.0.0-dev-20655
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{model-resolver-xh8kgek2.js → app-04e56h6g.js} +18 -18
- package/dist/chunks/{model-resolver-zd9ev577.js → app-04jg6nm3.js} +32 -32
- package/dist/chunks/{model-resolver-vqhkw9gd.js → app-0c8a6nan.js} +86 -86
- package/dist/chunks/{model-resolver-5h3jqpbr.js → app-0ejp3s31.js} +9 -9
- package/dist/chunks/{model-resolver-q0xm7vwc.js → app-0j77ygfz.js} +6 -6
- package/dist/chunks/{model-resolver-c0y2vens.js → app-0p3t72g7.js} +13 -13
- package/dist/chunks/{model-resolver-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0vbcp93d.js → app-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-resolver-sd38pwsj.js → app-0xymhvjv.js} +18 -18
- package/dist/chunks/{model-resolver-wzp2zdrd.js → app-16bxftmt.js} +18 -18
- package/dist/chunks/{model-resolver-r8xr0va3.js → app-1acjjqhc.js} +4 -4
- package/dist/chunks/{model-resolver-4j4tgtq5.js → app-1b4m0bzf.js} +4 -4
- package/dist/chunks/{model-resolver-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-ftczs0ph.js → app-1fe3twba.js} +44 -44
- package/dist/chunks/{model-resolver-5gxq0s6y.js → app-1gh24mt2.js} +34 -34
- package/dist/chunks/{model-resolver-e4knw194.js → app-1h0m70r1.js} +24 -24
- package/dist/chunks/{model-resolver-vqhepxyf.js → app-1jksvqp2.js} +32 -32
- package/dist/chunks/{model-resolver-2pqtcr1v.js → app-1m23n1zc.js} +11 -11
- package/dist/chunks/{model-resolver-2ck2j4j1.js → app-1mkt64e2.js} +6 -6
- package/dist/chunks/{model-resolver-pnkbpv6t.js → app-1rh4yqvv.js} +9 -9
- package/dist/chunks/{model-resolver-0nvn360z.js → app-20k6bs8s.js} +11 -11
- package/dist/chunks/{model-resolver-znqwxr4y.js → app-20y2srhq.js} +10 -10
- package/dist/chunks/{model-resolver-ed1gzxdy.js → app-242d3xz3.js} +11 -11
- package/dist/chunks/{model-resolver-va0jwre1.js → app-29fgs7mf.js} +32 -32
- package/dist/chunks/{model-resolver-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-bzzc495f.js → app-2awzhxm4.js} +11 -11
- package/dist/chunks/{model-resolver-4ts7tf6z.js → app-2ccvkpx1.js} +2 -2
- package/dist/chunks/{model-resolver-27czsdb9.js → app-2dcxqaf0.js} +45 -45
- package/dist/chunks/{model-resolver-mdaxkk3h.js → app-2h8kq5g8.js} +4 -4
- package/dist/chunks/{model-resolver-a8bn8zg0.js → app-2pnhn36q.js} +21 -21
- package/dist/chunks/{model-resolver-cwa6csj7.js → app-2sejkfem.js} +9 -9
- package/dist/chunks/{model-resolver-re9ebc67.js → app-301dthfh.js} +23 -23
- package/dist/chunks/{model-resolver-hd8vw2pw.js → app-325sge2s.js} +1 -1
- package/dist/chunks/{model-resolver-dhe4rjrj.js → app-3322t3cd.js} +30 -30
- package/dist/chunks/{model-resolver-r95z6apf.js → app-35bmy1pq.js} +20 -20
- package/dist/chunks/{model-resolver-3cegwx68.js → app-3cegwx68.js} +2 -2
- package/dist/chunks/{model-resolver-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-yfg3b8wm.js → app-3p3qdx74.js} +3 -3
- package/dist/chunks/{model-resolver-9v0mj4cg.js → app-3pshrbxs.js} +8 -8
- package/dist/chunks/{model-resolver-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-3zsf4n22.js → app-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-p8byhbkv.js → app-45p1457d.js} +44 -44
- package/dist/chunks/{model-resolver-2f6g987b.js → app-4ayp82yx.js} +180 -180
- package/dist/chunks/{model-resolver-cfmtfeg9.js → app-4b3qsvz5.js} +8 -8
- package/dist/chunks/{model-resolver-zw0v8jtf.js → app-4dhf6qr5.js} +16 -16
- package/dist/chunks/{model-resolver-b75r5j40.js → app-4ghyx0ra.js} +24 -24
- package/dist/chunks/{model-resolver-0bs0xzzs.js → app-4k4xw99j.js} +13 -13
- package/dist/chunks/app-4v7qdvcn.js +18 -0
- package/dist/chunks/{model-resolver-xcgyncvr.js → app-4x7mprc7.js} +9 -9
- package/dist/chunks/{model-resolver-54ma36ye.js → app-54ma36ye.js} +1 -1
- package/dist/chunks/{model-resolver-mfqp6xfm.js → app-56gdpj1q.js} +6 -6
- package/dist/chunks/{model-resolver-q0kza1w9.js → app-57e9z27j.js} +5 -5
- package/dist/chunks/{model-resolver-8hbdmjnq.js → app-5bebnv6a.js} +58 -58
- package/dist/chunks/{model-resolver-71ek9cp3.js → app-5cwdzrbq.js} +7 -7
- package/dist/chunks/{model-resolver-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-5m9w47nd.js → app-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-rpbkhrt2.js → app-5p8wf6j7.js} +26 -26
- package/dist/chunks/{model-resolver-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-qzpwn43k.js → app-5vgy46me.js} +4 -4
- package/dist/chunks/{model-resolver-ya12f4a8.js → app-5w6eg69j.js} +24 -24
- package/dist/chunks/{model-resolver-w06vrs2y.js → app-5xnx6s0g.js} +4 -4
- package/dist/chunks/{model-resolver-epch8s0x.js → app-67p37xz4.js} +3 -3
- package/dist/chunks/{model-resolver-j5n8pp08.js → app-68yqgpv3.js} +43 -43
- package/dist/chunks/{model-resolver-h4ckqw4f.js → app-6h1ernme.js} +11 -11
- package/dist/chunks/{model-resolver-pv9k6nd9.js → app-6myapkvy.js} +21 -21
- package/dist/chunks/{model-resolver-rwp39ykb.js → app-6qtegkg3.js} +11 -11
- package/dist/chunks/{model-resolver-x37b3njd.js → app-6s2ddzje.js} +51 -51
- package/dist/chunks/{model-resolver-6xb47vfp.js → app-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-resolver-q83407cy.js → app-6xrnn9ah.js} +18 -18
- package/dist/chunks/{model-resolver-bdd5jqwb.js → app-76tyfscq.js} +11 -11
- package/dist/chunks/{model-resolver-qthsvwc3.js → app-791sstd7.js} +22 -22
- package/dist/chunks/{model-resolver-9vk12vsk.js → app-7b0bmdfp.js} +11 -11
- package/dist/chunks/{model-resolver-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-9kw8973d.js → app-7cjh5p1y.js} +8 -8
- package/dist/chunks/{model-resolver-gf4q96mg.js → app-7cxp1twe.js} +29 -29
- package/dist/chunks/{model-resolver-2k8khapm.js → app-7dqw4kz8.js} +5 -5
- package/dist/chunks/{model-resolver-bt4mtqh9.js → app-7gganw90.js} +5 -5
- package/dist/chunks/{model-resolver-tzm99wp3.js → app-7jqg3t26.js} +8 -8
- package/dist/chunks/{model-resolver-gm70hkap.js → app-7v13wked.js} +11 -11
- package/dist/chunks/{model-resolver-kfh1rvrr.js → app-7w42a7vr.js} +15 -15
- package/dist/chunks/{model-resolver-8xq2p407.js → app-7z20pvgb.js} +19 -19
- package/dist/chunks/{model-resolver-84h8c373.js → app-84h8c373.js} +2 -2
- package/dist/chunks/{model-resolver-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-cjhnsaft.js → app-8phv1wh2.js} +11 -11
- package/dist/chunks/{model-resolver-ts23464c.js → app-8sze2n9a.js} +8 -8
- package/dist/chunks/{model-resolver-k9ga8ymg.js → app-9014prnx.js} +13 -13
- package/dist/chunks/{model-resolver-pwjc3egg.js → app-9706e9af.js} +16 -16
- package/dist/chunks/{model-resolver-286yb4sa.js → app-9g2bkc9w.js} +4 -4
- package/dist/chunks/{model-resolver-0f84emyz.js → app-9h0hm6c7.js} +21 -21
- package/dist/chunks/app-9kdznkft.js +253 -0
- package/dist/chunks/{model-resolver-apdvzw7w.js → app-9w4vxw73.js} +24 -24
- package/dist/chunks/{model-resolver-v8b1trmq.js → app-9whkbvte.js} +3 -3
- package/dist/chunks/{model-resolver-k2nq0b80.js → app-9z3aytcr.js} +25 -25
- package/dist/chunks/{model-resolver-thcxkcch.js → app-a89j2j3v.js} +9 -9
- package/dist/chunks/{model-resolver-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-gqtdsdt7.js → app-addxnjmp.js} +4 -4
- package/dist/chunks/{model-resolver-ajft39nq.js → app-af8m3dqx.js} +4 -4
- package/dist/chunks/{model-resolver-4nsnwgcs.js → app-ahket4sj.js} +1 -1
- package/dist/chunks/{model-resolver-vsmhcm1n.js → app-amtff23s.js} +18 -18
- package/dist/chunks/{model-resolver-kk3g4k48.js → app-an481r60.js} +24 -24
- package/dist/chunks/{model-resolver-19v7rzjh.js → app-apkykmcv.js} +39 -39
- package/dist/chunks/{model-resolver-p5a37mby.js → app-ar6cqpvd.js} +11 -11
- package/dist/chunks/{model-resolver-bmtj8zad.js → app-aya0m2nn.js} +12 -12
- package/dist/chunks/{model-resolver-6z0zjaxs.js → app-b0cc5wa1.js} +20 -20
- package/dist/chunks/{model-resolver-qa3qhgw8.js → app-b27vhd2z.js} +4 -4
- package/dist/chunks/{model-resolver-cjw460n3.js → app-b63vc8wa.js} +20 -20
- package/dist/chunks/{model-resolver-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-5hx7d1d6.js → app-b7v4cx43.js} +5 -5
- package/dist/chunks/{model-resolver-12gfzbq6.js → app-b8rcbyp3.js} +10 -10
- package/dist/chunks/{model-resolver-k3gjjqdh.js → app-bae9fd7v.js} +22 -22
- package/dist/chunks/{model-resolver-4xy3xte6.js → app-bgb55b52.js} +36 -36
- package/dist/chunks/{model-resolver-dze2gebv.js → app-bj79fbq7.js} +26 -26
- package/dist/chunks/{model-resolver-tc8cg2nw.js → app-bkcfv8em.js} +15 -15
- package/dist/chunks/{model-resolver-fjrw4d14.js → app-bzg3gwdp.js} +42 -42
- package/dist/chunks/{model-resolver-g4pw1jpx.js → app-c74t9qz0.js} +20 -20
- package/dist/chunks/{model-resolver-2v5zve2j.js → app-cx5qjy2q.js} +18 -18
- package/dist/chunks/{model-resolver-85eh7cfy.js → app-d08g2ggt.js} +32 -32
- package/dist/chunks/{model-resolver-cq29va0k.js → app-d5513v78.js} +19 -19
- package/dist/chunks/{model-resolver-1xwtfmct.js → app-d7gsy00f.js} +4 -4
- package/dist/chunks/{model-resolver-73azztx1.js → app-d9yqcqn2.js} +7 -7
- package/dist/chunks/{model-resolver-b3rdhmww.js → app-dbkg7j5s.js} +12 -12
- package/dist/chunks/{model-resolver-j4w879wy.js → app-dhgz4p5g.js} +16 -16
- package/dist/chunks/app-dk3gfcvg.js +507 -0
- package/dist/chunks/{model-resolver-dpkg50ah.js → app-dpkg50ah.js} +1 -1
- package/dist/chunks/{model-resolver-5d93dg4h.js → app-dr9djctk.js} +20 -20
- package/dist/chunks/{model-resolver-5qd3pb7m.js → app-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-resolver-vmv69sjz.js → app-ebpd15x1.js} +5 -5
- package/dist/chunks/{model-resolver-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-pw90wh71.js → app-eff940as.js} +29 -29
- package/dist/chunks/{model-resolver-5mwnvj5n.js → app-ep2tbpq0.js} +3 -3
- package/dist/chunks/{model-resolver-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-5jjt27vb.js → app-f2ymgd1y.js} +14 -14
- package/dist/chunks/{model-resolver-g47h9c6m.js → app-f597wsw6.js} +9 -9
- package/dist/chunks/{model-resolver-f75zav2x.js → app-f75zav2x.js} +2 -2
- package/dist/chunks/{model-resolver-bd8np6qp.js → app-fbfqd6t5.js} +19 -19
- package/dist/chunks/{model-resolver-1a7kemja.js → app-fe1pry9k.js} +3 -3
- package/dist/chunks/{model-resolver-3x6h1yzc.js → app-fh6mwhcg.js} +16 -16
- package/dist/chunks/{model-resolver-0ykz178d.js → app-fyyxce3k.js} +10 -10
- package/dist/chunks/{model-resolver-e67gvcg8.js → app-g945yz75.js} +32 -32
- package/dist/chunks/{model-resolver-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-0es0zd3j.js → app-gfypdtgg.js} +12 -12
- package/dist/chunks/{model-resolver-pp4mne8d.js → app-gmyrpb2t.js} +25 -25
- package/dist/chunks/{model-resolver-k3f304m0.js → app-gvra8byy.js} +6 -6
- package/dist/chunks/{model-resolver-8fm7ftfn.js → app-gz06afsr.js} +15 -15
- package/dist/chunks/app-h44meb81.js +26 -0
- package/dist/chunks/{model-resolver-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-4xpgt2w9.js → app-h83xjv7f.js} +5 -5
- package/dist/chunks/{model-resolver-wecqtg5s.js → app-hdkng2sj.js} +5 -5
- package/dist/chunks/{model-resolver-08awhxg9.js → app-hhjq2279.js} +10 -10
- package/dist/chunks/{model-resolver-gtfqxnbk.js → app-hwwy1ym4.js} +11 -11
- package/dist/chunks/{model-resolver-hq45thad.js → app-hxnmxwjb.js} +16 -16
- package/dist/chunks/{model-resolver-qzp699j3.js → app-j4tsbt5k.js} +17 -17
- package/dist/chunks/{model-resolver-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-g08qb7dt.js → app-j9vjkm8n.js} +13 -13
- package/dist/chunks/{model-resolver-8kb0e28r.js → app-jat658e1.js} +11 -11
- package/dist/chunks/{model-resolver-hm2phjj0.js → app-jc3azejp.js} +27 -27
- package/dist/chunks/{model-resolver-n4kwfwhc.js → app-jcx1xx7s.js} +9 -9
- package/dist/chunks/{model-resolver-ctz7jbry.js → app-jhpaar4x.js} +8 -8
- package/dist/chunks/{model-resolver-0hc4mbjr.js → app-jkv8g5mz.js} +7 -7
- package/dist/chunks/{model-resolver-974xbn4p.js → app-jnvev7pc.js} +30 -30
- package/dist/chunks/{model-resolver-32h9x93b.js → app-jtgyfgpv.js} +48 -48
- package/dist/chunks/{model-resolver-rxcdjwh1.js → app-k3kxt7h3.js} +6 -6
- package/dist/chunks/{model-resolver-mq0f2m57.js → app-k5s0pr56.js} +26 -26
- package/dist/chunks/{model-resolver-g31erja1.js → app-k70p9jzb.js} +9 -9
- package/dist/chunks/{model-resolver-re314ab2.js → app-k7y9nwy7.js} +90 -90
- package/dist/chunks/{model-resolver-kb9j3d72.js → app-kb9j3d72.js} +3 -3
- package/dist/chunks/{model-resolver-8yktm66k.js → app-kdhmv3km.js} +15 -15
- package/dist/chunks/{model-resolver-cp937pt4.js → app-knevfgda.js} +4 -4
- package/dist/chunks/{model-resolver-0vs3bra0.js → app-kt8356a3.js} +36 -36
- package/dist/chunks/{model-resolver-2h5pq9sb.js → app-m1mccnkp.js} +24 -24
- package/dist/chunks/{model-resolver-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-r0spx5zb.js → app-m8n8f8f1.js} +22 -22
- package/dist/chunks/{model-resolver-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-v1z61gdb.js → app-mgh0wzph.js} +17 -17
- package/dist/chunks/{model-resolver-73tb2d7t.js → app-mvfsc1pv.js} +3 -3
- package/dist/chunks/{model-resolver-yz0fee1s.js → app-mwkrjy8y.js} +9 -9
- package/dist/chunks/{model-resolver-kc6s93qx.js → app-mypwhdkk.js} +6 -6
- package/dist/chunks/{model-resolver-q3h10w5c.js → app-mzkxtmwj.js} +60 -60
- package/dist/chunks/{model-resolver-vgz6x7va.js → app-nd6gy5bw.js} +15 -15
- package/dist/chunks/{model-resolver-y77d0n28.js → app-nd6t1tpn.js} +16 -16
- package/dist/chunks/{model-resolver-e3bfy97n.js → app-ne07e3sg.js} +25 -25
- package/dist/chunks/{model-resolver-fpcgeefe.js → app-ngv8w6cp.js} +19 -19
- package/dist/chunks/{model-resolver-h4z4phbe.js → app-nwhb2xra.js} +4 -4
- package/dist/chunks/{model-resolver-08q73ng5.js → app-nxdkhax1.js} +10 -10
- package/dist/chunks/{model-resolver-3ppptnan.js → app-p7a39gy5.js} +6 -6
- package/dist/chunks/{model-resolver-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-v2d8dwc4.js → app-pwzyebmy.js} +9 -9
- package/dist/chunks/{model-resolver-nsk1prb9.js → app-py8bz5dh.js} +15 -15
- package/dist/chunks/{model-resolver-y18nf7t0.js → app-pybq8189.js} +3 -3
- package/dist/chunks/{model-resolver-9zgzq4hp.js → app-q41gjxsv.js} +21 -21
- package/dist/chunks/{model-resolver-dq0bda3m.js → app-q5bs9ych.js} +11 -11
- package/dist/chunks/{model-resolver-45deadp2.js → app-q66krdtm.js} +7 -7
- package/dist/chunks/{model-resolver-gqxmd7mw.js → app-qby9dwvd.js} +8 -8
- package/dist/chunks/{model-resolver-qnc92qwc.js → app-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-resolver-wfyxnnpw.js → app-qpg4an21.js} +13 -13
- package/dist/chunks/{model-resolver-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-mtpeagzc.js → app-qsee9sfb.js} +3 -3
- package/dist/chunks/{model-resolver-xyafkbt0.js → app-qxjc9qry.js} +3 -3
- package/dist/chunks/{model-resolver-gdn89mga.js → app-r7jxkywv.js} +18 -18
- package/dist/chunks/{model-resolver-8egvdccy.js → app-rdh9syxk.js} +11 -11
- package/dist/chunks/{model-resolver-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-snnqzhcb.js → app-reymgymz.js} +35 -35
- package/dist/chunks/{model-resolver-kc9e1ych.js → app-rftk81m0.js} +33 -33
- package/dist/chunks/{model-resolver-z70hwzgh.js → app-rjq8wmvv.js} +15 -15
- package/dist/chunks/{model-resolver-46tb29mf.js → app-rq424w6d.js} +8 -8
- package/dist/chunks/{model-resolver-qk7srzz2.js → app-rrfvxgdj.js} +30 -30
- package/dist/chunks/{model-resolver-z1vm9hqc.js → app-rrpq0de9.js} +12 -12
- package/dist/chunks/{model-resolver-ecw0m79c.js → app-rszvgpa6.js} +13 -13
- package/dist/chunks/{model-resolver-yjtfa6v9.js → app-rx9ava5n.js} +4 -4
- package/dist/chunks/{model-resolver-r3yntwzq.js → app-s0y0yn56.js} +8 -8
- package/dist/chunks/{model-resolver-nkpgj8pk.js → app-s6fz7zhe.js} +5 -5
- package/dist/chunks/{model-resolver-eaj1djv9.js → app-s8d7rejh.js} +6 -6
- package/dist/chunks/{model-resolver-x2g45djb.js → app-s9bkmqx5.js} +9 -9
- package/dist/chunks/{model-resolver-xn8rxa2c.js → app-s9rfegk5.js} +17 -17
- package/dist/chunks/{model-resolver-6ha37qbe.js → app-sdzb5d81.js} +45 -45
- package/dist/chunks/{model-resolver-a6xnfde8.js → app-sgy8ytrb.js} +4 -4
- package/dist/chunks/{model-resolver-b0nz5rd6.js → app-srj2pvnr.js} +15 -15
- package/dist/chunks/{model-resolver-wvw422xq.js → app-sssj1js0.js} +33 -33
- package/dist/chunks/{model-resolver-2ypb7czt.js → app-t157y7h9.js} +17 -17
- package/dist/chunks/{model-resolver-shwq57g0.js → app-t6jtyfth.js} +9 -9
- package/dist/chunks/{model-resolver-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-n2srvep7.js → app-tbmac1c7.js} +4 -4
- package/dist/chunks/{model-resolver-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tv2g93x2.js → app-td2q8pwv.js} +32 -32
- package/dist/chunks/{model-resolver-w8wbc6jz.js → app-tdkczycq.js} +5 -5
- package/dist/chunks/{model-resolver-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-eyz1e7b4.js → app-tjd55h1j.js} +3 -3
- package/dist/chunks/{model-resolver-tpw6cwsb.js → app-tpw6cwsb.js} +1 -1
- package/dist/chunks/{model-resolver-ec8aqdm6.js → app-trfe10aq.js} +53 -53
- package/dist/chunks/{model-resolver-dx1b2kp7.js → app-tv9y8cre.js} +31 -31
- package/dist/chunks/{model-resolver-gst7axd9.js → app-tz4n1mmd.js} +4 -4
- package/dist/chunks/{model-resolver-7d822byb.js → app-v0es1rhs.js} +9 -9
- package/dist/chunks/{model-resolver-127b9nq3.js → app-v3691hzd.js} +2 -2
- package/dist/chunks/{model-resolver-5109a086.js → app-v8djm3tk.js} +34 -34
- package/dist/chunks/{model-resolver-41dwvnwc.js → app-va1aqcgj.js} +11 -11
- package/dist/chunks/{model-resolver-c0ykhrt2.js → app-vcx4y3fv.js} +16 -16
- package/dist/chunks/{model-resolver-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-07nx60wz.js → app-vpw5h8ff.js} +5 -5
- package/dist/chunks/{model-resolver-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-84txncab.js → app-w1eejvng.js} +5 -5
- package/dist/chunks/{model-resolver-gph55xgf.js → app-w22hqb2b.js} +15 -15
- package/dist/chunks/{model-resolver-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-1jj9vxsv.js → app-w56bmt8q.js} +3 -3
- package/dist/chunks/{model-resolver-z6c3x22d.js → app-wbgabvvj.js} +5 -5
- package/dist/chunks/{model-resolver-hjm94w0b.js → app-wbrpy97e.js} +8 -8
- package/dist/chunks/{model-resolver-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-9b1bh67j.js → app-wkt2r7t8.js} +5 -5
- package/dist/chunks/{model-resolver-1ssqd35y.js → app-wp4df68x.js} +12 -12
- package/dist/chunks/{model-resolver-ypzf3tk8.js → app-wrdre0d4.js} +37 -37
- package/dist/chunks/{model-resolver-7zkyz21p.js → app-ws2cps2z.js} +6 -6
- package/dist/chunks/{model-resolver-n6kkq2ng.js → app-wxzwjz1v.js} +30 -30
- package/dist/chunks/{model-resolver-h3g7c02j.js → app-wygm2re9.js} +17 -17
- package/dist/chunks/{model-resolver-6mns344v.js → app-x1e01gbv.js} +16 -16
- package/dist/chunks/{model-resolver-558ajqy5.js → app-x9e148je.js} +17 -17
- package/dist/chunks/{model-resolver-bzzvw9kc.js → app-xa67z4h8.js} +1 -1
- package/dist/chunks/{model-resolver-mj4tg0y9.js → app-xccs5pvc.js} +9 -9
- package/dist/chunks/{model-resolver-n37c4crj.js → app-xf8yqmad.js} +9 -9
- package/dist/chunks/{model-resolver-w19d8598.js → app-xfkkasph.js} +5 -5
- package/dist/chunks/{model-resolver-0422tdqy.js → app-xj54bchx.js} +5 -5
- package/dist/chunks/{model-resolver-xkntkrq7.js → app-xkntkrq7.js} +2 -2
- package/dist/chunks/{model-resolver-wc21baf5.js → app-xp199s9v.js} +26 -26
- package/dist/chunks/{model-resolver-de52ckkz.js → app-xs53z2pm.js} +4 -4
- package/dist/chunks/{model-resolver-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-0542bm0d.js → app-y77syfze.js} +32 -32
- package/dist/chunks/{model-resolver-j8vk2cdy.js → app-yj324k3c.js} +5 -5
- package/dist/chunks/{model-resolver-150yg2gd.js → app-yt3hy1g9.js} +5 -5
- package/dist/chunks/{model-resolver-9s0ehjpm.js → app-yw1qgh4m.js} +26 -26
- package/dist/chunks/{model-resolver-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-3yzzydz0.js → app-z0k8ktqm.js} +4 -4
- package/dist/chunks/{model-resolver-nbe77j13.js → app-z52sz3cr.js} +25 -25
- package/dist/chunks/{model-resolver-2w7e4h0h.js → app-z9w0t9mp.js} +11 -11
- package/dist/chunks/{model-resolver-da6ee7ra.js → app-zqapp3sx.js} +9 -9
- package/dist/chunks/{model-resolver-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-resolver-zm3dqqf4.js → app-zy98sty6.js} +2 -2
- 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 +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +91 -91
- 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 +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- 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 +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- 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 +341 -341
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- 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 +9 -9
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +116 -116
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- 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 +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/model-resolver-6rhw05qy.js +0 -26
- package/dist/chunks/model-resolver-c5kr06rn.js +0 -507
- package/dist/chunks/model-resolver-q509s3k3.js +0 -18
- package/dist/chunks/model-resolver-zfywewcm.js +0 -253
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-34c7v6d4.js → app-34c7v6d4.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3t0ybcrp.js → app-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./app-fh6mwhcg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./app-5w6eg69j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service17,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-j9vjkm8n.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service18
|
|
14
|
+
} from "./app-w22hqb2b.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service62
|
|
17
|
+
} from "./app-mzkxtmwj.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service14,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-16bxftmt.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./app-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input3,
|
|
34
|
+
Output: () => Output3,
|
|
35
|
+
Plugin: () => Plugin3,
|
|
36
|
+
name: () => name3
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name3 = "edit";
|
|
43
|
+
var Input3 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input10 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output3 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin3 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service14;
|
|
110
|
+
const fileMutation = yield* Service17;
|
|
111
|
+
const environment = yield* Service57;
|
|
112
|
+
const formatter = yield* Service18;
|
|
113
|
+
const location = yield* Service80;
|
|
114
|
+
const permission = yield* Service62;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name3,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input3,
|
|
120
|
+
output: Output3,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin47 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name3, Input3, Output3, Plugin3, exports_edit };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-y77syfze.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID11,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-29fgs7mf.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID11.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info21.make({
|
|
98
|
+
...Info21.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID11.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-5vgy46me.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service71,
|
|
7
|
+
node75
|
|
8
|
+
} from "./app-nxdkhax1.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service45,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node47
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event6 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID4,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service45 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service83;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service71;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service45.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node47 = makeLocationNode({
|
|
188
|
+
service: Service45,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node87,
|
|
190
|
+
deps: [node87, node75]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service45, node47, exports_websearch3, Event6 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-y77syfze.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-29fgs7mf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve3
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve3(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -530,4 +530,4 @@ var PROTOCOLS = {
|
|
|
530
530
|
[aisdk2("gitlab-ai-provider")]: gitlab
|
|
531
531
|
};
|
|
532
532
|
|
|
533
|
-
export {
|
|
533
|
+
export { resolve3, exports_variant };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./app-fh6mwhcg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service68
|
|
9
|
+
} from "./app-68yqgpv3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./app-q41gjxsv.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin16
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin16 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service68;
|
|
34
|
+
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service47;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin9 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin16, exports_worktree };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin39
|
|
3
|
+
} from "./app-57e9z27j.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin36
|
|
6
|
+
} from "./app-pwzyebmy.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin38
|
|
9
|
+
} from "./app-f597wsw6.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin35
|
|
12
|
+
} from "./app-wbrpy97e.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin37
|
|
15
|
+
} from "./app-s9bkmqx5.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin39,
|
|
20
|
+
Plugin36,
|
|
21
|
+
Plugin38,
|
|
22
|
+
Plugin35,
|
|
23
|
+
Plugin37
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info19,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info19 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info19, exports_mcp5 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/retry.ts
|
|
9
9
|
var exports_retry = {};
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
SessionRunnerRetry: () => exports_retry,
|
|
12
12
|
isRetryable: () => isRetryable2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make6,
|
|
14
14
|
policy: () => policy2
|
|
15
15
|
});
|
|
16
16
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -60,7 +60,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
60
60
|
return { retry: true, attempt, delay: normalized };
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
|
-
var
|
|
63
|
+
var make6 = (bus, sessionID) => Effect.gen(function* () {
|
|
64
64
|
const decide = yield* policy2(sessionID);
|
|
65
65
|
const wait = (input) => Effect.gen(function* () {
|
|
66
66
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -77,4 +77,4 @@ var make4 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
77
77
|
return { decide, wait };
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { isRetryable2, policy2,
|
|
80
|
+
export { isRetryable2, policy2, make6, exports_retry };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service33
|
|
6
|
+
} from "./app-6s2ddzje.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./app-mzkxtmwj.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin5
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin5 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service33;
|
|
26
|
+
const permission = yield* Service62;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin40 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin5, exports_mcp_resource };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./app-yw1qgh4m.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./app-mzkxtmwj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service76;
|
|
57
|
+
const permission = yield* Service62;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export { name13, description6,
|
|
120
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|