@opencode/core 0.0.0-dev-20621 → 0.0.0-dev-20623
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{tool-7q4nzkb9.js → job-0ezkecwa.js} +16 -16
- package/dist/chunks/{tool-wyyj98bv.js → job-0fwpw2g3.js} +3 -3
- package/dist/chunks/{tool-q0xm7vwc.js → job-0j77ygfz.js} +6 -6
- package/dist/chunks/{tool-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-0emb60td.js → job-0vbcp93d.js} +2 -2
- package/dist/chunks/{tool-r9t00hsy.js → job-1109kv5r.js} +5 -5
- package/dist/chunks/{tool-b8yxdv3q.js → job-14wqdba8.js} +29 -29
- package/dist/chunks/{tool-3j9bgvtg.js → job-150yg2gd.js} +5 -5
- package/dist/chunks/{tool-qdm0xvfe.js → job-153yncyt.js} +4 -4
- package/dist/chunks/{tool-zsr4wwhv.js → job-1b4m0bzf.js} +4 -4
- package/dist/chunks/{tool-adfa1w2n.js → job-1cdqa284.js} +2 -2
- package/dist/chunks/{tool-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-zr70bgmb.js → job-1p6590hc.js} +11 -11
- package/dist/chunks/{tool-p6hyfmfc.js → job-1q5k8kch.js} +3 -3
- package/dist/chunks/{tool-3x1fhjfk.js → job-1s9j86bw.js} +3 -3
- package/dist/chunks/{tool-xqq6j46d.js → job-1xdq8pgw.js} +13 -13
- package/dist/chunks/{tool-mzrc21xj.js → job-1y1sz04v.js} +35 -35
- package/dist/chunks/{tool-xcmk6yw7.js → job-1yd7h3h8.js} +11 -11
- package/dist/chunks/{tool-sxt8reb7.js → job-20fp9fqe.js} +27 -27
- package/dist/chunks/{tool-m8tjqkzb.js → job-275vx67k.js} +2 -2
- package/dist/chunks/{tool-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-4ts7tf6z.js → job-2ccvkpx1.js} +2 -2
- package/dist/chunks/{tool-303t2pvh.js → job-2fvqbc2a.js} +18 -18
- package/dist/chunks/{tool-j1ba0jw9.js → job-2jw3dvvd.js} +32 -32
- package/dist/chunks/{tool-p10vm95c.js → job-2rfx9vxm.js} +7 -7
- package/dist/chunks/{tool-wfdj1abq.js → job-2yh7qa3m.js} +11 -11
- package/dist/chunks/{tool-m9kfb99s.js → job-2ywb9zjx.js} +6 -6
- package/dist/chunks/{tool-ncnm8wen.js → job-325sge2s.js} +1 -1
- package/dist/chunks/{tool-bbpgpzrp.js → job-32kg902r.js} +4 -4
- package/dist/chunks/{tool-pjsqfx9m.js → job-346y6mfm.js} +7 -7
- package/dist/chunks/{tool-g6tpgah0.js → job-34hg2p15.js} +68 -68
- package/dist/chunks/{tool-3cegwx68.js → job-3cegwx68.js} +2 -2
- package/dist/chunks/{tool-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-pz19f1h4.js → job-3ff3hx9k.js} +14 -14
- package/dist/chunks/{tool-66t34m9w.js → job-3h8vczdp.js} +12 -12
- package/dist/chunks/{tool-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/job-3q73pyrh.js +26 -0
- package/dist/chunks/{tool-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-n7c1m45s.js → job-3w9zm10v.js} +15 -15
- package/dist/chunks/{tool-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-2xcf8v2e.js → job-42eybm5a.js} +15 -15
- package/dist/chunks/{tool-g357tzjd.js → job-435nfkrq.js} +25 -25
- package/dist/chunks/{tool-tdtgstz8.js → job-4cm5h7gg.js} +7 -7
- package/dist/chunks/{tool-9swdtjav.js → job-4wrkd8nn.js} +9 -9
- package/dist/chunks/{tool-eaxx2kzt.js → job-52s9h3x5.js} +4 -4
- package/dist/chunks/{tool-54ma36ye.js → job-54ma36ye.js} +1 -1
- package/dist/chunks/{tool-2sejkfem.js → job-5d607bsg.js} +9 -9
- package/dist/chunks/{tool-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-5d17xbav.js → job-5e15319b.js} +5 -5
- package/dist/chunks/{tool-5m9w47nd.js → job-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-3sdb20zb.js → job-5sxenjh9.js} +6 -6
- package/dist/chunks/{tool-wpgamtwv.js → job-5symgpsy.js} +26 -26
- package/dist/chunks/{tool-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-1ewxhx38.js → job-5t693q0p.js} +30 -30
- package/dist/chunks/{tool-pzcaekwn.js → job-63s1r0wa.js} +6 -6
- package/dist/chunks/{tool-n3kz9j5v.js → job-645feetr.js} +3 -3
- package/dist/chunks/{tool-h43cy6bd.js → job-66n2k59e.js} +8 -8
- package/dist/chunks/{tool-ydty4xqc.js → job-6c2xcqh7.js} +12 -12
- package/dist/chunks/{tool-6m1hjez2.js → job-6q8sj0et.js} +7 -7
- package/dist/chunks/{tool-kvvk39gs.js → job-6sr3ve8g.js} +21 -21
- package/dist/chunks/{tool-6xb47vfp.js → job-6xb47vfp.js} +1 -1
- package/dist/chunks/{tool-ck2jvgzg.js → job-78fcyxvp.js} +25 -25
- package/dist/chunks/{tool-d0m8bny5.js → job-7ara208x.js} +24 -24
- package/dist/chunks/{tool-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-ct5kn7sm.js → job-7dy9gh8b.js} +20 -20
- package/dist/chunks/{tool-ynky3s72.js → job-7gt59paf.js} +26 -26
- package/dist/chunks/{tool-b1axcb5r.js → job-7mf9fqr3.js} +22 -22
- package/dist/chunks/{tool-6zhvkmk5.js → job-7sjw0gnk.js} +4 -4
- package/dist/chunks/{tool-3w57jhwt.js → job-7skj7b3t.js} +11 -11
- package/dist/chunks/{tool-sgd5yhbj.js → job-7sptvqh0.js} +9 -9
- package/dist/chunks/{tool-hqwyy3bj.js → job-7t4xepky.js} +6 -6
- package/dist/chunks/{tool-84h8c373.js → job-84h8c373.js} +2 -2
- package/dist/chunks/{tool-84txncab.js → job-84txncab.js} +1 -1
- package/dist/chunks/{tool-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-rxn8twjw.js → job-8he8vm74.js} +2 -2
- package/dist/chunks/{tool-gkwkvfez.js → job-8k6dxcnf.js} +21 -21
- package/dist/chunks/{tool-nkxtzyv4.js → job-8kv8ebkg.js} +23 -23
- package/dist/chunks/{tool-9xafsdbn.js → job-90y87qeq.js} +13 -13
- package/dist/chunks/{tool-4xtwzbwp.js → job-922pj5h4.js} +322 -322
- package/dist/chunks/{tool-j6rvrjb2.js → job-9exa0gxn.js} +15 -15
- package/dist/chunks/{tool-mrtp8nr7.js → job-9ffa4p95.js} +10 -10
- package/dist/chunks/{tool-9t7a50xb.js → job-9t7a50xb.js} +1 -1
- package/dist/chunks/{tool-qk33d3eb.js → job-a41mf9eg.js} +5 -5
- package/dist/chunks/{tool-8rqycdgd.js → job-a46v4e4v.js} +7 -7
- package/dist/chunks/{tool-853r27ye.js → job-a78s9db2.js} +24 -24
- package/dist/chunks/{tool-9f2nvjyq.js → job-a8w7s6c8.js} +3 -3
- package/dist/chunks/{tool-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-addxnjmp.js → job-addxnjmp.js} +1 -1
- package/dist/chunks/{tool-2n6fa56a.js → job-aevh7yhk.js} +1 -1
- package/dist/chunks/{tool-1x69mj4q.js → job-anry1mdf.js} +12 -12
- package/dist/chunks/{tool-czkrkmgx.js → job-ap89vq3r.js} +22 -22
- package/dist/chunks/{tool-c1ant5c1.js → job-ay8ertzz.js} +136 -136
- package/dist/chunks/{tool-hv8s3tg2.js → job-b5pnkgfz.js} +9 -9
- package/dist/chunks/{tool-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-gfygj460.js → job-b8f3723t.js} +15 -15
- package/dist/chunks/{tool-yptech69.js → job-b9dw0fep.js} +35 -35
- package/dist/chunks/{tool-apme4279.js → job-bbcqy7f7.js} +24 -24
- package/dist/chunks/{tool-vcccfxhw.js → job-bd2gmdw6.js} +38 -38
- package/dist/chunks/{tool-bcr0ksmf.js → job-bjz1ntmn.js} +13 -13
- package/dist/chunks/{tool-yxnaqxdh.js → job-bq5ttdwe.js} +3 -3
- package/dist/chunks/{tool-cwxwnzw8.js → job-bv2vs0je.js} +9 -9
- package/dist/chunks/{tool-a1jynv3g.js → job-c2zwq45z.js} +12 -12
- package/dist/chunks/{tool-cz3qxt32.js → job-c9hdk7an.js} +27 -27
- package/dist/chunks/job-cf3y1dtk.js +253 -0
- package/dist/chunks/{tool-cfsekr6v.js → job-cfsekr6v.js} +2 -2
- package/dist/chunks/{tool-g4ezwve1.js → job-cr793czp.js} +20 -20
- package/dist/chunks/{tool-jy0x8hkf.js → job-cyb6j5fd.js} +8 -8
- package/dist/chunks/{tool-5yzzbxa7.js → job-czfptnv9.js} +8 -8
- package/dist/chunks/{tool-vdg7jmx3.js → job-d1pvrw7r.js} +8 -8
- package/dist/chunks/{tool-hmb6jn2z.js → job-dettcwny.js} +20 -20
- package/dist/chunks/{tool-ymj5q7t9.js → job-dj2cc5b2.js} +10 -10
- package/dist/chunks/{tool-xkntkrq7.js → job-dmqcgk4z.js} +5 -5
- package/dist/chunks/{tool-dpkg50ah.js → job-dpkg50ah.js} +1 -1
- package/dist/chunks/{tool-semz41dm.js → job-dr7h7j05.js} +8 -8
- package/dist/chunks/{tool-mzraw8ha.js → job-dtgbrhmq.js} +7 -7
- package/dist/chunks/{tool-7vp466hh.js → job-e24p4dv1.js} +25 -25
- package/dist/chunks/{tool-pvnmdee5.js → job-e295ecsk.js} +10 -10
- package/dist/chunks/{tool-5qd3pb7m.js → job-e3qxr5gk.js} +2 -2
- package/dist/chunks/{tool-fgvy1g99.js → job-ecs0kx5t.js} +17 -17
- package/dist/chunks/{tool-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-75v4x8jp.js → job-efhc4xja.js} +14 -14
- package/dist/chunks/{tool-4set99t9.js → job-ej9qsr91.js} +3 -3
- package/dist/chunks/{tool-mx9vqzsb.js → job-eqkxs06z.js} +6 -6
- package/dist/chunks/{tool-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-dbqekdzp.js → job-f2p39avw.js} +3 -3
- package/dist/chunks/{tool-6ysrkrkr.js → job-f5gy8qwh.js} +8 -8
- package/dist/chunks/{tool-f75zav2x.js → job-f75zav2x.js} +2 -2
- package/dist/chunks/{tool-690bn0hf.js → job-f80nsjds.js} +19 -19
- package/dist/chunks/{tool-b750x627.js → job-fg309kkr.js} +4 -4
- package/dist/chunks/{tool-dwktjsma.js → job-fh75rate.js} +1 -1
- package/dist/chunks/{tool-42ayv7pm.js → job-fkayb3v0.js} +35 -35
- package/dist/chunks/{tool-egspt8cm.js → job-fm95fzh1.js} +67 -67
- package/dist/chunks/{tool-vpfpr37q.js → job-fndtdcdb.js} +11 -11
- package/dist/chunks/{tool-9thxh3x6.js → job-fsgfmda0.js} +7 -7
- package/dist/chunks/{tool-tcyk0gcq.js → job-fw6p9fde.js} +13 -13
- package/dist/chunks/{tool-qt17f4h7.js → job-g0aa2qss.js} +15 -15
- package/dist/chunks/{tool-g5w8qwbj.js → job-g5w8qwbj.js} +1 -1
- package/dist/chunks/{tool-7crx08a4.js → job-g65n4bbv.js} +11 -11
- package/dist/chunks/{tool-rx871m47.js → job-g9vavm7g.js} +2 -2
- package/dist/chunks/{tool-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-6qzp8a5z.js → job-gdsng6kf.js} +19 -19
- package/dist/chunks/{tool-f4tfcf42.js → job-gyyj3d9c.js} +10 -10
- package/dist/chunks/{tool-na90p5sz.js → job-gzh491n7.js} +25 -25
- package/dist/chunks/{tool-kc6hkr7d.js → job-h4b3eg5p.js} +6 -6
- package/dist/chunks/{tool-wdeky1ys.js → job-h6s238kn.js} +22 -22
- package/dist/chunks/{tool-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-p2y4rtdg.js → job-h98pyw8b.js} +37 -37
- package/dist/chunks/{tool-e4q1gg2w.js → job-h9gbxm73.js} +16 -16
- package/dist/chunks/{tool-w36j0bmk.js → job-hb84g3y6.js} +9 -9
- package/dist/chunks/{tool-kfdtc9qy.js → job-hehnp1bq.js} +11 -11
- package/dist/chunks/{tool-23mntapz.js → job-hhetnhwk.js} +14 -14
- package/dist/chunks/{tool-swk0q7s9.js → job-hjp9qe4g.js} +4 -4
- package/dist/chunks/{tool-nesyhtff.js → job-hnb1fd69.js} +18 -18
- package/dist/chunks/{tool-r9w3djhf.js → job-hwjyn0yt.js} +9 -9
- package/dist/chunks/{tool-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-81bpzke5.js → job-j7861s82.js} +11 -11
- package/dist/chunks/{tool-vk9cvn9d.js → job-jknk5b86.js} +301 -301
- package/dist/chunks/{tool-a2zv89qz.js → job-jxqesak3.js} +13 -13
- package/dist/chunks/{tool-4mpv5s2v.js → job-k3fvar80.js} +42 -42
- package/dist/chunks/{tool-wk2zpc1v.js → job-k4p6we1j.js} +9 -9
- package/dist/chunks/{tool-a65exzz3.js → job-k4t30sfg.js} +13 -13
- package/dist/chunks/{tool-txw06jcg.js → job-ka9hvfy0.js} +9 -9
- package/dist/chunks/{tool-tpypbtav.js → job-kb6ssw1z.js} +4 -4
- package/dist/chunks/{tool-kb9j3d72.js → job-kb9j3d72.js} +3 -3
- package/dist/chunks/{tool-qtq3p0wt.js → job-kdqem1hb.js} +20 -20
- package/dist/chunks/{tool-npt101jb.js → job-kf30vwx6.js} +26 -26
- package/dist/chunks/{tool-qbd5ma0n.js → job-kgssxap2.js} +10 -10
- package/dist/chunks/{tool-m3fdjcah.js → job-m3fdjcah.js} +1 -1
- package/dist/chunks/{tool-7rm45jzf.js → job-m98vzp15.js} +4 -4
- package/dist/chunks/{tool-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-z5n58sqq.js → job-md3tm4xy.js} +5 -5
- package/dist/chunks/{tool-1ygqh575.js → job-mfqp6xfm.js} +6 -6
- package/dist/chunks/{tool-h9pcb0g7.js → job-mjqndqed.js} +5 -5
- package/dist/chunks/{tool-40gsab6q.js → job-mk172kdm.js} +11 -11
- package/dist/chunks/{tool-8h9kzq6c.js → job-mpzph9xx.js} +13 -13
- package/dist/chunks/{tool-cjxvfp5z.js → job-mqgn1b7a.js} +7 -7
- package/dist/chunks/{tool-zcdqtjtf.js → job-mrcp6x86.js} +47 -47
- package/dist/chunks/{tool-a1gpj94z.js → job-mvfsc1pv.js} +3 -3
- package/dist/chunks/{tool-56avvebe.js → job-n0g0nzgh.js} +20 -20
- package/dist/chunks/{tool-s7nv2rwz.js → job-n8vdnqrc.js} +5 -5
- package/dist/chunks/{tool-dcgfqf6n.js → job-n9g5bfke.js} +6 -6
- package/dist/chunks/{tool-at1kfnmk.js → job-ngts6ef0.js} +8 -8
- package/dist/chunks/{tool-cy8n646y.js → job-nk9s9anj.js} +21 -21
- package/dist/chunks/{tool-4jjk64j7.js → job-nnrc907a.js} +13 -13
- package/dist/chunks/{tool-16pwk8my.js → job-np5w9nrh.js} +18 -18
- package/dist/chunks/{tool-0y2egbcr.js → job-nvw9amg7.js} +8 -8
- package/dist/chunks/{tool-mktzjf14.js → job-nwd3z7e8.js} +48 -48
- package/dist/chunks/{tool-y6wve3t3.js → job-nx7wttm6.js} +13 -13
- package/dist/chunks/{tool-rjep82nj.js → job-pamfh9kz.js} +17 -17
- package/dist/chunks/{tool-a3c7ahw6.js → job-pgp1nwjn.js} +4 -4
- package/dist/chunks/{tool-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{tool-wkqs3fc0.js → job-q4712sr9.js} +23 -23
- package/dist/chunks/{tool-kne8f3cn.js → job-q5asdkn4.js} +4 -4
- package/dist/chunks/{tool-scqzf1nw.js → job-q7h5a6mq.js} +10 -10
- package/dist/chunks/{tool-qgn6gcr1.js → job-qgn6gcr1.js} +1 -1
- package/dist/chunks/{tool-qnc92qwc.js → job-qnc92qwc.js} +1 -1
- package/dist/chunks/{tool-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-xyafkbt0.js → job-qxjc9qry.js} +3 -3
- package/dist/chunks/{tool-scgrse2b.js → job-qygbw77c.js} +5 -5
- package/dist/chunks/{tool-dd40s8jk.js → job-r2dnqh6n.js} +4 -4
- package/dist/chunks/{tool-bvjdq5yq.js → job-r3kwrs46.js} +5 -5
- package/dist/chunks/{tool-51r1g0v9.js → job-r5jvba2d.js} +11 -11
- package/dist/chunks/{tool-h6tdr0wz.js → job-r5wg57ya.js} +9 -9
- package/dist/chunks/{tool-1acjjqhc.js → job-r8xr0va3.js} +4 -4
- package/dist/chunks/job-rap9a73h.js +18 -0
- package/dist/chunks/{tool-kzgmjn1f.js → job-rdre3n7s.js} +9 -9
- package/dist/chunks/{tool-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-0xccjjzw.js → job-rnejq3k9.js} +28 -28
- package/dist/chunks/{tool-pnzjke2r.js → job-rx003x33.js} +24 -24
- package/dist/chunks/{tool-fe6bz30b.js → job-rx0kk0pc.js} +13 -13
- package/dist/chunks/{tool-sm965ndy.js → job-rzs3gq0x.js} +8 -8
- package/dist/chunks/{tool-6az9vrde.js → job-s7ygvkb6.js} +24 -24
- package/dist/chunks/{tool-9tqp4rjd.js → job-skkb0071.js} +34 -34
- package/dist/chunks/{tool-fhm77ccb.js → job-snj8hhs2.js} +3 -3
- package/dist/chunks/{tool-see9wd13.js → job-sqty32ey.js} +77 -77
- package/dist/chunks/{tool-a2gqrh8v.js → job-sre3bhvf.js} +34 -34
- package/dist/chunks/{tool-r1z1z81h.js → job-sv9xqrp4.js} +11 -11
- package/dist/chunks/{tool-csdqyeex.js → job-svhcpc1c.js} +14 -14
- package/dist/chunks/{tool-393z7mah.js → job-t39gfvtp.js} +1 -1
- package/dist/chunks/{tool-qc3y4bn0.js → job-t6m7svpx.js} +23 -23
- package/dist/chunks/{tool-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-c7f2cwkk.js → job-tccrq8c6.js} +1 -1
- package/dist/chunks/{tool-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{tool-2k71kv7p.js → job-tfzngn12.js} +4 -4
- package/dist/chunks/{tool-61m1wdtq.js → job-tkjfzrza.js} +22 -22
- package/dist/chunks/{tool-z26t8xx0.js → job-tpgsh8y4.js} +17 -17
- package/dist/chunks/{tool-ng6f7xag.js → job-tpmga8np.js} +25 -25
- package/dist/chunks/{tool-pdssdm3r.js → job-tyh57cyp.js} +38 -38
- package/dist/chunks/{tool-w0jh0ny2.js → job-v03kc4w2.js} +16 -16
- package/dist/chunks/{tool-xecxzrdp.js → job-v0es1rhs.js} +2 -2
- package/dist/chunks/{tool-6w4tq3mb.js → job-v260t7sv.js} +9 -9
- package/dist/chunks/{tool-gxds6sjc.js → job-v2w4gvzq.js} +20 -20
- package/dist/chunks/{tool-entbm7rc.js → job-v3f705cw.js} +20 -20
- package/dist/chunks/{tool-08ed4zmw.js → job-vdptz04f.js} +6 -6
- package/dist/chunks/{tool-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-3936tkf8.js → job-vmfn30s8.js} +13 -13
- package/dist/chunks/{tool-mwwxnxty.js → job-vxzh5eqq.js} +4 -4
- package/dist/chunks/{tool-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-g24rjnnt.js → job-w2h15q85.js} +5 -5
- package/dist/chunks/{tool-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-8sq1nazw.js → job-w5j3waeq.js} +42 -42
- package/dist/chunks/{tool-ckag18vk.js → job-w5q6894q.js} +13 -13
- package/dist/chunks/{tool-gx34rq0y.js → job-w5ystqj3.js} +3 -3
- package/dist/chunks/{tool-x2jd95r3.js → job-w60tz3av.js} +30 -30
- package/dist/chunks/{tool-g0vvyb83.js → job-w9n5wj27.js} +11 -11
- package/dist/chunks/{tool-zqrhdrkc.js → job-war2b1z5.js} +38 -38
- package/dist/chunks/{tool-2zv0bcyv.js → job-wd6yp0fc.js} +8 -8
- package/dist/chunks/{tool-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{tool-5jxm9yfz.js → job-wdg51fbj.js} +22 -22
- package/dist/chunks/{tool-tnjsmpmj.js → job-wph1zeeb.js} +11 -11
- package/dist/chunks/{tool-w7jnj522.js → job-wwee1v31.js} +20 -20
- package/dist/chunks/{tool-4c8s8kge.js → job-wwnyx4q7.js} +1 -1
- package/dist/chunks/{tool-350pbqn9.js → job-x40286x4.js} +26 -26
- package/dist/chunks/{tool-yxe8956e.js → job-x699frg5.js} +6 -6
- package/dist/chunks/{tool-axe3mf62.js → job-xkhfjrgz.js} +3 -3
- package/dist/chunks/{tool-zab19jja.js → job-xsgk3b13.js} +9 -9
- package/dist/chunks/{tool-mdmbfqgq.js → job-xxk5ry2v.js} +8 -8
- package/dist/chunks/{tool-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-1cz6w5aa.js → job-y29yf60m.js} +3 -3
- package/dist/chunks/{tool-cjdpndr5.js → job-y2vfjhds.js} +7 -7
- package/dist/chunks/{tool-h65drem0.js → job-y509g03m.js} +16 -16
- package/dist/chunks/{tool-krzbbgtd.js → job-y6z5npq7.js} +9 -9
- package/dist/chunks/{tool-a7bsh1ec.js → job-ycvyrgka.js} +11 -11
- package/dist/chunks/{tool-e4gfb4rf.js → job-ypj7v0f9.js} +17 -17
- package/dist/chunks/{tool-125pv97z.js → job-yryfr4df.js} +7 -7
- package/dist/chunks/{tool-tytd2jm0.js → job-ysayqecx.js} +38 -38
- package/dist/chunks/{tool-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-k1pmzggn.js → job-z6kenqfr.js} +33 -33
- package/dist/chunks/{tool-9y9sk2j9.js → job-zd7wpxs7.js} +2 -2
- package/dist/chunks/{tool-qx8vbekt.js → job-zf25an6g.js} +11 -11
- package/dist/chunks/{tool-bx021530.js → job-zg807ykv.js} +16 -16
- package/dist/chunks/{tool-c3227a7e.js → job-zgy505th.js} +17 -17
- package/dist/chunks/{tool-zbt4vqdm.js → job-zp4yaed4.js} +25 -25
- package/dist/chunks/{tool-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- 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 +363 -363
- 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/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +76 -76
- 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 +351 -351
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- 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 +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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/github-copilot.js +95 -95
- 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 +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +214 -214
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +87 -87
- 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 +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- 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 +211 -211
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- 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 +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +204 -204
- package/dist/session/usage.js +1 -1
- package/dist/session.js +203 -203
- 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 +15 -15
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- 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 +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/tool-39v3zkdd.js +0 -26
- package/dist/chunks/tool-gdn38z0d.js +0 -253
- package/dist/chunks/tool-q509s3k3.js +0 -18
- /package/dist/chunks/{tool-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-34c7v6d4.js → job-34c7v6d4.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3t0ybcrp.js → job-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → job-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → job-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-153yncyt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./job-kgssxap2.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service33,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-rap9a73h.js";
|
|
17
17
|
import {
|
|
18
18
|
make12,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./job-ay8ertzz.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./job-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
@@ -30,7 +30,7 @@ __export(exports_plugin2, {
|
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service33,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
@@ -40,9 +40,9 @@ import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as
|
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service83;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service71;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service33.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -223,7 +223,7 @@ function slotInfo(slot) {
|
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
225
|
var node22 = Node.makeLocationNode({
|
|
226
|
-
service:
|
|
226
|
+
service: Service33,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-153yncyt.js";
|
|
8
8
|
import {
|
|
9
9
|
Event19,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./job-3h8vczdp.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-8he8vm74.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service39,
|
|
19
|
+
node42
|
|
20
|
+
} from "./job-f80nsjds.js";
|
|
21
21
|
import {
|
|
22
22
|
ID16,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./job-ka9hvfy0.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service76,
|
|
34
|
+
node80
|
|
35
|
+
} from "./job-2fvqbc2a.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./job-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service31,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured3,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer11,
|
|
57
|
+
node: () => node35
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service31 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
108
|
var Options3 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -111,13 +111,13 @@ var Options3 = Schema.Struct({
|
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
114
|
+
var layer11 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
115
115
|
const location = yield* Service80;
|
|
116
|
-
const environment = yield*
|
|
116
|
+
const environment = yield* Service39;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service78;
|
|
119
|
+
const integration = yield* Service76;
|
|
120
|
+
const credentials = yield* Service77;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service77, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -161,7 +161,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service77, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
@@ -269,7 +269,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service39, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -420,7 +420,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service31.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
|
|
|
532
532
|
}
|
|
533
533
|
function configured3(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [node84,
|
|
535
|
+
service: Service31,
|
|
536
|
+
layer: layer11(options),
|
|
537
|
+
deps: [node84, node42, node87, node82, node80, node81]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node35 = configured3();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service31, Options3, layer11, configured3, node35, exports_mcp4 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service43,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node46
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service43 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service43.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node46 = makeLocationNode({
|
|
137
|
+
service: Service43,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service43, node46, exports_tool_output2 };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-153yncyt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./job-ka9hvfy0.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-cyb6j5fd.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
15
|
Service80,
|
|
16
16
|
node84
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-8he8vm74.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-rdre3n7s.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service59,
|
|
26
|
+
node62
|
|
27
|
+
} from "./job-mrcp6x86.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service49,
|
|
30
|
+
node52
|
|
31
|
+
} from "./job-wph1zeeb.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./job-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service48,
|
|
41
|
+
node: () => node51
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service48 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service83;
|
|
52
52
|
const location = yield* Service80;
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
53
|
+
const permission = yield* Service59;
|
|
54
|
+
const forms = yield* Service78;
|
|
55
|
+
const rpc = yield* Service49;
|
|
56
56
|
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service48.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node51 = makeLocationNode({
|
|
84
|
+
service: Service48,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [node87, node84,
|
|
86
|
+
deps: [node87, node84, node62, node85, node82, node52]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service48, node51, exports_location_lifecycle };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-153yncyt.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./job-3h8vczdp.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-addxnjmp.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-ka9hvfy0.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./job-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -43,8 +43,8 @@ __export(exports_integration, {
|
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service76,
|
|
47
|
+
node: () => node80
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -104,13 +104,13 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service76 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
112
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service77;
|
|
114
114
|
const bus = yield* Service83;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service76.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node80 = makeLocationNode({
|
|
603
|
+
service: Service76,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node81, node87, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3,
|
|
608
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event18 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service39
|
|
3
|
+
} from "./job-f80nsjds.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service15,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-nx7wttm6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service79
|
|
11
|
+
} from "./job-ycvyrgka.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service59
|
|
14
|
+
} from "./job-mrcp6x86.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service19
|
|
17
|
+
} from "./job-9exa0gxn.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input7,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin43,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name7,
|
|
33
|
+
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name7 = "write";
|
|
39
|
+
var Input7 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output4 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin43 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service19;
|
|
56
|
+
const fileMutation = yield* Service15;
|
|
57
|
+
const environment = yield* Service39;
|
|
58
|
+
const formatter = yield* Service79;
|
|
59
|
+
const permission = yield* Service59;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name7,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input7,
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name7, Input7, Output4, toModelContent4, Plugin43, exports_write };
|