@opencode/core 0.0.0-dev-20215 → 0.0.0-dev-20218
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{worktree-eeaf82dq.js → state-00832hy7.js} +8 -8
- package/dist/chunks/{worktree-674nz3pn.js → state-03axkpd7.js} +26 -26
- package/dist/chunks/{worktree-e81dr17b.js → state-05vsj3p7.js} +4 -4
- package/dist/chunks/{worktree-w7ams0n7.js → state-07ysamf7.js} +39 -39
- package/dist/chunks/{worktree-rkdvqggb.js → state-0gapa1rm.js} +5 -5
- package/dist/chunks/state-0mesazry.js +4 -0
- package/dist/chunks/{worktree-96ak3467.js → state-0mh48h74.js} +17 -17
- package/dist/chunks/{worktree-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-8cmvxv2n.js → state-0r7yqxbf.js} +5 -5
- package/dist/chunks/{worktree-gafemadt.js → state-0xx33ygk.js} +83 -83
- package/dist/chunks/{worktree-3k8b8397.js → state-14yk5par.js} +17 -17
- package/dist/chunks/{worktree-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-cxn44tg0.js → state-1gya5ztd.js} +3 -3
- package/dist/chunks/{worktree-a4p2e6yr.js → state-1zde08dm.js} +6 -6
- package/dist/chunks/{worktree-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-2402vzrj.js → state-2402vzrj.js} +1 -1
- package/dist/chunks/{worktree-qany4v32.js → state-25d919r2.js} +37 -37
- package/dist/chunks/{worktree-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-r23pbb8t.js → state-2mkrz92g.js} +29 -29
- package/dist/chunks/{worktree-eyz64kwr.js → state-32ymn5e1.js} +6 -6
- package/dist/chunks/{worktree-rp0b7fvm.js → state-338yrj73.js} +39 -39
- package/dist/chunks/{worktree-0k3fqexr.js → state-347x2fmn.js} +10 -10
- package/dist/chunks/{worktree-1ft64m98.js → state-3631mzea.js} +9 -9
- package/dist/chunks/{worktree-5xv65hkg.js → state-3ban7q1k.js} +28 -28
- package/dist/chunks/{worktree-5kwfr1e0.js → state-3dhcjsqz.js} +24 -24
- package/dist/chunks/{worktree-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-7t5fpg5d.js → state-3fpxrx1n.js} +12 -12
- package/dist/chunks/{worktree-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-k4xjzc9h.js → state-3pkc36ya.js} +7 -7
- package/dist/chunks/{worktree-gx5nrd37.js → state-3qb6nqt1.js} +13 -13
- package/dist/chunks/{worktree-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-gnhsmmqn.js → state-3wrtxrr4.js} +6 -6
- package/dist/chunks/{worktree-3t40p5r2.js → state-3x4m5qd9.js} +18 -18
- package/dist/chunks/{worktree-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{worktree-72mty36f.js → state-405avf1k.js} +11 -11
- package/dist/chunks/{worktree-3c8jswt4.js → state-42hej837.js} +19 -19
- package/dist/chunks/{worktree-44h5tttr.js → state-4dgbcxzg.js} +4 -4
- package/dist/chunks/{worktree-s30fyz93.js → state-4j4tgtq5.js} +4 -4
- package/dist/chunks/{worktree-q3d9qgrv.js → state-4p1epq1b.js} +5 -5
- package/dist/chunks/{worktree-1arnrgt5.js → state-4ve5k4jc.js} +11 -11
- package/dist/chunks/{worktree-3vhzm9vc.js → state-562azfy0.js} +15 -15
- package/dist/chunks/{worktree-33w4ejhs.js → state-56gdpj1q.js} +6 -6
- package/dist/chunks/{worktree-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-hdkzdw1f.js → state-5gpdyetc.js} +20 -20
- package/dist/chunks/{worktree-s1xp2azn.js → state-5h68hgfk.js} +30 -30
- package/dist/chunks/{worktree-4nhngmcq.js → state-5mcapwzv.js} +35 -35
- package/dist/chunks/{worktree-pvecmqrq.js → state-5md0szhq.js} +48 -48
- package/dist/chunks/{worktree-ya6t0hrg.js → state-5mnv6qns.js} +20 -20
- package/dist/chunks/{worktree-fv23f2g8.js → state-5n657pg2.js} +3 -3
- package/dist/chunks/{worktree-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-xycfn4ya.js → state-5zvmc3ez.js} +20 -20
- package/dist/chunks/{worktree-vrxvw0ry.js → state-616betvk.js} +45 -45
- package/dist/chunks/{worktree-c8jj867k.js → state-63kpjth9.js} +9 -9
- package/dist/chunks/{worktree-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{worktree-0v5qhdm7.js → state-686tv83h.js} +48 -48
- package/dist/chunks/{worktree-hnr8f6ws.js → state-697fm79x.js} +4 -4
- package/dist/chunks/{worktree-jwtb7ds2.js → state-6b0e6jr0.js} +48 -48
- package/dist/chunks/{worktree-nn6yf1qt.js → state-6eqtnz3a.js} +328 -328
- package/dist/chunks/{worktree-s2ynmxvy.js → state-6ge9xvdz.js} +12 -12
- package/dist/chunks/{worktree-ex8c9819.js → state-6hyw96xs.js} +9 -9
- package/dist/chunks/{worktree-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-qrevjn02.js → state-6wq59zjx.js} +32 -32
- package/dist/chunks/{worktree-gs4tkc79.js → state-6ysrkrkr.js} +8 -8
- package/dist/chunks/{worktree-a2qe2ev9.js → state-73kdj4zj.js} +8 -8
- package/dist/chunks/{worktree-3cvzpexn.js → state-764xmq7n.js} +18 -18
- package/dist/chunks/{worktree-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-vtgtp4yy.js → state-7bvkr4r5.js} +8 -8
- package/dist/chunks/{worktree-gq56w217.js → state-7c1t3sth.js} +5 -5
- package/dist/chunks/{worktree-2k8khapm.js → state-7dqw4kz8.js} +5 -5
- package/dist/chunks/{worktree-9zraknnh.js → state-7g38j68k.js} +30 -30
- package/dist/chunks/{worktree-vkxhpebf.js → state-7g5bn0rc.js} +9 -9
- package/dist/chunks/{worktree-waa26gy5.js → state-7k0859n8.js} +19 -19
- package/dist/chunks/{worktree-d9vsz0nw.js → state-7ve2bcyf.js} +17 -17
- package/dist/chunks/{worktree-q3t37ft6.js → state-7w99qc9d.js} +3 -3
- package/dist/chunks/{worktree-cn3880dm.js → state-7yjkh209.js} +3 -3
- package/dist/chunks/{worktree-1zj7c1b9.js → state-843rktzr.js} +28 -28
- package/dist/chunks/{worktree-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-r775761k.js → state-8kb9ad1g.js} +23 -23
- package/dist/chunks/{worktree-pc7a78kv.js → state-8t4yhv83.js} +68 -68
- package/dist/chunks/{worktree-gfvb90ym.js → state-94ek1h2f.js} +2 -2
- package/dist/chunks/{worktree-qkk2rr8y.js → state-9e7tejnn.js} +40 -40
- package/dist/chunks/state-9zdhvgqs.js +18 -0
- package/dist/chunks/{worktree-7b6f2pz4.js → state-a2ax3qpg.js} +3 -3
- package/dist/chunks/{worktree-x3x9tpbc.js → state-a7n07cbk.js} +20 -20
- package/dist/chunks/{worktree-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-0r0ksm42.js → state-abyvc0ab.js} +16 -16
- package/dist/chunks/{worktree-d9s573fh.js → state-ajmg8w9c.js} +9 -9
- package/dist/chunks/{worktree-a8nvjzqv.js → state-ajzatwsb.js} +11 -11
- package/dist/chunks/{worktree-6krmax6q.js → state-akx14ffq.js} +5 -5
- package/dist/chunks/{worktree-2gcp25fc.js → state-anj5zhyn.js} +25 -25
- package/dist/chunks/{worktree-shhg5kc4.js → state-aq25p0km.js} +30 -30
- package/dist/chunks/{worktree-1xpaaevk.js → state-at4p1dba.js} +24 -24
- package/dist/chunks/{worktree-yvpmtcpk.js → state-avz33p24.js} +10 -10
- package/dist/chunks/{worktree-0bdrcw2s.js → state-axbkptea.js} +2 -2
- package/dist/chunks/{worktree-q10fqe6z.js → state-b3sqm8qs.js} +13 -13
- package/dist/chunks/{worktree-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-caszb10r.js → state-b9cdatme.js} +20 -20
- package/dist/chunks/{worktree-e9r79r8d.js → state-bd1518y4.js} +9 -9
- package/dist/chunks/{worktree-p37cw4rj.js → state-br0tr5aq.js} +8 -8
- package/dist/chunks/{worktree-0j68vngr.js → state-bwhv742z.js} +10 -10
- package/dist/chunks/{worktree-3e18wkss.js → state-bysw588c.js} +33 -33
- package/dist/chunks/{worktree-3zkmgewa.js → state-c2wmnxd0.js} +16 -16
- package/dist/chunks/{worktree-ggceqynt.js → state-c5885s0q.js} +11 -11
- package/dist/chunks/{worktree-gpb9r3qt.js → state-cbszzs6d.js} +10 -10
- package/dist/chunks/{worktree-54tcyq79.js → state-ckecvw8r.js} +2 -2
- package/dist/chunks/{worktree-ktvcadya.js → state-cmxzdf4d.js} +15 -15
- package/dist/chunks/{worktree-e14rzxnr.js → state-cnebggg2.js} +30 -30
- package/dist/chunks/{worktree-4da46de2.js → state-cw4h18ma.js} +27 -27
- package/dist/chunks/{worktree-95v9dhdk.js → state-d06nhcag.js} +12 -12
- package/dist/chunks/{worktree-t4mbtemh.js → state-d2aac7k2.js} +5 -5
- package/dist/chunks/{worktree-bct739vz.js → state-dfe8djrf.js} +4 -4
- package/dist/chunks/{worktree-cpneeje0.js → state-djszqvmq.js} +9 -9
- package/dist/chunks/{worktree-kh5y7dsa.js → state-dpdh24t4.js} +29 -29
- package/dist/chunks/{worktree-drwq78ky.js → state-drwq78ky.js} +1 -1
- package/dist/chunks/{worktree-wedrxhxr.js → state-e0bbdjrn.js} +6 -6
- package/dist/chunks/{worktree-1chzq234.js → state-e22zwrdw.js} +5 -5
- package/dist/chunks/{worktree-jjk7p82s.js → state-eb7aytjb.js} +26 -26
- package/dist/chunks/{worktree-ecfe7b91.js → state-ecfe7b91.js} +2 -2
- package/dist/chunks/{worktree-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-q86ksqw5.js → state-ekw5v65w.js} +29 -29
- package/dist/chunks/{worktree-pgp1nwjn.js → state-espax8zg.js} +4 -4
- package/dist/chunks/{worktree-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-pttk24fx.js → state-ev7a3h22.js} +55 -55
- package/dist/chunks/{worktree-t2vpa3bp.js → state-evbgk2k8.js} +2 -2
- package/dist/chunks/{worktree-dx8w7vfp.js → state-f5q2cchh.js} +10 -10
- package/dist/chunks/{worktree-8m4g0388.js → state-f6ggn7ee.js} +26 -26
- package/dist/chunks/{worktree-rxmj2525.js → state-fj9t785f.js} +5 -5
- package/dist/chunks/{worktree-ejmtyfyw.js → state-fjc6nchj.js} +26 -26
- package/dist/chunks/{worktree-yskbjwxr.js → state-fqs56ekt.js} +25 -25
- package/dist/chunks/{worktree-1jvcwpzv.js → state-fvfccrab.js} +4 -4
- package/dist/chunks/{worktree-bng40jb9.js → state-fz7zprw4.js} +9 -9
- package/dist/chunks/{worktree-2384dzxb.js → state-g27ndhem.js} +28 -28
- package/dist/chunks/{worktree-swsbd73k.js → state-g534k4t5.js} +15 -15
- package/dist/chunks/{worktree-v75ben0y.js → state-g8damagz.js} +14 -14
- package/dist/chunks/{worktree-7sxxv0k9.js → state-ga2xd9w7.js} +15 -15
- package/dist/chunks/{worktree-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-9e5ez0z2.js → state-gm9d908t.js} +18 -18
- package/dist/chunks/{worktree-axtbgcsn.js → state-gqc82067.js} +5 -5
- package/dist/chunks/{worktree-7gt3e72m.js → state-gtbg8hzf.js} +20 -20
- package/dist/chunks/{worktree-yyb7tjpc.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/state-gx3thcd1.js +252 -0
- package/dist/chunks/{worktree-j3b38fkc.js → state-h180zsc3.js} +5 -5
- package/dist/chunks/{worktree-fj30x8t9.js → state-h3fwwd3m.js} +21 -21
- package/dist/chunks/{worktree-fex7j0m5.js → state-h5tv3rwb.js} +13 -13
- package/dist/chunks/{worktree-kbrhjmmj.js → state-h6b02349.js} +6 -35
- package/dist/chunks/{worktree-gdv4qzn0.js → state-h6p9wsd3.js} +43 -43
- package/dist/chunks/{worktree-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-0bfcnrg1.js → state-hd8vw2pw.js} +1 -1
- package/dist/chunks/{worktree-h22tcczk.js → state-hdne2gxf.js} +8 -8
- package/dist/chunks/{worktree-k7s9b0vb.js → state-he0atntt.js} +3 -3
- package/dist/chunks/{worktree-6893nb2p.js → state-j30mx6hz.js} +32 -32
- package/dist/chunks/{worktree-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-n9hm6cyq.js → state-jc9t9v97.js} +17 -17
- package/dist/chunks/{worktree-b5pxe27k.js → state-jcwatdg2.js} +30 -30
- package/dist/chunks/{worktree-dj68pnee.js → state-jewzahs7.js} +4 -4
- package/dist/chunks/{worktree-9t5s1r97.js → state-jfqgnx50.js} +9 -9
- package/dist/chunks/{worktree-f7j90zp2.js → state-jjs74g98.js} +9 -9
- package/dist/chunks/{worktree-s8h5ed1j.js → state-jpybm3yb.js} +17 -17
- package/dist/chunks/{worktree-1hgzjtp2.js → state-jx4tfryq.js} +8 -8
- package/dist/chunks/{worktree-pd6w8b01.js → state-k0sbk250.js} +25 -25
- package/dist/chunks/{worktree-gx48bf3k.js → state-k24hn4de.js} +8 -8
- package/dist/chunks/{worktree-k3c624dm.js → state-k3c624dm.js} +3 -3
- package/dist/chunks/{worktree-sssfkgzr.js → state-k4eksvdb.js} +11 -11
- package/dist/chunks/{worktree-c39c3jzn.js → state-k863czh1.js} +12 -12
- package/dist/chunks/{worktree-kmnyjx2j.js → state-kbetmkvn.js} +22 -22
- package/dist/chunks/{worktree-3qaj82j9.js → state-kbqjp078.js} +5 -5
- package/dist/chunks/{worktree-jypr9n4v.js → state-kbv8ef41.js} +25 -25
- package/dist/chunks/{worktree-51kfgev1.js → state-kfxz280d.js} +15 -15
- package/dist/chunks/{worktree-n45vtd7p.js → state-kjdd0312.js} +10 -10
- package/dist/chunks/{worktree-vdcyv8vc.js → state-kjg680bv.js} +10 -10
- package/dist/chunks/{worktree-tpp8915p.js → state-kvvpqxe2.js} +32 -32
- package/dist/chunks/{worktree-0d4mnv31.js → state-kwh57d2a.js} +15 -15
- package/dist/chunks/{worktree-60z3krt2.js → state-kyyn4ww3.js} +13 -13
- package/dist/chunks/{worktree-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-qgqfqnbd.js → state-m4mpbz9t.js} +12 -12
- package/dist/chunks/{worktree-psf552px.js → state-m8qwvxaw.js} +22 -22
- package/dist/chunks/{worktree-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-0fzv9h34.js → state-mcq35w5h.js} +28 -28
- package/dist/chunks/{worktree-pcn71y31.js → state-mgqv9cjv.js} +8 -8
- package/dist/chunks/{worktree-5xhdg7n0.js → state-mjgn9fkd.js} +17 -17
- package/dist/chunks/{worktree-t4km5p4j.js → state-mkh9q7yy.js} +20 -20
- package/dist/chunks/{worktree-3t7mm76h.js → state-mmcr6kdq.js} +20 -20
- package/dist/chunks/{worktree-f1kzstbv.js → state-mv23qax8.js} +26 -26
- package/dist/chunks/{worktree-zfps0aje.js → state-mvksx64m.js} +4 -4
- package/dist/chunks/{worktree-qecp8fbz.js → state-n35nve9s.js} +11 -11
- package/dist/chunks/{worktree-qysgwets.js → state-n898jteq.js} +11 -11
- package/dist/chunks/{worktree-jz5sxy2v.js → state-ndqtf2h8.js} +4 -4
- package/dist/chunks/{worktree-jca4demv.js → state-nng2ktcm.js} +2 -2
- package/dist/chunks/{worktree-8qbj2xnf.js → state-nt1mtbhg.js} +18 -18
- package/dist/chunks/{worktree-bqrh5ykt.js → state-nvfvfdqj.js} +9 -9
- package/dist/chunks/{worktree-961mqe0b.js → state-p3qswy66.js} +14 -14
- package/dist/chunks/{worktree-wagw3cnt.js → state-p8x2zf1r.js} +36 -36
- package/dist/chunks/{worktree-em8v7a32.js → state-pc1a02me.js} +30 -30
- package/dist/chunks/{worktree-k33k5sgz.js → state-pey5f48j.js} +1 -1
- package/dist/chunks/{worktree-w4arg62q.js → state-pf2hb43r.js} +4 -4
- package/dist/chunks/{worktree-s6qgj9yb.js → state-phx87qke.js} +11 -11
- package/dist/chunks/{worktree-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-92zh7pxv.js → state-pm9q95bv.js} +11 -11
- package/dist/chunks/{worktree-r5v4xwkj.js → state-pvg53n3j.js} +46 -46
- package/dist/chunks/{worktree-m75a1scj.js → state-pvmg7gn1.js} +11 -11
- package/dist/chunks/{worktree-27zhgsem.js → state-q6vq307s.js} +4 -4
- package/dist/chunks/{worktree-f77nxt0h.js → state-qhv8q597.js} +22 -22
- package/dist/chunks/{worktree-magykp64.js → state-qj8eh1ht.js} +4 -4
- package/dist/chunks/{worktree-kj6zq9q4.js → state-qpyfagd9.js} +11 -11
- package/dist/chunks/{worktree-fferps3m.js → state-qrkzvyze.js} +20 -20
- package/dist/chunks/{worktree-n3h0vr51.js → state-qs75wfsq.js} +5 -5
- package/dist/chunks/{worktree-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/state-qxcs1gwy.js +26 -0
- package/dist/chunks/{worktree-dx2x7qh9.js → state-r3at2bs8.js} +35 -35
- package/dist/chunks/{worktree-ekhm0sea.js → state-r3yqybmq.js} +7 -7
- package/dist/chunks/{worktree-bw9zjykr.js → state-r5wgqceq.js} +5 -5
- package/dist/chunks/{worktree-1bbkgx8g.js → state-r5x6zcsm.js} +3 -3
- package/dist/chunks/{worktree-shcgk7se.js → state-r7m9tyc3.js} +6 -6
- package/dist/chunks/{worktree-r8xr0va3.js → state-r8xr0va3.js} +1 -1
- package/dist/chunks/{worktree-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-eaj1djv9.js → state-rhjbct0v.js} +8 -8
- package/dist/chunks/{worktree-rkprpv83.js → state-rkprpv83.js} +2 -2
- package/dist/chunks/{worktree-vz7d5c1g.js → state-rtathh62.js} +5 -5
- package/dist/chunks/{worktree-d216944b.js → state-ryr25ayn.js} +5 -5
- package/dist/chunks/{worktree-f9ag4zkz.js → state-s3366ge2.js} +20 -20
- package/dist/chunks/{worktree-hxghybcg.js → state-s5vp1x85.js} +6 -6
- package/dist/chunks/{worktree-ezg02vs1.js → state-s87y6m3g.js} +12 -12
- package/dist/chunks/{worktree-xznnvfjn.js → state-sqb9y0cm.js} +20 -20
- package/dist/chunks/{worktree-y2zgx20r.js → state-sresy5h2.js} +3 -3
- package/dist/chunks/{worktree-jwjamgbd.js → state-srs9dwz9.js} +22 -22
- package/dist/chunks/{worktree-ytnjtmra.js → state-sx3dk1aa.js} +3 -3
- package/dist/chunks/{worktree-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-3he9s93f.js → state-treznftm.js} +16 -16
- package/dist/chunks/{worktree-fgewnttk.js → state-trg22pty.js} +8 -8
- package/dist/chunks/{worktree-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-n8zk10z2.js → state-v3vry9cg.js} +16 -16
- package/dist/chunks/{worktree-gyqt3txq.js → state-v7vymymh.js} +24 -24
- package/dist/chunks/{worktree-vc7dggtw.js → state-v997gcsz.js} +20 -20
- package/dist/chunks/{worktree-mjk1w6qm.js → state-vb2kgc45.js} +5 -5
- package/dist/chunks/{worktree-zj4nggsa.js → state-vb3nvgyj.js} +25 -25
- package/dist/chunks/{worktree-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-d4gc91s6.js → state-vka635y3.js} +24 -24
- package/dist/chunks/{worktree-65tps2j5.js → state-vwryqt0b.js} +15 -15
- package/dist/chunks/{worktree-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{worktree-aybmmbc8.js → state-w12jd273.js} +30 -30
- package/dist/chunks/{worktree-xg31f8ct.js → state-w2ffkqsz.js} +18 -18
- package/dist/chunks/{worktree-e32cc78a.js → state-w2xscrkm.js} +83 -83
- package/dist/chunks/{worktree-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-b047h9s9.js → state-w9pb4be2.js} +17 -17
- package/dist/chunks/{worktree-2sscpfbp.js → state-wcj256t6.js} +42 -42
- package/dist/chunks/{worktree-psazpmmj.js → state-wd3x2cqz.js} +2 -2
- package/dist/chunks/{worktree-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-01nwxe82.js → state-wjjgdhkj.js} +11 -11
- package/dist/chunks/{worktree-njhqdk9p.js → state-wk5z6jzv.js} +5 -5
- package/dist/chunks/{worktree-0rbtyk3w.js → state-wkfs9xf1.js} +10 -10
- package/dist/chunks/{worktree-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-80n4v3ph.js → state-x2kfg3xp.js} +14 -14
- package/dist/chunks/{worktree-2ggx711d.js → state-x7v2bm1t.js} +23 -23
- package/dist/chunks/{worktree-k6qbet7y.js → state-xgmh5kwe.js} +47 -47
- package/dist/chunks/{worktree-7eezvbx7.js → state-xkahfabv.js} +24 -24
- package/dist/chunks/{worktree-dmqcgk4z.js → state-xkntkrq7.js} +5 -5
- package/dist/chunks/{worktree-gken7ajx.js → state-xmw0p0yx.js} +27 -27
- package/dist/chunks/{worktree-rf68yed4.js → state-xqbar29h.js} +4 -4
- package/dist/chunks/{worktree-t2yvaxt4.js → state-xrnnsjt5.js} +4 -4
- package/dist/chunks/{worktree-ewbjc8wa.js → state-xzc7yfbq.js} +21 -21
- package/dist/chunks/{worktree-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-y71avatq.js → state-y71avatq.js} +1 -1
- package/dist/chunks/{worktree-sqgjnw45.js → state-yn0cfv5b.js} +1 -1
- package/dist/chunks/{worktree-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → state-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-dt5mtb60.js → state-ysemb9nv.js} +11 -11
- package/dist/chunks/{worktree-659sfxq9.js → state-ywyx2haj.js} +14 -14
- package/dist/chunks/{worktree-vx8g7p8m.js → state-yx0rmv9r.js} +8 -8
- package/dist/chunks/{worktree-bjtzbw4r.js → state-z07pqspn.js} +3 -3
- package/dist/chunks/{worktree-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-6f5meky0.js → state-z1wdxvxw.js} +42 -42
- package/dist/chunks/{worktree-3j8dagdk.js → state-z380d6bz.js} +31 -31
- package/dist/chunks/{worktree-z63w68vq.js → state-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-fe8ssjsg.js → state-za8zfcmp.js} +181 -181
- package/dist/chunks/{worktree-n4r3xatb.js → state-zee1rnkq.js} +4 -4
- package/dist/chunks/{worktree-rq775frq.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-dqt0xvez.js → state-zqktqd3m.js} +4 -4
- package/dist/chunks/{worktree-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{worktree-kvkgejfx.js → state-zy4wzh65.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +99 -99
- 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 +3 -3
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- 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 +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- 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 +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +123 -123
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/session/runner/retry.d.ts +2 -2
- 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/attachment.js +2 -2
- 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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/worktree-4chajvys.js +0 -252
- package/dist/chunks/worktree-6kdq0pjd.js +0 -4
- package/dist/chunks/worktree-qc068m1q.js +0 -18
- package/dist/chunks/worktree-qj6bq7hm.js +0 -26
- /package/dist/chunks/{worktree-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-qpyfagd9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-xrnnsjt5.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./state-7g38j68k.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-ekw5v65w.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-4dgbcxzg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service15
|
|
20
|
+
} from "./state-6ysrkrkr.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID12,
|
|
23
23
|
mergeOverlay2,
|
|
24
24
|
mergeHeaders2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./state-j30mx6hz.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
ID5,
|
|
28
|
+
Input14,
|
|
29
29
|
Response2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-fqs56ekt.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/opencode.ts
|
|
33
33
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var methodID = MethodID2.make("device");
|
|
|
43
43
|
var RemoteResponse = Schema.Struct({
|
|
44
44
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
45
45
|
websearch: Schema.Struct({
|
|
46
|
-
providerID:
|
|
46
|
+
providerID: ID5
|
|
47
47
|
}).pipe(Schema.optional),
|
|
48
48
|
mcp: Schema.Struct({
|
|
49
49
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -71,7 +71,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
71
71
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
72
72
|
function oauth(http) {
|
|
73
73
|
return {
|
|
74
|
-
integrationID:
|
|
74
|
+
integrationID: ID13.make("opencode"),
|
|
75
75
|
method: {
|
|
76
76
|
id: methodID,
|
|
77
77
|
type: "oauth",
|
|
@@ -128,7 +128,7 @@ var OpencodePlugin2 = define({
|
|
|
128
128
|
const bus = yield* Service83;
|
|
129
129
|
const client = yield* HttpClient.HttpClient;
|
|
130
130
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
131
|
-
const managed = yield*
|
|
131
|
+
const managed = yield* Service15;
|
|
132
132
|
const loading = Semaphore.makeUnsafe(1);
|
|
133
133
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
134
134
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -162,7 +162,7 @@ var OpencodePlugin2 = define({
|
|
|
162
162
|
providers.update(providerID, (provider) => {
|
|
163
163
|
if (source && source.provider !== provider)
|
|
164
164
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
165
|
-
provider.integrationID =
|
|
165
|
+
provider.integrationID = ID13.make("opencode");
|
|
166
166
|
if (item.canonical !== undefined)
|
|
167
167
|
provider.canonical = item.canonical;
|
|
168
168
|
if (item.name !== undefined)
|
|
@@ -232,7 +232,7 @@ var OpencodePlugin2 = define({
|
|
|
232
232
|
sourceConnection: snapshot.connection
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
|
-
const item = providers.get(
|
|
235
|
+
const item = providers.get(ID12.opencode);
|
|
236
236
|
if (!item)
|
|
237
237
|
return;
|
|
238
238
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -244,7 +244,7 @@ var OpencodePlugin2 = define({
|
|
|
244
244
|
});
|
|
245
245
|
});
|
|
246
246
|
yield* ctx.model.transform((models) => {
|
|
247
|
-
const item = models.provider.get(
|
|
247
|
+
const item = models.provider.get(ID12.opencode);
|
|
248
248
|
if (!item)
|
|
249
249
|
return;
|
|
250
250
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -278,7 +278,7 @@ var OpencodePlugin2 = define({
|
|
|
278
278
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
279
279
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
280
280
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
281
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
281
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
282
282
|
query: input.query,
|
|
283
283
|
providerID: descriptor.providerID
|
|
284
284
|
}));
|
|
@@ -314,7 +314,7 @@ var OpencodePlugin2 = define({
|
|
|
314
314
|
});
|
|
315
315
|
});
|
|
316
316
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
317
|
-
yield* bus.subscribe(
|
|
317
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
318
318
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
319
319
|
})
|
|
320
320
|
});
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./state-ev7a3h22.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID4,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service32
|
|
10
|
+
} from "./state-v7vymymh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-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_skill2 = {};
|
|
17
|
+
__export(exports_skill2, {
|
|
18
|
+
Input: () => Input2,
|
|
19
|
+
Output: () => Output2,
|
|
20
|
+
Plugin: () => Plugin20,
|
|
21
|
+
SkillTool: () => exports_skill2,
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name2,
|
|
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 name2 = "skill";
|
|
30
|
+
var Input2 = 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 Output2 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
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 description4 = [
|
|
|
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 Plugin20 = {
|
|
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* Service32;
|
|
51
|
+
const permission = yield* Service66;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name2,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input2,
|
|
57
|
+
output: Output2,
|
|
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: name2,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin12 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name2, Input2, Output2, description2, toModelOutput2, Plugin20, exports_skill2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./state-kbetmkvn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make4
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service54;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make4, LoadError2, exports_module };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-a2ax3qpg.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-xrnnsjt5.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-7w99qc9d.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-z07pqspn.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info20,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
@@ -47,10 +47,10 @@ __export(exports_inbox, {
|
|
|
47
47
|
has: () => has2,
|
|
48
48
|
layer: () => layer23,
|
|
49
49
|
list: () => list4,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node64,
|
|
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 Info20,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -153,7 +153,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
153
153
|
|
|
154
154
|
class Service61 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service83;
|
|
@@ -173,7 +173,7 @@ var make19 = 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) => Info20.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var layer23 = Layer.effect(Service61,
|
|
231
|
-
var
|
|
230
|
+
var layer23 = Layer.effect(Service61, make17());
|
|
231
|
+
var node64 = makeGlobalNode({ service: Service61, layer: layer23, deps: [node88, node87] });
|
|
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,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info20, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service61, make17, layer23, node64, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node83
|
|
7
|
+
} from "./state-6ge9xvdz.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service71,
|
|
16
|
+
node74
|
|
17
|
+
} from "./state-bwhv742z.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service48,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node52,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service48 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service80;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service71;
|
|
110
|
+
return Service48.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node52 = makeGlobalNode({
|
|
171
|
+
service: Service48,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node74]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service48, isError2, validateBranch2, node52, exports_repository_cache };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-xrnnsjt5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./state-w12jd273.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./state-kbv8ef41.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service52
|
|
12
|
+
} from "./state-m4mpbz9t.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-32ymn5e1.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-zqktqd3m.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-ecfe7b91.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-h6b02349.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service44;
|
|
58
|
+
const toolOutput = yield* Service52;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make8 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -216,4 +216,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
216
216
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
217
217
|
};
|
|
218
218
|
|
|
219
|
-
export { Outcome2,
|
|
219
|
+
export { Outcome2, make3, exports_step };
|