@opencode/core 0.0.0-dev-20652 → 0.0.0-dev-20654
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 +71 -71
- 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-cfmtfeg9.js → app-01b47qtp.js} +10 -10
- package/dist/chunks/{model-resolver-gdn89mga.js → app-09erbt4s.js} +15 -15
- package/dist/chunks/{model-resolver-5109a086.js → app-0mekpjct.js} +32 -32
- package/dist/chunks/{model-resolver-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-cjhnsaft.js → app-0rw9nv2q.js} +8 -8
- package/dist/chunks/{model-resolver-wvw422xq.js → app-0s3chswr.js} +33 -33
- package/dist/chunks/{model-resolver-0vbcp93d.js → app-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-resolver-4xy3xte6.js → app-0xfrdwvr.js} +34 -34
- package/dist/chunks/{model-resolver-da6ee7ra.js → app-0xw58msr.js} +9 -9
- package/dist/chunks/{model-resolver-znqwxr4y.js → app-0zyqvhq9.js} +10 -10
- package/dist/chunks/{model-resolver-x37b3njd.js → app-10bgj2qs.js} +44 -44
- package/dist/chunks/{model-resolver-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-0542bm0d.js → app-1kr92pjq.js} +32 -32
- package/dist/chunks/{model-resolver-4xpgt2w9.js → app-1pxz8ven.js} +5 -5
- package/dist/chunks/{model-resolver-apdvzw7w.js → app-1yb457c1.js} +26 -26
- package/dist/chunks/{model-resolver-08awhxg9.js → app-21fbcwms.js} +8 -8
- package/dist/chunks/{model-resolver-9vk12vsk.js → app-26sz20hb.js} +11 -11
- package/dist/chunks/{model-resolver-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-kc9e1ych.js → app-2e853yyk.js} +34 -34
- package/dist/chunks/{model-resolver-w8wbc6jz.js → app-2r6s1han.js} +5 -5
- package/dist/chunks/{model-resolver-v1z61gdb.js → app-2za1r32n.js} +17 -17
- package/dist/chunks/{model-resolver-mfqp6xfm.js → app-33w4ejhs.js} +9 -9
- package/dist/chunks/{model-resolver-k3gjjqdh.js → app-354wsgxx.js} +33 -33
- package/dist/chunks/{model-resolver-g08qb7dt.js → app-37eb9j4g.js} +13 -13
- package/dist/chunks/{model-resolver-vsmhcm1n.js → app-38225d31.js} +15 -15
- package/dist/chunks/{model-resolver-2ypb7czt.js → app-39rxwxkd.js} +17 -17
- 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-p8byhbkv.js → app-3fxa2vs0.js} +40 -40
- package/dist/chunks/{model-resolver-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-27czsdb9.js → app-3jrsp1yh.js} +39 -39
- package/dist/chunks/{model-resolver-150yg2gd.js → app-3qaj82j9.js} +5 -5
- 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-h4ckqw4f.js → app-3zbwexce.js} +8 -8
- package/dist/chunks/{model-resolver-3zsf4n22.js → app-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-8yktm66k.js → app-4dnhnsrw.js} +13 -13
- package/dist/chunks/{model-resolver-4nsnwgcs.js → app-4fvakk57.js} +1 -1
- package/dist/chunks/{model-resolver-1ssqd35y.js → app-4qt3dk25.js} +12 -12
- package/dist/chunks/{model-resolver-xh8kgek2.js → app-4tp5hkr9.js} +21 -21
- package/dist/chunks/{model-resolver-4ts7tf6z.js → app-4ts7tf6z.js} +2 -2
- package/dist/chunks/{model-resolver-ypzf3tk8.js → app-4xfpc9x8.js} +29 -29
- package/dist/chunks/{model-resolver-54ma36ye.js → app-54ma36ye.js} +1 -1
- package/dist/chunks/{model-resolver-9zgzq4hp.js → app-553hyqc1.js} +21 -21
- package/dist/chunks/{model-resolver-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-ed1gzxdy.js → app-5fnmkqwj.js} +11 -11
- package/dist/chunks/{model-resolver-0vs3bra0.js → app-5jrta31j.js} +32 -32
- package/dist/chunks/{model-resolver-hq45thad.js → app-5ktf0rcf.js} +18 -18
- package/dist/chunks/{model-resolver-5m9w47nd.js → app-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-zm3dqqf4.js → app-5ms2rpmc.js} +2 -2
- package/dist/chunks/{model-resolver-dhe4rjrj.js → app-5ntmp6zc.js} +30 -30
- package/dist/chunks/{model-resolver-2pqtcr1v.js → app-5nvyfvs2.js} +11 -11
- package/dist/chunks/{model-resolver-vqhkw9gd.js → app-5p8ngbgk.js} +75 -75
- package/dist/chunks/{model-resolver-127b9nq3.js → app-5pyjqqve.js} +2 -2
- package/dist/chunks/{model-resolver-pv9k6nd9.js → app-5qjwke21.js} +21 -21
- package/dist/chunks/{model-resolver-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-9v0mj4cg.js → app-6cz210g8.js} +8 -8
- package/dist/chunks/{model-resolver-a6xnfde8.js → app-6e5ndhjv.js} +4 -4
- package/dist/chunks/{model-resolver-vgz6x7va.js → app-6fnv26db.js} +15 -15
- package/dist/chunks/{model-resolver-1xwtfmct.js → app-6q6gqmwq.js} +4 -4
- package/dist/chunks/{model-resolver-mdaxkk3h.js → app-6r04yh88.js} +4 -4
- package/dist/chunks/{model-resolver-5d93dg4h.js → app-6t3bxbt1.js} +21 -21
- package/dist/chunks/{model-resolver-6xb47vfp.js → app-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-resolver-0hc4mbjr.js → app-6ydeeanc.js} +5 -5
- package/dist/chunks/{model-resolver-6mns344v.js → app-77237k3k.js} +18 -18
- package/dist/chunks/{model-resolver-0ykz178d.js → app-77svsnty.js} +8 -8
- package/dist/chunks/{model-resolver-2w7e4h0h.js → app-77y1s1rs.js} +11 -11
- package/dist/chunks/{model-resolver-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-2k8khapm.js → app-7dqw4kz8.js} +5 -5
- package/dist/chunks/{model-resolver-zd9ev577.js → app-7ht5hy0j.js} +29 -29
- package/dist/chunks/{model-resolver-nkpgj8pk.js → app-7mnw5w78.js} +5 -5
- package/dist/chunks/{model-resolver-nbe77j13.js → app-7zet489v.js} +27 -27
- package/dist/chunks/{model-resolver-n2srvep7.js → app-80scg3y3.js} +4 -4
- package/dist/chunks/{model-resolver-84h8c373.js → app-84h8c373.js} +2 -2
- package/dist/chunks/{model-resolver-84txncab.js → app-84txncab.js} +1 -1
- package/dist/chunks/{model-resolver-73azztx1.js → app-85gpctef.js} +7 -7
- package/dist/chunks/{model-resolver-hm2phjj0.js → app-89znh5jn.js} +18 -18
- package/dist/chunks/{model-resolver-g31erja1.js → app-8a6ws7jr.js} +9 -9
- package/dist/chunks/{model-resolver-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-ts23464c.js → app-8sze2n9a.js} +8 -8
- package/dist/chunks/{model-resolver-q0kza1w9.js → app-8tt02aa5.js} +8 -8
- package/dist/chunks/{model-resolver-6z0zjaxs.js → app-92pqdpde.js} +20 -20
- package/dist/chunks/app-95tmncnd.js +253 -0
- package/dist/chunks/{model-resolver-eyz1e7b4.js → app-977n1gvn.js} +3 -3
- package/dist/chunks/{model-resolver-y77d0n28.js → app-9a3kc0hm.js} +14 -14
- package/dist/chunks/{model-resolver-xn8rxa2c.js → app-9h8mrsf7.js} +17 -17
- package/dist/chunks/{model-resolver-z6c3x22d.js → app-9hwaqfsw.js} +5 -5
- package/dist/chunks/{model-resolver-2v5zve2j.js → app-9pkbw0h1.js} +20 -20
- package/dist/chunks/{model-resolver-eaj1djv9.js → app-9t7a50xb.js} +8 -8
- package/dist/chunks/{model-resolver-b75r5j40.js → app-a19614zv.js} +24 -24
- package/dist/chunks/{model-resolver-73tb2d7t.js → app-a1gpj94z.js} +3 -3
- package/dist/chunks/{model-resolver-hd8vw2pw.js → app-a4ae1mqs.js} +1 -1
- package/dist/chunks/{model-resolver-45deadp2.js → app-a6rrmb2t.js} +7 -7
- package/dist/chunks/{model-resolver-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-gqxmd7mw.js → app-at1kfnmk.js} +8 -8
- package/dist/chunks/{model-resolver-19v7rzjh.js → app-awezfaj7.js} +24 -24
- package/dist/chunks/{model-resolver-g47h9c6m.js → app-awqkms3h.js} +6 -6
- package/dist/chunks/{model-resolver-mj4tg0y9.js → app-b1hb30m9.js} +9 -9
- package/dist/chunks/{model-resolver-zw0v8jtf.js → app-b2ckxg46.js} +16 -16
- package/dist/chunks/{model-resolver-ecw0m79c.js → app-b5c9dynj.js} +13 -13
- package/dist/chunks/{model-resolver-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-r0spx5zb.js → app-b7zw3vx0.js} +24 -24
- package/dist/chunks/{model-resolver-ya12f4a8.js → app-bbqm5gby.js} +24 -24
- package/dist/chunks/{model-resolver-vmv69sjz.js → app-bf8fwsb9.js} +5 -5
- package/dist/chunks/{model-resolver-5h3jqpbr.js → app-bha5yh8f.js} +15 -15
- package/dist/chunks/{model-resolver-h4z4phbe.js → app-bkh2zg02.js} +4 -4
- package/dist/chunks/{model-resolver-j4w879wy.js → app-bpdcdgy4.js} +22 -22
- package/dist/chunks/{model-resolver-xcgyncvr.js → app-bsprd9wx.js} +6 -6
- package/dist/chunks/{model-resolver-tc8cg2nw.js → app-bx2wmar1.js} +15 -15
- package/dist/chunks/{model-resolver-2h5pq9sb.js → app-bz46fwta.js} +3 -3
- package/dist/chunks/{model-resolver-5mwnvj5n.js → app-c4e8pskq.js} +3 -3
- package/dist/chunks/{model-resolver-rpbkhrt2.js → app-c4ejyagw.js} +22 -22
- package/dist/chunks/{model-resolver-a8bn8zg0.js → app-cavr175a.js} +4 -4
- package/dist/chunks/{model-resolver-z70hwzgh.js → app-ccv5fkkn.js} +20 -20
- package/dist/chunks/{model-resolver-gm70hkap.js → app-cgmwwjnd.js} +11 -11
- package/dist/chunks/{model-resolver-ctz7jbry.js → app-ctz7jbry.js} +1 -1
- package/dist/chunks/{model-resolver-4j4tgtq5.js → app-d2czbp48.js} +4 -4
- package/dist/chunks/{model-resolver-g4pw1jpx.js → app-d4q7zemf.js} +24 -24
- package/dist/chunks/{model-resolver-8xq2p407.js → app-derpzkc9.js} +19 -19
- package/dist/chunks/{model-resolver-gst7axd9.js → app-dhmh7aw6.js} +4 -4
- package/dist/chunks/{model-resolver-xkntkrq7.js → app-dmqcgk4z.js} +5 -5
- package/dist/chunks/{model-resolver-dpkg50ah.js → app-dpkg50ah.js} +1 -1
- package/dist/chunks/{model-resolver-pnkbpv6t.js → app-dzw83ac5.js} +9 -9
- package/dist/chunks/{model-resolver-5gxq0s6y.js → app-e1as76v8.js} +35 -35
- package/dist/chunks/{model-resolver-1jj9vxsv.js → app-e1bn0v82.js} +3 -3
- package/dist/chunks/{model-resolver-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-3yzzydz0.js → app-eg4w172k.js} +4 -4
- package/dist/chunks/{model-resolver-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-9b1bh67j.js → app-ev618wrn.js} +5 -5
- package/dist/chunks/{model-resolver-wc21baf5.js → app-ex71f260.js} +24 -24
- package/dist/chunks/{model-resolver-b0nz5rd6.js → app-f26q4c2q.js} +17 -17
- package/dist/chunks/{model-resolver-rwp39ykb.js → app-f59ep6tb.js} +11 -11
- package/dist/chunks/{model-resolver-f75zav2x.js → app-f75zav2x.js} +2 -2
- package/dist/chunks/{model-resolver-y18nf7t0.js → app-fgawfjx8.js} +3 -3
- package/dist/chunks/{model-resolver-ajft39nq.js → app-fgb4ey1w.js} +4 -4
- package/dist/chunks/{model-resolver-7d822byb.js → app-fpecnkgp.js} +5 -5
- package/dist/chunks/{model-resolver-0422tdqy.js → app-frtrentt.js} +5 -5
- package/dist/chunks/{model-resolver-nsk1prb9.js → app-g35x6qc6.js} +19 -19
- package/dist/chunks/{model-resolver-shwq57g0.js → app-gcabepm0.js} +7 -7
- package/dist/chunks/{model-resolver-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-k3f304m0.js → app-gey4pgq5.js} +3 -3
- package/dist/chunks/{model-resolver-thcxkcch.js → app-gy3hfqwa.js} +11 -11
- package/dist/chunks/{model-resolver-vqhepxyf.js → app-h3d1wmv7.js} +32 -32
- package/dist/chunks/{model-resolver-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-k9ga8ymg.js → app-h7fgzsk1.js} +13 -13
- package/dist/chunks/{model-resolver-v8b1trmq.js → app-h7v41q2b.js} +3 -3
- package/dist/chunks/{model-resolver-c0ykhrt2.js → app-hrtswde4.js} +14 -14
- package/dist/chunks/app-ht5y0zrb.js +18 -0
- package/dist/chunks/{model-resolver-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-r95z6apf.js → app-j6z9wjgn.js} +16 -16
- package/dist/chunks/{model-resolver-dze2gebv.js → app-j9kaagt3.js} +24 -24
- package/dist/chunks/{model-resolver-7zkyz21p.js → app-jb7afjsg.js} +6 -6
- package/dist/chunks/{model-resolver-ftczs0ph.js → app-jhdanssh.js} +37 -37
- package/dist/chunks/{model-resolver-pp4mne8d.js → app-jhs71wy2.js} +25 -25
- package/dist/chunks/{model-resolver-71ek9cp3.js → app-jzz42hqp.js} +7 -7
- package/dist/chunks/{model-resolver-n37c4crj.js → app-jzzy94zk.js} +9 -9
- package/dist/chunks/{model-resolver-re314ab2.js → app-k0j6xj92.js} +75 -75
- package/dist/chunks/{model-resolver-rxcdjwh1.js → app-k0nnq3t9.js} +4 -4
- package/dist/chunks/{model-resolver-tv2g93x2.js → app-k6pmx2m2.js} +21 -21
- package/dist/chunks/{model-resolver-kb9j3d72.js → app-kb9j3d72.js} +3 -3
- package/dist/chunks/{model-resolver-kk3g4k48.js → app-kermnw9y.js} +14 -14
- package/dist/chunks/{model-resolver-0nvn360z.js → app-kgdwkpsf.js} +11 -11
- package/dist/chunks/{model-resolver-b3rdhmww.js → app-m1ay94aq.js} +14 -14
- package/dist/chunks/{model-resolver-pw90wh71.js → app-m1mdr3t4.js} +33 -33
- package/dist/chunks/{model-resolver-wfyxnnpw.js → app-m2dbveed.js} +13 -13
- package/dist/chunks/{model-resolver-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-08q73ng5.js → app-m4y7kpay.js} +10 -10
- package/dist/chunks/{model-resolver-2f6g987b.js → app-m500pqbj.js} +162 -162
- package/dist/chunks/{model-resolver-pwjc3egg.js → app-m6cy21rm.js} +18 -18
- package/dist/chunks/{model-resolver-h3g7c02j.js → app-m6r7asx4.js} +17 -17
- package/dist/chunks/{model-resolver-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-gph55xgf.js → app-mterk9bb.js} +15 -15
- package/dist/chunks/{model-resolver-8kb0e28r.js → app-myrb3mwv.js} +14 -14
- package/dist/chunks/{model-resolver-kfh1rvrr.js → app-nda7119r.js} +27 -27
- package/dist/chunks/{model-resolver-fjrw4d14.js → app-nj11v1kf.js} +35 -35
- package/dist/chunks/{model-resolver-dq0bda3m.js → app-nj38n445.js} +6 -6
- package/dist/chunks/{model-resolver-r3yntwzq.js → app-np17306k.js} +8 -8
- package/dist/chunks/{model-resolver-bzzc495f.js → app-nx45m9pa.js} +11 -11
- package/dist/chunks/{model-resolver-tzm99wp3.js → app-nxh69913.js} +8 -8
- package/dist/chunks/{model-resolver-46tb29mf.js → app-nzxj697k.js} +8 -8
- package/dist/chunks/{model-resolver-5jjt27vb.js → app-p3c1m468.js} +14 -14
- package/dist/chunks/{model-resolver-j5n8pp08.js → app-p944wxep.js} +37 -37
- package/dist/chunks/{model-resolver-0bs0xzzs.js → app-pec8ewpc.js} +13 -13
- package/dist/chunks/{model-resolver-j8vk2cdy.js → app-pengrcv5.js} +5 -5
- 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-kc6s93qx.js → app-pkxfpd18.js} +6 -6
- package/dist/chunks/{model-resolver-bd8np6qp.js → app-pn4m98w3.js} +26 -26
- package/dist/chunks/{model-resolver-0es0zd3j.js → app-pq2931dk.js} +5 -5
- package/dist/chunks/{model-resolver-q0xm7vwc.js → app-q0xm7vwc.js} +2 -2
- package/dist/chunks/app-q5hzqnd5.js +507 -0
- package/dist/chunks/{model-resolver-qa3qhgw8.js → app-qa3qhgw8.js} +1 -1
- package/dist/chunks/{model-resolver-x2g45djb.js → app-qadcnyv9.js} +9 -9
- package/dist/chunks/{model-resolver-snnqzhcb.js → app-qcj1qarq.js} +33 -33
- package/dist/chunks/{model-resolver-yz0fee1s.js → app-qhyw2gmb.js} +10 -10
- package/dist/chunks/{model-resolver-2ck2j4j1.js → app-qk10qjqd.js} +6 -6
- package/dist/chunks/{model-resolver-cwa6csj7.js → app-qmqgtz8f.js} +9 -9
- package/dist/chunks/{model-resolver-qzpwn43k.js → app-qn9g45dx.js} +4 -4
- package/dist/chunks/{model-resolver-qnc92qwc.js → app-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-resolver-974xbn4p.js → app-qncy8rqx.js} +31 -31
- package/dist/chunks/{model-resolver-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-n6kkq2ng.js → app-qt4hgj4v.js} +33 -33
- package/dist/chunks/{model-resolver-xyafkbt0.js → app-qxjc9qry.js} +3 -3
- package/dist/chunks/{model-resolver-e3bfy97n.js → app-qyp7nx31.js} +22 -22
- package/dist/chunks/{model-resolver-ec8aqdm6.js → app-qzgv83g8.js} +45 -45
- package/dist/chunks/{model-resolver-558ajqy5.js → app-r1vnz2ze.js} +15 -15
- package/dist/chunks/{model-resolver-8hbdmjnq.js → app-r2751jnn.js} +67 -67
- package/dist/chunks/{model-resolver-va0jwre1.js → app-r2ens31f.js} +22 -22
- package/dist/chunks/{model-resolver-z1vm9hqc.js → app-r44petzp.js} +12 -12
- package/dist/chunks/{model-resolver-n4kwfwhc.js → app-r71fb6ch.js} +9 -9
- package/dist/chunks/{model-resolver-v2d8dwc4.js → app-r8bv4q06.js} +7 -7
- package/dist/chunks/{model-resolver-r8xr0va3.js → app-r8xr0va3.js} +1 -1
- package/dist/chunks/{model-resolver-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-bzzvw9kc.js → app-rehtxfbe.js} +1 -1
- package/dist/chunks/{model-resolver-wzp2zdrd.js → app-rm6wvaj8.js} +16 -16
- package/dist/chunks/{model-resolver-cq29va0k.js → app-rvxgx5k2.js} +19 -19
- package/dist/chunks/{model-resolver-bmtj8zad.js → app-s8r1bxm7.js} +9 -9
- package/dist/chunks/{model-resolver-wecqtg5s.js → app-scgrse2b.js} +5 -5
- package/dist/chunks/{model-resolver-qzp699j3.js → app-smzkt4h8.js} +25 -25
- package/dist/chunks/{model-resolver-c0y2vens.js → app-sw35smzz.js} +11 -11
- package/dist/chunks/{model-resolver-3x6h1yzc.js → app-t9bwbksh.js} +14 -14
- package/dist/chunks/{model-resolver-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-3ppptnan.js → app-tcay1cqt.js} +6 -6
- package/dist/chunks/{model-resolver-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-e67gvcg8.js → app-tmkqb4m5.js} +30 -30
- package/dist/chunks/{model-resolver-tpw6cwsb.js → app-tpw6cwsb.js} +1 -1
- package/dist/chunks/{model-resolver-w06vrs2y.js → app-tx3h7197.js} +4 -4
- package/dist/chunks/{model-resolver-de52ckkz.js → app-tx92n959.js} +4 -4
- package/dist/chunks/{model-resolver-yfg3b8wm.js → app-vd3r3z5p.js} +3 -3
- package/dist/chunks/{model-resolver-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-cp937pt4.js → app-vfjhn2wd.js} +4 -4
- package/dist/chunks/{model-resolver-6ha37qbe.js → app-vhg3kvj9.js} +24 -24
- package/dist/chunks/{model-resolver-8egvdccy.js → app-vjmj34bj.js} +11 -11
- package/dist/chunks/{model-resolver-0f84emyz.js → app-vm93y64s.js} +25 -25
- package/dist/chunks/{model-resolver-sd38pwsj.js → app-vqmv0wny.js} +16 -16
- package/dist/chunks/{model-resolver-qthsvwc3.js → app-vs90824y.js} +22 -22
- package/dist/chunks/{model-resolver-mtpeagzc.js → app-vx3jgdek.js} +3 -3
- package/dist/chunks/{model-resolver-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-mq0f2m57.js → app-w8v7x0t4.js} +8 -8
- package/dist/chunks/{model-resolver-8fm7ftfn.js → app-wcy74va6.js} +15 -15
- package/dist/chunks/{model-resolver-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-9kw8973d.js → app-wdy45rw8.js} +8 -8
- package/dist/chunks/{model-resolver-q3h10w5c.js → app-ws6r9wxd.js} +45 -45
- package/dist/chunks/{model-resolver-e4knw194.js → app-x1w9s84m.js} +18 -18
- package/dist/chunks/{model-resolver-p5a37mby.js → app-x4dkc3v3.js} +9 -9
- package/dist/chunks/{model-resolver-fpcgeefe.js → app-x5paqj6j.js} +17 -17
- package/dist/chunks/{model-resolver-gqtdsdt7.js → app-x661k3y3.js} +4 -4
- package/dist/chunks/app-x82s002v.js +26 -0
- package/dist/chunks/{model-resolver-epch8s0x.js → app-x8esnxbb.js} +3 -3
- package/dist/chunks/{model-resolver-9s0ehjpm.js → app-xb3m1p56.js} +26 -26
- package/dist/chunks/{model-resolver-hjm94w0b.js → app-xbvv70jj.js} +8 -8
- package/dist/chunks/{model-resolver-q83407cy.js → app-xc71fexb.js} +14 -14
- package/dist/chunks/{model-resolver-w19d8598.js → app-xfkkasph.js} +5 -5
- package/dist/chunks/{model-resolver-07nx60wz.js → app-xq7hn9w5.js} +5 -5
- package/dist/chunks/{model-resolver-qk7srzz2.js → app-xwwz1fcf.js} +30 -30
- package/dist/chunks/{model-resolver-cjw460n3.js → app-xxa9zwx6.js} +17 -17
- package/dist/chunks/{model-resolver-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-bdd5jqwb.js → app-y9rxzeem.js} +14 -14
- package/dist/chunks/{model-resolver-12gfzbq6.js → app-yb20yvhc.js} +13 -13
- package/dist/chunks/{model-resolver-85eh7cfy.js → app-ye6d7t69.js} +25 -25
- package/dist/chunks/{model-resolver-dx1b2kp7.js → app-ye968f26.js} +29 -29
- package/dist/chunks/{model-resolver-gf4q96mg.js → app-yja0z1nt.js} +24 -24
- package/dist/chunks/{model-resolver-yjtfa6v9.js → app-ykt494b9.js} +4 -4
- package/dist/chunks/{model-resolver-41dwvnwc.js → app-yn6dgm22.js} +11 -11
- package/dist/chunks/{model-resolver-32h9x93b.js → app-ynmespmv.js} +48 -48
- package/dist/chunks/{model-resolver-gtfqxnbk.js → app-yrzy80wg.js} +12 -12
- package/dist/chunks/{model-resolver-bt4mtqh9.js → app-ywe4gqtj.js} +5 -5
- package/dist/chunks/{model-resolver-re9ebc67.js → app-yxmqamfs.js} +20 -20
- package/dist/chunks/{model-resolver-286yb4sa.js → app-yz1dgv86.js} +1 -1
- package/dist/chunks/{model-resolver-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-k2nq0b80.js → app-z0rw1ncf.js} +23 -23
- package/dist/chunks/{model-resolver-1a7kemja.js → app-z6pt0vvw.js} +1 -1
- package/dist/chunks/{model-resolver-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-5hx7d1d6.js → app-zw4pk1bw.js} +5 -5
- package/dist/chunks/{model-resolver-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- 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 +119 -119
- 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 +117 -117
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +94 -94
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- 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 +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 +85 -85
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- 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 +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- 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 +94 -94
- package/dist/models-dev.js +105 -105
- 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 +111 -111
- 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 +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +115 -115
- 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 +114 -114
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- 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 +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +211 -211
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- 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 +4 -4
- 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 +125 -125
- 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 +1 -1
- 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 +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 +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +128 -128
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +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 +124 -124
- 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 +105 -105
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +206 -206
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +116 -116
- 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 +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- 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 +91 -91
- 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 +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +96 -96
- 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-5qd3pb7m.js → app-5qd3pb7m.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,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service61,
|
|
6
|
+
node63
|
|
7
|
+
} from "./app-bbqm5gby.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service51,
|
|
17
|
+
node: () => node53,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service51 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service61;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service51.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node53 = makeLocationNode({ service: Service51, layer, deps: [node63] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service51, readText2, syncTextBom2, node53, exports_file_mutation };
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-qn9g45dx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service64,
|
|
8
|
+
node67
|
|
9
|
+
} from "./app-m4y7kpay.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
@@ -19,11 +19,11 @@ __export(exports_wellknown, {
|
|
|
19
19
|
Event: () => Event12,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service60,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node62,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,7 +46,7 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service60 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
51
|
var Event12 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service64;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.publish(Event12.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service60.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node62 = makeGlobalNode({ service: Service60, layer, deps: [httpClient, node67, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service60, Event12, inspect2, resolve3, node62, exports_wellknown };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./app-t9bwbksh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./app-p944wxep.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service16
|
|
9
|
+
} from "./app-mterk9bb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make11
|
|
12
|
+
} from "./app-a1gpj94z.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/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin31
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin31 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service58;
|
|
36
|
+
const formatter = yield* Service16;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service79;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -44,7 +44,7 @@ var Plugin16 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make11({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin31, exports_formatter };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./app-p944wxep.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service61
|
|
13
|
+
} from "./app-bbqm5gby.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service54
|
|
16
|
+
} from "./app-hrtswde4.js";
|
|
17
17
|
import {
|
|
18
18
|
Service70
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-ws6r9wxd.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service42,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-rm6wvaj8.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service66,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./app-g35x6qc6.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
35
|
+
NotFoundError6,
|
|
36
36
|
Service55
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./app-nj11v1kf.js";
|
|
38
38
|
import {
|
|
39
39
|
Service18
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./app-k0j6xj92.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./app-6q6gqmwq.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./app-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input5,
|
|
53
|
+
Plugin: () => Plugin6,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name5
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name5 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input5 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin6 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
122
|
const sessions = yield* Service18;
|
|
123
|
-
const jobs = yield*
|
|
123
|
+
const jobs = yield* Service54;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
125
|
+
const environment = yield* Service61;
|
|
126
|
+
const access = yield* Service42;
|
|
127
127
|
const shell = yield* Service55;
|
|
128
|
-
const shellSelect = yield*
|
|
128
|
+
const shellSelect = yield* Service66;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
130
|
const permission = yield* Service70;
|
|
131
|
-
const config = yield*
|
|
131
|
+
const config = yield* Service58;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin49 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name5,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin49 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name5,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input5,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin49 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name5,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name5];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin6, exports_shell };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-01b47qtp.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-qn9g45dx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID14,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event18,
|
|
11
|
+
Service77
|
|
12
|
+
} from "./app-xwwz1fcf.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-x661k3y3.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-5ntmp6zc.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./app-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID12,
|
|
25
|
+
Service75
|
|
26
|
+
} from "./app-1kr92pjq.js";
|
|
27
27
|
import {
|
|
28
28
|
ID7
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-r2ens31f.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./app-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./app-jb7afjsg.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -74,11 +74,11 @@ function make7(endpoints = {
|
|
|
74
74
|
return define({
|
|
75
75
|
id: "opencode.provider.azure",
|
|
76
76
|
effect: Effect.fn(function* (ctx) {
|
|
77
|
-
const configured = yield* configuredSettings2(
|
|
77
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
79
|
const bus = yield* Service83;
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
80
|
+
const credentials = yield* Service77;
|
|
81
|
+
const providers = yield* Service75;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -116,13 +116,13 @@ function make7(endpoints = {
|
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.integration.transform((editor) => {
|
|
118
118
|
editor.method.update({
|
|
119
|
-
integrationID:
|
|
119
|
+
integrationID: ID12.azure,
|
|
120
120
|
method: { type: "key", label: "API key", form: form() }
|
|
121
121
|
});
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID12.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -152,8 +152,8 @@ function make7(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
156
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
156
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
159
159
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -192,7 +192,7 @@ function make7(endpoints = {
|
|
|
192
192
|
}));
|
|
193
193
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
194
194
|
const connection = loaded.connection;
|
|
195
|
-
const settings = (yield* providers.get(
|
|
195
|
+
const settings = (yield* providers.get(ID12.azure))?.settings;
|
|
196
196
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
197
197
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
198
198
|
if (loaded.connection !== connection)
|
|
@@ -214,11 +214,11 @@ function make7(endpoints = {
|
|
|
214
214
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
215
215
|
if (!found)
|
|
216
216
|
return;
|
|
217
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
217
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
|
|
218
218
|
return;
|
|
219
219
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
220
220
|
return;
|
|
221
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
221
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
|
|
222
222
|
id.toLowerCase(),
|
|
223
223
|
id
|
|
224
224
|
]));
|
|
@@ -231,11 +231,11 @@ function make7(endpoints = {
|
|
|
231
231
|
yield* ctx.model.reload();
|
|
232
232
|
});
|
|
233
233
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
234
|
-
const resourceFor = (provider) => provider.id ===
|
|
234
|
+
const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
235
235
|
Object.assign(loaded, yield* load());
|
|
236
236
|
yield* ctx.provider.transform((evt) => {
|
|
237
237
|
for (const item of evt.list()) {
|
|
238
|
-
if (item.provider.id !==
|
|
238
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
239
239
|
continue;
|
|
240
240
|
const resourceName = resourceFor(item.provider);
|
|
241
241
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -250,7 +250,7 @@ function make7(endpoints = {
|
|
|
250
250
|
};
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const item = evt.get(
|
|
253
|
+
const item = evt.get(ID12.azure);
|
|
254
254
|
if (!item)
|
|
255
255
|
return;
|
|
256
256
|
evt.add({
|
|
@@ -261,7 +261,7 @@ function make7(endpoints = {
|
|
|
261
261
|
});
|
|
262
262
|
yield* ctx.model.transform((models) => {
|
|
263
263
|
for (const item of models.provider.list()) {
|
|
264
|
-
if (item.provider.id !==
|
|
264
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
265
265
|
continue;
|
|
266
266
|
const resourceName = resourceFor(item.provider);
|
|
267
267
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -273,20 +273,20 @@ function make7(endpoints = {
|
|
|
273
273
|
}
|
|
274
274
|
if (!loaded.deployments)
|
|
275
275
|
return;
|
|
276
|
-
const catalog = models.list(
|
|
276
|
+
const catalog = models.list(ID12.azure);
|
|
277
277
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
278
278
|
for (const model of catalog) {
|
|
279
279
|
if (!deployed.has(model.id))
|
|
280
|
-
models.remove(
|
|
280
|
+
models.remove(ID12.azure, model.id);
|
|
281
281
|
}
|
|
282
282
|
for (const [id, model] of deployed) {
|
|
283
|
-
models.update(
|
|
283
|
+
models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(
|
|
286
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
|
-
const connection = yield* ctx.integration.connection.active(
|
|
289
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
290
290
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
291
291
|
return;
|
|
292
292
|
})) : undefined;
|
|
@@ -298,7 +298,7 @@ function make7(endpoints = {
|
|
|
298
298
|
return `Bearer ${current.access}`;
|
|
299
299
|
});
|
|
300
300
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
301
|
-
if (evt.model.providerID !==
|
|
301
|
+
if (evt.model.providerID !== ID12.azure)
|
|
302
302
|
return;
|
|
303
303
|
const authorization = yield* bearer(evt.request.url);
|
|
304
304
|
if (!authorization)
|
|
@@ -307,9 +307,9 @@ function make7(endpoints = {
|
|
|
307
307
|
evt.request.headers.delete("x-api-key");
|
|
308
308
|
evt.request.headers.set("authorization", authorization);
|
|
309
309
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
310
|
-
}), { providerID:
|
|
310
|
+
}), { providerID: ID12.azure });
|
|
311
311
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
312
|
-
if (evt.model.providerID !==
|
|
312
|
+
if (evt.model.providerID !== ID12.azure)
|
|
313
313
|
return;
|
|
314
314
|
const authorization = yield* bearer(evt.url);
|
|
315
315
|
if (!authorization)
|
|
@@ -318,7 +318,7 @@ function make7(endpoints = {
|
|
|
318
318
|
delete evt.headers["x-api-key"];
|
|
319
319
|
evt.headers.authorization = authorization;
|
|
320
320
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
321
|
-
}), { providerID:
|
|
321
|
+
}), { providerID: ID12.azure });
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin28,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin28 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin28, exports_tool_input_repair };
|