@opencode/core 0.0.0-dev-19515 → 0.0.0-dev-19518
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/catalog.js +84 -84
- package/dist/chunks/{provider-pkkwwmgt.js → config-03tj29fc.js} +11 -11
- package/dist/chunks/{provider-6s1ns7mr.js → config-06gpdxnt.js} +21 -21
- package/dist/chunks/{provider-1jc936zz.js → config-0c6qpskm.js} +23 -23
- package/dist/chunks/{provider-ddcztwyx.js → config-0d0dgjqj.js} +7 -7
- package/dist/chunks/{provider-g616ba88.js → config-0f25z0zc.js} +33 -33
- package/dist/chunks/{provider-kh9sx4kg.js → config-0h54jqbs.js} +8 -8
- package/dist/chunks/{provider-70g36m39.js → config-0jjy22eq.js} +11 -11
- package/dist/chunks/config-0mesazry.js +4 -0
- package/dist/chunks/{provider-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{provider-0q0f95c6.js → config-0q0f95c6.js} +1 -1
- package/dist/chunks/{provider-8r08b25s.js → config-0r2cj6n5.js} +18 -18
- package/dist/chunks/{provider-fd3whvwn.js → config-11zceq2r.js} +26 -26
- package/dist/chunks/{provider-mjncxbbh.js → config-1d626cn7.js} +9 -9
- package/dist/chunks/{provider-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{provider-ssagvezb.js → config-1edmbcdr.js} +19 -19
- package/dist/chunks/{provider-r4jwy59m.js → config-1gsh612e.js} +10 -10
- package/dist/chunks/{provider-63n4gx86.js → config-1ng2fnc2.js} +11 -11
- package/dist/chunks/{provider-rp8jz6x1.js → config-1tq060df.js} +6 -6
- package/dist/chunks/{provider-zh8yrkqv.js → config-1vcqa5wr.js} +13 -13
- package/dist/chunks/{provider-e7tmvv6q.js → config-1vhg4r3c.js} +15 -15
- package/dist/chunks/{provider-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{provider-5mwnqeqx.js → config-22hkawpp.js} +12 -12
- package/dist/chunks/{provider-2402vzrj.js → config-2402vzrj.js} +1 -1
- package/dist/chunks/{provider-pjrv1sn1.js → config-24zysf4r.js} +1 -1
- package/dist/chunks/{provider-29x78va6.js → config-29x78va6.js} +2 -2
- package/dist/chunks/{provider-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{provider-2qp6y8xf.js → config-2f0bjgcj.js} +5 -5
- package/dist/chunks/{provider-jnmqjdkf.js → config-2hgjbaq7.js} +4 -4
- package/dist/chunks/{provider-avq7f719.js → config-2trk0nf7.js} +7 -7
- package/dist/chunks/{provider-h6mhsgyz.js → config-2y9pqqb3.js} +36 -36
- package/dist/chunks/{provider-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-eztf1wzg.js → config-3ztdxds0.js} +1 -1
- package/dist/chunks/{provider-xkwgppqg.js → config-40es9cn4.js} +11 -11
- package/dist/chunks/{provider-z93n0fe9.js → config-49w8mb30.js} +8 -8
- package/dist/chunks/{provider-tn3zdbs0.js → config-4bjs7nez.js} +30 -30
- package/dist/chunks/{provider-qah718a2.js → config-4g5zjqyt.js} +14 -14
- package/dist/chunks/{provider-21jzgs9a.js → config-4r6jt0gr.js} +11 -11
- package/dist/chunks/{provider-4y66k410.js → config-4y66k410.js} +2 -2
- package/dist/chunks/{provider-qkrnz1pz.js → config-500m5zw2.js} +5 -5
- package/dist/chunks/{provider-8c7y8dn0.js → config-524b8jaz.js} +5 -5
- package/dist/chunks/{provider-t8f8a47m.js → config-57was9j6.js} +2 -2
- package/dist/chunks/{provider-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{provider-a6abw5cg.js → config-5gb554bv.js} +22 -22
- package/dist/chunks/{provider-dvm9cexd.js → config-5kmgv739.js} +16 -16
- package/dist/chunks/{provider-ksgc7bff.js → config-5svkr433.js} +24 -24
- package/dist/chunks/{provider-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{provider-2m65srx0.js → config-6028kv6n.js} +22 -22
- package/dist/chunks/config-662xge47.js +22 -0
- package/dist/chunks/{provider-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{provider-nqzeqxym.js → config-67nnzeww.js} +8 -8
- package/dist/chunks/{provider-9zy2xjhp.js → config-6e7x5tab.js} +36 -36
- package/dist/chunks/{provider-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{provider-3mc2fgte.js → config-6s1e1kc4.js} +8 -8
- package/dist/chunks/{provider-65ndygh0.js → config-6txkt4xs.js} +5 -5
- package/dist/chunks/{provider-cgpav5ev.js → config-6zpeh5ef.js} +14 -14
- package/dist/chunks/{provider-71q4at8m.js → config-71q4at8m.js} +1 -1
- package/dist/chunks/{provider-917zdv8c.js → config-71rg6xx2.js} +14 -14
- package/dist/chunks/{provider-r5x6zcsm.js → config-73tb2d7t.js} +3 -3
- package/dist/chunks/{provider-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-zvg7bzkf.js → config-7cst06m3.js} +6 -6
- package/dist/chunks/{provider-2k8khapm.js → config-7dqw4kz8.js} +5 -5
- package/dist/chunks/{provider-ysmk5kbm.js → config-7e96baxm.js} +35 -35
- package/dist/chunks/{provider-vnadph8e.js → config-7g37pjt1.js} +12 -12
- package/dist/chunks/{provider-3cz8rj72.js → config-7gvwkz6m.js} +5 -5
- package/dist/chunks/{provider-p8y3rg0s.js → config-7zdx8nxd.js} +18 -18
- package/dist/chunks/{provider-v8ywx32k.js → config-88e20h4f.js} +7 -7
- package/dist/chunks/{provider-csf2jhsg.js → config-88sz8qcd.js} +4 -4
- package/dist/chunks/{provider-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{provider-8p4f9s12.js → config-8p4f9s12.js} +2 -2
- package/dist/chunks/{provider-fjzk1t67.js → config-8sf41kz2.js} +14 -14
- package/dist/chunks/{provider-cdt90cdf.js → config-92k859we.js} +2 -2
- package/dist/chunks/{provider-mddbddvt.js → config-93d817ps.js} +24 -24
- package/dist/chunks/{provider-79e6a9cn.js → config-9ecaftbj.js} +168 -168
- package/dist/chunks/{provider-2dvxsv9x.js → config-9edcvf27.js} +10 -10
- package/dist/chunks/{provider-tp9ndsvq.js → config-9j0f6msb.js} +9 -9
- package/dist/chunks/{provider-gfvszjcj.js → config-9ky66zz9.js} +3 -3
- package/dist/chunks/{provider-zgajvhgj.js → config-9pv0dm11.js} +9 -9
- package/dist/chunks/{provider-6mg3rapr.js → config-9zfc7dfc.js} +11 -11
- package/dist/chunks/{provider-a1bz86dw.js → config-a1bz86dw.js} +3 -3
- package/dist/chunks/{provider-0epqkpm1.js → config-a5tbwcpe.js} +9 -9
- package/dist/chunks/{provider-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{provider-xzjvqte7.js → config-abmqkkp1.js} +26 -26
- package/dist/chunks/{provider-2jbxqxhr.js → config-akfj6bkv.js} +9 -9
- package/dist/chunks/{provider-ve4pfa0n.js → config-an7cqtb7.js} +4 -4
- package/dist/chunks/{provider-bj8pk1h0.js → config-ananwaz5.js} +28 -28
- package/dist/chunks/{provider-j5exv28m.js → config-apr7yhtx.js} +67 -67
- package/dist/chunks/{provider-peejr10p.js → config-as02qwds.js} +1 -1
- package/dist/chunks/{provider-19vf66h0.js → config-at5d07az.js} +4 -4
- package/dist/chunks/{provider-mg0amdr2.js → config-b037pt3h.js} +286 -286
- package/dist/chunks/{provider-tr6ja7tk.js → config-b3cthcd0.js} +44 -44
- package/dist/chunks/{provider-3jp54z3r.js → config-b3wkxfg9.js} +1 -1
- package/dist/chunks/{provider-mgj0eac3.js → config-b53k7nra.js} +17 -17
- package/dist/chunks/{provider-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{provider-xcx71mhc.js → config-bdnmvxp8.js} +13 -13
- package/dist/chunks/{provider-cg8rhwe6.js → config-btpj8paq.js} +7 -7
- package/dist/chunks/{provider-sr9wakx4.js → config-bzr21bb0.js} +25 -25
- package/dist/chunks/{provider-s3vjz8f8.js → config-c2e2kqp2.js} +18 -18
- package/dist/chunks/{provider-6jtjhyr8.js → config-ca4pzekc.js} +41 -41
- package/dist/chunks/{provider-cfpkc3c9.js → config-cfpkc3c9.js} +2 -2
- package/dist/chunks/{provider-3f1za49c.js → config-chn16zvr.js} +4 -4
- package/dist/chunks/{provider-43dgb45m.js → config-chv1jva4.js} +18 -18
- package/dist/chunks/{provider-4614hqwg.js → config-cyh7fw84.js} +11 -11
- package/dist/chunks/{provider-jdd9z3zr.js → config-d4eh0prg.js} +9 -9
- package/dist/chunks/{provider-8qt0rzb8.js → config-d96gh7mt.js} +19 -19
- package/dist/chunks/{provider-ydr0mbyb.js → config-dg3w4ggv.js} +11 -11
- package/dist/chunks/{provider-by4xtjq4.js → config-dggcr3pv.js} +6 -6
- package/dist/chunks/{provider-5vgnmgpm.js → config-dhd4eaqs.js} +22 -22
- package/dist/chunks/{provider-jvf3yq6v.js → config-dhmh7aw6.js} +4 -4
- package/dist/chunks/{provider-nbwgzt6s.js → config-dm96vh24.js} +20 -20
- package/dist/chunks/{provider-aq39gh99.js → config-dmbf89sn.js} +13 -13
- package/dist/chunks/{provider-rx6vhxft.js → config-dp3nd3hs.js} +19 -19
- package/dist/chunks/{provider-y71avatq.js → config-dpkg50ah.js} +4 -4
- package/dist/chunks/{provider-7b15y959.js → config-dv1qgsyq.js} +8 -8
- package/dist/chunks/{provider-9mjj0np4.js → config-dzwrky7c.js} +8 -8
- package/dist/chunks/{provider-hjt4xg1x.js → config-e82z9tr0.js} +7 -7
- package/dist/chunks/{provider-f6fv9kt7.js → config-e9anbn9n.js} +5 -5
- package/dist/chunks/{provider-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{provider-yp2x3t23.js → config-f2n192rq.js} +4 -4
- package/dist/chunks/{provider-s58ke6q9.js → config-f6ydgv65.js} +3 -3
- package/dist/chunks/{provider-f828m53h.js → config-f828m53h.js} +2 -2
- package/dist/chunks/{provider-js4pqfak.js → config-fdypcd13.js} +15 -15
- package/dist/chunks/{provider-cz4prtxp.js → config-fex1r3p4.js} +4 -4
- package/dist/chunks/{provider-vm1jjz87.js → config-fgf2dbrw.js} +9 -9
- package/dist/chunks/{provider-5nmhxvv8.js → config-fj7e7hth.js} +32 -32
- package/dist/chunks/{provider-dptdzbd5.js → config-fkx4c0gs.js} +28 -28
- package/dist/chunks/{provider-hmtkpfat.js → config-fm9rw644.js} +32 -32
- package/dist/chunks/{provider-p54br4xx.js → config-fmc2g6nv.js} +18 -18
- package/dist/chunks/{provider-m950gd3p.js → config-fnem5a14.js} +10 -10
- package/dist/chunks/{provider-q19b4cjc.js → config-fptn8mvr.js} +20 -20
- package/dist/chunks/{provider-r4bep42t.js → config-fv2f4h05.js} +9 -9
- package/dist/chunks/{provider-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
- package/dist/chunks/{provider-e31khs9j.js → config-g0xjha3d.js} +15 -15
- package/dist/chunks/{provider-cgwzkpq9.js → config-g1bjk10t.js} +33 -33
- package/dist/chunks/{provider-aep6wmkx.js → config-g3wmjmt9.js} +6 -6
- package/dist/chunks/{provider-nwyvgzw7.js → config-ga2gmxwj.js} +4 -4
- package/dist/chunks/{provider-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-3fc6dm20.js → config-gdvy8fx6.js} +4 -4
- package/dist/chunks/{provider-zzd16jny.js → config-ge7mz5hd.js} +20 -20
- package/dist/chunks/{provider-d2v740yb.js → config-gxr0t54p.js} +24 -24
- package/dist/chunks/{provider-h03wrkyp.js → config-h03wrkyp.js} +2 -2
- package/dist/chunks/{provider-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-bf375p48.js → config-hfs8yx7p.js} +3 -3
- package/dist/chunks/{provider-x5ttagpj.js → config-hktst2rm.js} +13 -13
- package/dist/chunks/{provider-vpdr7g8j.js → config-j4a1nx2y.js} +17 -17
- package/dist/chunks/{provider-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{provider-p4pgsv82.js → config-j8vmgnn0.js} +6 -6
- package/dist/chunks/{provider-r25mw0kc.js → config-jc11nwvx.js} +12 -12
- package/dist/chunks/{provider-had4kgfk.js → config-jj72jhew.js} +6 -6
- package/dist/chunks/{provider-d1khqved.js → config-jk9a1ysw.js} +5 -5
- package/dist/chunks/{provider-ff0htmxq.js → config-jkp0d30b.js} +6 -6
- package/dist/chunks/{provider-em5e1hc8.js → config-jr349qs2.js} +3 -3
- package/dist/chunks/{provider-pkm07w3p.js → config-jw4srkvv.js} +33 -33
- package/dist/chunks/{provider-tgydxn46.js → config-jzghpn6f.js} +23 -23
- package/dist/chunks/{provider-s7516gn7.js → config-jzyea8st.js} +18 -18
- package/dist/chunks/{provider-0aq61y81.js → config-k3exstdw.js} +13 -13
- package/dist/chunks/{provider-1ddtjyqg.js → config-k5g1wwwc.js} +34 -34
- package/dist/chunks/{provider-zc2xj3qj.js → config-k6vfasqn.js} +1 -1
- package/dist/chunks/{provider-bbarxbyb.js → config-kd92mjtq.js} +1 -1
- package/dist/chunks/{provider-rk93ac63.js → config-kdr9yt9m.js} +5 -5
- package/dist/chunks/{provider-kg06axw8.js → config-kg06axw8.js} +1 -1
- package/dist/chunks/{provider-n6x86vy5.js → config-kjfmk7ct.js} +9 -9
- package/dist/chunks/{provider-qe863w20.js → config-kn3ebdxh.js} +32 -32
- package/dist/chunks/{provider-2bt6bea8.js → config-m2d0j7c0.js} +9 -9
- package/dist/chunks/{provider-13pq2pdm.js → config-m4esdr3n.js} +22 -22
- package/dist/chunks/{provider-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-44a9ae37.js → config-mb834ncm.js} +27 -27
- package/dist/chunks/{provider-56gdpj1q.js → config-mfqp6xfm.js} +6 -6
- package/dist/chunks/{provider-8rq3gmwa.js → config-mhfjrman.js} +17 -17
- package/dist/chunks/{provider-0wvc6jt9.js → config-mq1bq8jw.js} +14 -14
- package/dist/chunks/{provider-nw2nz702.js → config-mqy0jkn2.js} +4 -4
- package/dist/chunks/{provider-y17fffc9.js → config-mqzdvsp0.js} +12 -12
- package/dist/chunks/{provider-xcjhgh37.js → config-mrrn9raq.js} +6 -6
- package/dist/chunks/{provider-e03nkfvf.js → config-msd430t5.js} +38 -38
- package/dist/chunks/{provider-snw92vp3.js → config-mt4184cb.js} +13 -13
- package/dist/chunks/{provider-cw78x96k.js → config-n06bkfsk.js} +23 -23
- package/dist/chunks/{provider-xhmq8qgk.js → config-n37c4crj.js} +9 -9
- package/dist/chunks/{provider-3cg8wryf.js → config-n6p3hzby.js} +9 -9
- package/dist/chunks/{provider-ztannf4n.js → config-n9f5sn04.js} +8 -8
- package/dist/chunks/{provider-yzyvjjcs.js → config-ncm0m5yr.js} +4 -4
- package/dist/chunks/{provider-dk0zpy9w.js → config-ndnrqb0q.js} +6 -6
- package/dist/chunks/{provider-fqa85krr.js → config-ndst5pn8.js} +30 -30
- package/dist/chunks/{provider-9bgyk126.js → config-nesjbnnj.js} +82 -82
- package/dist/chunks/{provider-gstr6zjx.js → config-nw7c34jt.js} +25 -25
- package/dist/chunks/{provider-g7tzfezq.js → config-pc34g5xs.js} +12 -12
- package/dist/chunks/{provider-xdxq1p02.js → config-pdtg10ej.js} +43 -43
- package/dist/chunks/{provider-yfztj9my.js → config-pecphg4c.js} +18 -18
- package/dist/chunks/config-pf31ssb9.js +18 -0
- package/dist/chunks/{provider-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{provider-af1zye0v.js → config-ptybd0xs.js} +10 -10
- package/dist/chunks/{provider-n3wdcy6w.js → config-q928s5sj.js} +4 -4
- package/dist/chunks/{provider-bb10rvgt.js → config-qdhtn9s1.js} +11 -11
- package/dist/chunks/{provider-6tzc8vz6.js → config-qmp2a6yc.js} +26 -26
- package/dist/chunks/{provider-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-e5bkhh6f.js → config-qx96c0x2.js} +11 -11
- package/dist/chunks/{provider-880bzhav.js → config-qyjg9y2x.js} +17 -17
- package/dist/chunks/{provider-hqgtbq8y.js → config-r2g10xvh.js} +17 -17
- package/dist/chunks/{provider-r9mregkx.js → config-r9mregkx.js} +2 -2
- package/dist/chunks/{provider-9wgrhtqh.js → config-rbdwhr82.js} +5 -5
- package/dist/chunks/{provider-1p8j09kx.js → config-rbsfdkxp.js} +12 -12
- package/dist/chunks/{provider-epk4gxbx.js → config-rh2ber99.js} +11 -11
- package/dist/chunks/{provider-7m9y9qn0.js → config-rmn9a4a2.js} +29 -29
- package/dist/chunks/{provider-emv1mhks.js → config-rs9bm7ga.js} +43 -43
- package/dist/chunks/{provider-3dxr2zf4.js → config-rsqzvx49.js} +27 -27
- package/dist/chunks/{provider-s4enseaf.js → config-s4enseaf.js} +2 -2
- package/dist/chunks/{provider-bj92tvmk.js → config-s70x6cty.js} +49 -49
- package/dist/chunks/{provider-z4491rhz.js → config-s76nk363.js} +12 -12
- package/dist/chunks/{provider-d32qb1z3.js → config-sadtqs4n.js} +31 -31
- package/dist/chunks/{provider-agwgt4ts.js → config-sahb3924.js} +6 -6
- package/dist/chunks/{provider-0vt2xqgk.js → config-sbkm8zpx.js} +18 -18
- package/dist/chunks/{provider-n0w16hmp.js → config-sc5xtfr6.js} +6 -6
- package/dist/chunks/{provider-cp65ze15.js → config-sjwktnnh.js} +4 -4
- package/dist/chunks/{provider-t002jccf.js → config-szgy4byf.js} +4 -4
- package/dist/chunks/{provider-5kptn8c0.js → config-t0x5rdq8.js} +9 -9
- package/dist/chunks/{provider-nkwppv5y.js → config-t20bzte8.js} +11 -11
- package/dist/chunks/{provider-xdk9p2qn.js → config-t51qk8jz.js} +4 -4
- package/dist/chunks/{provider-gbt6w4kb.js → config-t550f9t1.js} +6 -6
- package/dist/chunks/{provider-kgwk72tj.js → config-t6r4qr4w.js} +15 -15
- package/dist/chunks/{provider-20m76snv.js → config-t93ydmx7.js} +47 -47
- package/dist/chunks/{provider-b6hy6gkz.js → config-t97x3sry.js} +2 -2
- package/dist/chunks/{provider-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{provider-gkc45a82.js → config-tdmbm035.js} +56 -56
- package/dist/chunks/{provider-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{provider-gv6a8nnw.js → config-th5km1p3.js} +5 -5
- package/dist/chunks/{provider-vq1xkcbr.js → config-thg7yc29.js} +20 -20
- package/dist/chunks/{provider-vk9n42km.js → config-tjdk9e36.js} +26 -26
- package/dist/chunks/{provider-9eg1w2ne.js → config-tmagtvn3.js} +30 -30
- package/dist/chunks/config-ttqtcj3t.js +247 -0
- package/dist/chunks/{provider-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{provider-xambzptg.js → config-tx0fev4m.js} +5 -5
- package/dist/chunks/{provider-e78zjprw.js → config-txsys697.js} +11 -11
- package/dist/chunks/{provider-qymjzjax.js → config-tzw8cs40.js} +43 -43
- package/dist/chunks/{provider-82n8eww3.js → config-v3yrm497.js} +19 -19
- package/dist/chunks/{provider-6agwt34k.js → config-vcd6kxeh.js} +28 -28
- package/dist/chunks/{provider-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-eqcjdke8.js → config-vqrqq3f3.js} +31 -31
- package/dist/chunks/{provider-yw4pw9zd.js → config-vrt6kmsc.js} +28 -28
- package/dist/chunks/{provider-w7n72ycn.js → config-vyd2mddb.js} +20 -20
- package/dist/chunks/{provider-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{provider-y7p08kvk.js → config-w363maz7.js} +10 -10
- package/dist/chunks/{provider-cncyymjp.js → config-w3vqsqf8.js} +26 -26
- package/dist/chunks/{provider-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-z3jzy529.js → config-w5ybyj9d.js} +45 -45
- package/dist/chunks/{provider-6vj01xgp.js → config-w7dwrt65.js} +4 -4
- package/dist/chunks/{provider-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{provider-c2bh7n43.js → config-we0x1hdb.js} +8 -8
- package/dist/chunks/{provider-x280j3tq.js → config-wpg1dpye.js} +84 -84
- package/dist/chunks/{provider-da6kr1wx.js → config-wvmhx4nb.js} +8 -8
- package/dist/chunks/{provider-cfrg58jt.js → config-wy2fmmjc.js} +14 -14
- package/dist/chunks/{provider-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{provider-35eprwbn.js → config-x1gpjyj9.js} +1 -1
- package/dist/chunks/{provider-3wfeb9p8.js → config-x39n36dp.js} +47 -47
- package/dist/chunks/{provider-xbdctb2d.js → config-x5tyfv2w.js} +5 -5
- package/dist/chunks/{provider-059fs9mx.js → config-x9yka4mj.js} +24 -24
- package/dist/chunks/{provider-6s9nm4sm.js → config-xch1wn2v.js} +34 -34
- package/dist/chunks/{provider-kzdcqyn1.js → config-xh49vxj8.js} +5 -5
- package/dist/chunks/{provider-t3zsn7tb.js → config-xhbc1wmm.js} +12 -12
- package/dist/chunks/{provider-pye8sh6e.js → config-xjk8cg32.js} +6 -6
- package/dist/chunks/{provider-razh1rh3.js → config-xk0e2k2b.js} +15 -15
- package/dist/chunks/{provider-t832p3z2.js → config-xvfxhta6.js} +28 -28
- package/dist/chunks/{provider-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-t33aqq77.js → config-y397pytd.js} +8 -8
- package/dist/chunks/{provider-cg1ew3t4.js → config-y3gka0kp.js} +3 -3
- package/dist/chunks/{provider-g85wbd3d.js → config-yb6gj76h.js} +17 -17
- package/dist/chunks/{provider-c9nd8tak.js → config-ycp3dazx.js} +44 -44
- package/dist/chunks/{provider-jsydqds2.js → config-yhaaxm75.js} +4 -4
- package/dist/chunks/{provider-2s89973z.js → config-yqbxhepw.js} +35 -35
- package/dist/chunks/{provider-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{provider-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-crn6nz6p.js → config-z4ghpq8m.js} +13 -13
- package/dist/chunks/{provider-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{provider-3sxz0rca.js → config-zfexs0ry.js} +35 -35
- package/dist/chunks/{provider-pb4gtzr9.js → config-zfzb5y7k.js} +21 -21
- package/dist/chunks/{provider-4mwwxnhq.js → config-zg5p3s2w.js} +11 -11
- package/dist/chunks/{provider-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{provider-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +78 -78
- 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 +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- 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 +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- 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 +118 -118
- 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 -361
- 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 +73 -73
- 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 +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +97 -97
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- 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 +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +349 -349
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +100 -100
- 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 +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +83 -83
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +75 -75
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +99 -99
- 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 +3 -3
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- 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 +75 -75
- 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 +342 -342
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- 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 +148 -148
- 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 +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +83 -83
- 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 +89 -89
- package/dist/session/message-updater.js +2 -2
- 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 +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 +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 +122 -122
- 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 +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +106 -106
- package/dist/snapshot.js +89 -89
- 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 +116 -116
- 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 +211 -211
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +209 -209
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +108 -108
- 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/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/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 +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/provider-27zn5j18.js +0 -22
- package/dist/chunks/provider-6kdq0pjd.js +0 -4
- package/dist/chunks/provider-7fj5dwt0.js +0 -18
- package/dist/chunks/provider-7s83b9yk.js +0 -247
- /package/dist/chunks/{provider-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-hrnqkpcd.js → config-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-j935v87r.js → config-j935v87r.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-twg0f83k.js → config-twg0f83k.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./config-b3cthcd0.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service59
|
|
13
|
+
} from "./config-5svkr433.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service51
|
|
16
|
+
} from "./config-yb6gj76h.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service54
|
|
19
|
+
} from "./config-xch1wn2v.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service20,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-qyjg9y2x.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./config-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service58,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./config-bdnmvxp8.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service39
|
|
37
|
+
} from "./config-x39n36dp.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service24
|
|
40
|
+
} from "./config-nesjbnnj.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./config-chn16zvr.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./config-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input7,
|
|
53
|
+
Plugin: () => Plugin38,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name7
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name7 = "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 Input7 = 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* Service24;
|
|
122
|
+
const jobs = yield* Service51;
|
|
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* Service59;
|
|
125
|
+
const access = yield* Service20;
|
|
126
|
+
const shell = yield* Service39;
|
|
127
|
+
const shellSelect = yield* Service58;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service54;
|
|
130
|
+
const config = yield* Service69;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin30 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name7,
|
|
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 Plugin30 = {
|
|
|
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: name7,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input7,
|
|
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 Plugin30 = {
|
|
|
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: name7,
|
|
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[name7];
|
|
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 { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin38, exports_shell2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-jr349qs2.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service79,
|
|
10
|
+
node84
|
|
11
|
+
} from "./config-6zpeh5ef.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./config-9ky66zz9.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./config-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./config-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -37,7 +37,7 @@ __export(exports_inbox, {
|
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service47,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -47,10 +47,10 @@ __export(exports_inbox, {
|
|
|
47
47
|
has: () => has2,
|
|
48
48
|
layer: () => layer19,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make16,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node50,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -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 Service47 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service80;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service79;
|
|
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)
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var layer19 = Layer.effect(
|
|
231
|
-
var
|
|
230
|
+
var layer19 = Layer.effect(Service47, make16());
|
|
231
|
+
var node50 = makeGlobalNode({ service: Service47, layer: layer19, deps: [node85, node84] });
|
|
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)
|
|
@@ -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, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service47, make16, layer19, node50, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./config-xch1wn2v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID4,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service37
|
|
10
|
+
} from "./config-tjdk9e36.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input4,
|
|
19
|
+
Output: () => Output3,
|
|
20
|
+
Plugin: () => Plugin34,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name4,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name4 = "skill";
|
|
30
|
+
var Input4 = Schema.Struct({
|
|
31
|
+
id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output3 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin34 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service37;
|
|
51
|
+
const permission = yield* Service54;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name4,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input4,
|
|
57
|
+
output: Output3,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name4,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin29 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name4, Input4, Output3, description3, toModelOutput2, Plugin34, exports_skill3 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./config-6zpeh5ef.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service78,
|
|
8
|
+
node83
|
|
9
|
+
} from "./config-g1bjk10t.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-x9yka4mj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event10,
|
|
34
|
+
ID: () => ID10,
|
|
35
|
+
Info: () => Info13,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref2,
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
42
|
+
Service: () => Service62,
|
|
43
|
+
node: () => node66
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event10 } from "@opencode/schema/integration";
|
|
65
|
+
var ID10 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info13 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -87,14 +87,14 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service62 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
97
|
-
const bus = yield*
|
|
95
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service78;
|
|
97
|
+
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
100
100
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info13.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service62.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key4.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node66 = makeLocationNode({
|
|
569
|
+
service: Service62,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node83, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info13, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service62, node66, exports_integration, Event10 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-jr349qs2.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node84
|
|
9
|
+
} from "./config-6zpeh5ef.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-67nnzeww.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
Service56,
|
|
21
21
|
node59
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./config-qx96c0x2.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service27,
|
|
25
|
+
node31
|
|
26
|
+
} from "./config-wpg1dpye.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./config-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service10,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node13
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service10 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service79;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service27;
|
|
65
|
+
const store = yield* Service56;
|
|
66
66
|
const db = (yield* Service80).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service10.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node13 = makeLocationNode({
|
|
151
|
+
service: Service10,
|
|
152
|
+
layer: layer7,
|
|
153
|
+
deps: [node84, llmClient2, node31, node59, node85]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service10, isUntitled2, layer7, node13, exports_title };
|