@opencode/core 0.0.0-dev-20957 → 0.0.0-dev-20958
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{rpc-p690rpx8.js → agent-076ygycp.js} +26 -26
- package/dist/chunks/{rpc-qgn6gcr1.js → agent-0jwsre1p.js} +5 -5
- package/dist/chunks/{rpc-82bj86tv.js → agent-0k12ygpv.js} +6 -6
- package/dist/chunks/{rpc-by0awed6.js → agent-0m77ysc4.js} +7 -7
- package/dist/chunks/{rpc-vwpcpzep.js → agent-0t9wd588.js} +8 -8
- package/dist/chunks/{rpc-0vbcp93d.js → agent-0vbcp93d.js} +2 -2
- package/dist/chunks/{rpc-qrmqj55a.js → agent-0yjx2tqn.js} +13 -13
- package/dist/chunks/{rpc-0sgp6vrq.js → agent-0ytnbz4y.js} +12 -12
- package/dist/chunks/{rpc-3emygs37.js → agent-0z54bg9x.js} +36 -36
- package/dist/chunks/{rpc-h8gytte2.js → agent-0zh4dper.js} +50 -50
- package/dist/chunks/{rpc-tpxg3fy4.js → agent-1609qj8w.js} +15 -15
- package/dist/chunks/{rpc-zfca28xf.js → agent-1agemg3z.js} +4 -4
- package/dist/chunks/{rpc-bfegkxfd.js → agent-1bmjn0qh.js} +8 -8
- package/dist/chunks/{rpc-c4rtve7x.js → agent-1f212xf4.js} +153 -153
- package/dist/chunks/{rpc-ngyrtr94.js → agent-1gpb38yh.js} +3 -3
- package/dist/chunks/{rpc-fwdmbr1p.js → agent-1j1122ka.js} +28 -28
- package/dist/chunks/{rpc-td0am7tz.js → agent-1z2t3sd1.js} +47 -47
- package/dist/chunks/{rpc-tecdc32p.js → agent-20jknadr.js} +10 -10
- package/dist/chunks/{rpc-kv3n5ztp.js → agent-229tzr2x.js} +13 -13
- package/dist/chunks/{rpc-zk21kkv9.js → agent-2a7p1gyt.js} +9 -9
- package/dist/chunks/{rpc-e6hwranf.js → agent-2bkpye9j.js} +11 -11
- package/dist/chunks/{rpc-y51ceatp.js → agent-2mhkbbfb.js} +29 -29
- package/dist/chunks/{rpc-72gmrwx5.js → agent-2qetk9d6.js} +25 -25
- package/dist/chunks/{rpc-gtexymfp.js → agent-2qp32f0v.js} +4 -4
- package/dist/chunks/{rpc-xxhgf0eh.js → agent-2v1pzyq0.js} +9 -9
- package/dist/chunks/{rpc-hk7b56jd.js → agent-31820djj.js} +89 -89
- package/dist/chunks/{rpc-k9yrfzzn.js → agent-328j3ef3.js} +8 -8
- package/dist/chunks/{rpc-c6vcmfe6.js → agent-336bg453.js} +42 -42
- package/dist/chunks/{rpc-bpwrvk6g.js → agent-3913b8rm.js} +19 -19
- package/dist/chunks/{rpc-1yvzb6cq.js → agent-3cy54vvk.js} +11 -11
- package/dist/chunks/{rpc-wq4ymj1p.js → agent-3ef040mj.js} +40 -40
- package/dist/chunks/{rpc-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
- package/dist/chunks/{rpc-5w9yjztw.js → agent-3g8j9he4.js} +1 -1
- package/dist/chunks/{rpc-b1kwtjp2.js → agent-3gt6es9n.js} +5 -5
- package/dist/chunks/{rpc-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{rpc-3hwn7j4h.js → agent-3hwn7j4h.js} +2 -2
- package/dist/chunks/{rpc-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
- package/dist/chunks/{rpc-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
- package/dist/chunks/{rpc-p7d7zdnm.js → agent-3v8y4w79.js} +3 -3
- package/dist/chunks/{rpc-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
- package/dist/chunks/{rpc-5ck1sb4w.js → agent-46hxsw4n.js} +26 -26
- package/dist/chunks/{rpc-kchd60gm.js → agent-49ctvpxp.js} +5 -5
- package/dist/chunks/{rpc-xf3b7ak0.js → agent-4a1s5xyh.js} +15 -15
- package/dist/chunks/{rpc-sq1bvbqh.js → agent-4rxtb5vq.js} +11 -11
- package/dist/chunks/{rpc-35xt5v3z.js → agent-50ea6c2f.js} +48 -48
- package/dist/chunks/{rpc-k5swm7kd.js → agent-50z0a1gb.js} +32 -32
- package/dist/chunks/{rpc-54ma36ye.js → agent-54ma36ye.js} +1 -1
- package/dist/chunks/{rpc-a961kxqf.js → agent-5cg0xhj4.js} +11 -11
- package/dist/chunks/{rpc-bpa232ey.js → agent-5kxpfrb8.js} +6 -6
- package/dist/chunks/{rpc-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
- package/dist/chunks/{rpc-xzr03pq0.js → agent-631jgtsf.js} +11 -11
- package/dist/chunks/{rpc-501wjxab.js → agent-6je4cm4t.js} +5 -5
- package/dist/chunks/{rpc-b674v2dg.js → agent-6kzp9tjq.js} +5 -5
- package/dist/chunks/{rpc-qg87bzy9.js → agent-6mp983td.js} +35 -35
- package/dist/chunks/{rpc-5fpmpm6s.js → agent-6nydggxm.js} +11 -11
- package/dist/chunks/{rpc-0s8etjc9.js → agent-6rctkjjb.js} +33 -33
- package/dist/chunks/{rpc-6xb47vfp.js → agent-6xb47vfp.js} +1 -1
- package/dist/chunks/{rpc-3jxnaj1m.js → agent-70sfpb74.js} +11 -11
- package/dist/chunks/{rpc-775gj3j1.js → agent-775gj3j1.js} +2 -2
- package/dist/chunks/{rpc-wv6kh7cb.js → agent-7abtwhpm.js} +338 -338
- package/dist/chunks/{rpc-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{rpc-6pc27hjz.js → agent-7fkffz83.js} +8 -8
- package/dist/chunks/{rpc-0g63a0te.js → agent-7j7ddnk0.js} +12 -12
- package/dist/chunks/{rpc-r1smz7b8.js → agent-7nmmn82v.js} +5 -5
- package/dist/chunks/{rpc-nmp290x7.js → agent-7v8d6x1k.js} +7 -7
- package/dist/chunks/{rpc-z1zcjh09.js → agent-816nw50c.js} +13 -13
- package/dist/chunks/{rpc-w1eejvng.js → agent-84txncab.js} +5 -5
- package/dist/chunks/{rpc-6ha732mw.js → agent-84v535vz.js} +30 -30
- package/dist/chunks/{rpc-nb9p6b26.js → agent-86qzxe6p.js} +4 -4
- package/dist/chunks/{rpc-s6vv92hd.js → agent-8f0r14n7.js} +18 -18
- package/dist/chunks/{rpc-3sm5rdfs.js → agent-8f7svxab.js} +17 -17
- package/dist/chunks/{rpc-x7ajn6gb.js → agent-8kbf19c9.js} +22 -22
- package/dist/chunks/{rpc-8m6m0r52.js → agent-8m6m0r52.js} +1 -1
- package/dist/chunks/{rpc-j09zfasm.js → agent-91qna3x0.js} +3 -3
- package/dist/chunks/{rpc-5qwd6gw2.js → agent-9bx876pj.js} +22 -22
- package/dist/chunks/{rpc-vrxbghgd.js → agent-9ng5jy3p.js} +9 -9
- package/dist/chunks/{rpc-vp0qwmgb.js → agent-a37v51ty.js} +18 -18
- package/dist/chunks/{rpc-6sspz9tf.js → agent-a60tcv91.js} +11 -11
- package/dist/chunks/{rpc-fw181sc9.js → agent-a7bcxdzj.js} +9 -9
- package/dist/chunks/{rpc-wss8ekf6.js → agent-acqwrbht.js} +25 -25
- package/dist/chunks/{rpc-mxvxcxwy.js → agent-addxnjmp.js} +4 -4
- package/dist/chunks/{rpc-zcrspsvn.js → agent-afdssyjb.js} +4 -4
- package/dist/chunks/{rpc-7pw4k8pw.js → agent-aftyskxv.js} +22 -22
- package/dist/chunks/{rpc-yaxkaew0.js → agent-avk7egrj.js} +18 -18
- package/dist/chunks/{rpc-85k52pgz.js → agent-aw43jf4k.js} +12 -12
- package/dist/chunks/{rpc-b3f8fkhc.js → agent-b3f8fkhc.js} +2 -2
- package/dist/chunks/{rpc-664av6jq.js → agent-b4y73578.js} +44 -44
- package/dist/chunks/{rpc-azsbjgdx.js → agent-b6aa29h5.js} +28 -28
- package/dist/chunks/{rpc-b6pnk01m.js → agent-bb6cbn1x.js} +88 -88
- package/dist/chunks/{rpc-rpfw3nqr.js → agent-bhgc3dzs.js} +14 -14
- package/dist/chunks/{rpc-1ffvrpkg.js → agent-bjx1sjef.js} +6 -6
- package/dist/chunks/{rpc-yt30aj44.js → agent-bqgyyk6d.js} +23 -23
- package/dist/chunks/{rpc-sdw1hh26.js → agent-btxh7gek.js} +18 -18
- package/dist/chunks/{rpc-es1vcfrp.js → agent-c1fqxshp.js} +3 -3
- package/dist/chunks/{rpc-zt4ytqs0.js → agent-c56508zd.js} +188 -188
- package/dist/chunks/{rpc-axv8g7q4.js → agent-c9x8k2kr.js} +15 -15
- package/dist/chunks/{rpc-tagbrba9.js → agent-csb7xzkw.js} +23 -23
- package/dist/chunks/{rpc-1577rrhd.js → agent-d40bcff0.js} +56 -56
- package/dist/chunks/{rpc-v1vh7s4p.js → agent-d7x0sh0y.js} +5 -5
- package/dist/chunks/{rpc-7jacs1jg.js → agent-dm3nnk5j.js} +32 -32
- package/dist/chunks/{rpc-dqxsqydv.js → agent-dqxsqydv.js} +1 -1
- package/dist/chunks/{rpc-mb14aw74.js → agent-drnf6xwf.js} +2 -2
- package/dist/chunks/{rpc-9hn6k4tm.js → agent-dv1qgsyq.js} +4 -4
- package/dist/chunks/{rpc-2ew3z5ht.js → agent-dvn8h3hj.js} +19 -19
- package/dist/chunks/{rpc-t2jpskh3.js → agent-dz5zw78w.js} +34 -34
- package/dist/chunks/{rpc-94zt7vas.js → agent-dzgd3nzk.js} +8 -8
- package/dist/chunks/{rpc-eej6y6fw.js → agent-eej6y6fw.js} +2 -2
- package/dist/chunks/{rpc-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
- package/dist/chunks/{rpc-z5pcptfa.js → agent-efxe2svv.js} +11 -11
- package/dist/chunks/{rpc-99tfdan1.js → agent-egzgxsyx.js} +29 -29
- package/dist/chunks/{rpc-412wv95y.js → agent-ehapxwsb.js} +32 -32
- package/dist/chunks/{rpc-q2xhpvxb.js → agent-exe77665.js} +30 -30
- package/dist/chunks/{rpc-2c1etwgk.js → agent-fbmc2kmv.js} +21 -21
- package/dist/chunks/{rpc-0kkmefz1.js → agent-ffwe724q.js} +24 -24
- package/dist/chunks/{rpc-5eer2xf9.js → agent-fgem0d3n.js} +8 -8
- package/dist/chunks/{rpc-qy24xa0s.js → agent-fnmy9sw4.js} +18 -18
- package/dist/chunks/{rpc-sszn147w.js → agent-fp3zmvgv.js} +23 -23
- package/dist/chunks/{rpc-73tr020p.js → agent-fpzj7rn3.js} +76 -76
- package/dist/chunks/{rpc-yfvzqt1f.js → agent-fs2ks0ah.js} +25 -25
- package/dist/chunks/{rpc-gjwgx2c5.js → agent-ft3hqk2c.js} +9 -9
- package/dist/chunks/{rpc-t827rtr3.js → agent-fve7hrpz.js} +14 -14
- package/dist/chunks/{rpc-pba85c1x.js → agent-fww2ha2b.js} +10 -10
- package/dist/chunks/{rpc-khmqacep.js → agent-fxaymqdw.js} +4 -4
- package/dist/chunks/{rpc-qsqdkngs.js → agent-fz67f08d.js} +20 -20
- package/dist/chunks/{rpc-4xpgt2w9.js → agent-g6yfr6ja.js} +5 -5
- package/dist/chunks/{rpc-c688b2mm.js → agent-g8wr7j18.js} +5 -5
- package/dist/chunks/{rpc-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
- package/dist/chunks/agent-gyce5qg1.js +18 -0
- package/dist/chunks/agent-h2s4xrnp.js +26 -0
- package/dist/chunks/{rpc-6tyv3xa5.js → agent-h36gg2tn.js} +4 -4
- package/dist/chunks/{rpc-0rmdt9st.js → agent-h3wb0rf0.js} +5 -5
- package/dist/chunks/{rpc-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
- package/dist/chunks/{rpc-31xfzrxg.js → agent-h7s7r6s9.js} +5 -5
- package/dist/chunks/{rpc-haysr2j0.js → agent-hcs07a1d.js} +13 -13
- package/dist/chunks/{rpc-hgz4x7wa.js → agent-hgz4x7wa.js} +1 -1
- package/dist/chunks/{rpc-nets62yb.js → agent-hhmdxq56.js} +3 -3
- package/dist/chunks/{rpc-hqhp0zxs.js → agent-hkffa77z.js} +4 -4
- package/dist/chunks/{rpc-b6r9ty7s.js → agent-hkttkzqp.js} +15 -15
- package/dist/chunks/{rpc-qq400y0z.js → agent-hpxsmcpf.js} +13 -13
- package/dist/chunks/{rpc-mzyxe8gm.js → agent-hqf1mv2f.js} +22 -22
- package/dist/chunks/{rpc-pgp1nwjn.js → agent-j34bs4nz.js} +4 -4
- package/dist/chunks/{rpc-dce2gzrk.js → agent-jbnebdpg.js} +8 -8
- package/dist/chunks/{rpc-j9ha8nqa.js → agent-jfvkz881.js} +16 -16
- package/dist/chunks/{rpc-f45r55fw.js → agent-jhfkefc8.js} +15 -15
- package/dist/chunks/{rpc-ycp3cd4k.js → agent-jhxa4x6v.js} +14 -14
- package/dist/chunks/{rpc-jk540des.js → agent-jk540des.js} +2 -2
- package/dist/chunks/{rpc-bqg1e2cj.js → agent-jrcfabzf.js} +1 -1
- package/dist/chunks/{rpc-6ax2sg4n.js → agent-js4pbrmc.js} +25 -25
- package/dist/chunks/{rpc-r0n6t0zc.js → agent-jt6f8k8z.js} +23 -23
- package/dist/chunks/{rpc-mtc1cw2z.js → agent-jvkv54gr.js} +3 -3
- package/dist/chunks/{rpc-xccpgf1k.js → agent-jy6v70g9.js} +25 -25
- package/dist/chunks/{rpc-hra9bp9n.js → agent-jzbfat1a.js} +19 -19
- package/dist/chunks/{rpc-xb5bw9r2.js → agent-k3xewbbn.js} +23 -23
- package/dist/chunks/{rpc-cvgztn7t.js → agent-k72nqehm.js} +38 -38
- package/dist/chunks/{rpc-669jbzsj.js → agent-kvnmdx0p.js} +17 -17
- package/dist/chunks/{rpc-z7ej7fbh.js → agent-kxy5hpjs.js} +29 -29
- package/dist/chunks/{rpc-pkxj7ynd.js → agent-ky7xv0tv.js} +6 -6
- package/dist/chunks/{rpc-n7pp7qj2.js → agent-m2tp2zy4.js} +32 -32
- package/dist/chunks/{rpc-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{rpc-maspj1v3.js → agent-maspj1v3.js} +1 -1
- package/dist/chunks/{rpc-bmr56wjg.js → agent-mv3hx7wz.js} +4 -4
- package/dist/chunks/{rpc-c2sed5cq.js → agent-my4zabxr.js} +2 -2
- package/dist/chunks/{rpc-3sj8yt8v.js → agent-n1n192bv.js} +4 -4
- package/dist/chunks/{rpc-zb746e9k.js → agent-n3z6xa89.js} +2 -2
- package/dist/chunks/{rpc-62yd8t86.js → agent-n69wn4k7.js} +14 -14
- package/dist/chunks/{rpc-pqdj80dn.js → agent-n6mse5q2.js} +4 -4
- package/dist/chunks/{rpc-v08rtmt7.js → agent-n7gja7eh.js} +25 -25
- package/dist/chunks/{rpc-atjwctsn.js → agent-nehy47qm.js} +18 -18
- package/dist/chunks/{rpc-a4y2m2pn.js → agent-nf8gtwm3.js} +16 -16
- package/dist/chunks/{rpc-66keg2ed.js → agent-nnbhsd2s.js} +9 -9
- package/dist/chunks/{rpc-13wy7mfs.js → agent-pfqf91wk.js} +20 -20
- package/dist/chunks/{rpc-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
- package/dist/chunks/{rpc-fscc3096.js → agent-pk8q3hep.js} +15 -15
- package/dist/chunks/{rpc-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{rpc-zqnnyapg.js → agent-pmcwe568.js} +23 -23
- package/dist/chunks/{rpc-q0xm7vwc.js → agent-q0xm7vwc.js} +2 -2
- package/dist/chunks/{rpc-veq4qypw.js → agent-q1bfw64a.js} +16 -16
- package/dist/chunks/{rpc-6x6tfj0a.js → agent-q761sv46.js} +12 -12
- package/dist/chunks/{rpc-7m6me2kh.js → agent-q8p7dk20.js} +28 -28
- package/dist/chunks/{rpc-bqf8dw7y.js → agent-q91f3t0x.js} +31 -31
- package/dist/chunks/{rpc-da09f1g7.js → agent-qfx0t4ke.js} +11 -11
- package/dist/chunks/{rpc-c3kdpfj7.js → agent-qk0qxrtr.js} +34 -34
- package/dist/chunks/{rpc-qnc92qwc.js → agent-qnc92qwc.js} +1 -1
- package/dist/chunks/{rpc-h9a815dw.js → agent-qq4j7qt6.js} +37 -37
- package/dist/chunks/{rpc-drwq78ky.js → agent-qqeeq2t9.js} +7 -7
- package/dist/chunks/{rpc-qsdy395h.js → agent-qsdy395h.js} +1 -1
- package/dist/chunks/{rpc-e5vg0yv6.js → agent-qvazqvvc.js} +8 -8
- package/dist/chunks/{rpc-yyyk3xhf.js → agent-qzkhffvs.js} +22 -22
- package/dist/chunks/{rpc-nma959mg.js → agent-r2z489rp.js} +3 -3
- package/dist/chunks/{rpc-5xhe9v23.js → agent-rabj4zv4.js} +9 -9
- package/dist/chunks/{rpc-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
- package/dist/chunks/{rpc-tkb22qbm.js → agent-rert0e01.js} +2 -2
- package/dist/chunks/{rpc-f2n192rq.js → agent-rhraev7y.js} +4 -4
- package/dist/chunks/{rpc-c41wscbt.js → agent-rj3eygr5.js} +2 -2
- package/dist/chunks/{rpc-vxnp931j.js → agent-rksbsveg.js} +21 -21
- package/dist/chunks/{rpc-dxybt9ry.js → agent-rzhk0pxw.js} +29 -29
- package/dist/chunks/{rpc-p8sn5v2a.js → agent-rzmamy72.js} +46 -46
- package/dist/chunks/{rpc-ysmpv3j4.js → agent-s57b5eh9.js} +5 -5
- package/dist/chunks/{rpc-y8s1cxkd.js → agent-s777yeyn.js} +30 -30
- package/dist/chunks/{rpc-t550f9t1.js → agent-s8d7rejh.js} +4 -4
- package/dist/chunks/{rpc-c8ax2afj.js → agent-sa8ekw3f.js} +2 -2
- package/dist/chunks/{rpc-xjwg7jja.js → agent-sbn7pzv1.js} +8 -8
- package/dist/chunks/{rpc-rxg505xh.js → agent-sd36kcjb.js} +13 -13
- package/dist/chunks/{rpc-2jnytm9q.js → agent-se59bpe2.js} +5 -5
- package/dist/chunks/{rpc-81aqk3w6.js → agent-shcqsdwj.js} +11 -11
- package/dist/chunks/{rpc-0yp806wb.js → agent-snr1631k.js} +1 -1
- package/dist/chunks/{rpc-cp4eewxm.js → agent-sr657sp7.js} +5 -5
- package/dist/chunks/{rpc-awddqekk.js → agent-ssvc2v8g.js} +15 -15
- package/dist/chunks/{rpc-3cj7mw2f.js → agent-sx205xp2.js} +1 -1
- package/dist/chunks/{rpc-1j6h4v11.js → agent-sytrzq88.js} +18 -18
- package/dist/chunks/{rpc-syv4x271.js → agent-syv4x271.js} +1 -1
- package/dist/chunks/{rpc-fqb2p7cx.js → agent-t2fc4mz5.js} +4 -4
- package/dist/chunks/{rpc-20dqcrnk.js → agent-t6xdkxwv.js} +18 -18
- package/dist/chunks/{rpc-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
- package/dist/chunks/{rpc-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
- package/dist/chunks/{rpc-xzhg0qv8.js → agent-tcxg1jmc.js} +24 -24
- package/dist/chunks/{rpc-tdstcens.js → agent-tdstcens.js} +1 -1
- package/dist/chunks/{rpc-51f5btjf.js → agent-tegs1ycp.js} +6 -6
- package/dist/chunks/{rpc-hmqnqm20.js → agent-tkw33k9w.js} +30 -30
- package/dist/chunks/{rpc-tm0kqsz3.js → agent-tm0kqsz3.js} +1 -1
- package/dist/chunks/{rpc-tyytaxap.js → agent-tyytaxap.js} +1 -1
- package/dist/chunks/{rpc-tm6m41eq.js → agent-tz35mf6x.js} +8 -8
- package/dist/chunks/{rpc-tg7bkhef.js → agent-v0es1rhs.js} +7 -7
- package/dist/chunks/{rpc-yqek1wqm.js → agent-v3dtcwjz.js} +13 -13
- package/dist/chunks/{rpc-v7p4zvkq.js → agent-v7p4zvkq.js} +2 -2
- package/dist/chunks/{rpc-g62k8ye6.js → agent-v9yt08hw.js} +16 -16
- package/dist/chunks/{rpc-3v44xrgw.js → agent-vch9y4vj.js} +23 -23
- package/dist/chunks/{rpc-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{rpc-phj7b8e3.js → agent-vfy0p931.js} +6 -6
- package/dist/chunks/{rpc-y14yzbv9.js → agent-vk9vgbh1.js} +15 -15
- package/dist/chunks/{rpc-n3vb9epv.js → agent-vqhana6f.js} +23 -23
- package/dist/chunks/{rpc-91pgxm1y.js → agent-vwtghmt7.js} +23 -23
- package/dist/chunks/{rpc-61rpadeq.js → agent-vy0s0sr4.js} +20 -20
- package/dist/chunks/{rpc-zm820vvs.js → agent-vz2qmdjd.js} +43 -43
- package/dist/chunks/{rpc-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
- package/dist/chunks/{rpc-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{rpc-618s31kc.js → agent-w693ecfj.js} +10 -10
- package/dist/chunks/{rpc-6fd9p91z.js → agent-w6htd7zh.js} +13 -13
- package/dist/chunks/{rpc-5e3s40e2.js → agent-w86b5zna.js} +23 -23
- package/dist/chunks/{rpc-hnaazdex.js → agent-wa0x4va4.js} +4 -4
- package/dist/chunks/{rpc-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{rpc-y0xznj3f.js → agent-wdpmkj9t.js} +8 -8
- package/dist/chunks/{rpc-e545f8nm.js → agent-wetbxm0p.js} +9 -9
- package/dist/chunks/{rpc-s4a1trnd.js → agent-wh82kep3.js} +3 -3
- package/dist/chunks/{rpc-a7dkb545.js → agent-wha9pdbd.js} +11 -11
- package/dist/chunks/{rpc-633kc721.js → agent-wk28cg8h.js} +11 -11
- package/dist/chunks/{rpc-11dqjexa.js → agent-wk5z6jzv.js} +9 -9
- package/dist/chunks/{rpc-3dn5qvj3.js → agent-wm327jek.js} +30 -30
- package/dist/chunks/{rpc-6t1bbpnq.js → agent-wnjv9xrx.js} +7 -7
- package/dist/chunks/{rpc-tg8ddpts.js → agent-wqddz62t.js} +6 -6
- package/dist/chunks/{rpc-9pdrjcjq.js → agent-wsrve659.js} +10 -10
- package/dist/chunks/{rpc-jewhh3wd.js → agent-wxyjxjzj.js} +10 -10
- package/dist/chunks/{rpc-ngbwkpd3.js → agent-wzhp1wyq.js} +11 -11
- package/dist/chunks/{rpc-mfj47n67.js → agent-wzvjhsfb.js} +18 -18
- package/dist/chunks/{rpc-p7dppmtr.js → agent-x26hza9p.js} +13 -13
- package/dist/chunks/{rpc-x4bs0z10.js → agent-x3f89s44.js} +11 -11
- package/dist/chunks/{rpc-w4axh9wz.js → agent-xa3qyksy.js} +8 -8
- package/dist/chunks/{rpc-a8nkje97.js → agent-xa8dcf8m.js} +11 -11
- package/dist/chunks/{rpc-1qpmd929.js → agent-xaafse7q.js} +4 -4
- package/dist/chunks/{rpc-gtnvez50.js → agent-xbzcmspy.js} +33 -33
- package/dist/chunks/{rpc-nfvfn1nf.js → agent-xq456m14.js} +1 -1
- package/dist/chunks/{rpc-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
- package/dist/chunks/{rpc-1hfz5630.js → agent-y5hc63tf.js} +20 -20
- package/dist/chunks/{rpc-dpkg50ah.js → agent-y71avatq.js} +4 -4
- package/dist/chunks/{rpc-ds513cvv.js → agent-y878v9rt.js} +51 -51
- package/dist/chunks/{rpc-1vnnf5cd.js → agent-ya23ecyg.js} +45 -45
- package/dist/chunks/{rpc-zjtrsxny.js → agent-yd4bzqjj.js} +5 -5
- package/dist/chunks/{rpc-19r4ktpx.js → agent-ydp8h3rh.js} +24 -24
- package/dist/chunks/{rpc-a4cx9gg9.js → agent-yfwvs8z7.js} +27 -27
- package/dist/chunks/{rpc-59nqaqqb.js → agent-ym3sw0s1.js} +1 -1
- package/dist/chunks/{rpc-c445dxh9.js → agent-ynj5s4jx.js} +19 -19
- package/dist/chunks/{rpc-pybx3045.js → agent-yzdd1q42.js} +43 -43
- package/dist/chunks/{rpc-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{rpc-wr7ps67x.js → agent-z2qbjhyn.js} +5 -5
- package/dist/chunks/{rpc-wf35t0j7.js → agent-ze38rjkb.js} +11 -11
- package/dist/chunks/{rpc-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
- package/dist/chunks/{rpc-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- 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 +84 -84
- 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 +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- 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/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 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +76 -76
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- 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 +98 -98
- package/dist/model.js +104 -104
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- 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 +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- 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 +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- 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 +124 -124
- 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 +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +117 -117
- 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 +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -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 +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- 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 +86 -86
- 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 +137 -137
- 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 +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- 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 +4 -4
- 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 +226 -226
- 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 +2 -2
- package/dist/session/runner/step.js +127 -127
- 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 +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- 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 +130 -130
- 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 +118 -118
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- 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 +14 -14
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/rpc-jqh9b0xq.js +0 -18
- package/dist/chunks/rpc-z00ewvj9.js +0 -26
- /package/dist/chunks/{rpc-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{rpc-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{rpc-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{rpc-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{rpc-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{rpc-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{rpc-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{rpc-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
- /package/dist/chunks/{rpc-2bv980vf.js → agent-2bv980vf.js} +0 -0
- /package/dist/chunks/{rpc-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{rpc-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{rpc-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{rpc-3t0ybcrp.js → agent-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{rpc-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{rpc-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{rpc-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{rpc-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{rpc-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{rpc-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{rpc-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{rpc-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{rpc-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{rpc-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{rpc-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{rpc-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{rpc-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{rpc-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{rpc-84wd9syh.js → agent-84wd9syh.js} +0 -0
- /package/dist/chunks/{rpc-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{rpc-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{rpc-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{rpc-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{rpc-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{rpc-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{rpc-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{rpc-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{rpc-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{rpc-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{rpc-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{rpc-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{rpc-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{rpc-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{rpc-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{rpc-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{rpc-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{rpc-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{rpc-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{rpc-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{rpc-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{rpc-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{rpc-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{rpc-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{rpc-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{rpc-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{rpc-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{rpc-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{rpc-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{rpc-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{rpc-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{rpc-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{rpc-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
- /package/dist/chunks/{rpc-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{rpc-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{rpc-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{rpc-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{rpc-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{rpc-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{rpc-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
- /package/dist/chunks/{rpc-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{rpc-m18g726c.js → agent-m18g726c.js} +0 -0
- /package/dist/chunks/{rpc-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{rpc-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{rpc-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{rpc-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{rpc-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{rpc-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{rpc-pyv0edze.js → agent-pyv0edze.js} +0 -0
- /package/dist/chunks/{rpc-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{rpc-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{rpc-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{rpc-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{rpc-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{rpc-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{rpc-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{rpc-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{rpc-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{rpc-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{rpc-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
- /package/dist/chunks/{rpc-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{rpc-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{rpc-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{rpc-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
- /package/dist/chunks/{rpc-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{rpc-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{rpc-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{rpc-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{rpc-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{rpc-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{rpc-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{rpc-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{rpc-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service43,
|
|
3
|
+
node46
|
|
4
|
+
} from "./agent-q91f3t0x.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions4 = {};
|
|
17
|
+
__export(exports_instructions4, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
+
Service: () => Service24,
|
|
20
|
+
node: () => node27
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service24 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service43;
|
|
64
|
+
return Service24.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make21({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node27 = makeLocationNode({ service: Service24, layer, deps: [node46] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service24, node27, exports_instructions4 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info10
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info10 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info9 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info10, exports_command5 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-mv3hx7wz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info8
|
|
9
|
+
} from "./agent-1bmjn0qh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info10
|
|
12
|
+
} from "./agent-t2fc4mz5.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info11
|
|
15
|
+
} from "./agent-g6yfr6ja.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-0jwsre1p.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info7
|
|
21
|
+
} from "./agent-6kzp9tjq.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
migrateMcp2,
|
|
28
28
|
migrateProvider2,
|
|
29
29
|
providerID2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./agent-1agemg3z.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./agent-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/config/normalize.ts
|
|
36
36
|
var exports_normalize = {};
|
|
@@ -97,12 +97,12 @@ function normalize2(input) {
|
|
|
97
97
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
98
98
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
99
99
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
100
|
-
const legacyCommands = decodeMap(input.command,
|
|
100
|
+
const legacyCommands = decodeMap(input.command, Info10, ["command"], diagnostics, decodeValue);
|
|
101
101
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
102
102
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
103
103
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
104
104
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
105
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
105
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info8, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
106
106
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
107
107
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
108
108
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -116,7 +116,7 @@ function normalize2(input) {
|
|
|
116
116
|
model: migratedSmallModel,
|
|
117
117
|
...legacyAgents.title
|
|
118
118
|
};
|
|
119
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
119
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info8, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
120
120
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
121
121
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
122
122
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -218,7 +218,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
218
218
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
219
219
|
return;
|
|
220
220
|
}
|
|
221
|
-
const server = decodeValue(
|
|
221
|
+
const server = decodeValue(Info11, value, path, diagnostics);
|
|
222
222
|
if (server !== undefined)
|
|
223
223
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
224
224
|
});
|
|
@@ -416,7 +416,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
416
416
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
417
417
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
418
418
|
return [];
|
|
419
|
-
const provider = decodeValue(
|
|
419
|
+
const provider = decodeValue(Info7, raw, path, diagnostics);
|
|
420
420
|
if (provider === undefined)
|
|
421
421
|
return [];
|
|
422
422
|
const destination = providerID2(name);
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./agent-70sfpb74.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service81,
|
|
8
|
+
node85
|
|
9
|
+
} from "./agent-v9yt08hw.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
update2
|
|
18
|
+
} from "./agent-h7s7r6s9.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./agent-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./agent-rj3eygr5.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./agent-c1fqxshp.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./agent-tkw33k9w.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./agent-hkffa77z.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./agent-avk7egrj.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./agent-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./agent-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node22
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -249,7 +249,7 @@ function run(db, event) {
|
|
|
249
249
|
updateCompaction: updateMessage,
|
|
250
250
|
appendMessage
|
|
251
251
|
};
|
|
252
|
-
yield*
|
|
252
|
+
yield* update2(adapter, event);
|
|
253
253
|
});
|
|
254
254
|
}
|
|
255
255
|
function insertMessage(db, event, message) {
|
|
@@ -279,8 +279,8 @@ function projectIdle(db, event) {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
282
|
-
const bus = yield*
|
|
283
|
-
const db = (yield*
|
|
282
|
+
const bus = yield* Service81;
|
|
283
|
+
const db = (yield* Service82).db;
|
|
284
284
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
285
285
|
const stored = yield* db.insert(SessionTable2).values({
|
|
286
286
|
id: event.data.sessionID,
|
|
@@ -467,6 +467,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
467
467
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
468
468
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
469
469
|
}));
|
|
470
|
-
var
|
|
470
|
+
var node22 = makeGlobalNode({ name: "session-projector", layer, deps: [node85, node86] });
|
|
471
471
|
|
|
472
|
-
export { SessionAlreadyProjected2,
|
|
472
|
+
export { SessionAlreadyProjected2, node22, exports_projector };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service60,
|
|
10
|
+
node: () => node64
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service60 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node64 = LayerNode.unbound(Service60, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service60, node64, exports_service2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./agent-70sfpb74.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-y71avatq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service81,
|
|
10
|
+
node85
|
|
11
|
+
} from "./agent-v9yt08hw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./agent-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-my4zabxr.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./agent-c1fqxshp.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./agent-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info16,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service59,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer25,
|
|
49
|
+
list: () => list4,
|
|
50
|
+
make: () => make18,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node63,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info16,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service59 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const database = yield*
|
|
156
|
+
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
|
+
const database = yield* Service82;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service81;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info16.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -193,7 +193,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list4(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer25 = Layer.effect(Service59, make18());
|
|
231
|
+
var node63 = makeGlobalNode({ service: Service59, layer: layer25, deps: [node86, node85] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info16, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service59, make18, layer25, node63, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-bjx1sjef.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin6,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin6 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin15 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin6, exports_exa };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
12
|
+
Event: () => Event21,
|
|
13
13
|
ID: () => ID18,
|
|
14
|
-
Info: () =>
|
|
14
|
+
Info: () => Info29,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
@@ -20,12 +20,12 @@ import { Schema } from "effect";
|
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
21
|
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info29 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event21 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export { ID18, Current3,
|
|
31
|
+
export { ID18, Current3, Info29, UpdateInput4, Event21, Vcs3, exports_schema };
|