@opencode/core 0.0.0-dev-21244 → 0.0.0-dev-21246
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/chunks/{formatter-ans500eg.js → model-07pzcvjy.js} +4 -4
- package/dist/chunks/{formatter-f3wsxmbf.js → model-097tdram.js} +14 -14
- package/dist/chunks/{formatter-0gdmqesm.js → model-0gdmqesm.js} +1 -1
- package/dist/chunks/{formatter-42rf9s8q.js → model-0m7ycz82.js} +26 -26
- package/dist/chunks/{formatter-9b22j2js.js → model-0p8327n1.js} +11 -11
- package/dist/chunks/{formatter-0vbcp93d.js → model-0vbcp93d.js} +2 -2
- package/dist/chunks/{formatter-yyht7rfr.js → model-0z1664j4.js} +1 -1
- package/dist/chunks/{formatter-rbqdpnz1.js → model-15wyy7w2.js} +3 -3
- package/dist/chunks/{formatter-za681khs.js → model-1aqxs61q.js} +13 -13
- package/dist/chunks/{formatter-bzeyqsqd.js → model-1ep4rre3.js} +4 -4
- package/dist/chunks/{formatter-qdrw3gfp.js → model-1gdg00yg.js} +7 -7
- package/dist/chunks/{formatter-n6j8zy7f.js → model-1hq49wfp.js} +23 -23
- package/dist/chunks/{formatter-x835q0ad.js → model-1jyb01pe.js} +15 -15
- package/dist/chunks/{formatter-ea05sntr.js → model-1khnc541.js} +13 -13
- package/dist/chunks/{formatter-y4t3c8zk.js → model-1n2tbqxy.js} +13 -13
- package/dist/chunks/{formatter-jekssrtq.js → model-1t0smfc2.js} +5 -5
- package/dist/chunks/{formatter-x7bd6s3f.js → model-1v2yvtm3.js} +27 -27
- package/dist/chunks/{formatter-m3w3e65b.js → model-1xfgz0sp.js} +6 -6
- package/dist/chunks/{formatter-qtjmeqcc.js → model-21apjdyf.js} +9 -9
- package/dist/chunks/{formatter-0cbn14fb.js → model-22x4nvy2.js} +22 -22
- package/dist/chunks/{formatter-yz37vbp4.js → model-251hxpd6.js} +2 -2
- package/dist/chunks/{formatter-ftwm2p4f.js → model-281szs7x.js} +50 -50
- package/dist/chunks/{formatter-me3jp302.js → model-2dfjzq3d.js} +12 -12
- package/dist/chunks/{formatter-9pvd7fay.js → model-2g6dfhex.js} +28 -28
- package/dist/chunks/{formatter-zxczbdfd.js → model-2kmfbs7e.js} +3 -3
- package/dist/chunks/{formatter-ft3hqk2c.js → model-2sejkfem.js} +9 -9
- package/dist/chunks/{formatter-5bkyxj6g.js → model-2shkhq8w.js} +84 -84
- package/dist/chunks/{formatter-r9y2scxt.js → model-32y4ehgv.js} +11 -11
- package/dist/chunks/{formatter-0y9f2m8n.js → model-3d73cf36.js} +6 -6
- package/dist/chunks/{formatter-hmzjb8dj.js → model-3ev0eyv6.js} +18 -18
- package/dist/chunks/{formatter-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
- package/dist/chunks/{formatter-xcd0eash.js → model-3ppptnan.js} +6 -6
- package/dist/chunks/{formatter-r0yrvwzz.js → model-3pwzytv4.js} +24 -24
- package/dist/chunks/{formatter-3smtnn6g.js → model-3smtnn6g.js} +1 -1
- package/dist/chunks/{formatter-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{formatter-3zsf4n22.js → model-3zsf4n22.js} +1 -1
- package/dist/chunks/{formatter-fgy909bt.js → model-41wwwxfc.js} +3 -3
- package/dist/chunks/{formatter-c916s19f.js → model-4347sc3p.js} +84 -84
- package/dist/chunks/{formatter-jg6jwpe0.js → model-44zr7wmx.js} +4 -4
- package/dist/chunks/{formatter-1b9h5v8t.js → model-49npcfp6.js} +2 -2
- package/dist/chunks/{formatter-eakdd8w5.js → model-4fj1av0q.js} +46 -46
- package/dist/chunks/{formatter-vyf7jw62.js → model-4maedhka.js} +6 -6
- package/dist/chunks/{formatter-7jy01c2j.js → model-4npcy765.js} +4 -4
- package/dist/chunks/{formatter-bry1x5ad.js → model-4pkmv55a.js} +7 -7
- package/dist/chunks/{formatter-4adehn3m.js → model-4tr9sj3s.js} +3 -3
- package/dist/chunks/model-4v23spqy.js +257 -0
- package/dist/chunks/{formatter-gex9dnn3.js → model-4w4b1d7d.js} +23 -23
- package/dist/chunks/{formatter-6yz0wx8n.js → model-4xpgt2w9.js} +5 -5
- package/dist/chunks/{formatter-jxqhfc7z.js → model-4zknrba3.js} +10 -10
- package/dist/chunks/{formatter-f63t7jgq.js → model-51gxmejf.js} +35 -35
- package/dist/chunks/{formatter-r4ekbdnr.js → model-52dsmx63.js} +26 -26
- package/dist/chunks/{formatter-54ma36ye.js → model-54ma36ye.js} +1 -1
- package/dist/chunks/{formatter-4z58m4b4.js → model-5dkn69vz.js} +4 -4
- package/dist/chunks/{formatter-7cx595n2.js → model-5fec3t3w.js} +4 -4
- package/dist/chunks/{formatter-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{formatter-5gwznhg8.js → model-5nszh0bg.js} +24 -24
- package/dist/chunks/{formatter-8cr7kka4.js → model-5r6fx5kf.js} +27 -27
- package/dist/chunks/{formatter-e80seqcp.js → model-5rzwp8tz.js} +3 -3
- package/dist/chunks/{formatter-sb8qnayt.js → model-5z23qfcc.js} +21 -21
- package/dist/chunks/{formatter-d66rdyfa.js → model-625mrsyp.js} +45 -45
- package/dist/chunks/{formatter-a8k9xfsm.js → model-64wcp3ah.js} +32 -32
- package/dist/chunks/{formatter-6827pfxn.js → model-6827pfxn.js} +1 -1
- package/dist/chunks/{formatter-c5ggqzvz.js → model-69dwh4me.js} +12 -12
- package/dist/chunks/{formatter-w92k2e0p.js → model-6pc27hjz.js} +4 -4
- package/dist/chunks/{formatter-a7mmyf9t.js → model-6qr4j83s.js} +7 -7
- package/dist/chunks/{formatter-2xr74ag8.js → model-6rz1y2wy.js} +21 -21
- package/dist/chunks/{formatter-6xb47vfp.js → model-6xb47vfp.js} +1 -1
- package/dist/chunks/{formatter-wp4vtpe6.js → model-70hdk6w9.js} +15 -15
- package/dist/chunks/{formatter-yz8mk3e2.js → model-71vf3ngy.js} +44 -44
- package/dist/chunks/{formatter-qgc12pw2.js → model-73e3zp3f.js} +45 -45
- package/dist/chunks/{formatter-yvvvp4gn.js → model-757464b7.js} +8 -8
- package/dist/chunks/{formatter-775gj3j1.js → model-775gj3j1.js} +2 -2
- package/dist/chunks/model-7bkvk8rj.js +26 -0
- package/dist/chunks/{formatter-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-pt0v59x6.js → model-7bs235hv.js} +11 -11
- package/dist/chunks/{formatter-7dqw4kz8.js → model-7dqw4kz8.js} +1 -1
- package/dist/chunks/{formatter-ejgr9gnj.js → model-7s91hvyw.js} +18 -18
- package/dist/chunks/{formatter-rk974gg7.js → model-7wjtm8pe.js} +20 -20
- package/dist/chunks/{formatter-vp00rtyr.js → model-7xbjxe45.js} +12 -12
- package/dist/chunks/{formatter-y1m8s9mq.js → model-80c2k4k7.js} +25 -25
- package/dist/chunks/{formatter-21cye1se.js → model-87y04qby.js} +12 -12
- package/dist/chunks/{formatter-fc29xzdc.js → model-887mgra2.js} +51 -51
- package/dist/chunks/{formatter-q1yb1hsa.js → model-8fqv1czf.js} +16 -16
- package/dist/chunks/{formatter-8m6m0r52.js → model-8m6m0r52.js} +1 -1
- package/dist/chunks/{formatter-ex98dt4j.js → model-8qrvq6xp.js} +20 -20
- package/dist/chunks/{formatter-4537tsak.js → model-8tsdq50x.js} +4 -4
- package/dist/chunks/{formatter-sdjxx6pg.js → model-8wvywagr.js} +36 -36
- package/dist/chunks/{formatter-j09zfasm.js → model-91qna3x0.js} +3 -3
- package/dist/chunks/{formatter-pxtr2dvv.js → model-91rcp8sj.js} +3 -3
- package/dist/chunks/{formatter-682gxy8b.js → model-95vh4d4w.js} +40 -40
- package/dist/chunks/{formatter-nxwm516h.js → model-9880wbbs.js} +11 -11
- package/dist/chunks/{formatter-znhp5m3s.js → model-9ersraf9.js} +18 -18
- package/dist/chunks/{formatter-14tvmdth.js → model-9knpn9fj.js} +5 -5
- package/dist/chunks/{formatter-zrq3bjv4.js → model-9n6penxb.js} +9 -9
- package/dist/chunks/{formatter-nvcb2me1.js → model-a3jygwg9.js} +11 -11
- package/dist/chunks/{formatter-5xac84sq.js → model-a9g1m0ex.js} +21 -21
- package/dist/chunks/{formatter-2fb2gztx.js → model-aam1wbba.js} +16 -16
- package/dist/chunks/{formatter-7m4642cz.js → model-ad0pmgce.js} +14 -14
- package/dist/chunks/{formatter-x661k3y3.js → model-addxnjmp.js} +4 -4
- package/dist/chunks/{formatter-8p41qfym.js → model-aeda8hqw.js} +18 -18
- package/dist/chunks/{formatter-5mr4v717.js → model-aft55nha.js} +11 -11
- package/dist/chunks/{formatter-4ty81hg4.js → model-agbqvzyh.js} +16 -16
- package/dist/chunks/{formatter-9k0q07qp.js → model-ancsbgw1.js} +32 -32
- package/dist/chunks/{formatter-h83rqqxa.js → model-ankjvyyp.js} +12 -12
- package/dist/chunks/{formatter-vywgh4c6.js → model-aq8vh238.js} +36 -36
- package/dist/chunks/{formatter-86y4chpd.js → model-atgtgdsa.js} +13 -13
- package/dist/chunks/{formatter-5tx2tm3v.js → model-athpecc5.js} +16 -16
- package/dist/chunks/{formatter-g8nc3xyp.js → model-awbtd0yc.js} +14 -14
- package/dist/chunks/{formatter-6ras8vtd.js → model-awpj2eee.js} +10 -10
- package/dist/chunks/{formatter-pg2r46xe.js → model-aykdkgmz.js} +28 -28
- package/dist/chunks/{formatter-s91efq40.js → model-b8q0dhmk.js} +32 -32
- package/dist/chunks/{formatter-t4x3hxzy.js → model-b8q5jebn.js} +19 -19
- package/dist/chunks/{formatter-szd00bka.js → model-be0c020n.js} +4 -4
- package/dist/chunks/{formatter-3vtk7r3y.js → model-bn1qxpvg.js} +6 -6
- package/dist/chunks/{formatter-c1fqxshp.js → model-c1fqxshp.js} +3 -3
- package/dist/chunks/{formatter-w1ba7bfx.js → model-c41dsvxf.js} +5 -5
- package/dist/chunks/{formatter-2qgrx7zj.js → model-c7e58gyn.js} +17 -17
- package/dist/chunks/{formatter-w3wbfgm7.js → model-ca0q5yrm.js} +18 -18
- package/dist/chunks/{formatter-bbkhz5x0.js → model-cdzn34jf.js} +9 -9
- package/dist/chunks/{formatter-d8c6spkq.js → model-ckyjf00w.js} +27 -27
- package/dist/chunks/{formatter-95c9qt52.js → model-czn9w0x8.js} +8 -8
- package/dist/chunks/{formatter-wqvrfkn5.js → model-d0r6ezqk.js} +8 -8
- package/dist/chunks/{formatter-d1a28jh7.js → model-d1a28jh7.js} +2 -2
- package/dist/chunks/{formatter-p18ep857.js → model-ddf16z40.js} +26 -26
- package/dist/chunks/{formatter-dqkkx36v.js → model-dqkkx36v.js} +4 -4
- package/dist/chunks/{formatter-57b9ws8p.js → model-drwq78ky.js} +5 -5
- package/dist/chunks/{formatter-8n5tnz3w.js → model-dw7nrsaq.js} +339 -335
- package/dist/chunks/{formatter-jm77avtd.js → model-dxbxxdsx.js} +3 -3
- package/dist/chunks/{formatter-gd1hgps2.js → model-dxe8y5pz.js} +2 -2
- package/dist/chunks/{formatter-zjww4jny.js → model-e4n90qqz.js} +20 -20
- package/dist/chunks/{formatter-93cy2f7w.js → model-e5shmecn.js} +18 -18
- package/dist/chunks/{formatter-eej6y6fw.js → model-eej6y6fw.js} +2 -2
- package/dist/chunks/{formatter-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{formatter-svxhdcjy.js → model-ej3ps13p.js} +14 -14
- package/dist/chunks/{formatter-a5399v6v.js → model-es2a07ty.js} +13 -13
- package/dist/chunks/{formatter-yp2x3t23.js → model-f2n192rq.js} +4 -4
- package/dist/chunks/{formatter-fcy631f0.js → model-fcy631f0.js} +1 -1
- package/dist/chunks/{formatter-xcexsawf.js → model-fe6t81kk.js} +31 -31
- package/dist/chunks/{formatter-j34dxvpb.js → model-fwfdmgk0.js} +5 -5
- package/dist/chunks/{formatter-147shrta.js → model-fz60qaa0.js} +1 -1
- package/dist/chunks/{formatter-k1b4tbj2.js → model-g70banep.js} +24 -24
- package/dist/chunks/{formatter-swf92kzb.js → model-g9senpad.js} +30 -30
- package/dist/chunks/{formatter-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{formatter-mmfyj663.js → model-gkp0ddc4.js} +8 -8
- package/dist/chunks/{formatter-wpqhxtcy.js → model-gprk1h4z.js} +3 -3
- package/dist/chunks/{formatter-tw9chead.js → model-graqqgqk.js} +13 -13
- package/dist/chunks/{formatter-q34x7v2p.js → model-gsf378dw.js} +35 -35
- package/dist/chunks/{formatter-98gbvst6.js → model-gvq4k2rx.js} +3 -3
- package/dist/chunks/{formatter-yx0rmv9r.js → model-h5b4kcx3.js} +4 -4
- package/dist/chunks/{formatter-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{formatter-kqezzyfk.js → model-hgtsck7j.js} +18 -18
- package/dist/chunks/{formatter-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
- package/dist/chunks/{formatter-kcdx8ksy.js → model-hmn8skn7.js} +32 -32
- package/dist/chunks/{formatter-baaqp4zd.js → model-hn57h045.js} +4 -4
- package/dist/chunks/{formatter-be0x380s.js → model-hrd0r9w9.js} +22 -22
- package/dist/chunks/{formatter-qacrhxhp.js → model-hyhre3w8.js} +3 -3
- package/dist/chunks/{formatter-6bfs7xd7.js → model-hyq6bs5b.js} +28 -28
- package/dist/chunks/{formatter-jav1j83y.js → model-hz4f5mwj.js} +9 -9
- package/dist/chunks/{formatter-ahej7gkg.js → model-j1aawj34.js} +16 -16
- package/dist/chunks/{formatter-44ak30pa.js → model-j8m1p4p1.js} +4 -4
- package/dist/chunks/{formatter-gd0tnyjc.js → model-jhdf29st.js} +1 -1
- package/dist/chunks/{formatter-p07cp82q.js → model-jpnzyfkp.js} +17 -17
- package/dist/chunks/{formatter-vj5p38yv.js → model-k14cytbx.js} +18 -13
- package/dist/chunks/{formatter-q8ksm80s.js → model-k5asgy6z.js} +37 -37
- package/dist/chunks/{formatter-7mg7dxek.js → model-k6zys8zm.js} +11 -11
- package/dist/chunks/{formatter-hq3c8me3.js → model-khmqacep.js} +4 -4
- package/dist/chunks/{formatter-hbb7npd7.js → model-kmj26603.js} +6 -6
- package/dist/chunks/{formatter-kwb1v3vj.js → model-kwb1v3vj.js} +1 -1
- package/dist/chunks/{formatter-aky1dekn.js → model-kwrthnf5.js} +9 -9
- package/dist/chunks/{formatter-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-maspj1v3.js → model-maspj1v3.js} +1 -1
- package/dist/chunks/{formatter-wyvwawjm.js → model-mnwdfy6v.js} +41 -41
- package/dist/chunks/{formatter-5epte933.js → model-my4zabxr.js} +2 -2
- package/dist/chunks/{formatter-c907h1r8.js → model-mzv3dx1f.js} +23 -23
- package/dist/chunks/{formatter-cebn8wab.js → model-n4c5dz5t.js} +8 -8
- package/dist/chunks/{formatter-ssx21478.js → model-n7y0njwp.js} +24 -24
- package/dist/chunks/{formatter-p30hmy3j.js → model-n9rxncxh.js} +21 -21
- package/dist/chunks/{formatter-q1xe5xm5.js → model-n9wyj86f.js} +8 -8
- package/dist/chunks/{formatter-zct15kyb.js → model-ne4b8g45.js} +46 -46
- package/dist/chunks/{formatter-d3xt2zh4.js → model-nqan7h4w.js} +5 -5
- package/dist/chunks/{formatter-hbv5rvvj.js → model-ny8kxbfq.js} +8 -8
- package/dist/chunks/{formatter-wjcqngme.js → model-p2a5t6n1.js} +15 -15
- package/dist/chunks/{formatter-p37cw4rj.js → model-p4mj4rdp.js} +8 -8
- package/dist/chunks/{formatter-qv499rce.js → model-p7pxayv7.js} +14 -14
- package/dist/chunks/{formatter-whwq5x3g.js → model-p9ejm27k.js} +145 -145
- package/dist/chunks/{formatter-yn9r1x73.js → model-pcvvctms.js} +8 -8
- package/dist/chunks/{formatter-83wzpacr.js → model-pdpqmpbc.js} +18 -18
- package/dist/chunks/{formatter-8f9p3crs.js → model-pe8kdg2p.js} +20 -20
- package/dist/chunks/{formatter-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{formatter-mzfw0pb0.js → model-pkd7a947.js} +32 -32
- package/dist/chunks/{formatter-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-0w0hsyng.js → model-pmrbxne1.js} +16 -16
- package/dist/chunks/{formatter-hfbyhya8.js → model-q0nrsbdj.js} +10 -10
- package/dist/chunks/{formatter-pzjmh3bc.js → model-q38gq3gg.js} +15 -15
- package/dist/chunks/{formatter-v210v162.js → model-q9s78hn2.js} +9 -9
- package/dist/chunks/{formatter-a2ew8a62.js → model-qa3qhgw8.js} +4 -4
- package/dist/chunks/{formatter-v0b295w1.js → model-qcr1ft2j.js} +16 -16
- package/dist/chunks/{formatter-xmrxjf82.js → model-qg72ng58.js} +32 -32
- package/dist/chunks/{formatter-1z0c123x.js → model-qge264qz.js} +16 -16
- package/dist/chunks/{formatter-f534ymt6.js → model-qhqzagh6.js} +11 -11
- package/dist/chunks/{formatter-0tcnq6v6.js → model-qn5g76bm.js} +11 -11
- package/dist/chunks/{formatter-qnc92qwc.js → model-qnc92qwc.js} +1 -1
- package/dist/chunks/{formatter-qne3fa44.js → model-qne3fa44.js} +2 -2
- package/dist/chunks/{formatter-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{formatter-py38g5de.js → model-qzyrmewc.js} +10 -10
- package/dist/chunks/{formatter-ndc46fve.js → model-r3berafb.js} +21 -21
- package/dist/chunks/{formatter-rs9wx55j.js → model-r5atchfd.js} +29 -29
- package/dist/chunks/{formatter-64ksbt32.js → model-r8h9xppv.js} +9 -9
- package/dist/chunks/model-rap9a73h.js +18 -0
- package/dist/chunks/{formatter-kp329rnm.js → model-rcz188q3.js} +4 -4
- package/dist/chunks/{formatter-rdw6cm16.js → model-rdw6cm16.js} +1 -1
- package/dist/chunks/{formatter-rert0e01.js → model-rert0e01.js} +2 -2
- package/dist/chunks/{formatter-rj3eygr5.js → model-rj3eygr5.js} +2 -2
- package/dist/chunks/{formatter-sg02e71r.js → model-rr7kcg9w.js} +19 -19
- package/dist/chunks/{formatter-appvh9ax.js → model-rtaw32ca.js} +6 -6
- package/dist/chunks/{formatter-5z12t68t.js → model-rym9dfdm.js} +17 -17
- package/dist/chunks/{formatter-fdms3n6w.js → model-s1kvmffy.js} +9 -9
- package/dist/chunks/{formatter-5y480sgp.js → model-s5met55r.js} +8 -8
- package/dist/chunks/{formatter-sa8ekw3f.js → model-sa8ekw3f.js} +2 -2
- package/dist/chunks/{formatter-mphgtbj1.js → model-scv7p57g.js} +9 -9
- package/dist/chunks/{formatter-cpgtpatm.js → model-sf5qjhtj.js} +6 -6
- package/dist/chunks/model-sgtrt5z9.js +97 -0
- package/dist/chunks/{formatter-kk4m4jz5.js → model-ssjyj57x.js} +4 -4
- package/dist/chunks/{formatter-my89cahe.js → model-stapj22y.js} +16 -16
- package/dist/chunks/{formatter-ttfzm2et.js → model-sxjbcd6h.js} +21 -21
- package/dist/chunks/{formatter-h289jyzk.js → model-syqwr3zh.js} +14 -14
- package/dist/chunks/{formatter-syv4x271.js → model-syv4x271.js} +1 -1
- package/dist/chunks/{formatter-1y9yjfpn.js → model-t0h2n3rs.js} +13 -13
- package/dist/chunks/{formatter-c2jwe8x1.js → model-t0kn5a8z.js} +11 -11
- package/dist/chunks/{formatter-8ddypp76.js → model-t1jfcm4z.js} +6 -6
- package/dist/chunks/{formatter-f60jq6s2.js → model-t32m0x77.js} +16 -16
- package/dist/chunks/{formatter-63qcved5.js → model-t9p9ds3w.js} +47 -47
- package/dist/chunks/{formatter-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{formatter-89znhe33.js → model-tcezcvh9.js} +4 -4
- package/dist/chunks/{formatter-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{formatter-nev18w5c.js → model-te6jzdmb.js} +5 -5
- package/dist/chunks/{formatter-tm0kqsz3.js → model-tm0kqsz3.js} +1 -1
- package/dist/chunks/{formatter-wcpje083.js → model-tnj6rg6w.js} +15 -15
- package/dist/chunks/{formatter-rzkcke2z.js → model-tqfze7qe.js} +32 -32
- package/dist/chunks/{formatter-cdnjftw5.js → model-tyj5kcgj.js} +1 -1
- package/dist/chunks/{formatter-tyytaxap.js → model-tyytaxap.js} +1 -1
- package/dist/chunks/{formatter-gyrxp0ts.js → model-v3ff97sk.js} +41 -41
- package/dist/chunks/{formatter-k6eyzvgr.js → model-v5t5db04.js} +13 -13
- package/dist/chunks/{formatter-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
- package/dist/chunks/{formatter-xgsj2745.js → model-vaj0eftp.js} +2 -2
- package/dist/chunks/{formatter-0v1kw2g7.js → model-vcvrskz7.js} +14 -14
- package/dist/chunks/{formatter-0zcqa60s.js → model-vd0d0qbj.js} +4 -4
- package/dist/chunks/{formatter-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{formatter-p3z1s7cv.js → model-vsd1gfwp.js} +18 -18
- package/dist/chunks/{formatter-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
- package/dist/chunks/{formatter-kxk813jh.js → model-w0wzfpd6.js} +14 -14
- package/dist/chunks/{formatter-84txncab.js → model-w1eejvng.js} +5 -5
- package/dist/chunks/{formatter-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-gr37njw6.js → model-ws4vyhwj.js} +8 -8
- package/dist/chunks/{formatter-xxqjg4x2.js → model-wv1zjxz8.js} +71 -71
- package/dist/chunks/{formatter-xj0ka1v1.js → model-xatn3567.js} +15 -15
- package/dist/chunks/{formatter-xc2rqamm.js → model-xyskky0w.js} +26 -26
- package/dist/chunks/{formatter-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{formatter-qapzhrk9.js → model-y43trhdb.js} +10 -10
- package/dist/chunks/{formatter-y71avatq.js → model-y71avatq.js} +1 -1
- package/dist/chunks/{formatter-phz50fbd.js → model-y7nndgyc.js} +9 -9
- package/dist/chunks/{formatter-6kt042be.js → model-yex8rs33.js} +19 -19
- package/dist/chunks/{formatter-yyjkxqgj.js → model-yg1rf1wp.js} +4 -4
- package/dist/chunks/{formatter-d9yrqh4n.js → model-yg5d8nnt.js} +31 -31
- package/dist/chunks/{formatter-d4vyzb3t.js → model-yhd4kr0d.js} +34 -34
- package/dist/chunks/{formatter-sh5y8zvm.js → model-ysf596fe.js} +1 -1
- package/dist/chunks/{formatter-bjx1sjef.js → model-ywt8jp22.js} +9 -9
- package/dist/chunks/{formatter-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-3fc6dm20.js → model-z18fegx4.js} +4 -4
- package/dist/chunks/{formatter-d20vf659.js → model-z4gkakm8.js} +13 -13
- package/dist/chunks/{formatter-heqwx97d.js → model-z5cwttbn.js} +9 -9
- package/dist/chunks/{formatter-kmn2wpkp.js → model-z8ajx630.js} +10 -10
- package/dist/chunks/{formatter-2thwhjsv.js → model-zkzbh4fe.js} +10 -10
- package/dist/chunks/{formatter-b30s6mje.js → model-zps3pk6h.js} +8 -8
- package/dist/chunks/{formatter-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{formatter-q9s9zqn4.js → model-zv6mcmn5.js} +10 -10
- package/dist/chunks/{formatter-1z4aes97.js → model-zx174a2x.js} +18 -18
- package/dist/chunks/{formatter-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +115 -115
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +115 -115
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +81 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -369
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +104 -104
- 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 +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +215 -215
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- 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 +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +111 -111
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +147 -0
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/tool/plugin/todo.d.ts +29 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/formatter-gt2yvw7a.js +0 -26
- package/dist/chunks/formatter-ht5y0zrb.js +0 -18
- package/dist/chunks/formatter-z5mqx5tk.js +0 -257
- /package/dist/chunks/{formatter-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{formatter-2bv980vf.js → model-2bv980vf.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-84wd9syh.js → model-84wd9syh.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e3qxr5gk.js → model-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hcxmzztb.js → model-hcxmzztb.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jze0r7bz.js → model-jze0r7bz.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-m18g726c.js → model-m18g726c.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{formatter-pyv0edze.js → model-pyv0edze.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-ve7vex1e.js → model-ve7vex1e.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wjj7prxr.js → model-wjj7prxr.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service85,
|
|
4
4
|
node89
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-vd0d0qbj.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node79
|
|
9
|
+
} from "./model-zkzbh4fe.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event13,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service67,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node71,
|
|
26
26
|
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service67 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event13 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
|
|
|
79
79
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
80
80
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
|
-
var layer = Layer.effect(
|
|
82
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
84
|
+
const kv = yield* Service75;
|
|
85
85
|
const bus = yield* Service85;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
113
113
|
if (!changed)
|
|
114
114
|
return false;
|
|
115
115
|
yield* Ref.set(cache, next);
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
117
117
|
return true;
|
|
118
118
|
}, (effect) => lock.withPermit(effect));
|
|
119
|
-
return
|
|
119
|
+
return Service67.of({
|
|
120
120
|
entries: load,
|
|
121
121
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
122
122
|
refresh,
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
129
129
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
130
130
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
131
131
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
132
|
-
yield* bus.publish(
|
|
132
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
133
133
|
return entry;
|
|
134
134
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
135
135
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
144
144
|
next.delete(origin);
|
|
145
145
|
return next;
|
|
146
146
|
});
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event13.Updated, {}, { global: true });
|
|
148
148
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
149
149
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
150
150
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var
|
|
160
|
+
var node71 = makeGlobalNode({ service: Service67, layer, deps: [httpClient, node79, node89] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service67, Event13, inspect2, resolve4, node71, exports_wellknown };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./model-5nszh0bg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service46,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-es2a07ty.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service71
|
|
11
|
+
} from "./model-xatn3567.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service50
|
|
14
|
+
} from "./model-95vh4d4w.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service45
|
|
17
|
+
} from "./model-7s91hvyw.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input6,
|
|
29
|
+
Output: () => Output6,
|
|
30
|
+
Plugin: () => Plugin7,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name6,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name6 = "write";
|
|
39
|
+
var Input6 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output6 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin7 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service45;
|
|
56
|
+
const fileMutation = yield* Service46;
|
|
57
|
+
const environment = yield* Service63;
|
|
58
|
+
const formatter = yield* Service71;
|
|
59
|
+
const permission = yield* Service50;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name6,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input6,
|
|
69
|
+
output: Output6,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name6, Input6, Output6, toModelContent4, Plugin7, exports_write };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service38,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service38 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service38, exports_runner };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node58
|
|
5
|
+
} from "./model-zps3pk6h.js";
|
|
6
6
|
import {
|
|
7
7
|
Service85,
|
|
8
8
|
node89
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-vd0d0qbj.js";
|
|
10
10
|
import {
|
|
11
11
|
native2,
|
|
12
12
|
ID12,
|
|
13
13
|
aisdk2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-r3berafb.js";
|
|
15
15
|
import {
|
|
16
16
|
ID11,
|
|
17
17
|
Family2,
|
|
18
18
|
compatibility2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-1hq49wfp.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
resolve2
|
|
22
|
+
} from "./model-4maedhka.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service75,
|
|
25
|
+
node79
|
|
26
|
+
} from "./model-zkzbh4fe.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/models-dev.ts
|
|
32
32
|
var exports_models_dev = {};
|
|
@@ -35,11 +35,11 @@ __export(exports_models_dev, {
|
|
|
35
35
|
Event: () => Event11,
|
|
36
36
|
ModelsDev: () => exports_models_dev,
|
|
37
37
|
Options: () => Options6,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service55,
|
|
39
39
|
bodyDigest: () => bodyDigest2,
|
|
40
40
|
configured: () => configured6,
|
|
41
41
|
layer: () => layer22,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node57
|
|
43
43
|
});
|
|
44
44
|
import { Cause, Context, Duration, Effect, Layer, Option, Schedule, Schema, Semaphore } from "effect";
|
|
45
45
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
@@ -81,7 +81,7 @@ function normalize(input) {
|
|
|
81
81
|
const baseCost = cost(model.cost);
|
|
82
82
|
const id = ID11.make(model.id);
|
|
83
83
|
const base = modelInfo(item, id, model, { cost: baseCost });
|
|
84
|
-
const variants =
|
|
84
|
+
const variants = resolve2({ ...base, package: nativePackage(item, model) }, supports(model));
|
|
85
85
|
models.push({ ...base, variants });
|
|
86
86
|
for (const [mode, options] of Object.entries(model.experimental?.modes ?? {})) {
|
|
87
87
|
const modeID = ID11.make(`${model.id}-${mode}`);
|
|
@@ -200,7 +200,7 @@ var Options6 = Schema.Struct({
|
|
|
200
200
|
snapshot: Schema.optional(Schema.Boolean)
|
|
201
201
|
});
|
|
202
202
|
|
|
203
|
-
class
|
|
203
|
+
class Service55 extends Context.Service()("@opencode/ModelsDev") {
|
|
204
204
|
}
|
|
205
205
|
var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
|
|
206
206
|
var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text).pipe(Effect.map((catalog) => catalog));
|
|
@@ -223,11 +223,11 @@ function cacheKey(source) {
|
|
|
223
223
|
function bodyDigest2(text) {
|
|
224
224
|
return Hash.sha256(text);
|
|
225
225
|
}
|
|
226
|
-
var layer22 = (options) => Layer.effect(
|
|
226
|
+
var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
227
227
|
const fs = yield* FSUtil.Service;
|
|
228
228
|
const bus = yield* Service85;
|
|
229
229
|
const app = yield* Metadata2;
|
|
230
|
-
const kv = yield*
|
|
230
|
+
const kv = yield* Service75;
|
|
231
231
|
const http = HttpClient.filterStatusOk((yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
232
232
|
retryOn: "errors-and-responses",
|
|
233
233
|
times: 2,
|
|
@@ -307,15 +307,15 @@ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
307
307
|
if (fetch && !process.argv.includes("--get-yargs-completions")) {
|
|
308
308
|
yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
|
|
309
309
|
}
|
|
310
|
-
return
|
|
310
|
+
return Service55.of({ get, refresh });
|
|
311
311
|
}));
|
|
312
312
|
function configured6(options) {
|
|
313
313
|
return makeGlobalNode({
|
|
314
|
-
service:
|
|
314
|
+
service: Service55,
|
|
315
315
|
layer: layer22(options),
|
|
316
|
-
deps: [FSUtil.node, node89,
|
|
316
|
+
deps: [FSUtil.node, node89, node58, node79, httpClient]
|
|
317
317
|
});
|
|
318
318
|
}
|
|
319
|
-
var
|
|
319
|
+
var node57 = configured6();
|
|
320
320
|
|
|
321
|
-
export { CatalogModelStatus2, Options6,
|
|
321
|
+
export { CatalogModelStatus2, Options6, Service55, bodyDigest2, layer22, configured6, node57, exports_models_dev, Event11 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-1gdg00yg.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-fz60qaa0.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID18,
|
|
3
|
+
Service84
|
|
4
|
+
} from "./model-3pwzytv4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service80
|
|
7
|
+
} from "./model-pmrbxne1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service61
|
|
10
|
+
} from "./model-v3ff97sk.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service65,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-0m7ycz82.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service22
|
|
17
|
+
} from "./model-2shkhq8w.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service8
|
|
20
|
+
} from "./model-b8q5jebn.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-8m6m0r52.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin19
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin19 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service61;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin43 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service65;
|
|
60
|
+
const sessions = yield* Service22;
|
|
61
|
+
const agents = yield* Service84;
|
|
62
|
+
const subagents = yield* Service8;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin43 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID18.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin19, exports_command };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./model-3ppptnan.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-rap9a73h.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-4tr9sj3s.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./model-j1aawj34.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service40;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service47), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-vd0d0qbj.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-95vh4d4w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
21
|
ID: () => ID5,
|
|
22
22
|
Info: () => Info8,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service47,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available3,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node49,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -35,11 +35,11 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Context, Effect, Layer } from "effect";
|
|
37
37
|
import { Skill } from "@opencode/schema/skill";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event7 } from "@opencode/schema/skill";
|
|
39
39
|
var DirectorySource2 = Skill.DirectorySource;
|
|
40
40
|
var UrlSource2 = Skill.UrlSource;
|
|
41
41
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
42
|
-
var
|
|
42
|
+
var Source3 = Skill.Source;
|
|
43
43
|
var Info8 = Skill.Info;
|
|
44
44
|
var ID5 = Skill.ID;
|
|
45
45
|
var Name2 = Skill.Name;
|
|
@@ -78,9 +78,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
78
78
|
};
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service47 extends Context.Service()("@opencode/Skill") {
|
|
82
82
|
}
|
|
83
|
-
var layer = Layer.effect(
|
|
83
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
84
84
|
const bus = yield* Service85;
|
|
85
85
|
const state = create3({
|
|
86
86
|
name: "skill",
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
104
104
|
}),
|
|
105
105
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service47.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -115,10 +115,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
115
115
|
})
|
|
116
116
|
});
|
|
117
117
|
}));
|
|
118
|
-
var
|
|
119
|
-
service:
|
|
118
|
+
var node49 = makeLocationNode({
|
|
119
|
+
service: Service47,
|
|
120
120
|
layer,
|
|
121
121
|
deps: [node89]
|
|
122
122
|
});
|
|
123
123
|
|
|
124
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
124
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info8, ID5, Name2, available3, toModelOutput3, prepare3, Service47, node49, exports_skill5, Event7 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin47
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin47 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin11 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin47, exports_mcp_codemode_defaults };
|