@opencode/core 0.0.0-dev-19382 → 0.0.0-dev-19384
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{persistent-pty-eaj1djv9.js → model-resolver-02nrjc1r.js} +4 -4
- package/dist/chunks/{persistent-pty-kr9sgtgf.js → model-resolver-0a57wjjf.js} +6 -6
- package/dist/chunks/{persistent-pty-nqnxh7mc.js → model-resolver-0ft9cg2j.js} +6 -6
- package/dist/chunks/{persistent-pty-1w52t0mb.js → model-resolver-0p99qez5.js} +35 -35
- package/dist/chunks/{persistent-pty-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-jefma2gq.js → model-resolver-0wrbff2f.js} +10 -10
- package/dist/chunks/{persistent-pty-zw3btwk7.js → model-resolver-10zhb9cj.js} +16 -16
- package/dist/chunks/{persistent-pty-jj63jgrn.js → model-resolver-121k57vw.js} +4 -4
- package/dist/chunks/{persistent-pty-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-1dfhrqqs.js → model-resolver-1eyaby9q.js} +9 -3
- package/dist/chunks/{persistent-pty-3mbmw1sq.js → model-resolver-1g817pcs.js} +33 -33
- package/dist/chunks/{persistent-pty-w1k39n5e.js → model-resolver-1hc11dc4.js} +4 -4
- package/dist/chunks/{persistent-pty-kh3ehkc0.js → model-resolver-1pjc74g1.js} +4 -4
- package/dist/chunks/{persistent-pty-pg5p62yz.js → model-resolver-1r8xap2c.js} +52 -52
- package/dist/chunks/{persistent-pty-c2hefdhc.js → model-resolver-1y2x0aqg.js} +15 -15
- package/dist/chunks/{persistent-pty-203e24v7.js → model-resolver-20fjk41b.js} +11 -11
- package/dist/chunks/{persistent-pty-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-f3ymaypt.js → model-resolver-266ddf5t.js} +82 -82
- package/dist/chunks/{persistent-pty-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-4gh75n31.js → model-resolver-2bhdwkz4.js} +36 -36
- package/dist/chunks/{persistent-pty-v397qx2x.js → model-resolver-2c9abtxg.js} +8 -8
- package/dist/chunks/{persistent-pty-4v5j83by.js → model-resolver-2de4jeeq.js} +15 -15
- package/dist/chunks/{persistent-pty-3w0fmcng.js → model-resolver-2f0bjgcj.js} +5 -5
- package/dist/chunks/{persistent-pty-2dqdz844.js → model-resolver-2neek4c8.js} +22 -22
- package/dist/chunks/{persistent-pty-3rn9y9mm.js → model-resolver-2qjqjmaw.js} +9 -9
- package/dist/chunks/{persistent-pty-q0a6gzyv.js → model-resolver-2szxs6c7.js} +4 -4
- package/dist/chunks/{persistent-pty-jnmqjdkf.js → model-resolver-2wyjv582.js} +4 -4
- package/dist/chunks/{persistent-pty-sznf9k39.js → model-resolver-32sr25b2.js} +6 -6
- package/dist/chunks/{persistent-pty-d2eaxeas.js → model-resolver-32yfgjtf.js} +6 -6
- package/dist/chunks/{persistent-pty-hm87teft.js → model-resolver-341vskh0.js} +31 -31
- package/dist/chunks/{persistent-pty-f2ew84cp.js → model-resolver-34gkz9wj.js} +4 -4
- package/dist/chunks/{persistent-pty-xcz8yps6.js → model-resolver-394mryvr.js} +11 -11
- package/dist/chunks/{persistent-pty-vmbc9md7.js → model-resolver-3axs0qpa.js} +9 -9
- package/dist/chunks/{persistent-pty-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-rfnzy394.js → model-resolver-3q1jyqhd.js} +1 -1
- package/dist/chunks/{persistent-pty-h9gezfnd.js → model-resolver-3rr3nb8h.js} +7 -7
- package/dist/chunks/{persistent-pty-5bkegwna.js → model-resolver-3sexfajv.js} +3 -3
- package/dist/chunks/{persistent-pty-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-00mqm9kf.js → model-resolver-3y2vzd8j.js} +1 -1
- package/dist/chunks/{persistent-pty-wzgex4pb.js → model-resolver-412kwdx9.js} +33 -29
- package/dist/chunks/{persistent-pty-hjt4xg1x.js → model-resolver-47gsdddb.js} +7 -7
- package/dist/chunks/{persistent-pty-4066mr2m.js → model-resolver-4am1wjpn.js} +1 -1
- package/dist/chunks/{persistent-pty-nxb1d4ft.js → model-resolver-4bbwdacz.js} +44 -44
- package/dist/chunks/{persistent-pty-0cxbqrwq.js → model-resolver-4gd74qvs.js} +6 -6
- package/dist/chunks/{persistent-pty-a9dg8arj.js → model-resolver-4h6za3g8.js} +11 -11
- package/dist/chunks/{persistent-pty-bq15f1dj.js → model-resolver-4p59xbax.js} +11 -11
- package/dist/chunks/{persistent-pty-xfwn3bvs.js → model-resolver-54n99x85.js} +27 -27
- package/dist/chunks/{persistent-pty-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-t0x5rdq8.js → model-resolver-5kptn8c0.js} +9 -9
- package/dist/chunks/{persistent-pty-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-jsdanxxx.js → model-resolver-60jadqqn.js} +15 -15
- package/dist/chunks/{persistent-pty-qwkytnft.js → model-resolver-6178vqjw.js} +3 -3
- package/dist/chunks/{persistent-pty-wjhyqx8g.js → model-resolver-62v8g8sf.js} +28 -28
- package/dist/chunks/{persistent-pty-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-rxr84acp.js → model-resolver-6adjmyr0.js} +17 -17
- package/dist/chunks/{persistent-pty-a8w0823b.js → model-resolver-6b99yyvg.js} +11 -11
- package/dist/chunks/{persistent-pty-3xgyx5eq.js → model-resolver-6bpyz9aj.js} +17 -17
- package/dist/chunks/{persistent-pty-2402vzrj.js → model-resolver-6h73sxmp.js} +5 -5
- package/dist/chunks/model-resolver-6kdq0pjd.js +4 -0
- package/dist/chunks/{persistent-pty-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-bqvjxhzq.js → model-resolver-6nxs6bmb.js} +6 -6
- package/dist/chunks/{persistent-pty-sqe88krq.js → model-resolver-6p2e52w0.js} +32 -32
- package/dist/chunks/{persistent-pty-2fnsjhej.js → model-resolver-6q5arvd8.js} +44 -44
- package/dist/chunks/{persistent-pty-8fq8nx20.js → model-resolver-6rsb5r8s.js} +21 -21
- package/dist/chunks/{persistent-pty-egptq5ne.js → model-resolver-6sg55drv.js} +27 -27
- package/dist/chunks/{persistent-pty-71q4at8m.js → model-resolver-71q4at8m.js} +1 -1
- package/dist/chunks/{persistent-pty-380vsvkf.js → model-resolver-754zj9nk.js} +16 -16
- package/dist/chunks/{persistent-pty-vz3schgb.js → model-resolver-77bj7wjf.js} +33 -33
- package/dist/chunks/{persistent-pty-844ef7ks.js → model-resolver-7b15y959.js} +8 -8
- package/dist/chunks/{persistent-pty-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-0tpn3p1b.js → model-resolver-7bzsnhgb.js} +11 -11
- package/dist/chunks/{persistent-pty-qgn6gcr1.js → model-resolver-7dqw4kz8.js} +5 -5
- package/dist/chunks/{persistent-pty-vq1smemt.js → model-resolver-7jhhyt0b.js} +35 -35
- package/dist/chunks/{persistent-pty-496txj22.js → model-resolver-7s3an50r.js} +7 -7
- package/dist/chunks/{persistent-pty-qp5gp8ee.js → model-resolver-7xhxth10.js} +14 -14
- package/dist/chunks/{persistent-pty-bf3rh841.js → model-resolver-7zavcbms.js} +3 -3
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-k4ewzjtn.js → model-resolver-8fqcqt95.js} +2 -2
- package/dist/chunks/{persistent-pty-yp9wmgac.js → model-resolver-8jv093w6.js} +24 -24
- package/dist/chunks/{persistent-pty-e8ne7jhy.js → model-resolver-8n5es00k.js} +13 -13
- package/dist/chunks/{persistent-pty-rr02k77t.js → model-resolver-8nnbah93.js} +4 -4
- package/dist/chunks/{persistent-pty-8p4f9s12.js → model-resolver-8p4f9s12.js} +2 -2
- package/dist/chunks/{persistent-pty-w9nng7hv.js → model-resolver-8q9myf25.js} +6 -6
- package/dist/chunks/{persistent-pty-42mde3pg.js → model-resolver-922arjmq.js} +15 -15
- package/dist/chunks/{persistent-pty-zqsxpf7r.js → model-resolver-964trts7.js} +21 -21
- package/dist/chunks/{persistent-pty-ytcfwrs1.js → model-resolver-9a34e234.js} +13 -13
- package/dist/chunks/{persistent-pty-s3428mxb.js → model-resolver-9km4y146.js} +6 -6
- package/dist/chunks/{persistent-pty-aezrryrs.js → model-resolver-9m7evh4e.js} +16 -16
- package/dist/chunks/{persistent-pty-xbcdabpt.js → model-resolver-9q2j1ek8.js} +23 -23
- package/dist/chunks/{persistent-pty-j7wq2tw5.js → model-resolver-9vs0xtad.js} +3 -3
- package/dist/chunks/{persistent-pty-fyjrpq2n.js → model-resolver-9w6qx4ar.js} +5 -5
- package/dist/chunks/{persistent-pty-h7x6gk14.js → model-resolver-9w6wr46b.js} +28 -28
- package/dist/chunks/{persistent-pty-ydky9c7y.js → model-resolver-a165ysxp.js} +50 -50
- package/dist/chunks/{persistent-pty-a1bz86dw.js → model-resolver-a1bz86dw.js} +3 -3
- package/dist/chunks/{persistent-pty-g5dj6d40.js → model-resolver-a211gggb.js} +20 -20
- package/dist/chunks/model-resolver-a5tg2hvh.js +462 -0
- package/dist/chunks/{persistent-pty-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-k38a9k66.js → model-resolver-abgeen7n.js} +24 -24
- package/dist/chunks/{persistent-pty-8f3c4n8p.js → model-resolver-ahtyeane.js} +46 -46
- package/dist/chunks/{persistent-pty-axp4ehpq.js → model-resolver-ak9msbxp.js} +6 -6
- package/dist/chunks/{persistent-pty-5qkxfyep.js → model-resolver-awaee7qt.js} +6 -6
- package/dist/chunks/{persistent-pty-bw41nzns.js → model-resolver-b4cdxvsz.js} +43 -43
- package/dist/chunks/{persistent-pty-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-qcfsefxz.js → model-resolver-bd9nqr2t.js} +5 -5
- package/dist/chunks/{persistent-pty-4jwxjs78.js → model-resolver-bkqqcfdf.js} +16 -16
- package/dist/chunks/{persistent-pty-sfxpj00y.js → model-resolver-bnfv4bke.js} +10 -10
- package/dist/chunks/{persistent-pty-mq0g1pjt.js → model-resolver-bwc3vdty.js} +10 -10
- package/dist/chunks/{persistent-pty-t69nnh3p.js → model-resolver-c1g6mvbq.js} +6 -6
- package/dist/chunks/{persistent-pty-kn9q0df9.js → model-resolver-c8p7nfbc.js} +81 -81
- package/dist/chunks/{persistent-pty-fgxp3znt.js → model-resolver-cejc3es4.js} +24 -24
- package/dist/chunks/{persistent-pty-cfpkc3c9.js → model-resolver-cfpkc3c9.js} +2 -2
- package/dist/chunks/{persistent-pty-sv2fejnn.js → model-resolver-chtn9pha.js} +30 -30
- package/dist/chunks/{persistent-pty-gpt16vvq.js → model-resolver-cppeb8e9.js} +43 -43
- package/dist/chunks/{persistent-pty-wsg5c7h7.js → model-resolver-cr4v6k8r.js} +22 -22
- package/dist/chunks/{persistent-pty-5gachfgg.js → model-resolver-cwxby6pr.js} +8 -8
- package/dist/chunks/{persistent-pty-c3kepfq8.js → model-resolver-cz2fjc0t.js} +1 -1
- package/dist/chunks/{persistent-pty-ra27perh.js → model-resolver-d7tbmrmr.js} +9 -9
- package/dist/chunks/{persistent-pty-2g1m3br9.js → model-resolver-dcd7yt0v.js} +4 -4
- package/dist/chunks/{persistent-pty-0ccq33vw.js → model-resolver-dn00p2xs.js} +18 -18
- package/dist/chunks/{persistent-pty-c8ada3m6.js → model-resolver-ds30tbjg.js} +7 -7
- package/dist/chunks/{persistent-pty-w5qx82t0.js → model-resolver-dtf70dba.js} +41 -41
- package/dist/chunks/{persistent-pty-djvn5p54.js → model-resolver-dzdf5n0b.js} +15 -15
- package/dist/chunks/{persistent-pty-ab1e930g.js → model-resolver-e23m03bd.js} +28 -28
- package/dist/chunks/{persistent-pty-ejanc1th.js → model-resolver-e592wy5s.js} +13 -13
- package/dist/chunks/{persistent-pty-zm83jvmn.js → model-resolver-ebk7g7ej.js} +16 -16
- package/dist/chunks/{persistent-pty-jyh705nr.js → model-resolver-ee7h6a8j.js} +13 -13
- package/dist/chunks/{persistent-pty-1dnwr72p.js → model-resolver-eg5vnqyk.js} +30 -30
- package/dist/chunks/{persistent-pty-m86bnw2c.js → model-resolver-es1gkq3r.js} +9 -9
- package/dist/chunks/{persistent-pty-1tjg7tvh.js → model-resolver-esj243wz.js} +9 -9
- package/dist/chunks/{persistent-pty-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-f828m53h.js → model-resolver-f828m53h.js} +2 -2
- package/dist/chunks/{persistent-pty-bhkdh15s.js → model-resolver-fc3gg9nv.js} +8 -8
- package/dist/chunks/{persistent-pty-rxpytfvj.js → model-resolver-fmxf2c45.js} +14 -14
- package/dist/chunks/{persistent-pty-8gs24b9n.js → model-resolver-fn61cvhn.js} +18 -18
- package/dist/chunks/{persistent-pty-05xfxpq7.js → model-resolver-fqj9nv8j.js} +8 -8
- package/dist/chunks/{persistent-pty-6p3c3cwj.js → model-resolver-ftxm3p3a.js} +21 -21
- package/dist/chunks/{persistent-pty-5pxstkb3.js → model-resolver-fwfyd8fy.js} +6 -6
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-bha4atvq.js → model-resolver-fxqygnfa.js} +4 -4
- package/dist/chunks/{persistent-pty-psjz8p8b.js → model-resolver-fz4feqya.js} +9 -9
- package/dist/chunks/{persistent-pty-qqgkdyp0.js → model-resolver-g756tth6.js} +9 -9
- package/dist/chunks/{persistent-pty-eq21rbs0.js → model-resolver-g9vkt591.js} +18 -18
- package/dist/chunks/{persistent-pty-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-ssrx42ha.js → model-resolver-gg3hwfv5.js} +24 -24
- package/dist/chunks/{persistent-pty-q31fgcfb.js → model-resolver-gpffk3sd.js} +2 -2
- package/dist/chunks/{persistent-pty-k5ezyj3d.js → model-resolver-grf3440t.js} +27 -27
- package/dist/chunks/{persistent-pty-gdvyk2fc.js → model-resolver-grxcxy9j.js} +8 -8
- package/dist/chunks/{persistent-pty-cpb6a78b.js → model-resolver-gsa0bc7f.js} +27 -27
- package/dist/chunks/{persistent-pty-c53hcw8m.js → model-resolver-gteg2vnc.js} +14 -14
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-h03wrkyp.js → model-resolver-h03wrkyp.js} +2 -2
- package/dist/chunks/{persistent-pty-nbzsj80d.js → model-resolver-h2r7bbkd.js} +8 -8
- package/dist/chunks/{persistent-pty-djc8e50c.js → model-resolver-h3930hs4.js} +11 -11
- package/dist/chunks/{persistent-pty-ttv5kw1x.js → model-resolver-h4rczdf5.js} +14 -14
- package/dist/chunks/{persistent-pty-3nrktzjr.js → model-resolver-h63xhtna.js} +34 -34
- package/dist/chunks/{persistent-pty-xfe2x8na.js → model-resolver-h6693ktv.js} +14 -14
- package/dist/chunks/{persistent-pty-bv56xrks.js → model-resolver-h6nsps6f.js} +8 -8
- package/dist/chunks/{persistent-pty-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-ry6p75md.js → model-resolver-h8b7tcqs.js} +11 -11
- package/dist/chunks/{persistent-pty-r0perv49.js → model-resolver-hcb85x7b.js} +13 -13
- package/dist/chunks/{persistent-pty-xyqew3mv.js → model-resolver-hdn37q54.js} +5 -5
- package/dist/chunks/{persistent-pty-1rx0sgk8.js → model-resolver-hvnwc3gd.js} +9 -9
- package/dist/chunks/{persistent-pty-egy5b1a6.js → model-resolver-hwwca0qh.js} +17 -17
- package/dist/chunks/{persistent-pty-tjhr2e2t.js → model-resolver-hymdpy01.js} +10 -10
- package/dist/chunks/{persistent-pty-zbqm35g7.js → model-resolver-j53p89fq.js} +22 -22
- package/dist/chunks/{persistent-pty-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-br7dekmv.js → model-resolver-jbad0je3.js} +16 -16
- package/dist/chunks/model-resolver-jqh9b0xq.js +18 -0
- package/dist/chunks/{persistent-pty-50mzsvk4.js → model-resolver-jw80jp6b.js} +4 -4
- package/dist/chunks/{persistent-pty-2ht10vg0.js → model-resolver-k1xpzw1w.js} +18 -18
- package/dist/chunks/{persistent-pty-0thdkkg9.js → model-resolver-k36djr8a.js} +22 -22
- package/dist/chunks/{persistent-pty-df3me751.js → model-resolver-k3w3g6yz.js} +16 -16
- package/dist/chunks/{persistent-pty-kg06axw8.js → model-resolver-kg06axw8.js} +1 -1
- package/dist/chunks/{persistent-pty-esqtk39r.js → model-resolver-kts9wqnk.js} +17 -17
- package/dist/chunks/{persistent-pty-z2r733d6.js → model-resolver-m9mm4cnh.js} +16 -16
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-hbrvt83f.js → model-resolver-ma62v64d.js} +13 -13
- package/dist/chunks/{persistent-pty-1ygqh575.js → model-resolver-mfqp6xfm.js} +6 -6
- package/dist/chunks/{persistent-pty-9c74y0ya.js → model-resolver-mgxq4wd9.js} +5 -5
- package/dist/chunks/{persistent-pty-5fk2x3ne.js → model-resolver-mj27xt9n.js} +26 -26
- package/dist/chunks/{persistent-pty-rp5c9stp.js → model-resolver-mk59f0qp.js} +3 -3
- package/dist/chunks/{persistent-pty-mkcjrzeh.js → model-resolver-mkcjrzeh.js} +1 -1
- package/dist/chunks/{persistent-pty-nvh2x716.js → model-resolver-n8120r6k.js} +4 -4
- package/dist/chunks/{persistent-pty-62ck2ww7.js → model-resolver-nda3z8kh.js} +6 -6
- package/dist/chunks/{persistent-pty-dwwycwrc.js → model-resolver-ngmpv4k0.js} +15 -15
- package/dist/chunks/{persistent-pty-0zqpp7wj.js → model-resolver-nmhj9mbj.js} +26 -26
- package/dist/chunks/{persistent-pty-q71trj3n.js → model-resolver-nyxmwzmx.js} +20 -20
- package/dist/chunks/{persistent-pty-1xxx0jg9.js → model-resolver-nzckpb8h.js} +13 -13
- package/dist/chunks/{persistent-pty-79r1wrqa.js → model-resolver-p905rm1f.js} +1 -1
- package/dist/chunks/{persistent-pty-fqhavq00.js → model-resolver-pe1m764c.js} +160 -160
- package/dist/chunks/{persistent-pty-a4zefx4s.js → model-resolver-pj0fhg0j.js} +38 -38
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-s2prs345.js → model-resolver-pkxy8g8t.js} +56 -56
- package/dist/chunks/{persistent-pty-dfe8djrf.js → model-resolver-pmr4s4kc.js} +4 -4
- package/dist/chunks/{persistent-pty-zzdrk7md.js → model-resolver-pth6n3j5.js} +25 -25
- package/dist/chunks/{persistent-pty-ka3dfe4s.js → model-resolver-pxq6bqj6.js} +9 -9
- package/dist/chunks/{persistent-pty-8gxqpgph.js → model-resolver-q5asdkn4.js} +4 -4
- package/dist/chunks/{persistent-pty-g8dftn7c.js → model-resolver-q77c0ew5.js} +11 -11
- package/dist/chunks/{persistent-pty-2g2y3drj.js → model-resolver-qmsqtg79.js} +7 -7
- package/dist/chunks/{persistent-pty-pa491p54.js → model-resolver-qsare228.js} +3 -3
- package/dist/chunks/{persistent-pty-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-zv0yrbwn.js → model-resolver-qx26rsfj.js} +24 -24
- package/dist/chunks/{persistent-pty-1kpvqeks.js → model-resolver-r0vvnr3j.js} +26 -26
- package/dist/chunks/{persistent-pty-j6y2w35b.js → model-resolver-r2jnt3k9.js} +4 -4
- package/dist/chunks/{persistent-pty-za010qp9.js → model-resolver-r59qmds9.js} +15 -15
- package/dist/chunks/{persistent-pty-eq1pz5kg.js → model-resolver-r5x6zcsm.js} +3 -3
- package/dist/chunks/{persistent-pty-r8xr0va3.js → model-resolver-r8xr0va3.js} +1 -1
- package/dist/chunks/{persistent-pty-wm96rsv2.js → model-resolver-rjeyb174.js} +8 -8
- package/dist/chunks/{persistent-pty-h9rdfrn4.js → model-resolver-rjjg3e34.js} +7 -7
- package/dist/chunks/{persistent-pty-f8714f1t.js → model-resolver-rsmx3r31.js} +18 -18
- package/dist/chunks/{persistent-pty-0gr7cw0d.js → model-resolver-s0hza5ac.js} +4 -4
- package/dist/chunks/{persistent-pty-cr07tj7n.js → model-resolver-s8zy8myc.js} +5 -5
- package/dist/chunks/{persistent-pty-6hjj4s54.js → model-resolver-shk6rdn6.js} +20 -20
- package/dist/chunks/{persistent-pty-prvjh75d.js → model-resolver-shxa3zc7.js} +19 -19
- package/dist/chunks/{persistent-pty-2p82gks5.js → model-resolver-shzfhh4e.js} +14 -14
- package/dist/chunks/{persistent-pty-rz0qknjf.js → model-resolver-snxhrb6z.js} +5 -5
- package/dist/chunks/{persistent-pty-ppky1t1y.js → model-resolver-syctdxxv.js} +7 -7
- package/dist/chunks/{persistent-pty-xfwnp4wv.js → model-resolver-ta08rfq5.js} +9 -9
- package/dist/chunks/{persistent-pty-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-d8vze2cf.js → model-resolver-tevc9p4b.js} +13 -13
- package/dist/chunks/{persistent-pty-w76whj5z.js → model-resolver-tfjws8eq.js} +3 -3
- package/dist/chunks/{persistent-pty-ppnmpad2.js → model-resolver-tj8f0xj4.js} +32 -32
- package/dist/chunks/{persistent-pty-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-d9sn21bc.js → model-resolver-tx1bbn1t.js} +2 -2
- package/dist/chunks/{persistent-pty-qsr17ax6.js → model-resolver-txht7vc4.js} +34 -34
- package/dist/chunks/{persistent-pty-krp391jj.js → model-resolver-v2zxy9vy.js} +1 -1
- package/dist/chunks/{persistent-pty-brv10750.js → model-resolver-v44d1hzb.js} +27 -27
- package/dist/chunks/{persistent-pty-1g7epwpd.js → model-resolver-v5dkyp31.js} +7 -7
- package/dist/chunks/{persistent-pty-qgwcde76.js → model-resolver-v93xbqr2.js} +16 -16
- package/dist/chunks/{persistent-pty-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-qvxvbnwj.js → model-resolver-vex7y4d1.js} +23 -23
- package/dist/chunks/{persistent-pty-m526qhmk.js → model-resolver-vnrz4pgq.js} +14 -14
- package/dist/chunks/{persistent-pty-jkg31575.js → model-resolver-vs2mxw6e.js} +12 -12
- package/dist/chunks/{persistent-pty-x1xcpfha.js → model-resolver-vstb6x8b.js} +15 -15
- package/dist/chunks/{persistent-pty-sdch2j4x.js → model-resolver-vwqc105j.js} +12 -12
- package/dist/chunks/{persistent-pty-pavjzv7z.js → model-resolver-vy3jd71w.js} +18 -18
- package/dist/chunks/{persistent-pty-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-qn4ba14w.js → model-resolver-wbkyxrgf.js} +5 -5
- package/dist/chunks/{persistent-pty-dcj77ap2.js → model-resolver-wbqy31zn.js} +1 -1
- package/dist/chunks/{persistent-pty-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-72tn9ghv.js → model-resolver-wdevvqhk.js} +14 -14
- package/dist/chunks/{persistent-pty-jtwxsvja.js → model-resolver-wdgm1b9h.js} +21 -21
- package/dist/chunks/{persistent-pty-q3x0tf1z.js → model-resolver-wea85wnq.js} +8 -8
- package/dist/chunks/{persistent-pty-p28nmw69.js → model-resolver-wkgjqrx7.js} +4 -4
- package/dist/chunks/{persistent-pty-tejv9b0j.js → model-resolver-wn7wpz7v.js} +22 -22
- package/dist/chunks/{persistent-pty-xskhzebk.js → model-resolver-wvh8s2yn.js} +8 -8
- package/dist/chunks/{persistent-pty-yq2bn28b.js → model-resolver-wy1grk9j.js} +5 -5
- package/dist/chunks/{persistent-pty-wk2d4yp7.js → model-resolver-x04m22yd.js} +28 -28
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-x43y2vfs.js → model-resolver-x43y2vfs.js} +2 -2
- package/dist/chunks/{persistent-pty-t369btdv.js → model-resolver-x46gjfhs.js} +11 -11
- package/dist/chunks/{persistent-pty-hx11cw1n.js → model-resolver-x8qpn73s.js} +28 -28
- package/dist/chunks/model-resolver-xfa62wd8.js +22 -0
- package/dist/chunks/{persistent-pty-2vgzs72b.js → model-resolver-xh49vxj8.js} +5 -5
- package/dist/chunks/{persistent-pty-a1tpkmh4.js → model-resolver-xjmdmay6.js} +2 -0
- package/dist/chunks/{persistent-pty-2b6sywcb.js → model-resolver-xmwzbncj.js} +8 -8
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-81swgkk7.js → model-resolver-y5mrfvw4.js} +9 -9
- package/dist/chunks/{persistent-pty-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/model-resolver-ypaemdrr.js +247 -0
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-2qqgsyc5.js → model-resolver-yvx62gnn.js} +5 -5
- package/dist/chunks/{persistent-pty-zyehkexa.js → model-resolver-yw2gt92n.js} +10 -10
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-1eygjsb7.js → model-resolver-z2kgn23z.js} +30 -30
- package/dist/chunks/{persistent-pty-z63w68vq.js → model-resolver-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-pwby03bc.js → model-resolver-zem9gw1c.js} +22 -22
- package/dist/chunks/{persistent-pty-cnhax2e6.js → model-resolver-zknapg7q.js} +15 -15
- package/dist/chunks/{persistent-pty-zs8qganv.js → model-resolver-zqczhjy7.js} +33 -33
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-kmv022h3.js → model-resolver-zsjw64s0.js} +1 -1
- package/dist/chunks/{persistent-pty-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-c05fm11c.js → model-resolver-zzy03re2.js} +18 -18
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- 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 +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +78 -78
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +7 -7
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +98 -98
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +78 -78
- package/dist/repository-cache.js +74 -74
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- 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 +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +82 -82
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +9 -9
- package/dist/types/session/history.d.ts +80 -0
- package/dist/types/session/transfer.d.ts +44 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-9sh4wc5j.js +0 -18
- package/dist/chunks/persistent-pty-drn01q1n.js +0 -22
- package/dist/chunks/persistent-pty-qapv375x.js +0 -4
- package/dist/chunks/persistent-pty-vj8pphjv.js +0 -247
- package/dist/chunks/persistent-pty-yaazxw7p.js +0 -462
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-hrnqkpcd.js → model-resolver-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-paphc93g.js → model-resolver-paphc93g.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service51
|
|
4
|
+
} from "./model-resolver-cppeb8e9.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch = {};
|
|
14
|
+
__export(exports_websearch, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
+
Plugin: () => Plugin6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin6 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service51;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin36 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin6, exports_websearch };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service74,
|
|
3
|
+
node78
|
|
4
|
+
} from "./model-resolver-9m7evh4e.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
@@ -24,7 +24,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
24
24
|
class Service14 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
26
|
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
27
|
-
const location = yield*
|
|
27
|
+
const location = yield* Service74;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -90,7 +90,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
90
90
|
var node17 = makeLocationNode({
|
|
91
91
|
service: Service14,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node78, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
96
|
export { Service14, node17, exports_formatter2 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-v2zxy9vy.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-7zavcbms.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-mk59f0qp.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node82
|
|
12
|
+
} from "./model-resolver-ak9msbxp.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID17,
|
|
25
|
+
Info: () => Info32,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service77,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
29
|
configured: () => configured11,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node81
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID17 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info32 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID17,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info26 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID17 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID17,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service77 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
61
|
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
-
service:
|
|
62
|
+
service: Service77,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node85,
|
|
64
|
+
deps: [node85, node82]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service77, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info32({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service77.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID17.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node81 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID17, Info32, NotFound3, CreateConflict2, Service77, configured11, node81, exports_workspace };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-34gkz9wj.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node72
|
|
9
|
+
} from "./model-resolver-9w6wr46b.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-cejc3es4.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event14,
|
|
34
|
+
ID: () => ID8,
|
|
35
|
+
Info: () => Info22,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
|
-
Ref: () =>
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
41
|
+
Ref: () => Ref3,
|
|
42
|
+
Service: () => Service66,
|
|
43
|
+
node: () => node70
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event14 } from "@opencode/schema/integration";
|
|
65
|
+
var ID8 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info22 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -85,15 +85,15 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
85
85
|
cause: Schema.Defect()
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Ref3 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service66 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
95
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service68;
|
|
97
97
|
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info22.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service66.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node70 = makeLocationNode({
|
|
569
|
+
service: Service66,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node72, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID8, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service66, node70, exports_integration, Event14 };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-6178vqjw.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-h63xhtna.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-r0vvnr3j.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
UnsupportedPackageError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-9a34e234.js";
|
|
20
20
|
|
|
21
21
|
// src/session/to-session-error.ts
|
|
22
22
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./model-resolver-k36djr8a.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-02nrjc1r.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service41
|
|
13
|
+
} from "./model-resolver-6rsb5r8s.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./model-resolver-9m7evh4e.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin9
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin9 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service41;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service74;
|
|
42
|
+
const watcher = yield* Service52;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin9, exports_instruction };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make5(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make5 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./model-resolver-k36djr8a.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make9
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make9 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service52;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make9, LoadError2, exports_module };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service51
|
|
4
|
+
} from "./model-resolver-cppeb8e9.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin32,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin32 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service51;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -90,4 +90,4 @@ var Plugin11 = define({
|
|
|
90
90
|
})
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
export {
|
|
93
|
+
export { Plugin32, exports_warming };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-c1g6mvbq.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID6,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info20,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-wdevvqhk.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
ModalModels: () => exports_models,
|
|
20
|
+
get: () => get2
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID7.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get2(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID6.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID6.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info20.make({
|
|
92
|
+
...Info20.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID6.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get2, exports_models };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin28
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin28 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin10 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin28, exports_mcp_codemode_exclusion };
|