@opencode/core 0.0.0-dev-19883 → 0.0.0-dev-19885
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{event-logger-3csn3f6x.js → app-014xdmgp.js} +26 -26
- package/dist/chunks/{event-logger-v2f267zw.js → app-01s6r663.js} +17 -17
- package/dist/chunks/{event-logger-5jghf0hr.js → app-03matkmd.js} +17 -17
- package/dist/chunks/{event-logger-q4x4f9x3.js → app-06r2eyqd.js} +6 -6
- package/dist/chunks/{event-logger-xfqb4thj.js → app-07can071.js} +25 -25
- package/dist/chunks/{event-logger-t550f9t1.js → app-0gdmqesm.js} +4 -4
- package/dist/chunks/{event-logger-tw4cw4te.js → app-0hr54mt4.js} +31 -31
- package/dist/chunks/{event-logger-pnezrcsm.js → app-0j8d1df6.js} +5 -5
- package/dist/chunks/{event-logger-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{event-logger-0q0f95c6.js → app-0q0f95c6.js} +1 -1
- package/dist/chunks/{event-logger-40zcdha5.js → app-0sa6p4t3.js} +11 -11
- package/dist/chunks/{event-logger-erw0j3dc.js → app-0tv5m9zy.js} +15 -15
- package/dist/chunks/{event-logger-nv6sgpkb.js → app-11823ez3.js} +9 -9
- package/dist/chunks/{event-logger-k9eyp8c5.js → app-16rcg4y4.js} +30 -30
- package/dist/chunks/{event-logger-t9zs3egg.js → app-1a6p2twq.js} +4 -4
- package/dist/chunks/{event-logger-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{event-logger-ef1vt8sq.js → app-1s3za36d.js} +4 -4
- package/dist/chunks/{event-logger-nemvvhp1.js → app-1wr3afwe.js} +5 -5
- package/dist/chunks/{event-logger-y8bg65e2.js → app-1zcc4bn4.js} +11 -11
- package/dist/chunks/{event-logger-s8xqzfhv.js → app-20dk8r1s.js} +26 -26
- package/dist/chunks/{event-logger-tqsbc54k.js → app-20ycjnd3.js} +6 -6
- package/dist/chunks/{event-logger-5y196rt8.js → app-20zx6c52.js} +22 -22
- package/dist/chunks/{event-logger-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{event-logger-msq0jde0.js → app-26ym7a2d.js} +4 -4
- package/dist/chunks/{event-logger-z63w68vq.js → app-29x78va6.js} +6 -6
- package/dist/chunks/{event-logger-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{event-logger-c9sk7z94.js → app-2f21k4jq.js} +19 -19
- package/dist/chunks/{event-logger-nybvked5.js → app-2fvbvr4z.js} +13 -13
- package/dist/chunks/{event-logger-q1v1tjfj.js → app-2hsx99jb.js} +36 -36
- package/dist/chunks/{event-logger-0jwsre1p.js → app-2k8khapm.js} +5 -5
- package/dist/chunks/{event-logger-ckqp5h15.js → app-2npqe2nd.js} +34 -34
- package/dist/chunks/{event-logger-pstg3rfm.js → app-2pjc63d4.js} +1 -1
- package/dist/chunks/{event-logger-nrdmrqsx.js → app-2pnhn36q.js} +21 -21
- package/dist/chunks/{event-logger-c121y83y.js → app-35w9qdzz.js} +9 -9
- package/dist/chunks/app-39c2k6vv.js +26 -0
- package/dist/chunks/{event-logger-adbn4dna.js → app-39dgwvb1.js} +27 -27
- package/dist/chunks/{event-logger-j15mfg1p.js → app-3b1q5j1v.js} +6 -6
- package/dist/chunks/{event-logger-dwhttab4.js → app-3e6x224v.js} +18 -18
- package/dist/chunks/{event-logger-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{event-logger-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-rtbp0y8z.js → app-3m4ehbcm.js} +10 -10
- package/dist/chunks/{event-logger-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-ws6abfst.js → app-3vaynbq5.js} +3 -3
- package/dist/chunks/{event-logger-mtd3hevm.js → app-44zmf7q8.js} +43 -43
- package/dist/chunks/{event-logger-fr5z3gca.js → app-49yvn64x.js} +1 -1
- package/dist/chunks/{event-logger-kz7agx4r.js → app-4d4f54qe.js} +42 -42
- package/dist/chunks/app-4v7qdvcn.js +18 -0
- package/dist/chunks/{event-logger-dz8x4rxg.js → app-4y9pqhyv.js} +4 -4
- package/dist/chunks/{event-logger-sfk65rgw.js → app-55y9qcck.js} +8 -8
- package/dist/chunks/{event-logger-56gdpj1q.js → app-56gdpj1q.js} +2 -2
- package/dist/chunks/{event-logger-533t3k18.js → app-57e9z27j.js} +8 -8
- package/dist/chunks/{event-logger-57ez7d0k.js → app-57ez7d0k.js} +2 -2
- package/dist/chunks/{event-logger-s8mtmqsj.js → app-57m20ys8.js} +5 -5
- package/dist/chunks/{event-logger-5c4hm403.js → app-5c4hm403.js} +3 -3
- package/dist/chunks/{event-logger-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{event-logger-6hc1ve34.js → app-5mj83k5s.js} +11 -11
- package/dist/chunks/{event-logger-wqc6684y.js → app-5nb2d01r.js} +2 -2
- package/dist/chunks/{event-logger-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{event-logger-cc6fgmxw.js → app-5v8q48de.js} +33 -33
- package/dist/chunks/{event-logger-km0q4cc0.js → app-5vt9esmq.js} +20 -20
- package/dist/chunks/{event-logger-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{event-logger-cr4m8zwx.js → app-688dcwrg.js} +11 -11
- package/dist/chunks/{event-logger-fc3harsg.js → app-68zcn1pn.js} +5 -5
- package/dist/chunks/{event-logger-h4gjr50j.js → app-6c2r5v8w.js} +4 -4
- package/dist/chunks/{event-logger-2402vzrj.js → app-6h73sxmp.js} +5 -5
- package/dist/chunks/{event-logger-6msgmcgs.js → app-6msgmcgs.js} +1 -1
- package/dist/chunks/{event-logger-tvk4srm3.js → app-6nshdwd7.js} +34 -34
- package/dist/chunks/{event-logger-bwckxjxx.js → app-6r8xth9q.js} +11 -11
- package/dist/chunks/{event-logger-c1np9tvh.js → app-709xpvx9.js} +12 -12
- package/dist/chunks/{event-logger-zh8ae39d.js → app-711sgqvm.js} +9 -9
- package/dist/chunks/{event-logger-8mbscqky.js → app-79mnhcfn.js} +8 -8
- package/dist/chunks/{event-logger-b6d8p86x.js → app-7b4r5at6.js} +17 -17
- package/dist/chunks/{event-logger-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-5qpddqx9.js → app-7ekr1ah4.js} +32 -32
- package/dist/chunks/{event-logger-1zqt6k48.js → app-7ghxp6dc.js} +11 -11
- package/dist/chunks/{event-logger-0f9afca0.js → app-7gvwkz6m.js} +5 -5
- package/dist/chunks/{event-logger-d52xjy57.js → app-7hnsdr40.js} +28 -28
- package/dist/chunks/{event-logger-wcp0pvg9.js → app-7hwc72pw.js} +43 -43
- package/dist/chunks/{event-logger-j945v2sv.js → app-7ka5mwj0.js} +24 -24
- package/dist/chunks/{event-logger-8akqzrar.js → app-7mvfcvez.js} +22 -22
- package/dist/chunks/{event-logger-3td8ra85.js → app-7vneq8n3.js} +7 -7
- package/dist/chunks/{event-logger-pkhzxmfp.js → app-7w8wfers.js} +27 -27
- package/dist/chunks/{event-logger-0jcepjca.js → app-7x1nw6gz.js} +12 -12
- package/dist/chunks/{event-logger-syh73nww.js → app-876jnmkn.js} +21 -21
- package/dist/chunks/{event-logger-jbzwn50f.js → app-88yxd0gw.js} +45 -45
- package/dist/chunks/{event-logger-tcezcvh9.js → app-89znhe33.js} +4 -4
- package/dist/chunks/{event-logger-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{event-logger-46efvg8p.js → app-8j10kyg7.js} +11 -11
- package/dist/chunks/{event-logger-vy0sc1r4.js → app-8kefq0e4.js} +29 -29
- package/dist/chunks/{event-logger-9c3np669.js → app-8n69n882.js} +7 -7
- package/dist/chunks/{event-logger-pg0h3cca.js → app-8trhq89n.js} +4 -4
- package/dist/chunks/{event-logger-cmwkp3r5.js → app-8v6pyhej.js} +8 -8
- package/dist/chunks/{event-logger-f19mgfsc.js → app-915nf07v.js} +11 -11
- package/dist/chunks/{event-logger-475xsn2x.js → app-9jn97mr4.js} +10 -10
- package/dist/chunks/{event-logger-8w6a2ddy.js → app-9n0txh3w.js} +32 -32
- package/dist/chunks/{event-logger-08pqa12r.js → app-9pe371ph.js} +14 -14
- package/dist/chunks/{event-logger-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{event-logger-a48tmg35.js → app-abfe342y.js} +5 -5
- package/dist/chunks/{event-logger-4fdckjx1.js → app-aky1hhm0.js} +28 -28
- package/dist/chunks/{event-logger-rmxzq7f5.js → app-arndb05z.js} +8 -8
- package/dist/chunks/{event-logger-zsbsgkcm.js → app-aswv42tr.js} +11 -11
- package/dist/chunks/{event-logger-v5dkyp31.js → app-axtvtek4.js} +7 -7
- package/dist/chunks/{event-logger-4s11dycz.js → app-azynnvek.js} +57 -57
- package/dist/chunks/{event-logger-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{event-logger-a1apahce.js → app-b6mrn51r.js} +11 -11
- package/dist/chunks/{event-logger-zs2egq8y.js → app-bawrj3b9.js} +2 -2
- package/dist/chunks/{event-logger-8y0ey7w7.js → app-bd9kkww0.js} +18 -18
- package/dist/chunks/{event-logger-j311gd59.js → app-bdqrk2vk.js} +7 -7
- package/dist/chunks/{event-logger-bbj18gvp.js → app-bdwsy2v9.js} +4 -4
- package/dist/chunks/{event-logger-jmphe03k.js → app-bg2gq5qa.js} +4 -4
- package/dist/chunks/{event-logger-akg7mpd2.js → app-bvfp0cee.js} +28 -28
- package/dist/chunks/{event-logger-cd9nda8q.js → app-bw1ynhc4.js} +15 -15
- package/dist/chunks/{event-logger-3y81hdb8.js → app-c1ef6zpr.js} +3 -3
- package/dist/chunks/{event-logger-k8qf691v.js → app-c2k60acp.js} +17 -17
- package/dist/chunks/{event-logger-j113hsvj.js → app-c38jyzps.js} +8 -8
- package/dist/chunks/{event-logger-whjydms9.js → app-ckqwygw2.js} +33 -33
- package/dist/chunks/{event-logger-gz9012ze.js → app-csxzn776.js} +16 -16
- package/dist/chunks/{event-logger-a25zmek9.js → app-cxgg6zzr.js} +12 -12
- package/dist/chunks/{event-logger-3w5nwqty.js → app-cz4gxkeh.js} +50 -50
- package/dist/chunks/{event-logger-scyg2gcb.js → app-d0kf8th3.js} +11 -11
- package/dist/chunks/{event-logger-vsmhe3bm.js → app-d0zj62h6.js} +16 -16
- package/dist/chunks/{event-logger-fm7r8sy8.js → app-d4awevab.js} +6 -6
- package/dist/chunks/{event-logger-c765mh8b.js → app-d4he2qe1.js} +9 -9
- package/dist/chunks/{event-logger-p3yw0krh.js → app-d78xx6qz.js} +23 -23
- package/dist/chunks/{event-logger-tjzps5h2.js → app-d7fy9tms.js} +31 -31
- package/dist/chunks/{event-logger-nhzac2vt.js → app-d883tjw7.js} +28 -28
- package/dist/chunks/{event-logger-wn8hqewz.js → app-d9ytdjw8.js} +17 -17
- package/dist/chunks/{event-logger-embw8kgh.js → app-ddt2bs9e.js} +4 -4
- package/dist/chunks/{event-logger-y51nmxxr.js → app-dgda83gr.js} +313 -313
- package/dist/chunks/{event-logger-dj2t23y0.js → app-dj2t23y0.js} +2 -2
- package/dist/chunks/{event-logger-h9e7zzhd.js → app-dpfenvj7.js} +9 -9
- package/dist/chunks/{event-logger-xfkkasph.js → app-drwq78ky.js} +4 -4
- package/dist/chunks/{event-logger-v6efr277.js → app-dsqt3g70.js} +4 -4
- package/dist/chunks/{event-logger-5gk8amnh.js → app-dw1nbz2e.js} +10 -10
- package/dist/chunks/{event-logger-4tr7qdh0.js → app-e14sp09f.js} +9 -9
- package/dist/chunks/{event-logger-5qd3pb7m.js → app-e3qxr5gk.js} +2 -2
- package/dist/chunks/{event-logger-h6r3nrb9.js → app-ebe9bak5.js} +4 -4
- package/dist/chunks/{event-logger-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{event-logger-erw5rpbs.js → app-erw5rpbs.js} +2 -2
- package/dist/chunks/{event-logger-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{event-logger-qp1yqj07.js → app-f5js084j.js} +18 -18
- package/dist/chunks/{event-logger-ah5wg1j1.js → app-f6h44vt5.js} +6 -6
- package/dist/chunks/{event-logger-46msr37g.js → app-f8wvxc75.js} +9 -9
- package/dist/chunks/{event-logger-2hppe1qg.js → app-fab6kdz8.js} +26 -26
- package/dist/chunks/{event-logger-w9hz286w.js → app-fdaj3cxn.js} +33 -33
- package/dist/chunks/{event-logger-b9pgx79x.js → app-fpxm7379.js} +3 -3
- package/dist/chunks/{event-logger-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{event-logger-0pasfmx1.js → app-g2qchbvm.js} +15 -15
- package/dist/chunks/{event-logger-n22mwfxb.js → app-g5zpxqd5.js} +47 -47
- package/dist/chunks/{event-logger-vz9h7ybk.js → app-g6ckadgp.js} +19 -19
- package/dist/chunks/{event-logger-efadqd38.js → app-gcq2fxm3.js} +23 -23
- package/dist/chunks/{event-logger-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-v3kcbs8h.js → app-gfpj78pk.js} +4 -4
- package/dist/chunks/{event-logger-hxcpnqqq.js → app-gh58188p.js} +19 -19
- package/dist/chunks/{event-logger-xe37s958.js → app-grfgd9mf.js} +28 -28
- package/dist/chunks/{event-logger-8qmmky1n.js → app-gs5memm2.js} +11 -11
- package/dist/chunks/{event-logger-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
- package/dist/chunks/{event-logger-b282z4ws.js → app-h2tx7zx9.js} +18 -18
- package/dist/chunks/{event-logger-h4z1mxff.js → app-h4z1mxff.js} +2 -2
- package/dist/chunks/{event-logger-qp69s4zb.js → app-h5gvbxth.js} +18 -18
- package/dist/chunks/{event-logger-p7nsp59h.js → app-h6jr292a.js} +4 -4
- package/dist/chunks/{event-logger-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-510m7gjw.js → app-hcz3zddy.js} +5 -5
- package/dist/chunks/{event-logger-hdnk95c8.js → app-hdnk95c8.js} +2 -2
- package/dist/chunks/{event-logger-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{event-logger-kkp8zx71.js → app-jewzahs7.js} +4 -4
- package/dist/chunks/{event-logger-c7a8dyv3.js → app-jnmfw45r.js} +11 -11
- package/dist/chunks/{event-logger-5g0g34ek.js → app-jw57wrad.js} +13 -13
- package/dist/chunks/{event-logger-xg1bq5dx.js → app-jzz4kwyh.js} +4 -4
- package/dist/chunks/{event-logger-he4jzgvh.js → app-k27386pf.js} +27 -27
- package/dist/chunks/{event-logger-k3c624dm.js → app-k3c624dm.js} +3 -3
- package/dist/chunks/{event-logger-ntr68xqe.js → app-kca364mm.js} +8 -8
- package/dist/chunks/{event-logger-3xa9cbtx.js → app-kfpfq9wx.js} +22 -22
- package/dist/chunks/{event-logger-44ke2mar.js → app-knb7evpn.js} +2 -2
- package/dist/chunks/{event-logger-3m7gm69k.js → app-kytjdcrv.js} +62 -62
- package/dist/chunks/{event-logger-m0jqrx5p.js → app-m0jqrx5p.js} +2 -2
- package/dist/chunks/{event-logger-jjs74g98.js → app-m2d0j7c0.js} +9 -9
- package/dist/chunks/{event-logger-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{event-logger-bbcxnpjs.js → app-m3pgw4q9.js} +25 -25
- package/dist/chunks/{event-logger-mgs7q34e.js → app-m85z7vph.js} +11 -11
- package/dist/chunks/{event-logger-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-5t3q07mb.js → app-mm16ex40.js} +9 -9
- package/dist/chunks/{event-logger-jqpxjgen.js → app-nk1wytkm.js} +30 -30
- package/dist/chunks/{event-logger-1yf2qjj7.js → app-nm3p96rh.js} +25 -25
- package/dist/chunks/{event-logger-a68v6zx7.js → app-nm6tfe9e.js} +11 -11
- package/dist/chunks/{event-logger-p28j5sbe.js → app-p28j5sbe.js} +2 -2
- package/dist/chunks/{event-logger-f0ekz9ts.js → app-p29sx5d2.js} +15 -15
- package/dist/chunks/{event-logger-cxzmmvrx.js → app-p33jdkfk.js} +6 -6
- package/dist/chunks/{event-logger-c8bydgjz.js → app-p7a39gy5.js} +6 -6
- package/dist/chunks/{event-logger-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-eh6z0q8m.js → app-png4bzvj.js} +33 -33
- package/dist/chunks/{event-logger-r3fw3xwq.js → app-pps41de9.js} +12 -12
- package/dist/chunks/{event-logger-v880302c.js → app-ps5kdaeb.js} +32 -32
- package/dist/chunks/{event-logger-60ya4rxq.js → app-psst68c8.js} +32 -32
- package/dist/chunks/{event-logger-as30p4pk.js → app-q4gtzsax.js} +28 -28
- package/dist/chunks/{event-logger-2syw43ez.js → app-qbkt3cqr.js} +11 -11
- package/dist/chunks/{event-logger-1xbk51d1.js → app-qfdknrj4.js} +6 -6
- package/dist/chunks/{event-logger-6h1q4549.js → app-qmznc2j1.js} +32 -32
- package/dist/chunks/{event-logger-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/app-qtvmxc8s.js +4 -0
- package/dist/chunks/{event-logger-17dw7sdx.js → app-qzjq96ve.js} +46 -46
- package/dist/chunks/{event-logger-r5x6zcsm.js → app-r5x6zcsm.js} +1 -1
- package/dist/chunks/app-rb2dwyb3.js +252 -0
- package/dist/chunks/{event-logger-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{event-logger-qq10ch32.js → app-rfdx9aph.js} +25 -25
- package/dist/chunks/{event-logger-v0ks3twn.js → app-rfjpkbyr.js} +181 -181
- package/dist/chunks/{event-logger-1mx79f5s.js → app-rh2h7bz2.js} +21 -21
- package/dist/chunks/{event-logger-k6yq57aq.js → app-rj6d5p5e.js} +3 -3
- package/dist/chunks/{event-logger-fqcgpcra.js → app-s1kvmffy.js} +9 -9
- package/dist/chunks/{event-logger-yrznvahk.js → app-s4enseaf.js} +2 -2
- package/dist/chunks/{event-logger-addpfpm2.js → app-senw7f5q.js} +5 -5
- package/dist/chunks/{event-logger-f1ckv151.js → app-sjgwehbe.js} +15 -15
- package/dist/chunks/{event-logger-y3x14sz7.js → app-swk9pkgd.js} +7 -7
- package/dist/chunks/{event-logger-8zv0ajwr.js → app-t0b82sn3.js} +13 -13
- package/dist/chunks/{event-logger-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-gc0sa5ac.js → app-tb5xxcc9.js} +91 -91
- package/dist/chunks/{event-logger-dtv5040x.js → app-tb9xm78q.js} +8 -8
- package/dist/chunks/{event-logger-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{event-logger-yaa6bn1m.js → app-tfxsda3f.js} +37 -37
- package/dist/chunks/{event-logger-6hsqvad3.js → app-thph1k7c.js} +32 -32
- package/dist/chunks/{event-logger-3cfzdc8e.js → app-tn0aqsam.js} +5 -5
- package/dist/chunks/{event-logger-3pt4dhyb.js → app-ttsb85y1.js} +7 -7
- package/dist/chunks/{event-logger-tvtrv512.js → app-tvtrv512.js} +1 -1
- package/dist/chunks/{event-logger-t5gx411e.js → app-v19j2x38.js} +7 -7
- package/dist/chunks/{event-logger-bgaehm52.js → app-v62cs5sj.js} +21 -21
- package/dist/chunks/{event-logger-q3hye7rp.js → app-v6h6kk4n.js} +49 -49
- package/dist/chunks/{event-logger-619d0a7n.js → app-v7ax49y9.js} +16 -16
- package/dist/chunks/{event-logger-p6n5ewqn.js → app-va20k388.js} +18 -18
- package/dist/chunks/{event-logger-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{event-logger-ceaeedp1.js → app-vmv0kd87.js} +6 -6
- package/dist/chunks/{event-logger-n7z9xjgh.js → app-vwcr4tjx.js} +9 -9
- package/dist/chunks/{event-logger-7np6y5v9.js → app-vy4zg7qh.js} +12 -12
- package/dist/chunks/{event-logger-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/{event-logger-y0mc46pw.js → app-w3jg838k.js} +9 -9
- package/dist/chunks/{event-logger-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-q42dvkxw.js → app-wa17x0f6.js} +23 -23
- package/dist/chunks/{event-logger-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-1r23a98c.js → app-wks3bq41.js} +37 -37
- package/dist/chunks/{event-logger-ezy2bptn.js → app-wpm2rk0p.js} +8 -8
- package/dist/chunks/{event-logger-gjdnp5j1.js → app-wq38yxfv.js} +1 -1
- package/dist/chunks/{event-logger-63m4sj6v.js → app-wt8910j7.js} +13 -13
- package/dist/chunks/{event-logger-2mn660gm.js → app-wx5y01fx.js} +11 -11
- package/dist/chunks/{event-logger-4ttkb0e5.js → app-wxtfr31w.js} +20 -20
- package/dist/chunks/{event-logger-nnwve76w.js → app-wxyrkypr.js} +14 -14
- package/dist/chunks/{event-logger-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{event-logger-vkja9z68.js → app-x2rmejqt.js} +13 -13
- package/dist/chunks/{event-logger-148btmhs.js → app-x3qv8ryf.js} +75 -75
- package/dist/chunks/{event-logger-8xfdh4m7.js → app-x4e5jp7e.js} +10 -10
- package/dist/chunks/{event-logger-zxs38eqt.js → app-x8chr5sc.js} +32 -32
- package/dist/chunks/{event-logger-t00k10qy.js → app-x9qt50vx.js} +13 -13
- package/dist/chunks/{event-logger-8d1k587k.js → app-xapv5k3j.js} +41 -41
- package/dist/chunks/{event-logger-afdq0bv9.js → app-xg9j3gxx.js} +5 -5
- package/dist/chunks/{event-logger-89wvkx3n.js → app-xgpvyysx.js} +98 -98
- package/dist/chunks/{event-logger-newypggy.js → app-xhpeghz7.js} +13 -13
- package/dist/chunks/{event-logger-ch0zjgx3.js → app-y15xkh2n.js} +25 -25
- package/dist/chunks/{event-logger-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-vh8m9vgh.js → app-y2nmavtm.js} +35 -35
- package/dist/chunks/{event-logger-dtm1n4d8.js → app-y5xn5bba.js} +17 -17
- package/dist/chunks/{event-logger-dpkg50ah.js → app-y71avatq.js} +4 -4
- package/dist/chunks/{event-logger-x09vac25.js → app-y76zn1vz.js} +5 -5
- package/dist/chunks/{event-logger-xqcbpej0.js → app-y9p6qzzr.js} +44 -44
- package/dist/chunks/{event-logger-s78dcbxc.js → app-ybgh1m9m.js} +19 -19
- package/dist/chunks/{event-logger-cq9babp4.js → app-yj47cjx3.js} +20 -20
- package/dist/chunks/{event-logger-5sfbvqw6.js → app-ykf0jhfk.js} +24 -24
- package/dist/chunks/{event-logger-1acjjqhc.js → app-yp2x3t23.js} +4 -4
- package/dist/chunks/{event-logger-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
- package/dist/chunks/{event-logger-sqgt392s.js → app-yrhthkpk.js} +37 -37
- package/dist/chunks/{event-logger-ejre7x2g.js → app-yrq83nnf.js} +14 -14
- package/dist/chunks/{event-logger-rt0dk2st.js → app-yxms1dgw.js} +27 -27
- package/dist/chunks/{event-logger-xc3sajb5.js → app-yy70n6y7.js} +26 -26
- package/dist/chunks/{event-logger-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-ewzsd05a.js → app-z6p9zkzw.js} +44 -44
- package/dist/chunks/{event-logger-sfh11f92.js → app-zc72yjq3.js} +15 -15
- package/dist/chunks/{event-logger-cj65b5yb.js → app-zdb8sah8.js} +18 -18
- package/dist/chunks/{event-logger-zeh9ct20.js → app-zeh9ct20.js} +2 -2
- package/dist/chunks/{event-logger-gbspdhem.js → app-zkmmppc2.js} +7 -7
- package/dist/chunks/{event-logger-enxf8gt6.js → app-zmnyjegj.js} +18 -18
- package/dist/chunks/{event-logger-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{event-logger-4xv00g1r.js → app-zswdvhgs.js} +17 -17
- package/dist/chunks/{event-logger-gcavn3wx.js → app-zw4pk1bw.js} +5 -5
- package/dist/chunks/{event-logger-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{event-logger-8mfkgmb0.js → app-zy4aaz3n.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- 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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +118 -118
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +98 -98
- 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 +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/event-logger-05e5mmsy.js +0 -252
- package/dist/chunks/event-logger-28bncwe8.js +0 -26
- package/dist/chunks/event-logger-9sh4wc5j.js +0 -18
- package/dist/chunks/event-logger-xrsqh21y.js +0 -4
- /package/dist/chunks/{event-logger-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-922hggd3.js → app-922hggd3.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./app-jnmfw45r.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service79,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node83,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service79 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service79,
|
|
84
|
+
deps: [node87],
|
|
85
|
+
layer: Layer.effect(Service79, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured12(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service83;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service79.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node83 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service79, configured12, node83, exports_bus };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-39dgwvb1.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-azynnvek.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent2 = {};
|
|
15
15
|
__export(exports_agent2, {
|
|
16
16
|
AgentPlugin: () => exports_agent2,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin44
|
|
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 Plugin44 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin42 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID9.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID9.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin42 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID9.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID9.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID9.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin42 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin44, exports_agent2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service81,
|
|
6
|
-
node85
|
|
7
|
-
} from "./event-logger-gz9012ze.js";
|
|
8
|
-
import {
|
|
9
|
-
Event20,
|
|
10
|
-
Service78,
|
|
11
|
-
node82
|
|
12
|
-
} from "./event-logger-tvk4srm3.js";
|
|
3
|
+
} from "./app-y71avatq.js";
|
|
13
4
|
import {
|
|
14
5
|
Service79,
|
|
15
6
|
node83
|
|
16
|
-
} from "./
|
|
7
|
+
} from "./app-csxzn776.js";
|
|
17
8
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
9
|
+
Event17,
|
|
10
|
+
Service68,
|
|
11
|
+
node71
|
|
12
|
+
} from "./app-6nshdwd7.js";
|
|
21
13
|
import {
|
|
22
|
-
ID15,
|
|
23
14
|
Service77,
|
|
24
15
|
node81
|
|
25
|
-
} from "./
|
|
16
|
+
} from "./app-yrq83nnf.js";
|
|
17
|
+
import {
|
|
18
|
+
Service75,
|
|
19
|
+
node78
|
|
20
|
+
} from "./app-ykf0jhfk.js";
|
|
21
|
+
import {
|
|
22
|
+
ID13,
|
|
23
|
+
Service67,
|
|
24
|
+
node70
|
|
25
|
+
} from "./app-k27386pf.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID12,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service66,
|
|
34
|
+
node69
|
|
35
|
+
} from "./app-bvfp0cee.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./app-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: () => NotFoundError2,
|
|
45
|
+
Options: () => Options2,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service28,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
56
|
+
configured: () => configured2,
|
|
57
57
|
layer: () => layer12,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node32
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service28 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options2 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var layer12 = (options) => Layer.effect(
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
104
|
+
var layer12 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service77;
|
|
106
|
+
const environment = yield* Service75;
|
|
107
|
+
const bus = yield* Service79;
|
|
108
|
+
const forms = yield* Service67;
|
|
109
|
+
const integration = yield* Service66;
|
|
110
|
+
const credentials = yield* Service68;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID12.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service68, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError2({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service68, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID13.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = 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(
|
|
243
|
+
const load = 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(Service75, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -365,7 +365,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -391,7 +391,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service28.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured2(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
515
|
+
service: Service28,
|
|
516
516
|
layer: layer12(options),
|
|
517
|
-
deps: [
|
|
517
|
+
deps: [node81, node78, node83, node70, node69, node71]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node32 = configured2();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service28, Options2, layer12, configured2, node32, exports_mcp4 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service46
|
|
7
|
+
} from "./app-7ekr1ah4.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-rj6d5p5e.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-11823ez3.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service46;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./app-w3jg838k.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./app-p7a39gy5.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-4v7qdvcn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service56
|
|
15
|
+
} from "./app-79mnhcfn.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-11823ez3.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service31
|
|
23
|
+
} from "./app-d883tjw7.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service38;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service56;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service31;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service44;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service77
|
|
13
|
+
} from "./app-yrq83nnf.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-d78xx6qz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
@@ -33,7 +33,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
33
33
|
var Plugin34 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service77;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service8,
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service8.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node10 = makeLocationNode({ service: Service8, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service8, node10, exports_location_watcher_policy };
|