@opencode/core 0.0.0-beta-19275 → 0.0.0-beta-19278
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{worktree-44gvr517.js → project-027geym4.js} +25 -25
- package/dist/chunks/{worktree-5k6pxcn0.js → project-09bvnwrm.js} +41 -41
- package/dist/chunks/{worktree-85x45c9n.js → project-0mr65q2h.js} +9 -9
- package/dist/chunks/{worktree-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-0q0f95c6.js → project-0q0f95c6.js} +1 -1
- package/dist/chunks/{worktree-w55j1d38.js → project-0x0q0z21.js} +15 -15
- package/dist/chunks/{worktree-nsx3nvvw.js → project-10edwj7x.js} +13 -13
- package/dist/chunks/{worktree-gbzh5ddg.js → project-13weepf4.js} +13 -13
- package/dist/chunks/{worktree-6rrtkcjf.js → project-17gqxarq.js} +8 -8
- package/dist/chunks/{worktree-esam66tc.js → project-1awm1f41.js} +12 -12
- package/dist/chunks/{worktree-mvfsc1pv.js → project-1bbkgx8g.js} +3 -3
- package/dist/chunks/{worktree-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-1dfhrqqs.js → project-1dfhrqqs.js} +2 -2
- package/dist/chunks/{worktree-n679sgpe.js → project-1ezn0t51.js} +4 -4
- package/dist/chunks/{worktree-ecj1wrg9.js → project-1jfm9dfr.js} +3 -3
- package/dist/chunks/{worktree-f8jtvgnz.js → project-1tyfraxr.js} +18 -18
- package/dist/chunks/{worktree-56gdpj1q.js → project-1ygqh575.js} +9 -9
- package/dist/chunks/{worktree-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-2402vzrj.js → project-2402vzrj.js} +1 -1
- package/dist/chunks/{worktree-z63w68vq.js → project-29x78va6.js} +6 -6
- package/dist/chunks/{worktree-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-608jf46e.js → project-2e8stk25.js} +293 -293
- package/dist/chunks/{worktree-egz44y69.js → project-2ehqxkpw.js} +12 -12
- package/dist/chunks/{worktree-w2jjwenf.js → project-2ekntkva.js} +12 -12
- package/dist/chunks/{worktree-z82wee6n.js → project-2er49d5v.js} +17 -17
- package/dist/chunks/{worktree-c5gn303e.js → project-2evyaa68.js} +4 -4
- package/dist/chunks/{worktree-zf4nb4wp.js → project-2ga1wswe.js} +41 -41
- package/dist/chunks/{worktree-y5h7afh3.js → project-2sy09y68.js} +17 -17
- package/dist/chunks/{worktree-wpdyyhk3.js → project-30wjqkww.js} +11 -11
- package/dist/chunks/{worktree-jvt1mp6m.js → project-3dtfbbnv.js} +7 -7
- package/dist/chunks/{worktree-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-vrm5r67w.js → project-3rv0aqry.js} +4 -4
- package/dist/chunks/{worktree-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-edbbhmy9.js → project-43k15f45.js} +4 -4
- package/dist/chunks/{worktree-5xgydngh.js → project-43xem47a.js} +15 -15
- package/dist/chunks/{worktree-j0y65r11.js → project-4t3kg1n6.js} +6 -6
- package/dist/chunks/{worktree-4zbdsexc.js → project-4xw5r8dm.js} +6 -6
- package/dist/chunks/{worktree-wg42tg3h.js → project-51e3a5p7.js} +6 -6
- package/dist/chunks/{worktree-cnd7bjr1.js → project-51tzyhx5.js} +35 -35
- package/dist/chunks/{worktree-xwc0gsaj.js → project-56qyepyq.js} +32 -32
- package/dist/chunks/{worktree-10fngwpd.js → project-5b46j773.js} +27 -27
- package/dist/chunks/{worktree-5c4hm403.js → project-5c4hm403.js} +3 -3
- package/dist/chunks/{worktree-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-yfjv9t1g.js → project-5nqmcer4.js} +4 -4
- package/dist/chunks/{worktree-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-dx2tycek.js → project-5ykeyche.js} +5 -5
- package/dist/chunks/{worktree-p72z5xx6.js → project-62qy00sv.js} +2 -2
- package/dist/chunks/{worktree-w1k39n5e.js → project-64kphnzf.js} +4 -4
- package/dist/chunks/{worktree-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{worktree-sdm808jd.js → project-6jmh5c9g.js} +11 -11
- package/dist/chunks/{worktree-6msgmcgs.js → project-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-8t34d1ka.js → project-6sfrn00q.js} +11 -11
- package/dist/chunks/{worktree-b29mbqx6.js → project-6vq97qmv.js} +5 -5
- package/dist/chunks/{worktree-ftevhb49.js → project-70xwxnv0.js} +9 -9
- package/dist/chunks/{worktree-j2c7enbf.js → project-7150tr69.js} +6 -6
- package/dist/chunks/{worktree-71q4at8m.js → project-71q4at8m.js} +1 -1
- package/dist/chunks/{worktree-cyhn230w.js → project-72cmdp6g.js} +10 -10
- package/dist/chunks/{worktree-qwyrfpbr.js → project-7bg4t14r.js} +2 -2
- package/dist/chunks/{worktree-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-7c3npc5w.js → project-7bspjkrj.js} +47 -47
- package/dist/chunks/{worktree-km7f0hwj.js → project-7dfyzsb9.js} +16 -16
- package/dist/chunks/{worktree-qgn6gcr1.js → project-7dqw4kz8.js} +5 -5
- package/dist/chunks/{worktree-fvanntqq.js → project-7ebn0nc0.js} +4 -4
- package/dist/chunks/project-7fj5dwt0.js +18 -0
- package/dist/chunks/{worktree-9w3hzb16.js → project-819m2fyr.js} +11 -11
- package/dist/chunks/{worktree-4ph0a4gn.js → project-84wz94gt.js} +28 -28
- package/dist/chunks/{worktree-r82b328h.js → project-86gp7mh5.js} +41 -41
- package/dist/chunks/{worktree-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-rjbw5qw4.js → project-8jtjdsme.js} +25 -25
- package/dist/chunks/{worktree-0bc6jdbc.js → project-8mjrrxm6.js} +10 -10
- package/dist/chunks/{worktree-jrra6jmc.js → project-8r6bj34c.js} +6 -6
- package/dist/chunks/{worktree-wad31dta.js → project-8wm8yswe.js} +6 -6
- package/dist/chunks/{worktree-t2pd0szj.js → project-8yk1fhag.js} +5 -5
- package/dist/chunks/{worktree-t3vqhd9s.js → project-92g4te2e.js} +13 -13
- package/dist/chunks/{worktree-vp47j2z8.js → project-932tnxz1.js} +20 -20
- package/dist/chunks/{worktree-dvgvg99t.js → project-9495k3mj.js} +16 -16
- package/dist/chunks/{worktree-t9e6e84n.js → project-96yt6zt0.js} +1 -1
- package/dist/chunks/{worktree-seak0fhn.js → project-a08t2777.js} +11 -11
- package/dist/chunks/{worktree-z0kan0ff.js → project-a9ctzdev.js} +6 -6
- package/dist/chunks/{worktree-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-18bdr5q6.js → project-acrqcsaw.js} +32 -32
- package/dist/chunks/{worktree-255fqtq1.js → project-as6gj6jx.js} +4 -4
- package/dist/chunks/{worktree-ead3g9p8.js → project-avm8jn6n.js} +5 -5
- package/dist/chunks/{worktree-g190xswt.js → project-axmvebxj.js} +21 -21
- package/dist/chunks/{worktree-fm2qvscf.js → project-b27vhd2z.js} +4 -4
- package/dist/chunks/{worktree-mp9h7a8n.js → project-b2fkw21j.js} +30 -30
- package/dist/chunks/{worktree-j5j8hrgx.js → project-b3zxthpz.js} +16 -16
- package/dist/chunks/{worktree-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-frwpyczr.js → project-bcn5dnkb.js} +4 -4
- package/dist/chunks/{worktree-pr7ch8ks.js → project-bqcj21xz.js} +24 -24
- package/dist/chunks/{worktree-26tj7vag.js → project-c7qmhs35.js} +6 -6
- package/dist/chunks/{worktree-nrs7ag5n.js → project-cgj7rfmq.js} +41 -41
- package/dist/chunks/{worktree-xrd4famk.js → project-cksygnyb.js} +10 -10
- package/dist/chunks/{worktree-jjc9qbmx.js → project-ctmfyf3j.js} +27 -27
- package/dist/chunks/{worktree-xmc8nah8.js → project-ctr5k99x.js} +15 -15
- package/dist/chunks/{worktree-0k40b2vq.js → project-cvyappcd.js} +82 -82
- package/dist/chunks/{worktree-c3w8vk9m.js → project-d6aefva6.js} +10 -10
- package/dist/chunks/{worktree-adeb4z1j.js → project-d6cypdy5.js} +9 -9
- package/dist/chunks/{worktree-dmvhv66c.js → project-d8t3pxs6.js} +16 -16
- package/dist/chunks/{worktree-146a62k1.js → project-dcxvb2gw.js} +50 -50
- package/dist/chunks/{worktree-madgwgkk.js → project-dfcnm7e4.js} +10 -10
- package/dist/chunks/{worktree-dj2t23y0.js → project-dj2t23y0.js} +2 -2
- package/dist/chunks/{worktree-249ffbnn.js → project-djzy5cyb.js} +24 -24
- package/dist/chunks/{worktree-y71avatq.js → project-dpkg50ah.js} +4 -4
- package/dist/chunks/{worktree-rxv654xr.js → project-drdmq256.js} +4 -4
- package/dist/chunks/{worktree-vq45zjjz.js → project-dx2tbdwn.js} +26 -26
- package/dist/chunks/{worktree-hcaepy0h.js → project-e30j1gg8.js} +11 -11
- package/dist/chunks/{worktree-kvezfmw3.js → project-e43fv40x.js} +35 -35
- package/dist/chunks/{worktree-kxzh2p20.js → project-e6z3r01t.js} +11 -11
- package/dist/chunks/{worktree-eaj1djv9.js → project-eaj1djv9.js} +1 -1
- package/dist/chunks/{worktree-aw84nbjy.js → project-endcmcv4.js} +23 -23
- package/dist/chunks/{worktree-1jhga1v4.js → project-epajpt77.js} +9 -9
- package/dist/chunks/{worktree-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-16cax9zb.js → project-f32czd11.js} +11 -11
- package/dist/chunks/{worktree-nze8c8vz.js → project-f70c5qx7.js} +11 -11
- package/dist/chunks/{worktree-s7xtjryh.js → project-f8q7mv7a.js} +1 -1
- package/dist/chunks/{worktree-vkez6a4k.js → project-ff0htmxq.js} +6 -6
- package/dist/chunks/{worktree-zxgnc9zk.js → project-fgh0kbhd.js} +1 -1
- package/dist/chunks/{worktree-qn0ybd26.js → project-fhz301gp.js} +15 -15
- package/dist/chunks/{worktree-76j77zm8.js → project-fp1knm32.js} +20 -20
- package/dist/chunks/{worktree-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-fa0cr6zp.js → project-fygdb7h7.js} +3 -3
- package/dist/chunks/{worktree-5g57spxg.js → project-gc48s5ez.js} +15 -15
- package/dist/chunks/{worktree-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-twy35tz0.js → project-gfqzzqy5.js} +5 -5
- package/dist/chunks/{worktree-jwd18bs2.js → project-ghx2em0z.js} +22 -22
- package/dist/chunks/{worktree-52fpbh6z.js → project-gn2hfjap.js} +8 -8
- package/dist/chunks/{worktree-fvhg6c42.js → project-gn9xne58.js} +20 -20
- package/dist/chunks/{worktree-gnx4ytbv.js → project-gnx4ytbv.js} +4 -4
- package/dist/chunks/{worktree-hekpxy8z.js → project-gr12maw1.js} +5 -5
- package/dist/chunks/{worktree-th5km1p3.js → project-gv6a8nnw.js} +5 -5
- package/dist/chunks/{worktree-rfnzy394.js → project-gx1zhcta.js} +1 -1
- package/dist/chunks/{worktree-h3njrwgg.js → project-gykabrhp.js} +28 -28
- package/dist/chunks/{worktree-h03wrkyp.js → project-h03wrkyp.js} +2 -2
- package/dist/chunks/{worktree-0khbs0qs.js → project-h1w0e5zb.js} +3 -3
- package/dist/chunks/{worktree-3qdzwhqx.js → project-h39c7km2.js} +56 -56
- package/dist/chunks/{worktree-ezy2bptn.js → project-h4jnxhkz.js} +8 -8
- package/dist/chunks/{worktree-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-m63snmdm.js → project-h78fqkj7.js} +20 -20
- package/dist/chunks/{worktree-6jnybvqn.js → project-h7ygw6q4.js} +9 -9
- package/dist/chunks/{worktree-m9hyszwm.js → project-h9dgkh5z.js} +4 -4
- package/dist/chunks/{worktree-e3fx731j.js → project-hc9xewxz.js} +25 -25
- package/dist/chunks/{worktree-hdnk95c8.js → project-hdnk95c8.js} +2 -2
- package/dist/chunks/{worktree-dvh2p5hy.js → project-hdvn1z9e.js} +20 -20
- package/dist/chunks/{worktree-5xw7cgsj.js → project-hjzewyz6.js} +16 -16
- package/dist/chunks/{worktree-asseqh46.js → project-hwsy4xhf.js} +7 -7
- package/dist/chunks/{worktree-jgrg7y22.js → project-j17absjw.js} +20 -20
- package/dist/chunks/{worktree-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-hed2586q.js → project-j76wc2xt.js} +14 -14
- package/dist/chunks/{worktree-nqyaavw9.js → project-j7vv7h2p.js} +11 -11
- package/dist/chunks/{worktree-paphc93g.js → project-j935v87r.js} +2 -2
- package/dist/chunks/{worktree-cbmq2pzd.js → project-jcmb94gz.js} +26 -26
- package/dist/chunks/{worktree-kpf3cvbv.js → project-jem476zw.js} +13 -13
- package/dist/chunks/{worktree-eynwqhf0.js → project-jmm2s19w.js} +33 -33
- package/dist/chunks/{worktree-pcpv7kp0.js → project-jr5gwc1n.js} +25 -25
- package/dist/chunks/{worktree-3bgy0jaw.js → project-jte1t19p.js} +14 -14
- package/dist/chunks/{worktree-tvvzt9x6.js → project-jtv49rer.js} +33 -33
- package/dist/chunks/{worktree-wbkyxrgf.js → project-jv01nqvq.js} +5 -5
- package/dist/chunks/{worktree-tzjcchbs.js → project-jxa7e7w5.js} +168 -168
- package/dist/chunks/{worktree-710w2ech.js → project-k16ay38w.js} +1 -1
- package/dist/chunks/{worktree-k7d0894y.js → project-k3aec3va.js} +9 -9
- package/dist/chunks/{worktree-062zp4xz.js → project-k4zk1pey.js} +17 -17
- package/dist/chunks/{worktree-8qnjnss5.js → project-kbfpxq7g.js} +16 -16
- package/dist/chunks/{worktree-kg06axw8.js → project-kg06axw8.js} +1 -1
- package/dist/chunks/{worktree-2hcp0bjx.js → project-khz9dh7n.js} +9 -9
- package/dist/chunks/{worktree-0tg2xvbt.js → project-kk6hqvx2.js} +28 -28
- package/dist/chunks/{worktree-ca7w653e.js → project-kne8f3cn.js} +4 -4
- package/dist/chunks/{worktree-8qk9tw02.js → project-ksz0h0wp.js} +1 -1
- package/dist/chunks/{worktree-1e9w7pgh.js → project-kv84k9wf.js} +10 -10
- package/dist/chunks/{worktree-neswnnnm.js → project-kzvekf0w.js} +21 -21
- package/dist/chunks/{worktree-m0jqrx5p.js → project-m0jqrx5p.js} +2 -2
- package/dist/chunks/{worktree-9qn3qky1.js → project-m27pyyd3.js} +8 -8
- package/dist/chunks/{worktree-1j00hnwg.js → project-m60zcb18.js} +10 -10
- package/dist/chunks/{worktree-d57x1pyx.js → project-m6h2rqwk.js} +7 -7
- package/dist/chunks/{worktree-fjttjfbj.js → project-m7getmd9.js} +61 -61
- package/dist/chunks/project-m8reha27.js +22 -0
- package/dist/chunks/{worktree-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-rn1y5g26.js → project-mc8q7c69.js} +20 -20
- package/dist/chunks/{worktree-mfxgaa47.js → project-mfb27c90.js} +10 -10
- package/dist/chunks/{worktree-mkcjrzeh.js → project-mkcjrzeh.js} +1 -1
- package/dist/chunks/{worktree-7vcja736.js → project-mmxjhrgn.js} +24 -24
- package/dist/chunks/{worktree-5ycqwtsz.js → project-n21ydmp7.js} +18 -18
- package/dist/chunks/{worktree-tjsj89dc.js → project-n37c4crj.js} +9 -9
- package/dist/chunks/{worktree-vvscj02x.js → project-n4d3y0nm.js} +9 -9
- package/dist/chunks/{worktree-567g6dh9.js → project-n59hvazh.js} +8 -8
- package/dist/chunks/{worktree-a9ab9jmj.js → project-n76fdqym.js} +5 -5
- package/dist/chunks/{worktree-047x8f8f.js → project-nb4tc1st.js} +40 -40
- package/dist/chunks/{worktree-2y34zzjz.js → project-nca7p386.js} +4 -4
- package/dist/chunks/{worktree-nhy5jxhy.js → project-nhy5jxhy.js} +1 -1
- package/dist/chunks/{worktree-2f04pwep.js → project-nvxqht09.js} +3 -3
- package/dist/chunks/{worktree-b1x7x3xx.js → project-p0eb35gv.js} +11 -11
- package/dist/chunks/{worktree-tm64n74p.js → project-phzb6rq6.js} +30 -30
- package/dist/chunks/{worktree-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-13bmfrpk.js → project-pk7h5ckr.js} +18 -18
- package/dist/chunks/{worktree-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-qt1vhyrn.js → project-pnc9b5m6.js} +11 -11
- package/dist/chunks/{worktree-zycny061.js → project-prsdv4b2.js} +32 -32
- package/dist/chunks/{worktree-zjhmce52.js → project-q0bpc06z.js} +1 -1
- package/dist/chunks/{worktree-n1s6t8b2.js → project-q1290kd6.js} +9 -9
- package/dist/chunks/{worktree-kbmmzrfa.js → project-q26tgv94.js} +8 -8
- package/dist/chunks/{worktree-120qrk2e.js → project-q5tpj0kh.js} +46 -46
- package/dist/chunks/{worktree-rp98wqty.js → project-qgh4s17a.js} +36 -36
- package/dist/chunks/{worktree-m6vfy410.js → project-qgn1mnrt.js} +19 -19
- package/dist/chunks/{worktree-s4cjsff2.js → project-qmt7w6hr.js} +16 -16
- package/dist/chunks/{worktree-2a4f6v5q.js → project-qp3v07n2.js} +8 -8
- package/dist/chunks/{worktree-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-sj6racd4.js → project-r8qn9tz0.js} +6 -6
- package/dist/chunks/{worktree-r98e92ep.js → project-r98e92ep.js} +1 -1
- package/dist/chunks/{worktree-ffx4mq6v.js → project-r9babyk8.js} +1 -1
- package/dist/chunks/{worktree-80aa9epv.js → project-rd7hwmph.js} +11 -11
- package/dist/chunks/{worktree-e54b9byn.js → project-rdcaty2e.js} +24 -24
- package/dist/chunks/{worktree-k56d8zdx.js → project-rea82nnp.js} +59 -59
- package/dist/chunks/{worktree-zjffjh2a.js → project-rr27b465.js} +13 -13
- package/dist/chunks/{worktree-923hzxn9.js → project-ry1v2pfa.js} +13 -13
- package/dist/chunks/{worktree-a6ftqyym.js → project-s1angysq.js} +3 -3
- package/dist/chunks/{worktree-yrznvahk.js → project-s4enseaf.js} +2 -2
- package/dist/chunks/{worktree-4m55frd1.js → project-s7cxktgw.js} +19 -19
- package/dist/chunks/{worktree-7hhzr64w.js → project-sakpmmn5.js} +13 -13
- package/dist/chunks/{worktree-r05k2dy1.js → project-sbk6mfjb.js} +8 -8
- package/dist/chunks/{worktree-f41x9hg9.js → project-sm4sqa5b.js} +16 -16
- package/dist/chunks/{worktree-11zk2b76.js → project-srrqt7rk.js} +15 -15
- package/dist/chunks/{worktree-d3p6gjbn.js → project-ss9zsf3v.js} +36 -36
- package/dist/chunks/{worktree-8mvsftc3.js → project-swctkwxd.js} +15 -15
- package/dist/chunks/{worktree-6pbkbdfq.js → project-sy03ybs5.js} +9 -9
- package/dist/chunks/{worktree-k8wahcmx.js → project-t10zzpzb.js} +9 -9
- package/dist/chunks/{worktree-nkn58an9.js → project-t61k8twr.js} +8 -8
- package/dist/chunks/{worktree-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tcezcvh9.js → project-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-4vfmzcq2.js → project-tfngb0ww.js} +4 -4
- package/dist/chunks/{worktree-34gk67xh.js → project-tm0edggk.js} +4 -4
- package/dist/chunks/{worktree-97y4vk9t.js → project-tm9beczq.js} +22 -22
- package/dist/chunks/{worktree-t0fxg8b9.js → project-tn0aqsam.js} +5 -5
- package/dist/chunks/{worktree-tvtrv512.js → project-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-q18k77y0.js → project-v25jqm1t.js} +26 -26
- package/dist/chunks/{worktree-pjmw00w1.js → project-v33xfvcj.js} +9 -9
- package/dist/chunks/{worktree-6pxb6e41.js → project-vdgebjhh.js} +16 -16
- package/dist/chunks/{worktree-nzwzy72p.js → project-vdnmb5h5.js} +9 -9
- package/dist/chunks/{worktree-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-rqsgeg7f.js → project-vj3jbsbe.js} +18 -18
- package/dist/chunks/{worktree-ccrec4q8.js → project-vmaj1q0b.js} +20 -20
- package/dist/chunks/{worktree-p9690q97.js → project-vnwzej4v.js} +83 -83
- package/dist/chunks/{worktree-2qnjyx3m.js → project-vx993qx3.js} +20 -20
- package/dist/chunks/{worktree-d6hfhc31.js → project-vxcq4j7n.js} +11 -11
- package/dist/chunks/{worktree-v5yv7hbv.js → project-vxx8gf98.js} +24 -24
- package/dist/chunks/project-vyq6fvzk.js +247 -0
- package/dist/chunks/{worktree-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-vece14gy.js → project-wa6xq0j9.js} +20 -20
- package/dist/chunks/{worktree-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-emzfq4f9.js → project-wncagjbn.js} +43 -43
- package/dist/chunks/{worktree-7003dbs4.js → project-wv9ccret.js} +23 -23
- package/dist/chunks/{worktree-skcgd3vv.js → project-wzrzwyda.js} +30 -30
- package/dist/chunks/{worktree-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-x1xcpfha.js → project-x1xcpfha.js} +3 -3
- package/dist/chunks/{worktree-x43y2vfs.js → project-x43y2vfs.js} +2 -2
- package/dist/chunks/{worktree-a8mtf1n7.js → project-xdckn6ya.js} +41 -41
- package/dist/chunks/{worktree-2t421ajn.js → project-xjemz1cz.js} +20 -20
- package/dist/chunks/{worktree-mj1ykd8q.js → project-y0zapfev.js} +8 -8
- package/dist/chunks/{worktree-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-qr42g2ex.js → project-y53ps50f.js} +12 -12
- package/dist/chunks/{worktree-7rtqyxd7.js → project-y9ktt6kr.js} +5 -5
- package/dist/chunks/{worktree-k65ezx0v.js → project-ykfxwqmv.js} +13 -13
- package/dist/chunks/{worktree-410w4w39.js → project-ymdp8m11.js} +28 -28
- package/dist/chunks/{worktree-1cgg357y.js → project-ynyckyng.js} +5 -5
- package/dist/chunks/{worktree-yp2x3t23.js → project-yp2x3t23.js} +1 -1
- package/dist/chunks/{worktree-q3ac6zk1.js → project-yqt70mwr.js} +26 -26
- package/dist/chunks/{worktree-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-g0he3e83.js → project-yz665w9a.js} +26 -26
- package/dist/chunks/{worktree-sw2yvvap.js → project-yzaj2zf7.js} +16 -16
- package/dist/chunks/{worktree-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-p0cja4mf.js → project-z69s9t6b.js} +5 -5
- package/dist/chunks/{worktree-zeh9ct20.js → project-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-amn7rrmc.js → project-zh7q37t8.js} +15 -15
- package/dist/chunks/{worktree-a4r18kjz.js → project-zhxw6mnd.js} +2 -2
- package/dist/chunks/{worktree-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-say7pt71.js → project-zrz3bzz3.js} +41 -41
- package/dist/chunks/{worktree-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- 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 +71 -71
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- 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 +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- 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 +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- 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 +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/package.json +8 -8
- package/dist/chunks/worktree-1x11rq2a.js +0 -18
- package/dist/chunks/worktree-3q1qkym4.js +0 -247
- package/dist/chunks/worktree-5jbb3qyd.js +0 -22
- /package/dist/chunks/{worktree-0mesazry.js → project-0mesazry.js} +0 -0
- /package/dist/chunks/{worktree-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → project-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a1tpkmh4.js → project-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-hrnqkpcd.js → project-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → project-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./project-8jtjdsme.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./project-rea82nnp.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service22
|
|
14
|
+
} from "./project-vx993qx3.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input12,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin26,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name12 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input12 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin26 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service59;
|
|
53
|
+
const forms = yield* Service76;
|
|
54
|
+
const websearch = yield* Service22;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name12,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input12,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name12,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name12];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name12, NO_RESULTS2, description5, Input12, Plugin26, exports_websearch };
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node65
|
|
3
|
+
} from "./project-mmxjhrgn.js";
|
|
4
|
+
import {
|
|
5
|
+
node56
|
|
6
|
+
} from "./project-p0eb35gv.js";
|
|
7
|
+
import {
|
|
8
|
+
node81
|
|
9
|
+
} from "./project-8jtjdsme.js";
|
|
10
|
+
import {
|
|
11
|
+
node80
|
|
12
|
+
} from "./project-yz665w9a.js";
|
|
13
|
+
import {
|
|
14
|
+
node79
|
|
15
|
+
} from "./project-hc9xewxz.js";
|
|
16
|
+
import {
|
|
17
|
+
node53
|
|
18
|
+
} from "./project-s7cxktgw.js";
|
|
19
|
+
import {
|
|
20
|
+
node75,
|
|
21
|
+
boundNode2
|
|
22
|
+
} from "./project-2er49d5v.js";
|
|
23
|
+
import {
|
|
24
|
+
configured7,
|
|
25
|
+
node68
|
|
26
|
+
} from "./project-86gp7mh5.js";
|
|
27
|
+
import {
|
|
28
|
+
node72
|
|
29
|
+
} from "./project-bqcj21xz.js";
|
|
30
|
+
import {
|
|
31
|
+
node16
|
|
32
|
+
} from "./project-10edwj7x.js";
|
|
33
|
+
import {
|
|
34
|
+
node20
|
|
35
|
+
} from "./project-swctkwxd.js";
|
|
36
|
+
import {
|
|
37
|
+
node28
|
|
38
|
+
} from "./project-wzrzwyda.js";
|
|
39
|
+
import {
|
|
40
|
+
node27
|
|
41
|
+
} from "./project-kzvekf0w.js";
|
|
42
|
+
import {
|
|
43
|
+
node55
|
|
44
|
+
} from "./project-2ga1wswe.js";
|
|
45
|
+
import {
|
|
46
|
+
node24
|
|
47
|
+
} from "./project-gn9xne58.js";
|
|
48
|
+
import {
|
|
49
|
+
node60
|
|
50
|
+
} from "./project-vdnmb5h5.js";
|
|
51
|
+
import {
|
|
52
|
+
node42
|
|
53
|
+
} from "./project-dcxvb2gw.js";
|
|
54
|
+
import {
|
|
55
|
+
Service45,
|
|
56
|
+
node48
|
|
57
|
+
} from "./project-ff0htmxq.js";
|
|
58
|
+
import {
|
|
59
|
+
node39
|
|
60
|
+
} from "./project-sakpmmn5.js";
|
|
61
|
+
import {
|
|
62
|
+
node66
|
|
63
|
+
} from "./project-sbk6mfjb.js";
|
|
64
|
+
import {
|
|
65
|
+
node62
|
|
66
|
+
} from "./project-rea82nnp.js";
|
|
67
|
+
import {
|
|
68
|
+
node49
|
|
69
|
+
} from "./project-92g4te2e.js";
|
|
70
|
+
import {
|
|
71
|
+
configured11,
|
|
72
|
+
node83
|
|
73
|
+
} from "./project-8yk1fhag.js";
|
|
74
|
+
import {
|
|
75
|
+
node36
|
|
76
|
+
} from "./project-rr27b465.js";
|
|
77
|
+
import {
|
|
78
|
+
node59
|
|
79
|
+
} from "./project-djzy5cyb.js";
|
|
80
|
+
import {
|
|
81
|
+
node41
|
|
82
|
+
} from "./project-027geym4.js";
|
|
83
|
+
import {
|
|
84
|
+
node57
|
|
85
|
+
} from "./project-yqt70mwr.js";
|
|
86
|
+
import {
|
|
87
|
+
node35
|
|
88
|
+
} from "./project-7dfyzsb9.js";
|
|
89
|
+
import {
|
|
90
|
+
node61
|
|
91
|
+
} from "./project-n21ydmp7.js";
|
|
92
|
+
import {
|
|
93
|
+
node43
|
|
94
|
+
} from "./project-sm4sqa5b.js";
|
|
95
|
+
import {
|
|
96
|
+
node34
|
|
97
|
+
} from "./project-cvyappcd.js";
|
|
98
|
+
import {
|
|
99
|
+
node58
|
|
100
|
+
} from "./project-b2fkw21j.js";
|
|
101
|
+
import {
|
|
102
|
+
node54
|
|
103
|
+
} from "./project-0x0q0z21.js";
|
|
104
|
+
import {
|
|
105
|
+
node51
|
|
106
|
+
} from "./project-y53ps50f.js";
|
|
107
|
+
import {
|
|
108
|
+
node44
|
|
109
|
+
} from "./project-7bspjkrj.js";
|
|
110
|
+
import {
|
|
111
|
+
node22
|
|
112
|
+
} from "./project-xjemz1cz.js";
|
|
113
|
+
import {
|
|
114
|
+
node30
|
|
115
|
+
} from "./project-932tnxz1.js";
|
|
116
|
+
import {
|
|
117
|
+
node26
|
|
118
|
+
} from "./project-vx993qx3.js";
|
|
119
|
+
import {
|
|
120
|
+
node25
|
|
121
|
+
} from "./project-cgj7rfmq.js";
|
|
122
|
+
import {
|
|
123
|
+
node21
|
|
124
|
+
} from "./project-9495k3mj.js";
|
|
125
|
+
import {
|
|
126
|
+
node8
|
|
127
|
+
} from "./project-gykabrhp.js";
|
|
128
|
+
import {
|
|
129
|
+
node17
|
|
130
|
+
} from "./project-pk7h5ckr.js";
|
|
131
|
+
import {
|
|
132
|
+
node4,
|
|
133
|
+
bound2
|
|
134
|
+
} from "./project-q26tgv94.js";
|
|
135
|
+
import {
|
|
136
|
+
node12
|
|
137
|
+
} from "./project-hdvn1z9e.js";
|
|
138
|
+
import {
|
|
139
|
+
node14
|
|
140
|
+
} from "./project-qgn1mnrt.js";
|
|
141
|
+
import {
|
|
142
|
+
node7
|
|
143
|
+
} from "./project-srrqt7rk.js";
|
|
144
|
+
import {
|
|
145
|
+
node3
|
|
146
|
+
} from "./project-nb4tc1st.js";
|
|
147
|
+
import {
|
|
148
|
+
node2
|
|
149
|
+
} from "./project-fp1knm32.js";
|
|
150
|
+
import {
|
|
151
|
+
node18
|
|
152
|
+
} from "./project-wv9ccret.js";
|
|
153
|
+
import {
|
|
154
|
+
node13
|
|
155
|
+
} from "./project-v25jqm1t.js";
|
|
156
|
+
import {
|
|
157
|
+
node11
|
|
158
|
+
} from "./project-m7getmd9.js";
|
|
159
|
+
import {
|
|
160
|
+
__export
|
|
161
|
+
} from "./project-9rqn6x4v.js";
|
|
162
|
+
|
|
163
|
+
// src/instance.ts
|
|
164
|
+
var exports_instance = {};
|
|
165
|
+
__export(exports_instance, {
|
|
166
|
+
Instance: () => exports_instance,
|
|
167
|
+
Service: () => Service45,
|
|
168
|
+
graph: () => graph2,
|
|
169
|
+
layer: () => layer2,
|
|
170
|
+
node: () => node48
|
|
171
|
+
});
|
|
172
|
+
import { Effect, Layer } from "effect";
|
|
173
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
174
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
175
|
+
var nodes = [
|
|
176
|
+
node75,
|
|
177
|
+
node72,
|
|
178
|
+
node68,
|
|
179
|
+
node65,
|
|
180
|
+
node53,
|
|
181
|
+
node57,
|
|
182
|
+
node22,
|
|
183
|
+
node26,
|
|
184
|
+
node80,
|
|
185
|
+
node79,
|
|
186
|
+
node55,
|
|
187
|
+
node56,
|
|
188
|
+
node21,
|
|
189
|
+
node66,
|
|
190
|
+
node4,
|
|
191
|
+
node3,
|
|
192
|
+
node2,
|
|
193
|
+
node25,
|
|
194
|
+
node28,
|
|
195
|
+
node27,
|
|
196
|
+
node54,
|
|
197
|
+
node18,
|
|
198
|
+
node44,
|
|
199
|
+
node61,
|
|
200
|
+
node36,
|
|
201
|
+
node83,
|
|
202
|
+
node17,
|
|
203
|
+
node16,
|
|
204
|
+
node20,
|
|
205
|
+
node42,
|
|
206
|
+
node62,
|
|
207
|
+
node59,
|
|
208
|
+
node51,
|
|
209
|
+
node60,
|
|
210
|
+
node43,
|
|
211
|
+
node35,
|
|
212
|
+
node39,
|
|
213
|
+
node81,
|
|
214
|
+
node24,
|
|
215
|
+
node7,
|
|
216
|
+
node41,
|
|
217
|
+
node14,
|
|
218
|
+
node49,
|
|
219
|
+
node12,
|
|
220
|
+
node13,
|
|
221
|
+
node34,
|
|
222
|
+
node58,
|
|
223
|
+
node11,
|
|
224
|
+
node30,
|
|
225
|
+
node8
|
|
226
|
+
];
|
|
227
|
+
var graph2 = LayerNode.group(nodes);
|
|
228
|
+
var vanillaReplacements = [
|
|
229
|
+
node68.replace(configured7({ project: false, global: false })),
|
|
230
|
+
node83.replace(configured11({ project: false, global: false }))
|
|
231
|
+
];
|
|
232
|
+
function layer2(ref, options = {}) {
|
|
233
|
+
const startedAt = performance.now();
|
|
234
|
+
const replacements = [
|
|
235
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
236
|
+
...options.replacements ?? [],
|
|
237
|
+
node75.replace(boundNode2(ref, { discovery: options.discovery })),
|
|
238
|
+
node4.replace(bound2(options.plugins ?? []))
|
|
239
|
+
];
|
|
240
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
|
|
241
|
+
directory: ref.directory,
|
|
242
|
+
workspaceID: ref.workspaceID,
|
|
243
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
244
|
+
})));
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export { graph2, layer2, exports_instance };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-1jfm9dfr.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-3rv0aqry.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-nvxqht09.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./project-5c4hm403.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./project-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info7,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service44,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer18,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node47,
|
|
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 Info7,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service44 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service80;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service79;
|
|
@@ -173,7 +173,7 @@ var make15 = 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) => Info7.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
timeCreated: DateTime.makeUnsafe(event.created),
|
|
@@ -227,8 +227,8 @@ var make15 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer18 = Layer.effect(Service44, make17());
|
|
231
|
+
var node47 = makeGlobalNode({ service: Service44, layer: layer18, 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,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service44, make17, layer18, node47, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./project-86gp7mh5.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service69
|
|
13
|
+
} from "./project-bqcj21xz.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service49
|
|
16
|
+
} from "./project-2sy09y68.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service59
|
|
19
|
+
} from "./project-rea82nnp.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service14,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./project-pk7h5ckr.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./project-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service51,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./project-0x0q0z21.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service40
|
|
37
|
+
} from "./project-7bspjkrj.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service27
|
|
40
|
+
} from "./project-vnwzej4v.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./project-h9dgkh5z.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./project-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input7,
|
|
53
|
+
Plugin: () => Plugin20,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
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. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
|
|
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 Plugin20 = {
|
|
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* Service27;
|
|
122
|
+
const jobs = yield* Service49;
|
|
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* Service69;
|
|
125
|
+
const access = yield* Service14;
|
|
126
|
+
const shell = yield* Service40;
|
|
127
|
+
const shellSelect = yield* Service51;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service59;
|
|
130
|
+
const config = yield* Service65;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin4 = {
|
|
|
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 Plugin4 = {
|
|
|
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 Plugin4 = {
|
|
|
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, Plugin20, exports_shell };
|