@opencode/core 0.0.0-dev-19311 → 0.0.0-dev-19312
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 +69 -69
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{model-resolver-3y2vzd8j.js → instance-00mqm9kf.js} +1 -1
- package/dist/chunks/{model-resolver-qpt5r044.js → instance-01m43tcd.js} +6 -6
- package/dist/chunks/{model-resolver-hm085mrq.js → instance-02prr92s.js} +18 -18
- package/dist/chunks/{model-resolver-sath0g0v.js → instance-0fh0h7pk.js} +22 -22
- package/dist/chunks/{model-resolver-txf4gfjj.js → instance-0fkpnkf8.js} +55 -55
- package/dist/chunks/{model-resolver-1bs4t1p1.js → instance-0fmyca4z.js} +35 -35
- package/dist/chunks/{model-resolver-qgn6gcr1.js → instance-0jwsre1p.js} +5 -5
- package/dist/chunks/{model-resolver-0paq2nw3.js → instance-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → instance-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-v03cbedv.js → instance-0tdqy1rc.js} +34 -34
- package/dist/chunks/{model-resolver-qvrt22yc.js → instance-0wyznna1.js} +148 -148
- package/dist/chunks/{model-resolver-5b8g7156.js → instance-0wzmrwkd.js} +19 -19
- package/dist/chunks/{model-resolver-vd56qj1s.js → instance-15gnn6as.js} +8 -8
- package/dist/chunks/{model-resolver-hg29js9c.js → instance-16aytt1n.js} +5 -5
- package/dist/chunks/{model-resolver-1dazxqgg.js → instance-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-0hpxrkyb.js → instance-1dfhrqqs.js} +5 -5
- package/dist/chunks/{model-resolver-mym5xwza.js → instance-1j6kaabx.js} +11 -11
- package/dist/chunks/{model-resolver-crvrtykq.js → instance-1q81et77.js} +17 -17
- package/dist/chunks/{model-resolver-smayg48v.js → instance-1rvhnqv5.js} +35 -35
- package/dist/chunks/{model-resolver-wk5z6jzv.js → instance-1tjg7tvh.js} +9 -9
- package/dist/chunks/{model-resolver-53kakmxw.js → instance-1vy6qrvb.js} +82 -82
- package/dist/chunks/instance-1x11rq2a.js +18 -0
- package/dist/chunks/{model-resolver-mfqp6xfm.js → instance-1ygqh575.js} +6 -6
- package/dist/chunks/{model-resolver-21r38tys.js → instance-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2a5m3afh.js → instance-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-m13kr8wx.js → instance-2aw5j9c6.js} +13 -13
- package/dist/chunks/{model-resolver-xse2fbac.js → instance-2bb7w9kh.js} +13 -13
- package/dist/chunks/{model-resolver-vyqn3nqs.js → instance-2y34zzjz.js} +4 -4
- package/dist/chunks/{model-resolver-v5p5jd5d.js → instance-3162azsb.js} +16 -16
- package/dist/chunks/{model-resolver-bzzsz1b8.js → instance-33dwjbkd.js} +11 -11
- package/dist/chunks/{model-resolver-gkjrds9h.js → instance-3c0qrp0f.js} +13 -13
- package/dist/chunks/{model-resolver-t294w80x.js → instance-3cwqxzyd.js} +27 -27
- package/dist/chunks/{model-resolver-tpqcq9ma.js → instance-3dfxe9v5.js} +30 -30
- package/dist/chunks/{model-resolver-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-2ekhvkds.js → instance-3pbjq009.js} +6 -6
- package/dist/chunks/{model-resolver-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-y1rdatpn.js → instance-3y6p9bpe.js} +30 -30
- package/dist/chunks/{model-resolver-qpp5wgcs.js → instance-4000ta01.js} +10 -10
- package/dist/chunks/{model-resolver-4am1wjpn.js → instance-4066mr2m.js} +1 -1
- package/dist/chunks/{model-resolver-a6y89zjg.js → instance-498gcqgt.js} +81 -81
- package/dist/chunks/{model-resolver-vazvxs3c.js → instance-4kmdsgf5.js} +10 -10
- package/dist/chunks/{model-resolver-ek34y162.js → instance-4wjenyrf.js} +5 -5
- package/dist/chunks/{model-resolver-7pvzsz6j.js → instance-50tjd5x0.js} +46 -46
- package/dist/chunks/{model-resolver-pkmavskt.js → instance-53x3k2qp.js} +4 -4
- package/dist/chunks/{model-resolver-pdc8edc9.js → instance-58gx7bcb.js} +25 -25
- package/dist/chunks/{model-resolver-5daktx2q.js → instance-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-fkvyrnmv.js → instance-5gadzevc.js} +2 -2
- package/dist/chunks/{model-resolver-t0x5rdq8.js → instance-5kptn8c0.js} +9 -9
- package/dist/chunks/{model-resolver-5t3nmthw.js → instance-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-5gvs0vy6.js → instance-60z2cpgg.js} +3 -3
- package/dist/chunks/{model-resolver-669tq793.js → instance-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-7htwxs73.js → instance-6bma3c50.js} +17 -17
- package/dist/chunks/{model-resolver-2402vzrj.js → instance-6h73sxmp.js} +5 -5
- package/dist/chunks/{model-resolver-6msgmcgs.js → instance-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-5a3e4t2e.js → instance-6p1mk903.js} +50 -50
- package/dist/chunks/{model-resolver-71q4at8m.js → instance-71q4at8m.js} +1 -1
- package/dist/chunks/{model-resolver-xzjqnjyt.js → instance-76myzc3f.js} +4 -4
- package/dist/chunks/{model-resolver-p905rm1f.js → instance-79r1wrqa.js} +1 -1
- package/dist/chunks/{model-resolver-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-qe26s0zb.js → instance-7m5f9412.js} +8 -8
- package/dist/chunks/{model-resolver-n95h4grp.js → instance-81k2kmnv.js} +15 -15
- package/dist/chunks/{model-resolver-awbdwcvp.js → instance-81swgkk7.js} +2 -2
- package/dist/chunks/{model-resolver-2gvahrj6.js → instance-85nckw6s.js} +9 -9
- package/dist/chunks/{model-resolver-8d7r5vzw.js → instance-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-23n5nc7p.js → instance-8f3y3fjc.js} +9 -9
- package/dist/chunks/{model-resolver-19aya85j.js → instance-8jpcqb93.js} +7 -7
- package/dist/chunks/{model-resolver-dj2t23y0.js → instance-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-resolver-c68b4qab.js → instance-8pngxq2x.js} +10 -10
- package/dist/chunks/{model-resolver-ax70fxdt.js → instance-8qhww77c.js} +11 -11
- package/dist/chunks/{model-resolver-0v867qyd.js → instance-8ytfm0cx.js} +15 -15
- package/dist/chunks/{model-resolver-rz8cg23q.js → instance-947c2fz4.js} +33 -33
- package/dist/chunks/{model-resolver-2rw3mzdd.js → instance-9e5nbte5.js} +22 -22
- package/dist/chunks/{model-resolver-4sgjj86v.js → instance-9jdakqgh.js} +12 -12
- package/dist/chunks/{model-resolver-7g1znek2.js → instance-9kt49dv5.js} +4 -4
- package/dist/chunks/{model-resolver-gwgds8rz.js → instance-9zvjyx10.js} +23 -23
- package/dist/chunks/{model-resolver-5c4hm403.js → instance-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-resolver-qja371g1.js → instance-a4cxjx0n.js} +18 -18
- package/dist/chunks/{model-resolver-2taagk0w.js → instance-a64ekrmv.js} +3 -3
- package/dist/chunks/{model-resolver-qqazqvjv.js → instance-a9r0cd7h.js} +11 -11
- package/dist/chunks/{model-resolver-aaet6srn.js → instance-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-3tkg1v6e.js → instance-aead911t.js} +21 -21
- package/dist/chunks/{model-resolver-rgst1ddg.js → instance-ah5t6eey.js} +11 -11
- package/dist/chunks/{model-resolver-6fb6cyfd.js → instance-akjy133e.js} +14 -14
- package/dist/chunks/{model-resolver-dj14fq5x.js → instance-avgac2hf.js} +15 -15
- package/dist/chunks/{model-resolver-qzt97rh9.js → instance-ax3qdz20.js} +33 -33
- package/dist/chunks/{model-resolver-b6gygkdw.js → instance-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-dfe8djrf.js → instance-bct739vz.js} +4 -4
- package/dist/chunks/{model-resolver-y31b318c.js → instance-bha4atvq.js} +4 -4
- package/dist/chunks/{model-resolver-qnmw77rf.js → instance-bk92phqe.js} +5 -5
- package/dist/chunks/{model-resolver-eqhsskwv.js → instance-bzk45x5e.js} +4 -4
- package/dist/chunks/{model-resolver-cz2fjc0t.js → instance-c3kepfq8.js} +1 -1
- package/dist/chunks/instance-c6pebpj5.js +247 -0
- package/dist/chunks/{model-resolver-m0jqrx5p.js → instance-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-resolver-21gmtf5s.js → instance-cgd1k2r0.js} +17 -17
- package/dist/chunks/{model-resolver-7hd0m9s1.js → instance-cq53x2q6.js} +9 -9
- package/dist/chunks/{model-resolver-96jy3nrs.js → instance-cr3arcjg.js} +26 -26
- package/dist/chunks/{model-resolver-eez3sah5.js → instance-d94csp47.js} +26 -26
- package/dist/chunks/{model-resolver-jdh6s7jq.js → instance-dc76j9wz.js} +8 -8
- package/dist/chunks/{model-resolver-wbqy31zn.js → instance-dcj77ap2.js} +1 -1
- package/dist/chunks/{model-resolver-r1gq2p73.js → instance-dd8myhb5.js} +22 -22
- package/dist/chunks/{model-resolver-wtz344pq.js → instance-dk87e9as.js} +19 -19
- package/dist/chunks/{model-resolver-wzb930f5.js → instance-dqnm4g3a.js} +14 -14
- package/dist/chunks/{model-resolver-kbm5ywhv.js → instance-dv0zdqte.js} +28 -28
- package/dist/chunks/{model-resolver-rma5z0ck.js → instance-e0s0m8tm.js} +24 -24
- package/dist/chunks/{model-resolver-4tehx1tz.js → instance-e1kjazt8.js} +24 -24
- package/dist/chunks/{model-resolver-hjt4xg1x.js → instance-e82z9tr0.js} +7 -7
- package/dist/chunks/{model-resolver-s9yxznb6.js → instance-e9cy62py.js} +4 -4
- package/dist/chunks/{model-resolver-eaj1djv9.js → instance-eaj1djv9.js} +1 -1
- package/dist/chunks/{model-resolver-6jt15jam.js → instance-eeqcfs9e.js} +14 -14
- package/dist/chunks/{model-resolver-9yd8p6fr.js → instance-eh1hkw2t.js} +35 -35
- package/dist/chunks/{model-resolver-q5bwphvd.js → instance-ejt8n6vs.js} +15 -15
- package/dist/chunks/{model-resolver-nzwzy72p.js → instance-eq4db09p.js} +9 -9
- package/dist/chunks/{model-resolver-etq0c3wd.js → instance-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-b1ajx0g1.js → instance-ezw0c3qh.js} +7 -7
- package/dist/chunks/{model-resolver-yp2x3t23.js → instance-f2n192rq.js} +4 -4
- package/dist/chunks/{model-resolver-f3ngv102.js → instance-f3ngv102.js} +1 -1
- package/dist/chunks/{model-resolver-hdnk95c8.js → instance-f828m53h.js} +2 -2
- package/dist/chunks/{model-resolver-fs30ryqv.js → instance-f8j8gcy8.js} +23 -23
- package/dist/chunks/{model-resolver-xmryvm6r.js → instance-fd5dxjst.js} +18 -18
- package/dist/chunks/{model-resolver-5reahhcp.js → instance-fdrxk5eh.js} +22 -22
- package/dist/chunks/{model-resolver-81rrwt6s.js → instance-ff0htmxq.js} +6 -6
- package/dist/chunks/{model-resolver-a9b9x376.js → instance-fncmky5k.js} +7 -7
- package/dist/chunks/{model-resolver-jfcm55kc.js → instance-ftqydj17.js} +10 -10
- package/dist/chunks/{model-resolver-sfzmaz10.js → instance-fw2hnj19.js} +17 -17
- package/dist/chunks/{model-resolver-fxbjtjnd.js → instance-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-51k0a2ck.js → instance-fypqkx2y.js} +38 -38
- package/dist/chunks/{model-resolver-aaxaqk19.js → instance-fzz1ppzm.js} +4 -4
- package/dist/chunks/{model-resolver-a71pjsc9.js → instance-g4qa8rgv.js} +18 -18
- package/dist/chunks/{model-resolver-np146xf0.js → instance-g88n7je5.js} +13 -13
- package/dist/chunks/{model-resolver-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-ma48de29.js → instance-gebtr55s.js} +5 -5
- package/dist/chunks/{model-resolver-px1hepbq.js → instance-gsx0ryk4.js} +9 -9
- package/dist/chunks/{model-resolver-acsehg7c.js → instance-gzq8gx27.js} +22 -22
- package/dist/chunks/{model-resolver-h03wrkyp.js → instance-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-resolver-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-d6axdhgm.js → instance-hfkm0xqc.js} +43 -43
- package/dist/chunks/{model-resolver-j7wqg36k.js → instance-hgk2hpch.js} +11 -11
- package/dist/chunks/{model-resolver-y6wtm4ga.js → instance-hjkq1yva.js} +13 -13
- package/dist/chunks/{model-resolver-vj4a8mq6.js → instance-hm0vq5pv.js} +3 -3
- package/dist/chunks/{model-resolver-cqnjb978.js → instance-hskvv487.js} +29 -29
- package/dist/chunks/{model-resolver-rzr29mjv.js → instance-hwh1rkay.js} +1 -1
- package/dist/chunks/{model-resolver-j15mfg1p.js → instance-j15mfg1p.js} +1 -1
- package/dist/chunks/{model-resolver-n6aetzp4.js → instance-j2m4m1t4.js} +40 -40
- package/dist/chunks/{model-resolver-j56e64zr.js → instance-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-v28yx9rk.js → instance-j5c3q8h5.js} +6 -6
- package/dist/chunks/{model-resolver-jrec0msh.js → instance-je42t0w9.js} +34 -34
- package/dist/chunks/{model-resolver-4f4xg237.js → instance-jj4bmggp.js} +10 -10
- package/dist/chunks/{model-resolver-13bj4jyc.js → instance-jjk7qn2b.js} +6 -6
- package/dist/chunks/{model-resolver-gmykmxzz.js → instance-jq2qsjbc.js} +14 -14
- package/dist/chunks/{model-resolver-ys435pyz.js → instance-jq8ys055.js} +9 -9
- package/dist/chunks/{model-resolver-2vs2nh1n.js → instance-jvf3yq6v.js} +4 -4
- package/dist/chunks/{model-resolver-3d05yrhf.js → instance-jx1r5ssp.js} +17 -17
- package/dist/chunks/{model-resolver-cm6p1s29.js → instance-jzqz1400.js} +20 -20
- package/dist/chunks/{model-resolver-6tdy5psv.js → instance-k2z98nwc.js} +24 -24
- package/dist/chunks/{model-resolver-yyw6y8kf.js → instance-k5hc94bg.js} +11 -11
- package/dist/chunks/{model-resolver-k7d0894y.js → instance-k7d0894y.js} +3 -3
- package/dist/chunks/{model-resolver-kg06axw8.js → instance-kg06axw8.js} +1 -1
- package/dist/chunks/{model-resolver-zsjw64s0.js → instance-kmv022h3.js} +1 -1
- package/dist/chunks/{model-resolver-y9ndmn06.js → instance-ktndeztc.js} +26 -26
- package/dist/chunks/{model-resolver-z6qgwyj5.js → instance-m12hp6p6.js} +3 -3
- package/dist/chunks/{model-resolver-868qdqs3.js → instance-m51efdwf.js} +11 -11
- package/dist/chunks/{model-resolver-pk6gzyws.js → instance-m5m2byhr.js} +22 -22
- package/dist/chunks/{model-resolver-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-j028xdjb.js → instance-mhkvc446.js} +3 -3
- package/dist/chunks/{model-resolver-mkcjrzeh.js → instance-mkcjrzeh.js} +1 -1
- package/dist/chunks/{model-resolver-k3drw8gy.js → instance-mscy8054.js} +11 -11
- package/dist/chunks/{model-resolver-7z7893y4.js → instance-mvevne1d.js} +9 -9
- package/dist/chunks/{model-resolver-4mq91456.js → instance-n1wztqq6.js} +2 -2
- package/dist/chunks/{model-resolver-c5m6q3p0.js → instance-n41t7tqk.js} +21 -21
- package/dist/chunks/{model-resolver-2gp30egj.js → instance-n4dpz9gx.js} +4 -4
- package/dist/chunks/{model-resolver-1r3p2k7g.js → instance-nb6xeg3e.js} +24 -24
- package/dist/chunks/{model-resolver-9wc31ee9.js → instance-nd0sb1nf.js} +9 -9
- package/dist/chunks/{model-resolver-d4bs6nh8.js → instance-nfv8fav6.js} +31 -31
- package/dist/chunks/{model-resolver-z3bd92a5.js → instance-nq2fgdnn.js} +24 -24
- package/dist/chunks/{model-resolver-76yzkxkp.js → instance-p0p3027a.js} +23 -23
- package/dist/chunks/{model-resolver-8ns0hvns.js → instance-p0qtp96g.js} +29 -29
- package/dist/chunks/{model-resolver-bhj4y43k.js → instance-p44d8wdy.js} +5 -5
- package/dist/chunks/{model-resolver-xjvpf4s6.js → instance-p4eg0sk5.js} +8 -8
- package/dist/chunks/{model-resolver-n93cvmfp.js → instance-p64wmhee.js} +33 -33
- package/dist/chunks/{model-resolver-p72z5xx6.js → instance-p72z5xx6.js} +2 -2
- package/dist/chunks/{model-resolver-9cbpths4.js → instance-penyehcw.js} +22 -22
- package/dist/chunks/{model-resolver-z7h0bx9a.js → instance-pew7ynfp.js} +15 -15
- package/dist/chunks/{model-resolver-xv77w4m4.js → instance-pjbxazhx.js} +21 -21
- package/dist/chunks/{model-resolver-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-gmnw41t9.js → instance-pkvxpfqr.js} +22 -22
- package/dist/chunks/{model-resolver-0jmjzee4.js → instance-pmar23ha.js} +15 -15
- package/dist/chunks/{model-resolver-w0cebxam.js → instance-q04dv65n.js} +6 -6
- package/dist/chunks/{model-resolver-983ft7s8.js → instance-q0pbtp0k.js} +9 -9
- package/dist/chunks/{model-resolver-gsv4ca8f.js → instance-q47s3gkn.js} +41 -41
- package/dist/chunks/{model-resolver-bd9nqr2t.js → instance-qcfsefxz.js} +5 -5
- package/dist/chunks/{model-resolver-0hxph87b.js → instance-qfp8jhvv.js} +11 -11
- package/dist/chunks/{model-resolver-jh3mr9fx.js → instance-qk6tq941.js} +4 -4
- package/dist/chunks/{model-resolver-dp2desqw.js → instance-qqrhxv6c.js} +22 -22
- package/dist/chunks/{model-resolver-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-fnb1tm2q.js → instance-qy5as2cw.js} +5 -5
- package/dist/chunks/{model-resolver-b3xbanpc.js → instance-rb9420nd.js} +8 -8
- package/dist/chunks/{model-resolver-w79zsp0s.js → instance-rfnzy394.js} +1 -1
- package/dist/chunks/{model-resolver-4sp1fpdf.js → instance-rh63tm4e.js} +14 -14
- package/dist/chunks/{model-resolver-snxhrb6z.js → instance-rz0qknjf.js} +5 -5
- package/dist/chunks/{model-resolver-cmj3wvnf.js → instance-rzsfqk7r.js} +18 -18
- package/dist/chunks/{model-resolver-daem90sq.js → instance-s11dp4cj.js} +44 -44
- package/dist/chunks/{model-resolver-7aa1cj5w.js → instance-s216njt5.js} +9 -9
- package/dist/chunks/instance-s3jy48p4.js +462 -0
- package/dist/chunks/{model-resolver-cdqe3acw.js → instance-s4anq1bw.js} +6 -6
- package/dist/chunks/{model-resolver-0sawsjns.js → instance-s9d0w252.js} +16 -16
- package/dist/chunks/{model-resolver-c0qy3m8p.js → instance-sgmah1tz.js} +15 -15
- package/dist/chunks/{model-resolver-fyymr9xg.js → instance-shh6fz4q.js} +4 -4
- package/dist/chunks/{model-resolver-v22jagvy.js → instance-smefw2pd.js} +11 -11
- package/dist/chunks/{model-resolver-8485p8c8.js → instance-stc7m7tv.js} +22 -22
- package/dist/chunks/{model-resolver-k8aynvez.js → instance-sy1rfask.js} +10 -10
- package/dist/chunks/{model-resolver-dy83786h.js → instance-szm1m0zv.js} +19 -19
- package/dist/chunks/{model-resolver-ez47arx5.js → instance-t0fxg8b9.js} +5 -5
- package/dist/chunks/{model-resolver-6hh8tjw2.js → instance-t2fc4mz5.js} +4 -4
- package/dist/chunks/{model-resolver-c1g6mvbq.js → instance-t69nnh3p.js} +6 -6
- package/dist/chunks/{model-resolver-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → instance-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-yyb7tjpc.js → instance-th5km1p3.js} +5 -5
- package/dist/chunks/{model-resolver-vxcpq89m.js → instance-ttjyywkc.js} +8 -8
- package/dist/chunks/{model-resolver-k8m05cxs.js → instance-tvm9pjcv.js} +16 -16
- package/dist/chunks/{model-resolver-tvtrv512.js → instance-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-p07p7dxg.js → instance-tvyjn9ew.js} +16 -16
- package/dist/chunks/{model-resolver-9t2yae5y.js → instance-v376vfgk.js} +8 -8
- package/dist/chunks/{model-resolver-ajztzy0x.js → instance-v3hh4rxq.js} +11 -11
- package/dist/chunks/{model-resolver-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-a3nnj4kk.js → instance-vg40sz7m.js} +46 -46
- package/dist/chunks/{model-resolver-m18gzt7g.js → instance-vwkptsq1.js} +30 -30
- package/dist/chunks/{model-resolver-vzcthcp8.js → instance-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-paegk39x.js → instance-w1k39n5e.js} +4 -4
- package/dist/chunks/{model-resolver-bzvjbgc5.js → instance-w1w0h0f3.js} +15 -15
- package/dist/chunks/{model-resolver-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-35m6n0h8.js → instance-wexgdxw3.js} +9 -9
- package/dist/chunks/{model-resolver-nzcr7xy5.js → instance-wpk4n09p.js} +26 -26
- package/dist/chunks/{model-resolver-vs5zg3ka.js → instance-wqzt12sf.js} +9 -9
- package/dist/chunks/{model-resolver-ptbz0kzz.js → instance-wt8d0ad1.js} +20 -20
- package/dist/chunks/{model-resolver-nmrsa8tb.js → instance-wtkjyqjf.js} +21 -21
- package/dist/chunks/{model-resolver-70rhfn1p.js → instance-wyypj47g.js} +17 -17
- package/dist/chunks/{model-resolver-q15ghr61.js → instance-x0p4cgaw.js} +15 -15
- package/dist/chunks/{model-resolver-x1ezjp6w.js → instance-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-5xtgfte3.js → instance-x3et2xth.js} +4 -4
- package/dist/chunks/{model-resolver-x43y2vfs.js → instance-x43y2vfs.js} +2 -2
- package/dist/chunks/{model-resolver-fkjex2d7.js → instance-x6xh22k9.js} +35 -35
- package/dist/chunks/instance-xa73t4nm.js +22 -0
- package/dist/chunks/{model-resolver-rswbxkdz.js → instance-xdec0jgj.js} +18 -18
- package/dist/chunks/{model-resolver-dz4bsems.js → instance-xmsv29db.js} +6 -6
- package/dist/chunks/{model-resolver-v2p4rfxw.js → instance-xqrmy91b.js} +6 -6
- package/dist/chunks/{model-resolver-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-y71avatq.js → instance-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-1mtcg6ar.js → instance-y86t833z.js} +23 -23
- package/dist/chunks/{model-resolver-xpbmavdy.js → instance-ydgpny73.js} +68 -68
- package/dist/chunks/{model-resolver-v5hpcsb0.js → instance-yjptyezs.js} +5 -5
- package/dist/chunks/{model-resolver-h7gdqzd6.js → instance-yk2ak6d8.js} +6 -6
- package/dist/chunks/{model-resolver-yrhqyw5v.js → instance-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → instance-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-7ptgkj9x.js → instance-ytkdpvbf.js} +30 -30
- package/dist/chunks/{model-resolver-94mafesx.js → instance-ytp6sm1e.js} +22 -22
- package/dist/chunks/{model-resolver-n7qdmp8m.js → instance-yxbx8b1t.js} +17 -17
- package/dist/chunks/{model-resolver-z6ccwhj9.js → instance-yz0abg76.js} +30 -30
- package/dist/chunks/{model-resolver-423zw90g.js → instance-z00pjy0h.js} +8 -8
- package/dist/chunks/{model-resolver-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-bv56xrks.js → instance-z1f4gy9p.js} +8 -8
- package/dist/chunks/{model-resolver-x0e6qwje.js → instance-z5szsvcr.js} +13 -13
- package/dist/chunks/{model-resolver-z63w68vq.js → instance-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-h94x1q5y.js → instance-z7xj2rat.js} +3 -3
- package/dist/chunks/{model-resolver-hmyxjnbw.js → instance-z8db85t7.js} +13 -13
- package/dist/chunks/instance-z926abd4.js +4 -0
- package/dist/chunks/{model-resolver-r8er4w6q.js → instance-za6kma0e.js} +15 -15
- package/dist/chunks/{model-resolver-jzhcgjv7.js → instance-ze5ksjrg.js} +13 -13
- package/dist/chunks/{model-resolver-y397pytd.js → instance-ze5v0a14.js} +8 -8
- package/dist/chunks/{model-resolver-rq775frq.js → instance-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-sz79wj9p.js → instance-zj91daq9.js} +11 -11
- package/dist/chunks/{model-resolver-vn05ks9g.js → instance-zmbrasps.js} +11 -11
- package/dist/chunks/{model-resolver-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-0aq3bv6p.js → instance-ztj0rm6a.js} +24 -24
- package/dist/chunks/{model-resolver-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- 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 +79 -79
- 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 +116 -116
- 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 +113 -113
- 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 +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +360 -360
- 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 +82 -82
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- 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 +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +80 -80
- 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 +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +94 -94
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- 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 +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +156 -156
- package/dist/plugin/sdk.js +70 -70
- 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 +342 -342
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- 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 +127 -127
- 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 +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- 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 +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- 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 +73 -73
- 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 +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +213 -213
- 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 +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +84 -84
- 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 +116 -116
- package/dist/tool/plugin/grep.js +120 -120
- 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 +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +111 -111
- 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 +11 -11
- 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 +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +1 -1
- 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 +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/model-resolver-0mesazry.js +0 -4
- package/dist/chunks/model-resolver-27ajfczk.js +0 -247
- package/dist/chunks/model-resolver-6nbzjb56.js +0 -462
- package/dist/chunks/model-resolver-rap9a73h.js +0 -18
- package/dist/chunks/model-resolver-z6nw9z3j.js +0 -22
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-2f04pwep.js → instance-2f04pwep.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → instance-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → instance-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a1tpkmh4.js → instance-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → instance-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → instance-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-hrnqkpcd.js → instance-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-paphc93g.js → instance-paphc93g.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → instance-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → instance-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → instance-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78,
|
|
6
6
|
node83
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Event15,
|
|
10
|
-
Service63,
|
|
11
|
-
node67
|
|
12
|
-
} from "./model-resolver-d4bs6nh8.js";
|
|
13
|
-
import {
|
|
14
|
-
Service75,
|
|
15
|
-
node80
|
|
16
|
-
} from "./model-resolver-6fb6cyfd.js";
|
|
7
|
+
} from "./instance-v376vfgk.js";
|
|
17
8
|
import {
|
|
9
|
+
Event14,
|
|
18
10
|
Service64,
|
|
19
11
|
node68
|
|
20
|
-
} from "./
|
|
12
|
+
} from "./instance-nfv8fav6.js";
|
|
21
13
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
14
|
+
Service76,
|
|
15
|
+
node81
|
|
16
|
+
} from "./instance-akjy133e.js";
|
|
17
|
+
import {
|
|
18
|
+
Service51,
|
|
19
|
+
node54
|
|
20
|
+
} from "./instance-k2z98nwc.js";
|
|
21
|
+
import {
|
|
22
|
+
ID9,
|
|
23
|
+
Service65,
|
|
24
|
+
node69
|
|
25
|
+
} from "./instance-nq2fgdnn.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instance-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID7,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service63,
|
|
34
|
+
node67
|
|
35
|
+
} from "./instance-cr3arcjg.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./instance-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service35,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured4,
|
|
66
|
+
layer: () => layer15,
|
|
67
|
+
node: () => node39
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID7.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service35 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options4 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
176
|
+
var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service76;
|
|
178
|
+
const environment = yield* Service51;
|
|
179
179
|
const bus = yield* Service78;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service65;
|
|
181
|
+
const integration = yield* Service63;
|
|
182
|
+
const credentials = yield* Service64;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID7.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError3({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID9.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service51, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service35.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured4(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service35,
|
|
713
|
+
layer: layer15(options),
|
|
714
|
+
deps: [node81, node54, node83, node69, node67, node68]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node39 = configured4();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service35, Options4, layer15, configured4, node39, exports_mcp4 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-t69nnh3p.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-rh63tm4e.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service38,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node42
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service38 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service38, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service38.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service48, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node42 = makeGlobalNode({ service: Service38, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service38, node42, exports_environment };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service68,
|
|
6
|
+
node73
|
|
7
|
+
} from "./instance-g88n7je5.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-2f04pwep.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service59,
|
|
23
23
|
make: () => make19,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node63
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
|
|
|
50
50
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service59 extends Context.Service()("@opencode/Job") {
|
|
54
54
|
}
|
|
55
55
|
function snapshot(job) {
|
|
56
56
|
return {
|
|
@@ -78,7 +78,7 @@ function decrementSession(input, sessionID) {
|
|
|
78
78
|
return next;
|
|
79
79
|
}
|
|
80
80
|
var make19 = Effect.gen(function* () {
|
|
81
|
-
const kv = yield*
|
|
81
|
+
const kv = yield* Service68;
|
|
82
82
|
const state = {
|
|
83
83
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
84
84
|
scope: yield* Scope.Scope
|
|
@@ -307,7 +307,7 @@ var make19 = Effect.gen(function* () {
|
|
|
307
307
|
return recovered;
|
|
308
308
|
}).pipe(Effect.withSpan("Job.pendingBackground"));
|
|
309
309
|
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
|
|
310
|
-
return
|
|
310
|
+
return Service59.of({
|
|
311
311
|
get,
|
|
312
312
|
start,
|
|
313
313
|
wait,
|
|
@@ -319,7 +319,7 @@ var make19 = Effect.gen(function* () {
|
|
|
319
319
|
completeBackground
|
|
320
320
|
});
|
|
321
321
|
});
|
|
322
|
-
var layer = Layer.effect(
|
|
323
|
-
var
|
|
322
|
+
var layer = Layer.effect(Service59, make19);
|
|
323
|
+
var node63 = makeGlobalNode({ service: Service59, layer, deps: [node73] });
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { Service59, make19, node63, exports_job };
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
ID15,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-a64ekrmv.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-fdrxk5eh.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent = {};
|
|
15
|
+
__export(exports_agent, {
|
|
16
|
+
AgentPlugin: () => exports_agent,
|
|
17
|
+
Plugin: () => Plugin11
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin11 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -148,4 +148,4 @@ var Plugin25 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin11, exports_agent };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-t69nnh3p.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service48
|
|
8
|
+
} from "./instance-hfkm0xqc.js";
|
|
9
9
|
import {
|
|
10
10
|
observe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-qsdy395h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/config/plugin/provider.ts
|
|
17
17
|
var exports_provider = {};
|
|
18
18
|
__export(exports_provider, {
|
|
19
19
|
ConfigProviderPlugin: () => exports_provider,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin22
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin22 = define({
|
|
26
26
|
id: "opencode.config.provider",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service48;
|
|
29
29
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
30
30
|
yield* ctx.integration.transform((integrations) => {
|
|
31
31
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -155,4 +155,4 @@ function configuredProviders(entries) {
|
|
|
155
155
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
export {
|
|
158
|
+
export { Plugin22, exports_provider };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instance-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/git.ts
|
|
13
13
|
var exports_git3 = {};
|
|
@@ -15,11 +15,11 @@ __export(exports_git3, {
|
|
|
15
15
|
Git: () => exports_git3,
|
|
16
16
|
OperationError: () => OperationError3,
|
|
17
17
|
Repository: () => Repository2,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service79,
|
|
19
19
|
TreeID: () => TreeID2,
|
|
20
20
|
Worktree: () => Worktree2,
|
|
21
21
|
WorktreeError: () => WorktreeError2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node84
|
|
23
23
|
});
|
|
24
24
|
import path from "path";
|
|
25
25
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
class
|
|
88
|
+
class Service79 extends Context.Service()("@opencode/Git") {
|
|
89
89
|
}
|
|
90
|
-
var layer = Layer.effect(
|
|
90
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
91
91
|
const fs = yield* FSUtil.Service;
|
|
92
92
|
const proc = yield* AppProcess.Service;
|
|
93
93
|
const locks = makeUnsafe2();
|
|
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
409
409
|
kind: index === 0 ? "main" : "linked"
|
|
410
410
|
}));
|
|
411
411
|
});
|
|
412
|
-
return
|
|
412
|
+
return Service79.of({
|
|
413
413
|
repo: { discover, clone, create },
|
|
414
414
|
remote: { get: remote },
|
|
415
415
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
}));
|
|
428
|
-
var
|
|
428
|
+
var node84 = makeGlobalNode({ service: Service79, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
429
429
|
function run(cwd, proc, args) {
|
|
430
430
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
431
431
|
}
|
|
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
|
|
|
450
450
|
return path.resolve(cwd, normalized);
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
453
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service79, node84, exports_git3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service29,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node33
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service29 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
|
|
|
331
331
|
}, { discard: true });
|
|
332
332
|
});
|
|
333
333
|
yield* Effect.addFinalizer(() => closeAll);
|
|
334
|
-
return
|
|
334
|
+
return Service29.of({ bind, close, closeAll });
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
337
337
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
338
338
|
})));
|
|
339
|
-
var
|
|
339
|
+
var node33 = makeGlobalNode({ service: Service29, layer: layer12, deps: [webSocketConstructor2] });
|
|
340
340
|
|
|
341
|
-
export {
|
|
341
|
+
export { Service29, makeLayer2, layer12, node33, exports_model_transport };
|