@opencode/core 0.0.0-dev-19522 → 0.0.0-dev-19528
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{event-logger-rhjbct0v.js → file-02nrjc1r.js} +6 -6
- package/dist/chunks/{event-logger-2wspn1sr.js → file-02tcf4dd.js} +12 -12
- package/dist/chunks/{event-logger-ndn9gv9q.js → file-04amdepk.js} +24 -24
- package/dist/chunks/{event-logger-0mgvehma.js → file-0artwwxx.js} +3 -3
- package/dist/chunks/{event-logger-xjhc0fx9.js → file-0j7zpftg.js} +13 -13
- package/dist/chunks/{event-logger-m24e36k8.js → file-0jtbt960.js} +6 -6
- package/dist/chunks/{event-logger-2k8khapm.js → file-0jwsre1p.js} +5 -5
- package/dist/chunks/{event-logger-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{event-logger-k0c7x7cv.js → file-0pb75hch.js} +5 -5
- package/dist/chunks/{event-logger-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{event-logger-m7n8wce4.js → file-0r9tn05x.js} +4 -4
- package/dist/chunks/{event-logger-7cmx66q7.js → file-0ynyzna2.js} +10 -10
- package/dist/chunks/{event-logger-sa7a5tmm.js → file-14qwvs7b.js} +18 -18
- package/dist/chunks/{event-logger-ch5b4xvj.js → file-1a4wx43g.js} +21 -21
- package/dist/chunks/{event-logger-1acjjqhc.js → file-1acjjqhc.js} +1 -1
- package/dist/chunks/{event-logger-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{event-logger-8cwf41b2.js → file-1nqf8bjr.js} +33 -33
- package/dist/chunks/{event-logger-rb027g49.js → file-1szq9ecp.js} +13 -13
- package/dist/chunks/{event-logger-t56vxrbb.js → file-1t7r1zm4.js} +16 -16
- package/dist/chunks/file-1x11rq2a.js +18 -0
- package/dist/chunks/{event-logger-tfc0qd5p.js → file-1x57ve2g.js} +14 -14
- package/dist/chunks/{event-logger-q17z9dx8.js → file-1x75wf9g.js} +5 -5
- package/dist/chunks/{event-logger-7dw9d19m.js → file-1zhrd577.js} +11 -11
- package/dist/chunks/{event-logger-xbmcec40.js → file-219neeqh.js} +5 -5
- package/dist/chunks/{event-logger-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{event-logger-esh0bm8f.js → file-22g66rc5.js} +15 -15
- package/dist/chunks/{event-logger-cv1ay1tc.js → file-22km3b5w.js} +30 -30
- package/dist/chunks/{event-logger-2402vzrj.js → file-2402vzrj.js} +1 -1
- package/dist/chunks/{event-logger-7ha10wes.js → file-25tefzdk.js} +30 -30
- package/dist/chunks/{event-logger-m5gdw33a.js → file-265kqrgy.js} +1 -1
- package/dist/chunks/{event-logger-bgb9gw24.js → file-26b1weyt.js} +25 -25
- package/dist/chunks/{event-logger-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{event-logger-844ef7ks.js → file-2hyh68ab.js} +8 -8
- package/dist/chunks/file-2nc0627s.js +26 -0
- package/dist/chunks/{event-logger-80mswp33.js → file-31z4jcxr.js} +52 -52
- package/dist/chunks/{event-logger-x71d43dg.js → file-33n3bzdy.js} +6 -6
- package/dist/chunks/{event-logger-hjdaw55a.js → file-34va41r1.js} +7 -7
- package/dist/chunks/{event-logger-47xeb5z3.js → file-35bt1vh1.js} +17 -17
- package/dist/chunks/{event-logger-ce6x2zr0.js → file-35wynegs.js} +2 -2
- package/dist/chunks/{event-logger-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-j752288f.js → file-3sv6egn8.js} +8 -8
- package/dist/chunks/{event-logger-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-0swyrg32.js → file-3ws8f5dp.js} +15 -15
- package/dist/chunks/{event-logger-ev621ztv.js → file-3z7p1693.js} +19 -19
- package/dist/chunks/{event-logger-tqtt53gv.js → file-40s62c95.js} +5 -5
- package/dist/chunks/{event-logger-tmgwzcwe.js → file-414nmt5b.js} +19 -19
- package/dist/chunks/{event-logger-nh9g9pzb.js → file-41mmd9y1.js} +30 -30
- package/dist/chunks/{event-logger-dk7725me.js → file-43q9fha5.js} +5 -5
- package/dist/chunks/{event-logger-nhy5jxhy.js → file-47gsdddb.js} +5 -5
- package/dist/chunks/{event-logger-153zkwj3.js → file-47hzwb35.js} +3 -3
- package/dist/chunks/{event-logger-83hwqwhz.js → file-4dc4y0ze.js} +11 -11
- package/dist/chunks/{event-logger-xzy5cntm.js → file-4en15s67.js} +20 -20
- package/dist/chunks/{event-logger-nzvncwgb.js → file-4t3xbkmp.js} +6 -6
- package/dist/chunks/{event-logger-b5h5ke4m.js → file-4wgca9tc.js} +8 -8
- package/dist/chunks/{event-logger-0ajdgxne.js → file-4y66k410.js} +5 -5
- package/dist/chunks/{event-logger-0mgbeka9.js → file-50qh24n3.js} +13 -13
- package/dist/chunks/{event-logger-y6f0p4jw.js → file-539jk4fq.js} +3 -3
- package/dist/chunks/{event-logger-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{event-logger-4e3hdzec.js → file-5eb8dst9.js} +56 -56
- package/dist/chunks/{event-logger-vxwzppst.js → file-5gachfgg.js} +9 -9
- package/dist/chunks/{event-logger-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{event-logger-9cg0vjy1.js → file-5trk58xb.js} +8 -8
- package/dist/chunks/{event-logger-trcrtdpw.js → file-5wn696jm.js} +9 -9
- package/dist/chunks/{event-logger-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{event-logger-9rsqcxn1.js → file-6ah4wrp0.js} +4 -4
- package/dist/chunks/{event-logger-wr5k3gxd.js → file-6e2rzpgk.js} +8 -8
- package/dist/chunks/{event-logger-c7spm76h.js → file-6gegejpr.js} +35 -35
- package/dist/chunks/{event-logger-m86bnw2c.js → file-6jnybvqn.js} +9 -9
- package/dist/chunks/{event-logger-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{event-logger-sthbb5cw.js → file-6t0q9r78.js} +41 -41
- package/dist/chunks/{event-logger-0tsy7h82.js → file-6tn8gt44.js} +7 -7
- package/dist/chunks/{event-logger-kdr8fyyg.js → file-6wfz0872.js} +13 -13
- package/dist/chunks/{event-logger-sdvmr1ej.js → file-6wnv8xsn.js} +11 -11
- package/dist/chunks/{event-logger-6vc8p3va.js → file-70d2s7af.js} +1 -1
- package/dist/chunks/{event-logger-71q4at8m.js → file-71q4at8m.js} +1 -1
- package/dist/chunks/{event-logger-1j21w7hw.js → file-7673p22n.js} +5 -5
- package/dist/chunks/{event-logger-ky16kd9n.js → file-78qgck3m.js} +12 -12
- package/dist/chunks/{event-logger-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-dsyhjxyt.js → file-7cewpcy1.js} +18 -18
- package/dist/chunks/{event-logger-ejacwys3.js → file-7f05ey4a.js} +18 -18
- package/dist/chunks/{event-logger-5rnzym28.js → file-7gch6zg2.js} +17 -17
- package/dist/chunks/{event-logger-t120k88h.js → file-818pfwc9.js} +11 -11
- package/dist/chunks/{event-logger-1rw5srgy.js → file-84kam919.js} +7 -7
- package/dist/chunks/{event-logger-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{event-logger-whcrpeby.js → file-8eaqqbf0.js} +5 -5
- package/dist/chunks/{event-logger-8p4f9s12.js → file-8p4f9s12.js} +2 -2
- package/dist/chunks/{event-logger-pkkwwmgt.js → file-8qvgnq7a.js} +11 -11
- package/dist/chunks/{event-logger-ar0hjm29.js → file-8wsye86r.js} +8 -8
- package/dist/chunks/{event-logger-rvwqfdww.js → file-910fycqc.js} +10 -10
- package/dist/chunks/{event-logger-a39f2ken.js → file-93t9nhp2.js} +32 -32
- package/dist/chunks/{event-logger-dd7rzvx4.js → file-9d5tvsq8.js} +16 -16
- package/dist/chunks/{event-logger-x404byw8.js → file-9ennmngc.js} +18 -18
- package/dist/chunks/{event-logger-xaqfs5b5.js → file-9p392py6.js} +15 -15
- package/dist/chunks/{event-logger-z0tznns6.js → file-9v254cxg.js} +20 -20
- package/dist/chunks/{event-logger-a1bz86dw.js → file-a1bz86dw.js} +3 -3
- package/dist/chunks/file-a5w130rq.js +76 -0
- package/dist/chunks/{event-logger-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{event-logger-ss0awb04.js → file-ab9238g2.js} +4 -4
- package/dist/chunks/{event-logger-w8rcx1f0.js → file-ahr8cyhk.js} +23 -23
- package/dist/chunks/{event-logger-s5a05w92.js → file-ajvgy2xn.js} +9 -9
- package/dist/chunks/{event-logger-zjpde9dr.js → file-arxy3m15.js} +9 -9
- package/dist/chunks/{event-logger-vkw1mnyj.js → file-b1ngvqv8.js} +9 -9
- package/dist/chunks/{event-logger-8ph01gev.js → file-b1rr2bsg.js} +24 -24
- package/dist/chunks/{event-logger-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{event-logger-j5208yae.js → file-bscb95cy.js} +4 -4
- package/dist/chunks/{event-logger-pm90pbz6.js → file-c03p6rem.js} +11 -11
- package/dist/chunks/{event-logger-sxv6xj8p.js → file-c4p1vnej.js} +12 -12
- package/dist/chunks/{event-logger-dkga0czm.js → file-cd4k6mez.js} +20 -20
- package/dist/chunks/{event-logger-f1808m7s.js → file-ce0m10b2.js} +15 -15
- package/dist/chunks/{event-logger-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
- package/dist/chunks/{event-logger-81swgkk7.js → file-cqbh7drg.js} +9 -9
- package/dist/chunks/{event-logger-k0gaf0st.js → file-cqy54w6w.js} +11 -11
- package/dist/chunks/{event-logger-nt222m0g.js → file-cs88ywcc.js} +27 -27
- package/dist/chunks/file-csv2z0zd.js +462 -0
- package/dist/chunks/{event-logger-936n54ck.js → file-cvtmmhw6.js} +1 -1
- package/dist/chunks/{event-logger-8awmhz5a.js → file-d0xr2htc.js} +20 -20
- package/dist/chunks/{event-logger-s39b72p8.js → file-d2yvvzw2.js} +12 -12
- package/dist/chunks/{event-logger-f5q0vcv3.js → file-d3gk90dh.js} +25 -25
- package/dist/chunks/{event-logger-5tk2nx2g.js → file-d9h41z9h.js} +27 -27
- package/dist/chunks/{event-logger-63kee7yf.js → file-dakg7qy7.js} +5 -5
- package/dist/chunks/{event-logger-zh5qwwz4.js → file-dkbmr5pe.js} +9 -9
- package/dist/chunks/{event-logger-nzv3j2hr.js → file-dm7r3pc5.js} +17 -17
- package/dist/chunks/{event-logger-3xp94y37.js → file-dnrxcw6z.js} +24 -24
- package/dist/chunks/{event-logger-v9gfehbc.js → file-e6mw24qv.js} +17 -17
- package/dist/chunks/{event-logger-td0hqsrb.js → file-e6z0mwk1.js} +5 -5
- package/dist/chunks/file-emt1axv0.js +247 -0
- package/dist/chunks/{event-logger-gtpaj2zh.js → file-en7aa967.js} +16 -16
- package/dist/chunks/{event-logger-yb94xmg0.js → file-esj243wz.js} +9 -9
- package/dist/chunks/{event-logger-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{event-logger-f633wym4.js → file-f06f3n70.js} +9 -9
- package/dist/chunks/{event-logger-k8rnnzxr.js → file-f2pfnty7.js} +23 -23
- package/dist/chunks/{event-logger-f828m53h.js → file-f828m53h.js} +2 -2
- package/dist/chunks/{event-logger-fzdy4d0q.js → file-fcfzvh6j.js} +166 -166
- package/dist/chunks/{event-logger-mwgsz66j.js → file-fege0r9h.js} +15 -15
- package/dist/chunks/{event-logger-j2ef6mt4.js → file-fezapags.js} +4 -4
- package/dist/chunks/{event-logger-ayvhb76k.js → file-fhzfzy7c.js} +10 -10
- package/dist/chunks/{event-logger-hrvd6t1f.js → file-fjmrr6sh.js} +9 -9
- package/dist/chunks/{event-logger-zy4z7v1p.js → file-fk07q997.js} +19 -19
- package/dist/chunks/{event-logger-p3q361y3.js → file-fpv6qd1b.js} +8 -8
- package/dist/chunks/{event-logger-rb64xmzh.js → file-frwkzbx8.js} +44 -44
- package/dist/chunks/{event-logger-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{event-logger-cq37gk0t.js → file-fxqygnfa.js} +4 -4
- package/dist/chunks/{event-logger-5wtwrezn.js → file-g190xswt.js} +21 -21
- package/dist/chunks/{event-logger-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-xkk846wk.js → file-gd8cvna8.js} +18 -18
- package/dist/chunks/{event-logger-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
- package/dist/chunks/{event-logger-xf6kwcfv.js → file-gf2pd57e.js} +6 -6
- package/dist/chunks/{event-logger-8ne0ke3n.js → file-ghe2dkz9.js} +35 -35
- package/dist/chunks/{event-logger-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
- package/dist/chunks/{event-logger-w64bbnpc.js → file-gvraedsa.js} +27 -25
- package/dist/chunks/{event-logger-vz89k1wx.js → file-gytrcvhg.js} +9 -9
- package/dist/chunks/{event-logger-h03wrkyp.js → file-h03wrkyp.js} +2 -2
- package/dist/chunks/{event-logger-5znnvmxs.js → file-h1jj9pag.js} +28 -28
- package/dist/chunks/{event-logger-j3avrqmj.js → file-h1pzvny1.js} +24 -24
- package/dist/chunks/{event-logger-6dyc4y4r.js → file-h3jtbnzr.js} +24 -24
- package/dist/chunks/{event-logger-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-fgyjpp5p.js → file-hsypa6ar.js} +18 -18
- package/dist/chunks/{event-logger-mf4e5jra.js → file-htmns1y3.js} +6 -6
- package/dist/chunks/{event-logger-bw0vgseb.js → file-hvbks3tt.js} +5 -5
- package/dist/chunks/{event-logger-cbs9m2xx.js → file-hxbh4fj6.js} +11 -11
- package/dist/chunks/{event-logger-18q3vk51.js → file-j00tdnw6.js} +6 -6
- package/dist/chunks/{event-logger-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{event-logger-r98e92ep.js → file-j83byb14.js} +4 -4
- package/dist/chunks/{event-logger-x871jg53.js → file-jcgwdjtk.js} +18 -18
- package/dist/chunks/{event-logger-c2nw9g0k.js → file-jkhg65pf.js} +11 -11
- package/dist/chunks/{event-logger-dqv3av83.js → file-jv85zyec.js} +6 -6
- package/dist/chunks/{event-logger-9wt937vk.js → file-jxmh29vv.js} +5 -5
- package/dist/chunks/{event-logger-4se67rdf.js → file-k1vfbhap.js} +15 -15
- package/dist/chunks/{event-logger-m36jmyye.js → file-k4qrwsy9.js} +46 -46
- package/dist/chunks/{event-logger-jvf3yq6v.js → file-k76fn4kw.js} +4 -4
- package/dist/chunks/{event-logger-hej11e9k.js → file-kb4a3nmp.js} +46 -46
- package/dist/chunks/{event-logger-xhrkmfd9.js → file-kf46snkd.js} +20 -20
- package/dist/chunks/{event-logger-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{event-logger-at0jc416.js → file-kp8nr7sd.js} +24 -24
- package/dist/chunks/{event-logger-n07gqhyx.js → file-kv8awt1x.js} +9 -9
- package/dist/chunks/{event-logger-z30g0gt0.js → file-m95xzgpp.js} +6 -6
- package/dist/chunks/{event-logger-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-56gdpj1q.js → file-mfqp6xfm.js} +6 -6
- package/dist/chunks/{event-logger-7yh4e7ss.js → file-mhkvc446.js} +3 -3
- package/dist/chunks/{event-logger-ghz6wyt3.js → file-mrde2rj2.js} +4 -4
- package/dist/chunks/{event-logger-b0dr1xvw.js → file-mv3cjtdy.js} +29 -29
- package/dist/chunks/{event-logger-jcbnna01.js → file-mz6ae2yf.js} +1 -1
- package/dist/chunks/{event-logger-aw305kc2.js → file-n3ztrd94.js} +24 -24
- package/dist/chunks/{event-logger-kt5w8vxh.js → file-nbddwgy7.js} +10 -10
- package/dist/chunks/{event-logger-cns04f9e.js → file-nfqbq3x1.js} +11 -11
- package/dist/chunks/{event-logger-p87m1m37.js → file-nhkphzvf.js} +2 -2
- package/dist/chunks/{event-logger-sd7wqtbt.js → file-p4ncety1.js} +18 -18
- package/dist/chunks/{event-logger-gzpzy08g.js → file-p6dq1g3m.js} +24 -24
- package/dist/chunks/{event-logger-j935v87r.js → file-paphc93g.js} +2 -2
- package/dist/chunks/{event-logger-mtft99cd.js → file-pecb0brz.js} +5 -5
- package/dist/chunks/{event-logger-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-d54ffpbv.js → file-pm2x09cs.js} +26 -26
- package/dist/chunks/{event-logger-eraanh1f.js → file-prbnmmzj.js} +4 -4
- package/dist/chunks/{event-logger-6cwabdtw.js → file-pvfkhdr6.js} +4 -4
- package/dist/chunks/{event-logger-tf5cr1kr.js → file-q1r1ttcv.js} +22 -22
- package/dist/chunks/{event-logger-sjefxttk.js → file-q79ez36s.js} +13 -13
- package/dist/chunks/{event-logger-jm81tt6p.js → file-qbkv1r9x.js} +30 -30
- package/dist/chunks/{event-logger-62sdnsqh.js → file-qhyy3z7t.js} +18 -18
- package/dist/chunks/{event-logger-wbkyxrgf.js → file-qjnxxf51.js} +5 -5
- package/dist/chunks/{event-logger-b9cnnpx5.js → file-qn41sexy.js} +84 -84
- package/dist/chunks/{event-logger-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{event-logger-6sc41f2m.js → file-qx7mza5y.js} +18 -18
- package/dist/chunks/{event-logger-amtwdtr3.js → file-r2hc3hm0.js} +10 -10
- package/dist/chunks/{event-logger-r9mregkx.js → file-r9mregkx.js} +2 -2
- package/dist/chunks/{event-logger-41b51z4e.js → file-rbfaw35k.js} +32 -32
- package/dist/chunks/{event-logger-zawdfknb.js → file-rfw2p3w1.js} +13 -13
- package/dist/chunks/{event-logger-1qa6hfby.js → file-rkzx19zq.js} +15 -15
- package/dist/chunks/{event-logger-m03dct7t.js → file-rmn58emj.js} +13 -13
- package/dist/chunks/{event-logger-68g81w8z.js → file-rs36rx17.js} +30 -30
- package/dist/chunks/{event-logger-bccb6npm.js → file-rsdf2nvv.js} +4 -4
- package/dist/chunks/{event-logger-bj0dqvmh.js → file-rtd9zf3v.js} +59 -59
- package/dist/chunks/{event-logger-cwb0we08.js → file-rya1a4hz.js} +28 -28
- package/dist/chunks/{event-logger-90t1w6x4.js → file-s07qazfk.js} +7 -7
- package/dist/chunks/{event-logger-ba4a77r6.js → file-s0gw9m46.js} +4 -4
- package/dist/chunks/{event-logger-pkfr1pet.js → file-s1cnfe1p.js} +11 -11
- package/dist/chunks/{event-logger-yefegs55.js → file-s2297spr.js} +20 -20
- package/dist/chunks/{event-logger-1nn3xxet.js → file-s23yxtty.js} +10 -10
- package/dist/chunks/{event-logger-zfznrpx1.js → file-s9yxznb6.js} +4 -4
- package/dist/chunks/{event-logger-359n0vr4.js → file-sd4j1pxm.js} +9 -9
- package/dist/chunks/{event-logger-p0a23dx6.js → file-shrpy2d8.js} +6 -6
- package/dist/chunks/{event-logger-hpzj69ys.js → file-sp4mxhmb.js} +9 -9
- package/dist/chunks/{event-logger-806j49yq.js → file-sxz6gkc3.js} +7 -7
- package/dist/chunks/{event-logger-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{event-logger-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{event-logger-2f0bjgcj.js → file-tn0aqsam.js} +5 -5
- package/dist/chunks/{event-logger-ncagzpqf.js → file-trt71rst.js} +41 -41
- package/dist/chunks/{event-logger-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{event-logger-b09hzw3k.js → file-v5j4d43x.js} +2 -2
- package/dist/chunks/{event-logger-s058yp8t.js → file-v8h4em9y.js} +43 -43
- package/dist/chunks/{event-logger-h827z1wc.js → file-vc991s6b.js} +81 -81
- package/dist/chunks/{event-logger-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{event-logger-dkbwh9ch.js → file-vesrk8bq.js} +11 -11
- package/dist/chunks/{event-logger-njct8jvz.js → file-vh74bm19.js} +18 -18
- package/dist/chunks/{event-logger-vhn7gvaw.js → file-vt5pzj5z.js} +7 -7
- package/dist/chunks/{event-logger-kqwhkqhr.js → file-vyk9kkx4.js} +4 -4
- package/dist/chunks/{event-logger-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{event-logger-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-zgkempy3.js → file-w4s8a7wb.js} +16 -16
- package/dist/chunks/{event-logger-bvm1hg5c.js → file-wavq5vqb.js} +1 -1
- package/dist/chunks/{event-logger-xhsmq68x.js → file-wbysn9an.js} +26 -26
- package/dist/chunks/{event-logger-m4brm0xw.js → file-wd251cp4.js} +4 -4
- package/dist/chunks/{event-logger-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-t23qze4t.js → file-wx9wy1qm.js} +1 -1
- package/dist/chunks/{event-logger-w2e8ktns.js → file-wxpbfje7.js} +17 -17
- package/dist/chunks/{event-logger-terctddd.js → file-x02aksw7.js} +30 -30
- package/dist/chunks/{event-logger-7f3kf6pd.js → file-x0cdxhvm.js} +32 -32
- package/dist/chunks/{event-logger-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{event-logger-tcb1qavv.js → file-x64f48yq.js} +17 -17
- package/dist/chunks/{event-logger-vadf2hxy.js → file-x7wsddgn.js} +15 -15
- package/dist/chunks/{event-logger-dmcwma29.js → file-xb0gqag0.js} +15 -15
- package/dist/chunks/{event-logger-7adby5ty.js → file-xt5erzss.js} +45 -45
- package/dist/chunks/{event-logger-tzrnpvjh.js → file-xvqmdntd.js} +35 -35
- package/dist/chunks/{event-logger-3sr32dx8.js → file-xwbwee27.js} +34 -34
- package/dist/chunks/{event-logger-jva4mgym.js → file-xwwz9aqf.js} +4 -4
- package/dist/chunks/{event-logger-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-bvn0jvmc.js → file-y1k8ht98.js} +27 -27
- package/dist/chunks/{event-logger-dpkg50ah.js → file-y71avatq.js} +4 -4
- package/dist/chunks/{event-logger-cjwramev.js → file-y8p3zjbc.js} +4 -4
- package/dist/chunks/{event-logger-gt2gssxy.js → file-yaq7yvs3.js} +14 -14
- package/dist/chunks/{event-logger-dfa1vh33.js → file-ydee2bp2.js} +43 -43
- package/dist/chunks/{event-logger-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{event-logger-s4enseaf.js → file-yrznvahk.js} +2 -2
- package/dist/chunks/{event-logger-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-qccnpqpp.js → file-z5h77yjr.js} +47 -47
- package/dist/chunks/{event-logger-zs2m6qpz.js → file-z5ktvhxm.js} +9 -9
- package/dist/chunks/{event-logger-29x78va6.js → file-z63w68vq.js} +6 -6
- package/dist/chunks/{event-logger-94x97s7s.js → file-z7g31g5b.js} +1 -1
- package/dist/chunks/{event-logger-f8qm8sf3.js → file-zad2r4qh.js} +24 -24
- package/dist/chunks/{event-logger-xxvz0crz.js → file-zc8d7jvw.js} +3 -3
- package/dist/chunks/{event-logger-xmn01vd9.js → file-zcf49hx1.js} +26 -26
- package/dist/chunks/{event-logger-eq4x7z7g.js → file-zd5ckerx.js} +27 -27
- package/dist/chunks/{event-logger-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{event-logger-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{event-logger-vy5eqv62.js → file-zs2arz1s.js} +27 -27
- package/dist/chunks/{event-logger-5chc8p18.js → file-zte42zvw.js} +12 -12
- package/dist/chunks/{event-logger-bqvjxhzq.js → file-zvrekwpq.js} +6 -6
- package/dist/chunks/{event-logger-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +112 -112
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -360
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +94 -94
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +95 -95
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +79 -79
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +81 -81
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +350 -349
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +81 -81
- 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 +113 -113
- 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 +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- 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 +339 -338
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +13 -0
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +146 -146
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- 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 +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- 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 +148 -148
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +87 -87
- 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 +122 -122
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/plugin/websearch/index.d.ts +1 -1
- package/dist/types/plugin/websearch/tinyfish.d.ts +5 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- 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 +7 -7
- package/dist/worktree/refresh.js +342 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +88 -88
- package/package.json +8 -8
- package/dist/chunks/event-logger-9sh4wc5j.js +0 -18
- package/dist/chunks/event-logger-a5r3kjdg.js +0 -247
- package/dist/chunks/event-logger-mqnfax07.js +0 -22
- package/dist/chunks/event-logger-p61frmk7.js +0 -462
- /package/dist/chunks/{event-logger-0mesazry.js → file-0mesazry.js} +0 -0
- /package/dist/chunks/{event-logger-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → file-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-fezapags.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./file-w4s8a7wb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service73,
|
|
11
|
+
node77
|
|
12
|
+
} from "./file-04amdepk.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service65,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node69
|
|
20
|
+
} from "./file-rfw2p3w1.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service71,
|
|
23
|
+
node75
|
|
24
|
+
} from "./file-5trk58xb.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service37,
|
|
27
|
+
node41
|
|
28
|
+
} from "./file-8wsye86r.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-539jk4fq.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service38,
|
|
35
|
+
node42
|
|
36
|
+
} from "./file-v8h4em9y.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./file-78qgck3m.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service36,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node40
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service36 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service36, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service79;
|
|
91
|
-
const location = yield*
|
|
91
|
+
const location = yield* Service75;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service65;
|
|
94
|
+
const environment = yield* Service73;
|
|
95
|
+
const hooks = yield* Service71;
|
|
96
|
+
const environments = yield* Service37;
|
|
97
|
+
const config = yield* Service38;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError5({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service36.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node40 = makeLocationNode({
|
|
320
|
+
service: Service36,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node84,
|
|
324
|
-
|
|
324
|
+
node80,
|
|
325
325
|
Global.node,
|
|
326
|
+
node69,
|
|
327
|
+
node77,
|
|
326
328
|
node75,
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
node65,
|
|
330
|
-
node66,
|
|
329
|
+
node41,
|
|
330
|
+
node42,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service36, cleanup2, node40, exports_shell4 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-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: () => Service51,
|
|
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 Service51 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service51, exports_runner };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service38
|
|
7
|
+
} from "./file-v8h4em9y.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service73
|
|
13
|
+
} from "./file-04amdepk.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service55
|
|
16
|
+
} from "./file-9p392py6.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service67
|
|
19
|
+
} from "./file-rtd9zf3v.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service66,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-p4ncety1.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service65,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-rfw2p3w1.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service36
|
|
37
|
+
} from "./file-k4qrwsy9.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service19
|
|
40
|
+
} from "./file-qn41sexy.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-mrde2rj2.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./file-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input5,
|
|
53
|
+
Plugin: () => Plugin38,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name5
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name5 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input5 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin38 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service19;
|
|
122
|
+
const jobs = yield* Service55;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service73;
|
|
125
|
+
const access = yield* Service66;
|
|
126
|
+
const shell = yield* Service36;
|
|
127
|
+
const shellSelect = yield* Service65;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service67;
|
|
130
|
+
const config = yield* Service38;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin13 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name5,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin13 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name5,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input5,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin13 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name5,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name5];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
257
257
|
})
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export {
|
|
260
|
+
export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin38, exports_shell2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
5
|
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-02nrjc1r.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID5,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service41,
|
|
13
|
+
node45
|
|
14
|
+
} from "./file-h3jtbnzr.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Service: () =>
|
|
23
|
-
SkillInstructions: () =>
|
|
24
|
-
node: () =>
|
|
20
|
+
var exports_instructions3 = {};
|
|
21
|
+
__export(exports_instructions3, {
|
|
22
|
+
Service: () => Service28,
|
|
23
|
+
SkillInstructions: () => exports_instructions3,
|
|
24
|
+
node: () => node32
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID5,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,18 +60,18 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service28 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service41;
|
|
67
|
+
return Service28.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
71
71
|
return empty3;
|
|
72
72
|
const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
73
73
|
return make20({
|
|
74
|
-
key:
|
|
74
|
+
key: Key4.make("core/skill-guidance"),
|
|
75
75
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
76
76
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
77
77
|
render: {
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node32 = makeLocationNode({ service: Service28, layer, deps: [node45] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service28, node32, exports_instructions3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-g190xswt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info15
|
|
9
|
+
} from "./file-818pfwc9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info17
|
|
12
|
+
} from "./file-tn0aqsam.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info13
|
|
15
|
+
} from "./file-sxz6gkc3.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info10
|
|
18
|
+
} from "./file-pecb0brz.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-0jwsre1p.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info9
|
|
24
|
+
} from "./file-qjnxxf51.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info8
|
|
27
|
+
} from "./file-ydee2bp2.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-s0gw9m46.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./file-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info17, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info10, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info9, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-539jk4fq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error2 = {};
|
|
13
|
+
__export(exports_error2, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -19,9 +19,9 @@ __export(exports_error, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError9,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
|
-
SessionErrors: () =>
|
|
24
|
+
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
26
26
|
StepFailedError: () => StepFailedError2,
|
|
27
27
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-6e2rzpgk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID18
|
|
6
|
+
} from "./file-33n3bzdy.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-s07qazfk.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID18.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|