@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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-eatkrtr4.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-ctbj8s8t.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-gv9pfq09.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service65,
|
|
17
|
+
node69
|
|
18
|
+
} from "./job-sapgmee8.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./job-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./job-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event11,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info19,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service55,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node58
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event11 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info19 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service55 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service79;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service65;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info19.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info19.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service55.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node58 = makeLocationNode({
|
|
116
|
+
service: Service55,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node84,
|
|
118
|
+
deps: [Global.node, node84, node69]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info19, Service55, node58, exports_reference2, Event11 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-648q9dvv.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-gv9pfq09.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./job-41hc3ma8.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-qmajteq1.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID18,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-33n3bzdy.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID14.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
165
|
const bus = yield* Service79;
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID18.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -222,9 +222,9 @@ var OpenAIPlugin2 = define({
|
|
|
222
222
|
evt.baseURL = codexBaseURL;
|
|
223
223
|
evt.headers.originator = "opencode";
|
|
224
224
|
evt.headers["session-id"] = evt.sessionID;
|
|
225
|
-
}), { providerID:
|
|
225
|
+
}), { providerID: ID18.openai });
|
|
226
226
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
227
|
-
yield* bus.subscribe(
|
|
227
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
})
|
|
229
229
|
});
|
|
230
230
|
function headers(contentType, app) {
|
|
@@ -315,4 +315,4 @@ function claim(token) {
|
|
|
315
315
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
export {
|
|
318
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service54,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node57
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service54 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(Service54, 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);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service54.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node57 = makeLocationNode({
|
|
143
|
+
service: Service54,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service54, node57, exports_tool_output2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./job-k9m849z2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./job-ff0htmxq.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-n95b3jav.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service45;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service42), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info15
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info15 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info15, exports_attachment };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-3gv83b7t.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-gv9pfq09.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service78,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service78 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info31({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service78.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info31({
|
|
80
|
+
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node83 = makeGlobalNode({ service: Service78, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service78, node83, exports_credential };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service53,
|
|
3
|
+
node56
|
|
4
|
+
} from "./job-ph6t2mdm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service68,
|
|
7
|
+
node73
|
|
8
|
+
} from "./job-deft6591.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service52,
|
|
11
|
+
node55
|
|
12
|
+
} from "./job-4hx14hj9.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service3,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer4,
|
|
28
|
+
node: () => node5
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service52;
|
|
40
|
+
const watcher = yield* Service53;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service68;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service3.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node5 = makeLocationNode({
|
|
74
|
+
service: Service3,
|
|
75
|
+
layer: layer4,
|
|
76
|
+
deps: [node55, FSUtil.node, node56, node73]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service3,
|
|
80
|
+
layer: Layer.succeed(Service3, Service3.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service3, layer4, node5, empty2, exports_source };
|