@opencode/core 0.0.0-dev-19553 → 0.0.0-dev-19557
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{tool-output-bsd21wvh.js → job-04nkpb80.js} +25 -25
- package/dist/chunks/{tool-output-0zg9j80n.js → job-05q1c7jv.js} +16 -16
- package/dist/chunks/{tool-output-06dxphr1.js → job-06dxphr1.js} +1 -1
- package/dist/chunks/{tool-output-pbky73a2.js → job-0artwwxx.js} +3 -3
- package/dist/chunks/{tool-output-rhjbct0v.js → job-0gdmqesm.js} +4 -4
- package/dist/chunks/{tool-output-0paq2nw3.js → job-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-output-yrz8q0k0.js → job-0pb75hch.js} +5 -5
- package/dist/chunks/{tool-output-0q0f95c6.js → job-0q0f95c6.js} +1 -1
- package/dist/chunks/{tool-output-xjqj3swt.js → job-1aafjjmy.js} +15 -15
- package/dist/chunks/{tool-output-1bbkgx8g.js → job-1bbkgx8g.js} +1 -1
- package/dist/chunks/{tool-output-t3j0f89m.js → job-1cbk4m95.js} +12 -12
- package/dist/chunks/{tool-output-1dazxqgg.js → job-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-output-q5e9w6qx.js → job-1f18karc.js} +7 -7
- package/dist/chunks/{tool-output-za5mjvka.js → job-1h8wy6rp.js} +9 -9
- package/dist/chunks/{tool-output-x0qm4064.js → job-1tzh7qsg.js} +7 -7
- package/dist/chunks/{tool-output-x46dne7g.js → job-1v4bbw1w.js} +15 -15
- package/dist/chunks/{tool-output-x3812y1v.js → job-1vfb6rfn.js} +23 -23
- package/dist/chunks/{tool-output-dt2vszrs.js → job-1vgmz48p.js} +19 -19
- package/dist/chunks/{tool-output-500ye4gx.js → job-1x4rb0xf.js} +20 -20
- package/dist/chunks/{tool-output-gea7vc3h.js → job-219neeqh.js} +5 -5
- package/dist/chunks/{tool-output-21r38tys.js → job-21r38tys.js} +1 -1
- package/dist/chunks/{tool-output-d9jac9yd.js → job-23n0jqa5.js} +5 -5
- package/dist/chunks/{tool-output-2402vzrj.js → job-2402vzrj.js} +1 -1
- package/dist/chunks/{tool-output-27m8pmk1.js → job-24d5a50f.js} +21 -21
- package/dist/chunks/{tool-output-84r56gr5.js → job-265kqrgy.js} +1 -1
- package/dist/chunks/{tool-output-2a5m3afh.js → job-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-output-j15mfg1p.js → job-2d57kztd.js} +6 -6
- package/dist/chunks/{tool-output-xs60qhkz.js → job-2ghf1d8t.js} +11 -11
- package/dist/chunks/{tool-output-sjdbjet5.js → job-2gv9w80n.js} +25 -25
- package/dist/chunks/{tool-output-7n2dt51x.js → job-2hmt10pc.js} +9 -9
- package/dist/chunks/{tool-output-gewkt4tc.js → job-2hv6rtfk.js} +12 -12
- package/dist/chunks/job-2jb5v7tm.js +26 -0
- package/dist/chunks/{tool-output-pxexgfqn.js → job-2vcs4n8f.js} +3 -3
- package/dist/chunks/{tool-output-xg954myy.js → job-33n3bzdy.js} +6 -6
- package/dist/chunks/{tool-output-vywwb7xw.js → job-35wynegs.js} +2 -2
- package/dist/chunks/{tool-output-p730pwrk.js → job-3beqzx6k.js} +35 -35
- package/dist/chunks/job-3c10da2j.js +247 -0
- package/dist/chunks/{tool-output-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-output-9xd5w3qq.js → job-3gv83b7t.js} +3 -3
- package/dist/chunks/{tool-output-jwfsf2kw.js → job-3h8766hn.js} +24 -24
- package/dist/chunks/{tool-output-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-output-wfz0ytz1.js → job-3hww0q87.js} +16 -16
- package/dist/chunks/{tool-output-q5a2pztx.js → job-3mp8pt0x.js} +12 -12
- package/dist/chunks/{tool-output-c9arwkaa.js → job-3r7hejq5.js} +8 -8
- package/dist/chunks/{tool-output-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-output-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-output-t0fxg8b9.js → job-3w0fmcng.js} +5 -5
- package/dist/chunks/{tool-output-0rx68sr6.js → job-41hc3ma8.js} +28 -28
- package/dist/chunks/{tool-output-d4jews6t.js → job-4cje3eb8.js} +27 -27
- package/dist/chunks/{tool-output-q0hpqd2h.js → job-4gx2v1gk.js} +1 -1
- package/dist/chunks/{tool-output-gkg6avwa.js → job-4hx14hj9.js} +43 -43
- package/dist/chunks/{tool-output-qcr3pcr3.js → job-4xhhjths.js} +8 -8
- package/dist/chunks/{tool-output-p6d5ygvj.js → job-4yamf6fe.js} +20 -20
- package/dist/chunks/{tool-output-v45wa97a.js → job-53zdrc7w.js} +20 -20
- package/dist/chunks/{tool-output-yacgqk72.js → job-58pw51yy.js} +2 -2
- package/dist/chunks/{tool-output-g0kzx32f.js → job-5c91nd8t.js} +11 -11
- package/dist/chunks/{tool-output-wqk2ast5.js → job-5cehzqsf.js} +8 -8
- package/dist/chunks/{tool-output-5daktx2q.js → job-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-output-6v9s4sje.js → job-5e1wh1k3.js} +31 -31
- package/dist/chunks/{tool-output-80va3pbr.js → job-5jqv2hdv.js} +22 -22
- package/dist/chunks/{tool-output-k7q6hj49.js → job-5k817vsx.js} +16 -16
- package/dist/chunks/{tool-output-hndr1rtw.js → job-5qvvkpap.js} +87 -87
- package/dist/chunks/{tool-output-5t3nmthw.js → job-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-output-62am4esv.js → job-5t42e72n.js} +38 -38
- package/dist/chunks/{tool-output-rngvahqc.js → job-648q9dvv.js} +11 -11
- package/dist/chunks/{tool-output-64ddj6v7.js → job-64ddj6v7.js} +1 -1
- package/dist/chunks/{tool-output-chkb7edh.js → job-65ymqtf8.js} +10 -10
- package/dist/chunks/{tool-output-669tq793.js → job-669tq793.js} +1 -1
- package/dist/chunks/{tool-output-3bbcshph.js → job-66pxayt3.js} +11 -11
- package/dist/chunks/{tool-output-qy6qxnan.js → job-67byjnjd.js} +24 -24
- package/dist/chunks/{tool-output-qc5sn4cp.js → job-6933ywkd.js} +4 -4
- package/dist/chunks/{tool-output-j5bk5ffn.js → job-6fyb1tt4.js} +6 -6
- package/dist/chunks/{tool-output-myk4ckkr.js → job-6h3xmmfj.js} +5 -5
- package/dist/chunks/{tool-output-yd58s3pz.js → job-6jrat8e1.js} +13 -13
- package/dist/chunks/job-6kdq0pjd.js +4 -0
- package/dist/chunks/{tool-output-9bxy0ra3.js → job-6mjv2hgg.js} +33 -33
- package/dist/chunks/{tool-output-6msgmcgs.js → job-6msgmcgs.js} +1 -1
- package/dist/chunks/{tool-output-p0ydpdje.js → job-70d2s7af.js} +1 -1
- package/dist/chunks/{tool-output-71q4at8m.js → job-71q4at8m.js} +1 -1
- package/dist/chunks/{tool-output-85dpmdhy.js → job-770wfc60.js} +28 -28
- package/dist/chunks/{tool-output-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-output-nvskbz6s.js → job-7d719r6t.js} +28 -28
- package/dist/chunks/{tool-output-0jwsre1p.js → job-7dqw4kz8.js} +5 -5
- package/dist/chunks/{tool-output-p3dmqj27.js → job-7gscs43p.js} +9 -9
- package/dist/chunks/{tool-output-xwwz9aqf.js → job-7j92jdde.js} +4 -4
- package/dist/chunks/{tool-output-7z1dbq5f.js → job-7n7cc3vm.js} +11 -11
- package/dist/chunks/{tool-output-twh77t5b.js → job-7vesx3h4.js} +28 -28
- package/dist/chunks/{tool-output-1cmb3mqm.js → job-7z0gr6x1.js} +9 -9
- package/dist/chunks/{tool-output-r28dgecg.js → job-80e13nyn.js} +43 -43
- package/dist/chunks/{tool-output-d5d1bzfc.js → job-84aps5my.js} +18 -18
- package/dist/chunks/{tool-output-evsz25f7.js → job-8657wa92.js} +34 -34
- package/dist/chunks/{tool-output-sr17v8dg.js → job-88emgjyy.js} +4 -4
- package/dist/chunks/{tool-output-d76dz6fc.js → job-8b2bdwgb.js} +86 -86
- package/dist/chunks/{tool-output-44br5crg.js → job-8d3t8xg7.js} +13 -13
- package/dist/chunks/{tool-output-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-output-tqv7368x.js → job-8g4pmx6v.js} +24 -24
- package/dist/chunks/{tool-output-dj2t23y0.js → job-8p4f9s12.js} +2 -2
- package/dist/chunks/{tool-output-vmarth84.js → job-8pnsnrrh.js} +22 -22
- package/dist/chunks/{tool-output-8bcx3nez.js → job-8tpwn33w.js} +4 -4
- package/dist/chunks/{tool-output-s7n3ne41.js → job-8yjy7zng.js} +10 -10
- package/dist/chunks/{tool-output-2448zhsg.js → job-98c9aj8x.js} +9 -9
- package/dist/chunks/{tool-output-rd3jsed3.js → job-98dg3375.js} +10 -10
- package/dist/chunks/{tool-output-8zqda560.js → job-9frsytr6.js} +25 -25
- package/dist/chunks/{tool-output-56n9fxap.js → job-9gddqbe1.js} +10 -10
- package/dist/chunks/{tool-output-x65d1ngh.js → job-9jrdgtty.js} +7 -7
- package/dist/chunks/{tool-output-qpde438z.js → job-a17g06ed.js} +37 -37
- package/dist/chunks/{tool-output-5c4hm403.js → job-a1bz86dw.js} +3 -3
- package/dist/chunks/{tool-output-vp0b3tb4.js → job-a39cgwdb.js} +33 -33
- package/dist/chunks/{tool-output-9kmbd9mt.js → job-a3r4dcrj.js} +2 -2
- package/dist/chunks/{tool-output-aaet6srn.js → job-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-output-ym7qtc9x.js → job-abebd5qx.js} +11 -11
- package/dist/chunks/{tool-output-fegtcdpg.js → job-aec3nrfr.js} +6 -6
- package/dist/chunks/{tool-output-wg0bp805.js → job-amgske17.js} +8 -8
- package/dist/chunks/{tool-output-pjhhwqp3.js → job-ap99qs88.js} +6 -6
- package/dist/chunks/{tool-output-vp59gbjy.js → job-b11403r6.js} +4 -4
- package/dist/chunks/{tool-output-w556py1h.js → job-b21rrpfv.js} +11 -11
- package/dist/chunks/{tool-output-y2ha7ynf.js → job-b3wvxjn9.js} +5 -5
- package/dist/chunks/{tool-output-b6gygkdw.js → job-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-output-a9v01vfp.js → job-b89ddxb9.js} +11 -11
- package/dist/chunks/{tool-output-t9zs3egg.js → job-bct739vz.js} +4 -4
- package/dist/chunks/{tool-output-s4g69t21.js → job-bd4wb5dj.js} +18 -18
- package/dist/chunks/{tool-output-kwd7jcpa.js → job-c1165j3g.js} +11 -11
- package/dist/chunks/{tool-output-qmdnxg00.js → job-c3s2gn8c.js} +12 -12
- package/dist/chunks/{tool-output-0x6k1yyf.js → job-c7ppp6eb.js} +8 -8
- package/dist/chunks/{tool-output-smh9r5za.js → job-c9y5ammp.js} +15 -15
- package/dist/chunks/{tool-output-nrdmrqsx.js → job-cavr175a.js} +4 -4
- package/dist/chunks/{tool-output-m0jqrx5p.js → job-cfpkc3c9.js} +2 -2
- package/dist/chunks/{tool-output-3zz31926.js → job-ctbj8s8t.js} +3 -3
- package/dist/chunks/{tool-output-rxjvbk8n.js → job-cvtmmhw6.js} +1 -1
- package/dist/chunks/{tool-output-vxtx4rpx.js → job-danc237s.js} +21 -21
- package/dist/chunks/{tool-output-xcgcvrcw.js → job-deft6591.js} +17 -17
- package/dist/chunks/{tool-output-7w3s9kd0.js → job-dg5bcj4q.js} +6 -6
- package/dist/chunks/{tool-output-c9ycaxtf.js → job-dkk4x6n7.js} +24 -24
- package/dist/chunks/{tool-output-b6r17kzf.js → job-dvv5h0qn.js} +54 -54
- package/dist/chunks/{tool-output-8k55qeyd.js → job-dxttfc41.js} +17 -17
- package/dist/chunks/{tool-output-hn9cpaxe.js → job-e2s7qp6r.js} +6 -6
- package/dist/chunks/{tool-output-qa3vdgc2.js → job-e2wc9a92.js} +9 -9
- package/dist/chunks/{tool-output-e5nv3ght.js → job-e5nv3ght.js} +2 -2
- package/dist/chunks/{tool-output-zgcqd1q7.js → job-eatkrtr4.js} +3 -3
- package/dist/chunks/{tool-output-r5j91kvy.js → job-eh9f57h6.js} +18 -18
- package/dist/chunks/{tool-output-bqszwq89.js → job-emzsebxx.js} +6 -6
- package/dist/chunks/{tool-output-cgagfye5.js → job-eq6c3fte.js} +4 -4
- package/dist/chunks/{tool-output-ea6zyd4v.js → job-et83npb1.js} +4 -4
- package/dist/chunks/{tool-output-etq0c3wd.js → job-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-output-tk4wgrh8.js → job-ewzk1mjh.js} +11 -11
- package/dist/chunks/{tool-output-n6sw2qcy.js → job-ey45p7wh.js} +11 -11
- package/dist/chunks/{tool-output-qshh0se8.js → job-f1av08zj.js} +43 -43
- package/dist/chunks/{tool-output-hdnk95c8.js → job-f828m53h.js} +2 -2
- package/dist/chunks/{tool-output-8q9myf25.js → job-ff0htmxq.js} +6 -6
- package/dist/chunks/{tool-output-f711xdp6.js → job-fnjmrqm4.js} +34 -34
- package/dist/chunks/{tool-output-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
- package/dist/chunks/{tool-output-5rj7e89z.js → job-fyd8j9ny.js} +41 -41
- package/dist/chunks/{tool-output-17ymfh2y.js → job-g7znvwgp.js} +52 -52
- package/dist/chunks/{tool-output-a68v6zx7.js → job-g8jasmdt.js} +8 -8
- package/dist/chunks/{tool-output-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-output-e3hd6zgs.js → job-gfr26vqf.js} +10 -10
- package/dist/chunks/{tool-output-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
- package/dist/chunks/{tool-output-znaqgwg4.js → job-gv9pfq09.js} +4 -4
- package/dist/chunks/{tool-output-nzn05r5g.js → job-gvp81x5g.js} +6 -6
- package/dist/chunks/{tool-output-h03wrkyp.js → job-h03wrkyp.js} +2 -2
- package/dist/chunks/{tool-output-wptqc3da.js → job-h6tgnsmw.js} +20 -20
- package/dist/chunks/{tool-output-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-output-410f9172.js → job-h7mr6e23.js} +46 -46
- package/dist/chunks/{tool-output-j56e64zr.js → job-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-output-mf9m2v67.js → job-jexxy024.js} +3 -3
- package/dist/chunks/{tool-output-p1g84q7q.js → job-jfa9ssce.js} +17 -17
- package/dist/chunks/{tool-output-vz41dpjb.js → job-jgks5tvc.js} +10 -10
- package/dist/chunks/{tool-output-rj0m9tej.js → job-jyt8k1ng.js} +10 -10
- package/dist/chunks/{tool-output-k5t8czcn.js → job-k5axrfmk.js} +21 -21
- package/dist/chunks/{tool-output-e6599acx.js → job-k9m849z2.js} +21 -21
- package/dist/chunks/{tool-output-9w4ppqge.js → job-kerhshr9.js} +5 -5
- package/dist/chunks/{tool-output-dtza9wsp.js → job-kfyyfpez.js} +29 -29
- package/dist/chunks/{tool-output-kg06axw8.js → job-kg06axw8.js} +1 -1
- package/dist/chunks/{tool-output-tsqvd881.js → job-kz0zrsdg.js} +33 -33
- package/dist/chunks/{tool-output-y8rq7gk1.js → job-kzdavpkk.js} +22 -22
- package/dist/chunks/{tool-output-bfbcq9g8.js → job-m1g6hraw.js} +25 -25
- package/dist/chunks/{tool-output-25a3s41e.js → job-m22jsh4r.js} +27 -27
- package/dist/chunks/{tool-output-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-output-33w4ejhs.js → job-mfqp6xfm.js} +9 -9
- package/dist/chunks/{tool-output-xxj3pgp3.js → job-mz6ae2yf.js} +1 -1
- package/dist/chunks/{tool-output-xy08ds9x.js → job-n1nx5qrt.js} +12 -12
- package/dist/chunks/{tool-output-tdegjb08.js → job-n6x0hvgd.js} +14 -14
- package/dist/chunks/job-n7mjdw8a.js +462 -0
- package/dist/chunks/job-n95b3jav.js +18 -0
- package/dist/chunks/{tool-output-dym5mc0w.js → job-ne989dng.js} +9 -9
- package/dist/chunks/{tool-output-g4bd99vw.js → job-nepyd80j.js} +16 -16
- package/dist/chunks/{tool-output-9e47yq11.js → job-ngts6ef0.js} +9 -9
- package/dist/chunks/{tool-output-32yqznb7.js → job-ngx9j5n7.js} +21 -21
- package/dist/chunks/{tool-output-nhy5jxhy.js → job-nhy5jxhy.js} +1 -1
- package/dist/chunks/{tool-output-5ns0hmk4.js → job-nq0ndpqh.js} +37 -37
- package/dist/chunks/{tool-output-eraanh1f.js → job-nv5vn7qx.js} +6 -6
- package/dist/chunks/{tool-output-nn7883ae.js → job-nvez6yjy.js} +50 -50
- package/dist/chunks/{tool-output-ex94xgb3.js → job-p2k8yj8g.js} +15 -15
- package/dist/chunks/{tool-output-0f9afca0.js → job-p44d8wdy.js} +5 -5
- package/dist/chunks/{tool-output-1sw69r4e.js → job-pccq6abf.js} +15 -15
- package/dist/chunks/{tool-output-33nevm3v.js → job-pf4ag2jn.js} +34 -34
- package/dist/chunks/{tool-output-y68xz9fb.js → job-ph6t2mdm.js} +22 -22
- package/dist/chunks/{tool-output-0y6ej3m2.js → job-phr9a6m0.js} +47 -47
- package/dist/chunks/{tool-output-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-output-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{tool-output-m2d0j7c0.js → job-pnv527nz.js} +9 -9
- package/dist/chunks/{tool-output-48w4w6ne.js → job-ppt7x97n.js} +15 -15
- package/dist/chunks/{tool-output-vp702ess.js → job-pq3g4fff.js} +13 -13
- package/dist/chunks/{tool-output-mjydk635.js → job-pqd1mzxt.js} +9 -9
- package/dist/chunks/{tool-output-gbt50e34.js → job-q0kqdcn6.js} +26 -26
- package/dist/chunks/{tool-output-ddkxxk60.js → job-q2d66v75.js} +20 -20
- package/dist/chunks/{tool-output-9cxz2p3g.js → job-qes2k3jx.js} +16 -16
- package/dist/chunks/{tool-output-eyqffhkg.js → job-qgp8zp4q.js} +25 -25
- package/dist/chunks/{tool-output-z3dhw9aw.js → job-qmajteq1.js} +26 -26
- package/dist/chunks/{tool-output-3081eqt5.js → job-qqb9cay3.js} +9 -9
- package/dist/chunks/{tool-output-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-output-vz6wxk13.js → job-qsyea6f9.js} +15 -15
- package/dist/chunks/{tool-output-tsn7a10h.js → job-qtma8z35.js} +15 -15
- package/dist/chunks/{tool-output-h6nbnr35.js → job-qw4e7zjd.js} +14 -14
- package/dist/chunks/{tool-output-5q8917fr.js → job-r9asyhme.js} +11 -11
- package/dist/chunks/{tool-output-r9mregkx.js → job-r9mregkx.js} +2 -2
- package/dist/chunks/{tool-output-gfqzzqy5.js → job-r9njkn2h.js} +9 -9
- package/dist/chunks/{tool-output-1xsnzhxk.js → job-r9we50jt.js} +25 -25
- package/dist/chunks/{tool-output-9kvbt2b0.js → job-rmmkwdem.js} +169 -169
- package/dist/chunks/{tool-output-gd35dwva.js → job-rnvsv9qp.js} +14 -14
- package/dist/chunks/{tool-output-mxy7bqqm.js → job-rr4zqxht.js} +4 -4
- package/dist/chunks/{tool-output-z5893sa5.js → job-rtr77gbg.js} +46 -46
- package/dist/chunks/{tool-output-rrhh8349.js → job-rxz6bkw1.js} +28 -28
- package/dist/chunks/{tool-output-wg0fnz40.js → job-rzb9r8hj.js} +38 -38
- package/dist/chunks/{tool-output-29pd7jmr.js → job-s6yfxd82.js} +4 -4
- package/dist/chunks/{tool-output-qjr7sh6r.js → job-s8fzv502.js} +7 -7
- package/dist/chunks/{tool-output-vve6xm6r.js → job-sapgmee8.js} +20 -20
- package/dist/chunks/{tool-output-82ypv6pv.js → job-stzaxg6d.js} +29 -29
- package/dist/chunks/{tool-output-cp507nym.js → job-swm5zkc7.js} +5 -5
- package/dist/chunks/{tool-output-6xvztx9x.js → job-t08rskcp.js} +20 -20
- package/dist/chunks/{tool-output-fk7wkjv4.js → job-t1aepcmv.js} +13 -13
- package/dist/chunks/{tool-output-34rkz0x9.js → job-t2fc4mz5.js} +7 -7
- package/dist/chunks/{tool-output-9vtsvkk2.js → job-t6msp11s.js} +6 -6
- package/dist/chunks/{tool-output-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-output-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-output-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{tool-output-pa8pe2x7.js → job-tpw6cwsb.js} +8 -8
- package/dist/chunks/{tool-output-s143544w.js → job-ttmf09qd.js} +13 -13
- package/dist/chunks/{tool-output-tvtrv512.js → job-tvtrv512.js} +1 -1
- package/dist/chunks/{tool-output-81swgkk7.js → job-v33xfvcj.js} +9 -9
- package/dist/chunks/{tool-output-51d9jexv.js → job-v3kx3386.js} +11 -11
- package/dist/chunks/{tool-output-bep0w5gt.js → job-v84z85pp.js} +9 -9
- package/dist/chunks/{tool-output-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-output-wcge806m.js → job-vkxpz7g2.js} +4 -4
- package/dist/chunks/{tool-output-vzcthcp8.js → job-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-output-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-output-n10ns13s.js → job-w49xm5fj.js} +8 -8
- package/dist/chunks/{tool-output-53h6jvr4.js → job-w6qfaagh.js} +16 -16
- package/dist/chunks/{tool-output-k9e137ey.js → job-wa3vagtd.js} +15 -15
- package/dist/chunks/{tool-output-yqtqx2tb.js → job-wavq5vqb.js} +1 -1
- package/dist/chunks/{tool-output-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{tool-output-depwzj9d.js → job-wk5z6jzv.js} +9 -9
- package/dist/chunks/{tool-output-eh7kfqe7.js → job-wtpfsk05.js} +21 -21
- package/dist/chunks/{tool-output-fjqhqcz7.js → job-x1ayndpw.js} +24 -24
- package/dist/chunks/{tool-output-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-output-xn5rvdk3.js → job-x8gz1y8e.js} +8 -8
- package/dist/chunks/{tool-output-9k24p8hs.js → job-xnhhv6qr.js} +20 -20
- package/dist/chunks/{tool-output-atmy3q3t.js → job-xnqrd04x.js} +13 -13
- package/dist/chunks/{tool-output-gsezjzb9.js → job-xpkcfpne.js} +20 -20
- package/dist/chunks/{tool-output-983zejhe.js → job-y16464wz.js} +32 -32
- package/dist/chunks/{tool-output-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-output-tw82j2bg.js → job-y3tkmzj7.js} +22 -22
- package/dist/chunks/{tool-output-y71avatq.js → job-y71avatq.js} +1 -1
- package/dist/chunks/{tool-output-fkt296b9.js → job-y7g06hay.js} +16 -16
- package/dist/chunks/{tool-output-97fmyryk.js → job-ybhbtxjg.js} +3 -3
- package/dist/chunks/{tool-output-rk3xpj8q.js → job-ycejwvtx.js} +11 -11
- package/dist/chunks/{tool-output-hnr5yq9h.js → job-yjptyezs.js} +5 -5
- package/dist/chunks/{tool-output-1acjjqhc.js → job-yp2x3t23.js} +4 -4
- package/dist/chunks/{tool-output-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-output-yrznvahk.js → job-yrznvahk.js} +2 -2
- package/dist/chunks/{tool-output-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-output-qjzr9d90.js → job-z0v4hsh2.js} +9 -9
- package/dist/chunks/{tool-output-bvbrzwy4.js → job-z2yhn1jz.js} +7 -7
- package/dist/chunks/{tool-output-z63w68vq.js → job-z63w68vq.js} +2 -2
- package/dist/chunks/{tool-output-m1t2h00z.js → job-zcrm4481.js} +9 -9
- package/dist/chunks/{tool-output-zeh9ct20.js → job-zeh9ct20.js} +2 -2
- package/dist/chunks/{tool-output-rkd9zq17.js → job-zq3a93d4.js} +22 -22
- package/dist/chunks/{tool-output-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-output-sdwfzfqg.js → job-zrk62573.js} +16 -16
- package/dist/chunks/{tool-output-q5asdkn4.js → job-zvt5dnpc.js} +4 -4
- package/dist/chunks/{tool-output-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 +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +99 -99
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +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 +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +69 -69
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +91 -91
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -84
- package/dist/generate.js +94 -94
- package/dist/git.js +8 -8
- 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 +354 -354
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +351 -351
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +75 -75
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +119 -119
- 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 +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- 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 +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +85 -85
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +90 -90
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +128 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -102
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +3 -3
- 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 +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- 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 +171 -171
- package/dist/session/shell.js +133 -133
- package/dist/session/skill.js +100 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- 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 +121 -121
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/tool-output-0mesazry.js +0 -4
- package/dist/chunks/tool-output-5zrr549n.js +0 -247
- package/dist/chunks/tool-output-7apsgyan.js +0 -26
- package/dist/chunks/tool-output-bjr9n51k.js +0 -462
- package/dist/chunks/tool-output-vnkjks7b.js +0 -18
- /package/dist/chunks/{tool-output-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-output-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-output-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-output-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-output-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-output-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-output-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-output-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-output-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-output-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-output-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-output-3w5fmr99.js → job-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-output-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-output-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-output-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-output-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-output-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-output-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-output-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-output-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-output-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-output-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-output-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-output-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-output-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-output-922hggd3.js → job-922hggd3.js} +0 -0
- /package/dist/chunks/{tool-output-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-output-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-output-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-output-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-output-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-output-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-output-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-output-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-output-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-output-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-output-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-output-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-output-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-output-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-output-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-output-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-output-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-output-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-output-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-output-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-output-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-output-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-output-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-output-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-output-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-output-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-output-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-output-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-output-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-output-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-output-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-output-hjbc5kem.js → job-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-output-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-output-hrnqkpcd.js → job-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{tool-output-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-output-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-output-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-output-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-output-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-output-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-output-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-output-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-output-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-output-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-output-paphc93g.js → job-paphc93g.js} +0 -0
- /package/dist/chunks/{tool-output-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-output-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-output-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-output-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-output-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-output-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-output-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-output-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-output-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-output-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-output-twg0f83k.js → job-twg0f83k.js} +0 -0
- /package/dist/chunks/{tool-output-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-output-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-output-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-output-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-output-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-output-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-output-y8cydn3q.js → job-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-output-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-output-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-output-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-output-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./job-a17g06ed.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input9,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin41,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name9 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input9 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input5 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input9.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin41 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service58;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name9,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description3,
|
|
104
|
+
input: Input9,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin5 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name9,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name9, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input9, Plugin41, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service68,
|
|
3
|
+
node73
|
|
4
|
+
} from "./job-deft6591.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service39
|
|
7
|
+
} from "./job-n95b3jav.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service17,
|
|
10
|
+
node21
|
|
11
|
+
} from "./job-nq0ndpqh.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node16
|
|
14
|
+
} from "./job-q2d66v75.js";
|
|
15
15
|
import {
|
|
16
16
|
node4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-fnjmrqm4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
24
24
|
__export(exports_refresh, {
|
|
25
25
|
WorktreeRefresh: () => exports_refresh,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node3
|
|
27
27
|
});
|
|
28
28
|
import { Effect, Layer } from "effect";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
|
-
const location = yield*
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
31
|
+
const location = yield* Service68;
|
|
32
|
+
const plugins = yield* Service39;
|
|
33
|
+
const worktrees = yield* Service17;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
37
37
|
}));
|
|
38
|
-
var
|
|
38
|
+
var node3 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node21, node73, node16, node4]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { node3, exports_refresh };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-gv9pfq09.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service68,
|
|
12
|
+
node73
|
|
13
|
+
} from "./job-deft6591.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info4,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service18,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node22
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service18 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service68;
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service18.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node22 = makeLocationNode({
|
|
165
|
+
service: Service18,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node73, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service18, node22, exports_vcs };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID18
|
|
3
|
+
} from "./job-33n3bzdy.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID18.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID18.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-a17g06ed.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin29
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin29 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin29, exports_plan };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make18,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-0gdmqesm.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-a17g06ed.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service33,
|
|
13
|
+
node38
|
|
14
|
+
} from "./job-nvez6yjy.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
17
|
name13
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-04nkpb80.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./job-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
24
|
+
var exports_instructions4 = {};
|
|
25
|
+
__export(exports_instructions4, {
|
|
26
|
+
McpInstructions: () => exports_instructions4,
|
|
27
|
+
Service: () => Service31,
|
|
28
|
+
layer: () => layer12,
|
|
29
|
+
node: () => node36
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,16 +62,16 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service31 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service33;
|
|
69
|
+
return Service31.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make18({
|
|
75
75
|
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -100,6 +100,6 @@ var layer10 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node36 = makeLocationNode({ service: Service31, layer: layer12, deps: [node38] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service31, layer12, node36, exports_instructions4 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry3,
|
|
11
|
+
Info: () => Info17,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry3 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info17 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info17, exports_lsp };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-33n3bzdy.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service74,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node79
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID18,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service74 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service74.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node79 = makeLocationNode({ service: Service74, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service74, locationLayer2, node79, exports_aisdk };
|