@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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-t69nnh3p.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID10,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info24,
|
|
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/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 = ID11.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(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID10.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 Info24.make({
|
|
92
|
+
...Info24.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID10.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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./instance-m51efdwf.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service68,
|
|
17
|
+
node: () => node73
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service68 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service80).db;
|
|
26
|
+
return Service68.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node73 = makeGlobalNode({ service: Service68, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service68, node73, exports_kv };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service8,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service8.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node11 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service8, node11, exports_discovery };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./instance-m5m2byhr.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./instance-akjy133e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service48
|
|
12
|
+
} from "./instance-hfkm0xqc.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-dd8myhb5.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service8
|
|
20
|
+
} from "./instance-gsx0ryk4.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-01m43tcd.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instance-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill2 = {};
|
|
30
|
+
__export(exports_skill2, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
+
Plugin: () => Plugin18
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin18 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service48;
|
|
43
|
+
const discovery = yield* Service8;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service76;
|
|
47
|
+
const watcher = yield* Service49;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -181,4 +181,4 @@ var Plugin13 = define({
|
|
|
181
181
|
})
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Plugin18, exports_skill2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-v376vfgk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event14,
|
|
7
|
+
Service64,
|
|
8
|
+
node68
|
|
9
|
+
} from "./instance-nfv8fav6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service49,
|
|
12
|
+
node52
|
|
13
|
+
} from "./instance-m5m2byhr.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node81
|
|
20
|
+
} from "./instance-akjy133e.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instance-pkvxpfqr.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instance-bk92phqe.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instance-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service50,
|
|
36
|
+
Event9,
|
|
37
|
+
node53
|
|
38
|
+
} from "./instance-xdec0jgj.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./instance-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options5,
|
|
48
|
+
Service: () => Service48,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured5,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer19,
|
|
53
|
+
node: () => node51,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options5 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service48 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service48, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var
|
|
97
|
+
var layer19 = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
99
|
+
const location = yield* Service76;
|
|
100
|
+
const watcher = yield* Service49;
|
|
101
101
|
const bus = yield* Service78;
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
102
|
+
const credentials = yield* Service64;
|
|
103
|
+
const wellknown = yield* Service50;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -223,8 +223,8 @@ var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
223
223
|
}, (effect) => reloadLock.withPermit(effect));
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
|
-
yield* bus.subscribe(
|
|
227
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
|
+
yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
230
230
|
return Effect.void;
|
|
@@ -235,20 +235,20 @@ var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service48.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured5(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
248
|
-
layer:
|
|
249
|
-
deps: [
|
|
247
|
+
service: Service48,
|
|
248
|
+
layer: layer19(options),
|
|
249
|
+
deps: [node52, node83, FSUtil.node, Global.node, node81, node68, node53]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node51 = configured5();
|
|
253
253
|
|
|
254
|
-
export { latest2,
|
|
254
|
+
export { latest2, Options5, Service48, Test2, testLayer2, layer19, configured5, node51, exports_config };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-v376vfgk.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event14
|
|
7
|
+
} from "./instance-nfv8fav6.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID7,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-cr3arcjg.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID11,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-t69nnh3p.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/provider/opencode.ts
|
|
19
19
|
import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
43
43
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
44
44
|
function oauth(http) {
|
|
45
45
|
return {
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID7.make("opencode"),
|
|
47
47
|
method: {
|
|
48
48
|
id: methodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -111,7 +111,7 @@ var OpencodePlugin2 = define({
|
|
|
111
111
|
catalog.provider.update(providerID, (provider) => {
|
|
112
112
|
if (source && source.provider !== provider)
|
|
113
113
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
114
|
-
provider.integrationID =
|
|
114
|
+
provider.integrationID = ID7.make("opencode");
|
|
115
115
|
if (item.canonical !== undefined)
|
|
116
116
|
provider.canonical = item.canonical;
|
|
117
117
|
if (item.name !== undefined)
|
|
@@ -174,7 +174,7 @@ var OpencodePlugin2 = define({
|
|
|
174
174
|
});
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
const item = catalog.provider.get(
|
|
177
|
+
const item = catalog.provider.get(ID11.opencode);
|
|
178
178
|
if (!item)
|
|
179
179
|
return;
|
|
180
180
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
|
|
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
197
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
198
|
-
yield* bus.subscribe(
|
|
198
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function fetchProviders(http, value) {
|
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
UnsupportedPackageError3,
|
|
4
4
|
UnresolvedProviderVariablesError3,
|
|
5
5
|
UnsupportedCompactionError3,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service60,
|
|
7
|
+
node64
|
|
8
|
+
} from "./instance-j2m4m1t4.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-2f04pwep.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service43,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
23
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
24
24
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
25
25
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
26
26
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node46,
|
|
28
28
|
resolved: () => resolved2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var UnsupportedPackageError2 = UnsupportedPackageError3;
|
|
|
51
51
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
52
52
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service43 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
55
55
|
}
|
|
56
56
|
var resolved2 = (model, options) => ({
|
|
57
57
|
model,
|
|
@@ -65,9 +65,9 @@ var resolved2 = (model, options) => ({
|
|
|
65
65
|
limit: options.limit,
|
|
66
66
|
compaction: options.compaction
|
|
67
67
|
});
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const resolver = yield*
|
|
70
|
-
return
|
|
68
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
69
|
+
const resolver = yield* Service60;
|
|
70
|
+
return Service43.of({
|
|
71
71
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
72
72
|
if (!session.model) {
|
|
73
73
|
const resolved = yield* resolver.resolve();
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node46 = makeLocationNode({ service: Service43, layer, deps: [node64] });
|
|
89
89
|
|
|
90
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
90
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service43, resolved2, node46, exports_model };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-hwh1rkay.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-m12hp6p6.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|