@opencode/core 0.0.0-dev-19528 → 0.0.0-dev-19530
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 +74 -74
- package/dist/catalog.js +84 -84
- package/dist/chunks/{file-jcgwdjtk.js → model-0247gmrw.js} +17 -17
- package/dist/chunks/{file-pvfkhdr6.js → model-03y65m91.js} +4 -4
- package/dist/chunks/{file-0artwwxx.js → model-0artwwxx.js} +1 -1
- package/dist/chunks/{file-6ah4wrp0.js → model-0cebr7hk.js} +4 -4
- package/dist/chunks/{file-p6dq1g3m.js → model-0d16ff4w.js} +30 -30
- package/dist/chunks/{file-en7aa967.js → model-0m04t0a0.js} +16 -16
- package/dist/chunks/{file-0paq2nw3.js → model-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0pb75hch.js → model-0pb75hch.js} +1 -1
- package/dist/chunks/{file-0q0f95c6.js → model-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-jkhg65pf.js → model-0s3pzcqz.js} +8 -8
- package/dist/chunks/{file-cs88ywcc.js → model-0sfsr3zt.js} +20 -20
- package/dist/chunks/{file-qhyy3z7t.js → model-0snep097.js} +23 -23
- package/dist/chunks/{file-bscb95cy.js → model-19yq3b24.js} +6 -6
- package/dist/chunks/{file-gd8cvna8.js → model-1cd9yk0n.js} +20 -20
- package/dist/chunks/{file-mv3cjtdy.js → model-1crpa11v.js} +32 -32
- package/dist/chunks/{file-1dazxqgg.js → model-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-s2297spr.js → model-1f3wjap0.js} +23 -23
- package/dist/chunks/{file-5wn696jm.js → model-1gbs1kbt.js} +9 -9
- package/dist/chunks/{file-qbkv1r9x.js → model-1kcksn9e.js} +30 -30
- package/dist/chunks/{file-hxbh4fj6.js → model-1v6ba5ez.js} +16 -16
- package/dist/chunks/{file-sd4j1pxm.js → model-20355881.js} +9 -9
- package/dist/chunks/{file-219neeqh.js → model-219neeqh.js} +2 -2
- package/dist/chunks/{file-21r38tys.js → model-21r38tys.js} +1 -1
- package/dist/chunks/{file-6wfz0872.js → model-257a402r.js} +13 -13
- package/dist/chunks/{file-cqy54w6w.js → model-25gn6xf8.js} +8 -8
- package/dist/chunks/{file-265kqrgy.js → model-265kqrgy.js} +1 -1
- package/dist/chunks/{file-2a5m3afh.js → model-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-1szq9ecp.js → model-2fwd9rb4.js} +13 -13
- package/dist/chunks/{file-0jwsre1p.js → model-2k8khapm.js} +5 -5
- package/dist/chunks/{file-9d5tvsq8.js → model-2xrspd6r.js} +22 -22
- package/dist/chunks/{file-z7g31g5b.js → model-31jd4e8t.js} +1 -1
- package/dist/chunks/{file-33n3bzdy.js → model-33n3bzdy.js} +1 -1
- package/dist/chunks/{file-mfqp6xfm.js → model-33w4ejhs.js} +9 -9
- package/dist/chunks/{file-ab9238g2.js → model-35agz59w.js} +6 -6
- package/dist/chunks/{file-35wynegs.js → model-35wynegs.js} +2 -2
- package/dist/chunks/{file-84kam919.js → model-3ad4bd0a.js} +7 -7
- package/dist/chunks/{file-rs36rx17.js → model-3d6q6ejm.js} +22 -22
- package/dist/chunks/{file-gdvy8fx6.js → model-3fc6dm20.js} +4 -4
- package/dist/chunks/{file-frwkzbx8.js → model-3hdw1vhc.js} +54 -54
- package/dist/chunks/{file-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-6e2rzpgk.js → model-3hf7z3yq.js} +11 -11
- package/dist/chunks/{file-y8p3zjbc.js → model-3rqkssp8.js} +8 -8
- package/dist/chunks/{file-3smtnn6g.js → model-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-tn0aqsam.js → model-3w0fmcng.js} +5 -5
- package/dist/chunks/{file-818pfwc9.js → model-45fdndrg.js} +8 -8
- package/dist/chunks/{file-xb0gqag0.js → model-4mddsdbt.js} +19 -19
- package/dist/chunks/{file-4y66k410.js → model-4y66k410.js} +2 -2
- package/dist/chunks/{file-7673p22n.js → model-5akxe5k1.js} +5 -5
- package/dist/chunks/{file-s07qazfk.js → model-5b2dqtre.js} +7 -7
- package/dist/chunks/{file-rsdf2nvv.js → model-5c0f1prt.js} +4 -4
- package/dist/chunks/{file-5daktx2q.js → model-5daktx2q.js} +1 -1
- package/dist/chunks/{file-csv2z0zd.js → model-5hac0djz.js} +296 -296
- package/dist/chunks/{file-qn41sexy.js → model-5kqd1r0d.js} +88 -88
- package/dist/chunks/{file-zs2arz1s.js → model-5nyvja88.js} +14 -14
- package/dist/chunks/{file-1zhrd577.js → model-5q82gfck.js} +7 -7
- package/dist/chunks/{file-h3jtbnzr.js → model-5rgh8ask.js} +20 -20
- package/dist/chunks/{file-5t3nmthw.js → model-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-0jtbt960.js → model-5tgjep30.js} +4 -4
- package/dist/chunks/{file-669tq793.js → model-669tq793.js} +1 -1
- package/dist/chunks/{file-r2hc3hm0.js → model-677w9byw.js} +10 -10
- package/dist/chunks/{file-wxpbfje7.js → model-6895yszx.js} +15 -15
- package/dist/chunks/{file-539jk4fq.js → model-6bsje7ws.js} +3 -3
- package/dist/chunks/{file-04amdepk.js → model-6csep4d6.js} +24 -24
- package/dist/chunks/{file-2402vzrj.js → model-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-6jnybvqn.js → model-6jnybvqn.js} +2 -2
- package/dist/chunks/{file-fk07q997.js → model-6kny798m.js} +30 -30
- package/dist/chunks/{file-6msgmcgs.js → model-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-9v254cxg.js → model-6pnccst9.js} +23 -23
- package/dist/chunks/{file-x02aksw7.js → model-6psebnbx.js} +28 -28
- package/dist/chunks/{file-s0gw9m46.js → model-6rbveq4m.js} +4 -4
- package/dist/chunks/{file-1x75wf9g.js → model-6vq97qmv.js} +5 -5
- package/dist/chunks/{file-70d2s7af.js → model-70d2s7af.js} +1 -1
- package/dist/chunks/{file-71q4at8m.js → model-71q4at8m.js} +1 -1
- package/dist/chunks/{file-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-8wsye86r.js → model-7m5f9412.js} +8 -8
- package/dist/chunks/{file-zte42zvw.js → model-7pkhtfns.js} +12 -12
- package/dist/chunks/{file-k1vfbhap.js → model-7y4pbgtc.js} +15 -15
- package/dist/chunks/{file-tcezcvh9.js → model-89znhe33.js} +4 -4
- package/dist/chunks/{file-8d7r5vzw.js → model-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-14qwvs7b.js → model-8e5vt1qx.js} +28 -28
- package/dist/chunks/{file-gytrcvhg.js → model-8n9190v4.js} +9 -9
- package/dist/chunks/{file-8p4f9s12.js → model-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-dkbmr5pe.js → model-91xeb72v.js} +11 -11
- package/dist/chunks/{file-m95xzgpp.js → model-91y7rpnn.js} +4 -4
- package/dist/chunks/{file-7f05ey4a.js → model-97mdmb9a.js} +18 -18
- package/dist/chunks/{file-fpv6qd1b.js → model-99em0p16.js} +8 -8
- package/dist/chunks/{file-q79ez36s.js → model-9d3a58tj.js} +13 -13
- package/dist/chunks/{file-rfw2p3w1.js → model-9n8nxpxn.js} +22 -22
- package/dist/chunks/{file-41mmd9y1.js → model-9q9jdv8e.js} +32 -32
- package/dist/chunks/{file-7cewpcy1.js → model-9s353mxg.js} +18 -18
- package/dist/chunks/{file-f2pfnty7.js → model-a04ypazz.js} +37 -37
- package/dist/chunks/{file-02tcf4dd.js → model-a0mw1hja.js} +15 -15
- package/dist/chunks/{file-a1bz86dw.js → model-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-7gch6zg2.js → model-a5r6p83p.js} +19 -19
- package/dist/chunks/{file-ajvgy2xn.js → model-a6kqfaee.js} +9 -9
- package/dist/chunks/{file-htmns1y3.js → model-a9759q1q.js} +6 -6
- package/dist/chunks/{file-aaet6srn.js → model-aaet6srn.js} +2 -2
- package/dist/chunks/{file-zcf49hx1.js → model-ajegdr06.js} +24 -24
- package/dist/chunks/{file-jv85zyec.js → model-aqjqj2ff.js} +6 -6
- package/dist/chunks/{file-ghe2dkz9.js → model-atjxpbab.js} +37 -37
- package/dist/chunks/{file-vyk9kkx4.js → model-ayv404k4.js} +4 -4
- package/dist/chunks/{file-wx9wy1qm.js → model-b3t12aqp.js} +1 -1
- package/dist/chunks/{file-b6gygkdw.js → model-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-fxqygnfa.js → model-bajakh74.js} +4 -4
- package/dist/chunks/{file-z5ktvhxm.js → model-bgtgk6cp.js} +9 -9
- package/dist/chunks/{file-zvrekwpq.js → model-brp8zeym.js} +6 -6
- package/dist/chunks/{file-6gegejpr.js → model-bv88jg6f.js} +37 -37
- package/dist/chunks/{file-p4ncety1.js → model-bvg29jbq.js} +18 -18
- package/dist/chunks/{file-fhzfzy7c.js → model-bvha1vq7.js} +10 -10
- package/dist/chunks/{file-8eaqqbf0.js → model-bya8prfn.js} +6 -6
- package/dist/chunks/{file-4t3xbkmp.js → model-bya8x26g.js} +8 -8
- package/dist/chunks/{file-h1pzvny1.js → model-bz2p45ry.js} +28 -28
- package/dist/chunks/{file-j00tdnw6.js → model-c0pa16pn.js} +6 -6
- package/dist/chunks/{file-h1jj9pag.js → model-c179hq9v.js} +38 -38
- package/dist/chunks/{file-x0cdxhvm.js → model-c462van6.js} +31 -31
- package/dist/chunks/{file-wd251cp4.js → model-c5nvra9m.js} +2 -2
- package/dist/chunks/{file-31z4jcxr.js → model-cebcabsx.js} +57 -57
- package/dist/chunks/{file-cfpkc3c9.js → model-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-d3gk90dh.js → model-cq9pat89.js} +26 -26
- package/dist/chunks/{file-cvtmmhw6.js → model-cvtmmhw6.js} +1 -1
- package/dist/chunks/{file-kf46snkd.js → model-cw6d4prj.js} +17 -17
- package/dist/chunks/{file-22g66rc5.js → model-czs7xmcn.js} +15 -15
- package/dist/chunks/{file-9ennmngc.js → model-cztasbnk.js} +16 -16
- package/dist/chunks/{file-x64f48yq.js → model-dgdas7td.js} +18 -18
- package/dist/chunks/{file-6t0q9r78.js → model-dn3t1y0q.js} +38 -38
- package/dist/chunks/{file-5trk58xb.js → model-dnc4tg6k.js} +8 -8
- package/dist/chunks/{file-vesrk8bq.js → model-dq8fe4ed.js} +9 -9
- package/dist/chunks/{file-1a4wx43g.js → model-dwgpa5q5.js} +28 -28
- package/dist/chunks/{file-26b1weyt.js → model-e4f6pw00.js} +25 -25
- package/dist/chunks/{file-910fycqc.js → model-e5yeyj5b.js} +11 -11
- package/dist/chunks/{file-qjnxxf51.js → model-e6hmchc5.js} +5 -5
- package/dist/chunks/{file-0ynyzna2.js → model-e758m3vy.js} +12 -12
- package/dist/chunks/{file-etq0c3wd.js → model-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-zad2r4qh.js → model-ev82ehxs.js} +24 -24
- package/dist/chunks/{file-fege0r9h.js → model-exatzf7p.js} +18 -18
- package/dist/chunks/{file-e6z0mwk1.js → model-f1zva5d5.js} +5 -5
- package/dist/chunks/{file-d9h41z9h.js → model-f24vq1c7.js} +27 -27
- package/dist/chunks/{file-f828m53h.js → model-f828m53h.js} +2 -2
- package/dist/chunks/{file-v5j4d43x.js → model-ff0svapt.js} +2 -2
- package/dist/chunks/{file-s23yxtty.js → model-fvkgc8rm.js} +13 -13
- package/dist/chunks/{file-fxbjtjnd.js → model-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-cd4k6mez.js → model-g3vfgj64.js} +13 -13
- package/dist/chunks/model-gbadjzag.js +4 -0
- package/dist/chunks/{file-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-414nmt5b.js → model-gg3hj2sp.js} +22 -22
- package/dist/chunks/{file-e6mw24qv.js → model-gkt6z8r9.js} +20 -20
- package/dist/chunks/{file-gv6a8nnw.js → model-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-h03wrkyp.js → model-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-0r9tn05x.js → model-h56egzzg.js} +4 -4
- package/dist/chunks/{file-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-f06f3n70.js → model-hjejd8rj.js} +13 -13
- package/dist/chunks/{file-shrpy2d8.js → model-hq8zt1th.js} +6 -6
- package/dist/chunks/{file-kp8nr7sd.js → model-htza7hdd.js} +24 -24
- package/dist/chunks/{file-rtd9zf3v.js → model-hxevvepb.js} +47 -47
- package/dist/chunks/{file-d0xr2htc.js → model-hyhy14jr.js} +25 -25
- package/dist/chunks/{file-vt5pzj5z.js → model-j181hgc5.js} +10 -10
- package/dist/chunks/{file-j56e64zr.js → model-j56e64zr.js} +1 -1
- package/dist/chunks/{file-pm2x09cs.js → model-jerxsvsx.js} +29 -29
- package/dist/chunks/{file-xwbwee27.js → model-jj5vypy3.js} +36 -36
- package/dist/chunks/{file-43q9fha5.js → model-jv3cv6p3.js} +10 -10
- package/dist/chunks/{file-y71avatq.js → model-jwcy2c2z.js} +4 -4
- package/dist/chunks/{file-47hzwb35.js → model-jx3c22rf.js} +11 -11
- package/dist/chunks/{file-kg06axw8.js → model-kg06axw8.js} +1 -1
- package/dist/chunks/{file-6tn8gt44.js → model-m7bfq9wr.js} +7 -7
- package/dist/chunks/{file-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-d2yvvzw2.js → model-mb2y4s57.js} +12 -12
- package/dist/chunks/{file-ydee2bp2.js → model-mdy2tqts.js} +43 -43
- package/dist/chunks/{file-mhkvc446.js → model-mhkvc446.js} +1 -1
- package/dist/chunks/{file-arxy3m15.js → model-mkhznv56.js} +9 -9
- package/dist/chunks/{file-q1r1ttcv.js → model-mtc9q228.js} +31 -31
- package/dist/chunks/{file-esj243wz.js → model-mwr2btvq.js} +9 -9
- package/dist/chunks/{file-mz6ae2yf.js → model-mz6ae2yf.js} +1 -1
- package/dist/chunks/{file-78qgck3m.js → model-n4m2mkxj.js} +12 -12
- package/dist/chunks/{file-dakg7qy7.js → model-n649fndv.js} +5 -5
- package/dist/chunks/{file-4dc4y0ze.js → model-n7hjcbvg.js} +11 -11
- package/dist/chunks/{file-4wgca9tc.js → model-ncxt770z.js} +8 -8
- package/dist/chunks/{file-47gsdddb.js → model-nhy5jxhy.js} +5 -5
- package/dist/chunks/{file-3ws8f5dp.js → model-nn17eg7m.js} +23 -23
- package/dist/chunks/{file-40s62c95.js → model-nncchp3m.js} +5 -5
- package/dist/chunks/model-nnzt82h0.js +26 -0
- package/dist/chunks/{file-50qh24n3.js → model-npevzfsy.js} +11 -11
- package/dist/chunks/{file-prbnmmzj.js → model-nv5vn7qx.js} +8 -8
- package/dist/chunks/{file-rya1a4hz.js → model-p2h53nt6.js} +26 -26
- package/dist/chunks/{file-xt5erzss.js → model-p52t23z3.js} +38 -38
- package/dist/chunks/{file-y1k8ht98.js → model-p6sp61vg.js} +34 -34
- package/dist/chunks/{file-qx7mza5y.js → model-p87gvwbv.js} +12 -12
- package/dist/chunks/{file-b1rr2bsg.js → model-pdy42dnd.js} +29 -29
- package/dist/chunks/{file-kv8awt1x.js → model-phc8pspp.js} +3 -3
- package/dist/chunks/model-phz3h32g.js +18 -0
- package/dist/chunks/{file-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{file-nhkphzvf.js → model-pqwf4bge.js} +2 -2
- package/dist/chunks/{file-zc8d7jvw.js → model-ps77swb3.js} +3 -3
- package/dist/chunks/{file-jxmh29vv.js → model-pwqcks32.js} +5 -5
- package/dist/chunks/{file-hsypa6ar.js → model-px2sqpay.js} +14 -14
- package/dist/chunks/{file-vh74bm19.js → model-q13p9eja.js} +17 -17
- package/dist/chunks/{file-9p392py6.js → model-q44n8009.js} +17 -17
- package/dist/chunks/{file-trt71rst.js → model-qa2mkktq.js} +36 -36
- package/dist/chunks/{file-dnrxcw6z.js → model-qbngxwj5.js} +20 -20
- package/dist/chunks/{file-3z7p1693.js → model-qfpa574x.js} +16 -16
- package/dist/chunks/model-qj7q8b1b.js +247 -0
- package/dist/chunks/{file-g190xswt.js → model-qj8eh1ht.js} +4 -4
- package/dist/chunks/{file-35bt1vh1.js → model-qrq421eh.js} +22 -22
- package/dist/chunks/{file-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{file-w4s8a7wb.js → model-qwrxphsy.js} +16 -16
- package/dist/chunks/{file-rkzx19zq.js → model-r0gpwmmm.js} +15 -15
- package/dist/chunks/{file-5eb8dst9.js → model-r0ztwh7r.js} +68 -68
- package/dist/chunks/{file-22km3b5w.js → model-r8x9m1qg.js} +28 -28
- package/dist/chunks/{file-r9mregkx.js → model-r9mregkx.js} +2 -2
- package/dist/chunks/{file-n3ztrd94.js → model-rr6fm4cb.js} +32 -32
- package/dist/chunks/{file-xwwz9aqf.js → model-s0esgemt.js} +4 -4
- package/dist/chunks/{file-hvbks3tt.js → model-s8bz6z4k.js} +8 -8
- package/dist/chunks/{file-ahr8cyhk.js → model-se0t50fj.js} +20 -20
- package/dist/chunks/{file-gf2pd57e.js → model-sgfa6f2r.js} +4 -4
- package/dist/chunks/{file-v8h4em9y.js → model-sh0rasge.js} +47 -47
- package/dist/chunks/{file-sp4mxhmb.js → model-sp8m6a9q.js} +9 -9
- package/dist/chunks/{file-4en15s67.js → model-sxwk9xb8.js} +22 -22
- package/dist/chunks/{file-fjmrr6sh.js → model-t0x5rdq8.js} +9 -9
- package/dist/chunks/{file-02nrjc1r.js → model-t550f9t1.js} +8 -8
- package/dist/chunks/{file-1t7r1zm4.js → model-t8na6qa3.js} +15 -15
- package/dist/chunks/{file-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{file-xvqmdntd.js → model-tsfgabrd.js} +41 -41
- package/dist/chunks/{file-rbfaw35k.js → model-ttzta52k.js} +34 -34
- package/dist/chunks/{file-tvtrv512.js → model-tvtrv512.js} +1 -1
- package/dist/chunks/{file-c03p6rem.js → model-v0pkrfgq.js} +11 -11
- package/dist/chunks/{file-2hyh68ab.js → model-v4hmzr0r.js} +8 -8
- package/dist/chunks/{file-sxz6gkc3.js → model-v5dkyp31.js} +7 -7
- package/dist/chunks/{file-zd5ckerx.js → model-v6a8s5gf.js} +26 -26
- package/dist/chunks/{file-fezapags.js → model-v7bpw0rx.js} +16 -16
- package/dist/chunks/{file-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{file-93t9nhp2.js → model-vf5jgz4g.js} +40 -40
- package/dist/chunks/{file-b1ngvqv8.js → model-vfqqz6ex.js} +9 -9
- package/dist/chunks/{file-k4qrwsy9.js → model-vg018stg.js} +50 -50
- package/dist/chunks/{file-j83byb14.js → model-vncycja5.js} +4 -4
- package/dist/chunks/{file-25tefzdk.js → model-vshq87yh.js} +32 -32
- package/dist/chunks/{file-gvraedsa.js → model-vtjb7z8s.js} +24 -24
- package/dist/chunks/{file-vzcthcp8.js → model-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-s9yxznb6.js → model-vze96k0n.js} +4 -4
- package/dist/chunks/{file-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-yaq7yvs3.js → model-w5me5d90.js} +14 -14
- package/dist/chunks/{file-rmn58emj.js → model-w6tw9skw.js} +11 -11
- package/dist/chunks/{file-wavq5vqb.js → model-wavq5vqb.js} +1 -1
- package/dist/chunks/{file-wbysn9an.js → model-wb1tzt4d.js} +27 -27
- package/dist/chunks/{file-1nqf8bjr.js → model-wbq0a8cf.js} +33 -33
- package/dist/chunks/{file-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{file-fcfzvh6j.js → model-wgwrm75m.js} +156 -156
- package/dist/chunks/{file-6wnv8xsn.js → model-whsrbek6.js} +11 -11
- package/dist/chunks/{file-a5w130rq.js → model-wmf56hzh.js} +9 -9
- package/dist/chunks/{file-dm7r3pc5.js → model-wwcafvtr.js} +15 -15
- package/dist/chunks/{file-8qvgnq7a.js → model-wycsdkc3.js} +9 -9
- package/dist/chunks/{file-x1ezjp6w.js → model-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-1x57ve2g.js → model-xkc587sw.js} +15 -15
- package/dist/chunks/{file-vc991s6b.js → model-xtd5dz6n.js} +89 -89
- package/dist/chunks/{file-x7wsddgn.js → model-xzzk44db.js} +15 -15
- package/dist/chunks/{file-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-34va41r1.js → model-y2bvvrzc.js} +15 -15
- package/dist/chunks/{file-cqbh7drg.js → model-y5mrfvw4.js} +5 -5
- package/dist/chunks/{file-3sv6egn8.js → model-y7gk6gsz.js} +7 -7
- package/dist/chunks/{file-nbddwgy7.js → model-y7gn77t5.js} +9 -9
- package/dist/chunks/{file-z5h77yjr.js → model-y7j7ndb6.js} +47 -47
- package/dist/chunks/{file-5gachfgg.js → model-yeqyw0z5.js} +9 -9
- package/dist/chunks/{file-nfqbq3x1.js → model-yhq7b4d8.js} +11 -11
- package/dist/chunks/{file-c4p1vnej.js → model-ymca8mtq.js} +12 -12
- package/dist/chunks/{file-1acjjqhc.js → model-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-yrhqyw5v.js → model-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-yrznvahk.js → model-yrznvahk.js} +2 -2
- package/dist/chunks/{file-pecb0brz.js → model-yt0fqk68.js} +5 -5
- package/dist/chunks/{file-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-z63w68vq.js → model-z63w68vq.js} +2 -2
- package/dist/chunks/{file-0j7zpftg.js → model-z9pwsk94.js} +13 -13
- package/dist/chunks/{file-k76fn4kw.js → model-zav06jzw.js} +4 -4
- package/dist/chunks/{file-mrde2rj2.js → model-zc27a7bm.js} +4 -4
- package/dist/chunks/{file-ce0m10b2.js → model-zdrvw4c2.js} +27 -27
- package/dist/chunks/{file-zeh9ct20.js → model-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-kb4a3nmp.js → model-zm3pd5tb.js} +46 -46
- package/dist/chunks/{file-s1cnfe1p.js → model-znz7rtxh.js} +11 -11
- package/dist/chunks/{file-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +360 -360
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +5 -5
- 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 +7 -7
- 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 +353 -353
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- 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 +100 -100
- package/dist/location-service-map.js +80 -80
- package/dist/location-services.js +350 -350
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +10 -10
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- 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 +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- 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 +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- 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 +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- 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 +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- 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 +113 -113
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +1 -1
- 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 +95 -95
- package/dist/reference/instructions.js +83 -83
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- 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 +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- 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 +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- 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 +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +87 -87
- 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 +122 -122
- package/dist/tool/plugin/edit.js +112 -112
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +104 -104
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +75 -75
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/file-0mesazry.js +0 -4
- package/dist/chunks/file-1x11rq2a.js +0 -18
- package/dist/chunks/file-2nc0627s.js +0 -26
- package/dist/chunks/file-emt1axv0.js +0 -247
- /package/dist/chunks/{file-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → model-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → model-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → model-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → model-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{file-hrnqkpcd.js → model-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-paphc93g.js → model-paphc93g.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → model-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → model-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → model-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-33w4ejhs.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin17,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin17 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin20 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint4);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint4, Plugin17, exports_exa };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./model-hxevvepb.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-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: () => Input10,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin11,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name10
|
|
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 name10 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description5 = `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 Input10 = 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 Input12 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input10.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_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} 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 Plugin11 = {
|
|
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: name10,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description5,
|
|
104
|
-
input:
|
|
104
|
+
input: Input10,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin45 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name10,
|
|
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 { name10, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input10, Plugin11, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-5rgh8ask.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service73,
|
|
3
|
+
node77
|
|
4
|
+
} from "./model-v7bpw0rx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Event17,
|
|
7
7
|
Service62,
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
node65
|
|
9
|
+
} from "./model-1kcksn9e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service43,
|
|
12
|
+
node47
|
|
13
|
+
} from "./model-qbngxwj5.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service69,
|
|
19
|
+
node73
|
|
20
|
+
} from "./model-qwrxphsy.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-htza7hdd.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-jv3cv6p3.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service44,
|
|
36
|
+
Event11,
|
|
37
|
+
node48
|
|
38
|
+
} from "./model-0snep097.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./model-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options6,
|
|
48
|
+
Service: () => Service42,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured6,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer17,
|
|
53
|
+
node: () => node46,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options6 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service42 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,7 +92,7 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service42, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
97
|
function decodePreferences(text) {
|
|
98
98
|
const errors = [];
|
|
@@ -108,14 +108,14 @@ function decodePreferences(text) {
|
|
|
108
108
|
...info?.websearch === undefined ? {} : { websearch: info.websearch }
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
112
112
|
const fs = yield* FSUtil.Service;
|
|
113
|
-
const location = yield*
|
|
114
|
-
const watcher = yield*
|
|
115
|
-
const bus = yield*
|
|
113
|
+
const location = yield* Service69;
|
|
114
|
+
const watcher = yield* Service43;
|
|
115
|
+
const bus = yield* Service73;
|
|
116
116
|
const credentials = yield* Service62;
|
|
117
117
|
const globalService = yield* Global.Service;
|
|
118
|
-
const wellknown = yield*
|
|
118
|
+
const wellknown = yield* Service44;
|
|
119
119
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
120
120
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
121
121
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -184,7 +184,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
184
184
|
});
|
|
185
185
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
186
186
|
return [
|
|
187
|
-
...yield* Effect.forEach(
|
|
187
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
188
188
|
new Directory({ type: "directory", path: directory })
|
|
189
189
|
];
|
|
190
190
|
});
|
|
@@ -239,8 +239,8 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
239
239
|
}, (effect) => reloadLock.withPermit(effect));
|
|
240
240
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
241
241
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
242
|
-
yield* bus.subscribe(
|
|
243
|
-
yield* bus.subscribe(
|
|
242
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
243
|
+
yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
244
244
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
245
245
|
if (!wellknown.snapshot().length)
|
|
246
246
|
return Effect.void;
|
|
@@ -253,7 +253,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
253
253
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
254
254
|
const globalConfigPath = Effect.fn("Config.globalConfigPath")(function* () {
|
|
255
255
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
256
|
-
const candidates =
|
|
256
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
257
257
|
const existing = yield* Effect.filter(candidates, fs.isFile);
|
|
258
258
|
return existing.at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
259
259
|
});
|
|
@@ -282,7 +282,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
282
282
|
yield* requestReload;
|
|
283
283
|
return decodePreferences(updated);
|
|
284
284
|
}, (effect) => updateLock.withPermit(effect));
|
|
285
|
-
return
|
|
285
|
+
return Service42.of({
|
|
286
286
|
entries: Effect.fnUntraced(function* () {
|
|
287
287
|
return configs;
|
|
288
288
|
}),
|
|
@@ -291,13 +291,13 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
291
291
|
updatePreferences
|
|
292
292
|
});
|
|
293
293
|
}));
|
|
294
|
-
function
|
|
294
|
+
function configured6(options) {
|
|
295
295
|
return makeLocationNode({
|
|
296
|
-
service:
|
|
297
|
-
layer:
|
|
298
|
-
deps: [
|
|
296
|
+
service: Service42,
|
|
297
|
+
layer: layer17(options),
|
|
298
|
+
deps: [node47, node77, FSUtil.node, Global.node, node73, node65, node48]
|
|
299
299
|
});
|
|
300
300
|
}
|
|
301
|
-
var
|
|
301
|
+
var node46 = configured6();
|
|
302
302
|
|
|
303
|
-
export { latest2,
|
|
303
|
+
export { latest2, Options6, Service42, Test2, testLayer2, layer17, configured6, node46, exports_config };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-33n3bzdy.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service42
|
|
8
|
+
} from "./model-sh0rasge.js";
|
|
9
9
|
import {
|
|
10
10
|
observe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-qsdy395h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/config/plugin/provider.ts
|
|
17
17
|
var exports_provider = {};
|
|
18
18
|
__export(exports_provider, {
|
|
19
19
|
ConfigProviderPlugin: () => exports_provider,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin32
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin32 = define({
|
|
26
26
|
id: "opencode.config.provider",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service42;
|
|
29
29
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
30
30
|
yield* ctx.integration.transform((integrations) => {
|
|
31
31
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -159,4 +159,4 @@ function configuredProviders(entries) {
|
|
|
159
159
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
export {
|
|
162
|
+
export { Plugin32, exports_provider };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service78,
|
|
6
6
|
node82
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-y7gn77t5.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-6h73sxmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service79,
|
|
16
|
+
node83
|
|
17
|
+
} from "./model-e5yeyj5b.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service77,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node81,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service77 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service78;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service79;
|
|
110
|
+
return Service77.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node81 = makeGlobalNode({
|
|
171
|
+
service: Service77,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node82, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node82, Global.node, node83]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service77, isError2, validateBranch2, node81, exports_repository_cache };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node15
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service12.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node15 = makeLocationNode({ service: Service12, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service12, node15, exports_location_watcher_policy };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key3,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make19,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key3 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key3
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make19(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make19, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|