@opencode/core 0.0.0-dev-21109 → 0.0.0-dev-21112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{models-dev-1q4ekm1s.js → job-08zhq3v6.js} +3 -3
- package/dist/chunks/{models-dev-x230ck08.js → job-0bf787b1.js} +8 -8
- package/dist/chunks/{models-dev-mvbr08xd.js → job-0ks9zhpr.js} +47 -47
- package/dist/chunks/{models-dev-e424n3e7.js → job-0qyq0657.js} +11 -11
- package/dist/chunks/{models-dev-0vbcp93d.js → job-0vbcp93d.js} +2 -2
- package/dist/chunks/{models-dev-pj3deymp.js → job-0w52vqev.js} +17 -17
- package/dist/chunks/{models-dev-psmzd26b.js → job-0wjm486e.js} +15 -15
- package/dist/chunks/{models-dev-37cqxn50.js → job-1248teyj.js} +3 -3
- package/dist/chunks/{models-dev-aagxtpba.js → job-190jc4zy.js} +23 -23
- package/dist/chunks/{models-dev-1qaejmwp.js → job-1bfrgapb.js} +12 -12
- package/dist/chunks/{models-dev-3b50v19g.js → job-1dxcywt8.js} +1 -1
- package/dist/chunks/{models-dev-xp5djccy.js → job-1g3z0azh.js} +17 -17
- package/dist/chunks/{models-dev-wh6zw745.js → job-1pxz8ven.js} +5 -5
- package/dist/chunks/{models-dev-p0hsc1b3.js → job-1v130mpx.js} +35 -35
- package/dist/chunks/{models-dev-nqfd0r50.js → job-1v8dj1h2.js} +27 -27
- package/dist/chunks/{models-dev-86qzxe6p.js → job-1y283654.js} +4 -4
- package/dist/chunks/{models-dev-r9dgaffw.js → job-1zj7cxje.js} +47 -47
- package/dist/chunks/{models-dev-4dt8p5gd.js → job-2358bwaq.js} +43 -43
- package/dist/chunks/{models-dev-dys7k0s0.js → job-2395y7e1.js} +8 -8
- package/dist/chunks/{models-dev-p12c6vr7.js → job-247t7n51.js} +32 -32
- package/dist/chunks/{models-dev-a4nhb8xp.js → job-2txft6xz.js} +29 -29
- package/dist/chunks/{models-dev-7q3x8t4f.js → job-2ygtdfg2.js} +29 -29
- package/dist/chunks/{models-dev-h7s7r6s9.js → job-31xfzrxg.js} +5 -5
- package/dist/chunks/{models-dev-b28mnwwt.js → job-32w60ewp.js} +6 -6
- package/dist/chunks/{models-dev-29wrk7cw.js → job-33a8026s.js} +6 -6
- package/dist/chunks/{models-dev-14zctcmx.js → job-3bbkcze6.js} +28 -28
- package/dist/chunks/{models-dev-3fc6dm20.js → job-3fc6dm20.js} +1 -1
- package/dist/chunks/{models-dev-qqhgytfg.js → job-3ga9zd2f.js} +4 -4
- package/dist/chunks/{models-dev-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{models-dev-3hwn7j4h.js → job-3hwn7j4h.js} +2 -2
- package/dist/chunks/{models-dev-r4fjq33x.js → job-3k0ta86q.js} +16 -16
- package/dist/chunks/{models-dev-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{models-dev-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{models-dev-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{models-dev-2fh35bp5.js → job-3zxgx73k.js} +28 -28
- package/dist/chunks/{models-dev-d1bwbx6h.js → job-42g932k2.js} +36 -36
- package/dist/chunks/{models-dev-9v8j2wcp.js → job-44nt178b.js} +40 -40
- package/dist/chunks/{models-dev-sz9gegs6.js → job-4e4k5cgw.js} +18 -18
- package/dist/chunks/{models-dev-yrcj3v3g.js → job-4j4tgtq5.js} +4 -4
- package/dist/chunks/{models-dev-a0d2fhz5.js → job-4meka6v1.js} +93 -93
- package/dist/chunks/{models-dev-vce41d5d.js → job-4s76bvka.js} +22 -22
- package/dist/chunks/{models-dev-4vvz6d59.js → job-4yxncqzk.js} +11 -11
- package/dist/chunks/{models-dev-z56ekth6.js → job-54jctmtt.js} +25 -25
- package/dist/chunks/{models-dev-54ma36ye.js → job-54ma36ye.js} +1 -1
- package/dist/chunks/{models-dev-80fab04m.js → job-5802gy43.js} +23 -23
- package/dist/chunks/{models-dev-3p3bq4k7.js → job-5f78e0bk.js} +18 -18
- package/dist/chunks/{models-dev-qkqsjsba.js → job-5hr13e4c.js} +10 -10
- package/dist/chunks/{models-dev-5m9w47nd.js → job-5m9w47nd.js} +1 -1
- package/dist/chunks/job-619r8v3y.js +18 -0
- package/dist/chunks/{models-dev-vnwmzs4a.js → job-66r9f6z1.js} +5 -5
- package/dist/chunks/{models-dev-dx52c3tb.js → job-67690ebn.js} +21 -21
- package/dist/chunks/job-67mv0zeb.js +26 -0
- package/dist/chunks/{models-dev-x525dgj0.js → job-696t2cy7.js} +13 -13
- package/dist/chunks/{models-dev-jn3ecnfv.js → job-6cav1d9v.js} +27 -27
- package/dist/chunks/{models-dev-c7gefaxx.js → job-6ek5mamz.js} +4 -4
- package/dist/chunks/{models-dev-c0w1yt3d.js → job-6f203fky.js} +24 -24
- package/dist/chunks/{models-dev-3s4aw0kp.js → job-6n5tmcsn.js} +24 -24
- package/dist/chunks/{models-dev-ghz6dcrw.js → job-6v23mrsw.js} +11 -11
- package/dist/chunks/{models-dev-6xb47vfp.js → job-6xb47vfp.js} +1 -1
- package/dist/chunks/{models-dev-prgtw01z.js → job-6xcd06cn.js} +3 -3
- package/dist/chunks/{models-dev-1h80wfj2.js → job-744z4pjx.js} +14 -14
- package/dist/chunks/{models-dev-775gj3j1.js → job-775gj3j1.js} +2 -2
- package/dist/chunks/{models-dev-fced994e.js → job-782zrs06.js} +5 -5
- package/dist/chunks/{models-dev-zy19vr0v.js → job-78jnw47a.js} +7 -7
- package/dist/chunks/{models-dev-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{models-dev-ewcyzw42.js → job-7ehe1q82.js} +87 -87
- package/dist/chunks/{models-dev-4867c7tx.js → job-7kvnyt6p.js} +5 -5
- package/dist/chunks/{models-dev-2cm368az.js → job-7n3gnz9r.js} +19 -19
- package/dist/chunks/{models-dev-t2fc4mz5.js → job-7sbkp4xb.js} +4 -4
- package/dist/chunks/{models-dev-p33ckn3v.js → job-802megp1.js} +9 -9
- package/dist/chunks/{models-dev-d8zhqnqd.js → job-81q2xnhg.js} +20 -20
- package/dist/chunks/{models-dev-z3xee66j.js → job-84mtzs8k.js} +14 -14
- package/dist/chunks/{models-dev-5gwsadgq.js → job-866j0qgd.js} +11 -11
- package/dist/chunks/{models-dev-jrq45ekn.js → job-8a0tbawn.js} +17 -17
- package/dist/chunks/{models-dev-jby4v498.js → job-8a524ch7.js} +9 -9
- package/dist/chunks/{models-dev-ds14744m.js → job-8hmjtt7t.js} +13 -13
- package/dist/chunks/{models-dev-m44sf8vb.js → job-8jxeyxc9.js} +5 -5
- package/dist/chunks/{models-dev-7r5rc0px.js → job-8kvx9d9a.js} +27 -27
- package/dist/chunks/{models-dev-8m6m0r52.js → job-8m6m0r52.js} +1 -1
- package/dist/chunks/{models-dev-3s4mbjk1.js → job-8tayx2nk.js} +4 -4
- package/dist/chunks/{models-dev-91qna3x0.js → job-91qna3x0.js} +3 -3
- package/dist/chunks/{models-dev-88ntk3wd.js → job-95vmf0cx.js} +36 -36
- package/dist/chunks/{models-dev-h2knq904.js → job-98h8vcmf.js} +19 -19
- package/dist/chunks/{models-dev-91ggt2dm.js → job-9ahf605z.js} +5 -5
- package/dist/chunks/{models-dev-x5h44zm2.js → job-9cememrc.js} +13 -13
- package/dist/chunks/job-9csbzq3k.js +513 -0
- package/dist/chunks/{models-dev-cv485zaq.js → job-9k0qe3x2.js} +19 -19
- package/dist/chunks/{models-dev-khh7p1y8.js → job-9mbkb3sc.js} +9 -9
- package/dist/chunks/{models-dev-jdvnpeh9.js → job-9pg1zzvb.js} +20 -20
- package/dist/chunks/{models-dev-5nke03s7.js → job-9r4f3n38.js} +38 -38
- package/dist/chunks/{models-dev-3d30t3xk.js → job-a3tzcvmz.js} +32 -32
- package/dist/chunks/{models-dev-rn41q46b.js → job-ad1gt5z6.js} +12 -12
- package/dist/chunks/{models-dev-gst7axd9.js → job-afdssyjb.js} +4 -4
- package/dist/chunks/{models-dev-ep7maze5.js → job-am8zjywx.js} +4 -4
- package/dist/chunks/{models-dev-jh51r71r.js → job-ay56yawg.js} +37 -37
- package/dist/chunks/{models-dev-7xe1rbj0.js → job-b039cdhy.js} +13 -13
- package/dist/chunks/{models-dev-q2famck6.js → job-b39124se.js} +8 -8
- package/dist/chunks/{models-dev-wttkh064.js → job-b8s6fp5j.js} +23 -23
- package/dist/chunks/{models-dev-jevaq2sf.js → job-bkp4f76d.js} +6 -6
- package/dist/chunks/{models-dev-waskdk5r.js → job-bmr56wjg.js} +4 -4
- package/dist/chunks/{models-dev-h6hp0kt1.js → job-bte6ngej.js} +28 -28
- package/dist/chunks/{models-dev-1nxkmdr2.js → job-bvd5z42w.js} +33 -33
- package/dist/chunks/{models-dev-c1fqxshp.js → job-c1fqxshp.js} +3 -3
- package/dist/chunks/{models-dev-f8ee66y8.js → job-cgzvyhvv.js} +3 -3
- package/dist/chunks/{models-dev-j0whrta5.js → job-ck327ev6.js} +13 -13
- package/dist/chunks/{models-dev-m8yschaf.js → job-cs1fz2ym.js} +32 -32
- package/dist/chunks/{models-dev-r2m716tb.js → job-cwa6csj7.js} +9 -9
- package/dist/chunks/{models-dev-9x1w8y0r.js → job-d1rddd69.js} +9 -9
- package/dist/chunks/{models-dev-se49g0hz.js → job-d2wek193.js} +18 -18
- package/dist/chunks/{models-dev-25dpty04.js → job-d38556p2.js} +32 -32
- package/dist/chunks/{models-dev-r9myb6mq.js → job-d88k20pt.js} +14 -14
- package/dist/chunks/{models-dev-at37vfd1.js → job-da185en6.js} +9 -9
- package/dist/chunks/{models-dev-48cw6fh0.js → job-dp9jtaaz.js} +13 -13
- package/dist/chunks/{models-dev-25yddszk.js → job-dq407baf.js} +6 -6
- package/dist/chunks/{models-dev-dqxsqydv.js → job-dqxsqydv.js} +1 -1
- package/dist/chunks/{models-dev-drwq78ky.js → job-drwq78ky.js} +1 -1
- package/dist/chunks/{models-dev-gwe042x5.js → job-dxxdd5gf.js} +13 -13
- package/dist/chunks/{models-dev-ymtzxja7.js → job-e04mjppw.js} +22 -22
- package/dist/chunks/{models-dev-jetgc7z7.js → job-e2f548m5.js} +24 -24
- package/dist/chunks/{models-dev-7z683adc.js → job-e9w0xgk5.js} +58 -58
- package/dist/chunks/{models-dev-t550f9t1.js → job-eaj1djv9.js} +8 -8
- package/dist/chunks/{models-dev-e198z0mp.js → job-ee0kfng7.js} +4 -4
- package/dist/chunks/{models-dev-eej6y6fw.js → job-eej6y6fw.js} +2 -2
- package/dist/chunks/{models-dev-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{models-dev-eg678sd6.js → job-eqdqwaa8.js} +8 -8
- package/dist/chunks/{models-dev-6kgydgrk.js → job-er2q2s93.js} +12 -12
- package/dist/chunks/{models-dev-04a9k7zc.js → job-ez6t5hx2.js} +23 -23
- package/dist/chunks/{models-dev-08h9zhev.js → job-f5r4rnzc.js} +23 -23
- package/dist/chunks/{models-dev-bkxyw0dr.js → job-faj2svbs.js} +9 -9
- package/dist/chunks/{models-dev-fcy631f0.js → job-fcy631f0.js} +1 -1
- package/dist/chunks/{models-dev-p32s5qak.js → job-fn5wdjwd.js} +6 -6
- package/dist/chunks/{models-dev-wan3f8ty.js → job-fwb3fm18.js} +35 -35
- package/dist/chunks/{models-dev-crap2ys2.js → job-gbqsrtzy.js} +32 -32
- package/dist/chunks/{models-dev-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{models-dev-rd9g82ww.js → job-gdc55jvc.js} +4 -4
- package/dist/chunks/{models-dev-1fqrv75a.js → job-gp792ppf.js} +24 -24
- package/dist/chunks/{models-dev-64w4nbgf.js → job-gt0x4809.js} +17 -17
- package/dist/chunks/{models-dev-hfbyhya8.js → job-gwaf4cyv.js} +9 -9
- package/dist/chunks/{models-dev-t9ebbrej.js → job-gx4kjbww.js} +20 -20
- package/dist/chunks/{models-dev-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{models-dev-cjcd0dx4.js → job-hder4p07.js} +53 -53
- package/dist/chunks/{models-dev-cy2k9m9k.js → job-hfqcc610.js} +1 -1
- package/dist/chunks/{models-dev-hgz4x7wa.js → job-hgz4x7wa.js} +1 -1
- package/dist/chunks/{models-dev-88x17rpf.js → job-hk4kyacq.js} +23 -23
- package/dist/chunks/{models-dev-naag4epy.js → job-hmf5dsnm.js} +10 -10
- package/dist/chunks/{models-dev-0x6j275b.js → job-hvg55y1m.js} +11 -11
- package/dist/chunks/{models-dev-5ey37cyz.js → job-jhc0stxs.js} +5 -5
- package/dist/chunks/{models-dev-r3453g7b.js → job-jk42ka2z.js} +17 -17
- package/dist/chunks/{models-dev-f9vqewha.js → job-jxpbf905.js} +30 -30
- package/dist/chunks/{models-dev-p5z45nn9.js → job-jxrsvt8d.js} +48 -48
- package/dist/chunks/{models-dev-6z2jnbav.js → job-jxty7jvr.js} +15 -15
- package/dist/chunks/{models-dev-r790j5dn.js → job-k0qzeszc.js} +50 -50
- package/dist/chunks/{models-dev-ev9s2k0h.js → job-kf8xxjz9.js} +15 -15
- package/dist/chunks/{models-dev-hq3c8me3.js → job-khmqacep.js} +4 -4
- package/dist/chunks/{models-dev-qmrcfj17.js → job-kq0z1tjb.js} +22 -22
- package/dist/chunks/{models-dev-k33z6p3z.js → job-kq1kh5hf.js} +33 -33
- package/dist/chunks/{models-dev-kwb1v3vj.js → job-kwb1v3vj.js} +1 -1
- package/dist/chunks/{models-dev-zqn9n131.js → job-kya4n3gt.js} +45 -45
- package/dist/chunks/{models-dev-9qe767rg.js → job-m8cz1ghn.js} +11 -11
- package/dist/chunks/{models-dev-3jmrzwyy.js → job-m9n427xj.js} +20 -20
- package/dist/chunks/{models-dev-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{models-dev-maspj1v3.js → job-maspj1v3.js} +1 -1
- package/dist/chunks/{models-dev-vpnmpst2.js → job-mccdgat0.js} +7 -7
- package/dist/chunks/job-mgh2a7gf.js +257 -0
- package/dist/chunks/{models-dev-p2taazqe.js → job-mjtg0kct.js} +3 -3
- package/dist/chunks/{models-dev-ra67jj04.js → job-nd4tfyg0.js} +9 -9
- package/dist/chunks/{models-dev-tsyxp5w9.js → job-nfnb91wf.js} +13 -13
- package/dist/chunks/{models-dev-w4axh9wz.js → job-nm4299rz.js} +8 -8
- package/dist/chunks/{models-dev-429fcsen.js → job-nxm9x0fe.js} +41 -41
- package/dist/chunks/{models-dev-9nk08j85.js → job-nz36rv7r.js} +74 -74
- package/dist/chunks/{models-dev-d43w6w8d.js → job-p3tsgby1.js} +5 -5
- package/dist/chunks/{models-dev-p37cw4rj.js → job-p4mj4rdp.js} +8 -8
- package/dist/chunks/{models-dev-6mgmbzeg.js → job-p5jqnpch.js} +5 -5
- package/dist/chunks/{models-dev-npkv4pb4.js → job-p6y63wrz.js} +4 -4
- package/dist/chunks/{models-dev-zdkjbeg6.js → job-pa6wp5yh.js} +18 -18
- package/dist/chunks/{models-dev-esb6nxn8.js → job-pc0k0p8h.js} +13 -13
- package/dist/chunks/{models-dev-1mt90trw.js → job-pdb8rjdp.js} +19 -19
- package/dist/chunks/{models-dev-kgv9g9m4.js → job-pe2b4pg4.js} +22 -22
- package/dist/chunks/{models-dev-qc3eb908.js → job-pfvte5ex.js} +23 -23
- package/dist/chunks/{models-dev-yq5ncrpt.js → job-ph29776d.js} +24 -24
- package/dist/chunks/{models-dev-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{models-dev-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{models-dev-c2sed5cq.js → job-pt1ss6jy.js} +3 -3
- package/dist/chunks/{models-dev-rkmtmhsy.js → job-q54p6b31.js} +14 -14
- package/dist/chunks/{models-dev-dvm4dasd.js → job-q9en3hpz.js} +19 -19
- package/dist/chunks/{models-dev-2k8khapm.js → job-qgn6gcr1.js} +5 -5
- package/dist/chunks/{models-dev-mb14aw74.js → job-qmgn8zg7.js} +2 -2
- package/dist/chunks/{models-dev-qnc92qwc.js → job-qnc92qwc.js} +1 -1
- package/dist/chunks/{models-dev-brp2h1yk.js → job-qrytbsaj.js} +38 -38
- package/dist/chunks/{models-dev-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{models-dev-vwpcpzep.js → job-qvb3nf84.js} +8 -8
- package/dist/chunks/{models-dev-0txbw99a.js → job-r21rn0zz.js} +21 -21
- package/dist/chunks/{models-dev-ta12ejh7.js → job-r38b4gm7.js} +9 -9
- package/dist/chunks/{models-dev-yp2x3t23.js → job-r8xr0va3.js} +4 -4
- package/dist/chunks/{models-dev-7n61w1pq.js → job-rcph0yae.js} +15 -15
- package/dist/chunks/{models-dev-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{models-dev-rqn1e5t9.js → job-re0zn3g0.js} +45 -45
- package/dist/chunks/{models-dev-rert0e01.js → job-rert0e01.js} +2 -2
- package/dist/chunks/{models-dev-rj3eygr5.js → job-rj3eygr5.js} +2 -2
- package/dist/chunks/{models-dev-rkprpv83.js → job-rkprpv83.js} +2 -2
- package/dist/chunks/{models-dev-8jwbh1w5.js → job-rkx677gg.js} +5 -5
- package/dist/chunks/{models-dev-dsw8mzy0.js → job-rm21d51n.js} +5 -5
- package/dist/chunks/{models-dev-4djjp8w2.js → job-rrz44tnd.js} +9 -9
- package/dist/chunks/{models-dev-y8qa0wgt.js → job-rwsg7th0.js} +25 -25
- package/dist/chunks/{models-dev-f32ybve0.js → job-rxn86gf6.js} +13 -13
- package/dist/chunks/{models-dev-x5f9nxxw.js → job-rzcz91ek.js} +22 -22
- package/dist/chunks/{models-dev-2rh1mj1j.js → job-s1f6gdw2.js} +19 -19
- package/dist/chunks/{models-dev-1n61k2j4.js → job-s2navjnm.js} +23 -23
- package/dist/chunks/{models-dev-ggsdx269.js → job-s74x8zwn.js} +14 -14
- package/dist/chunks/{models-dev-sa8ekw3f.js → job-sa8ekw3f.js} +2 -2
- package/dist/chunks/{models-dev-tz4rnvt3.js → job-sjhrg4z8.js} +23 -23
- package/dist/chunks/{models-dev-kpspzzpt.js → job-spec05k6.js} +2 -2
- package/dist/chunks/{models-dev-cs1bbd5r.js → job-swymws4c.js} +21 -21
- package/dist/chunks/{models-dev-nma959mg.js → job-sxcaecc0.js} +3 -3
- package/dist/chunks/{models-dev-syv4x271.js → job-syv4x271.js} +1 -1
- package/dist/chunks/{models-dev-1x09take.js → job-t2rny1q8.js} +28 -28
- package/dist/chunks/{models-dev-t40m281k.js → job-t79xkb5x.js} +11 -11
- package/dist/chunks/{models-dev-4shbge4a.js → job-t8gxprjd.js} +31 -31
- package/dist/chunks/{models-dev-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{models-dev-tcezcvh9.js → job-tcezcvh9.js} +1 -1
- package/dist/chunks/{models-dev-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{models-dev-3ppptnan.js → job-tegs1ycp.js} +6 -6
- package/dist/chunks/{models-dev-gda0ts7c.js → job-tfskcm3z.js} +44 -44
- package/dist/chunks/{models-dev-3q7r66tp.js → job-tk518f6g.js} +196 -196
- package/dist/chunks/{models-dev-tm0kqsz3.js → job-tm0kqsz3.js} +1 -1
- package/dist/chunks/{models-dev-ebrw6ces.js → job-tpg09gg7.js} +33 -33
- package/dist/chunks/{models-dev-4q529qz9.js → job-tpw005b1.js} +11 -11
- package/dist/chunks/{models-dev-vsg1s5gy.js → job-tqa9g821.js} +10 -10
- package/dist/chunks/{models-dev-ewjhws0n.js → job-tsrjfj85.js} +11 -11
- package/dist/chunks/{models-dev-bjmt3h04.js → job-tx9w5tca.js} +8 -8
- package/dist/chunks/{models-dev-tyytaxap.js → job-tyytaxap.js} +1 -1
- package/dist/chunks/{models-dev-4434d9q2.js → job-v0es1rhs.js} +9 -9
- package/dist/chunks/{models-dev-gp476xk8.js → job-v3xkyz7p.js} +35 -35
- package/dist/chunks/{models-dev-v7p4zvkq.js → job-v7p4zvkq.js} +2 -2
- package/dist/chunks/{models-dev-an5spve5.js → job-vcbrf7nh.js} +51 -51
- package/dist/chunks/{models-dev-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/{models-dev-zxxyq1zs.js → job-vfz1kjtz.js} +29 -29
- package/dist/chunks/{models-dev-8ejeq2b5.js → job-vhdxrt7h.js} +29 -29
- package/dist/chunks/{models-dev-j1vf9jgh.js → job-vmc6r1cj.js} +19 -19
- package/dist/chunks/{models-dev-cjtnjdfr.js → job-vqq02yr7.js} +11 -11
- package/dist/chunks/{models-dev-99hcjxde.js → job-vscxjy0v.js} +54 -54
- package/dist/chunks/{models-dev-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
- package/dist/chunks/{models-dev-84txncab.js → job-w1eejvng.js} +5 -5
- package/dist/chunks/{models-dev-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{models-dev-gmf8cn46.js → job-waj06c1d.js} +18 -18
- package/dist/chunks/{models-dev-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{models-dev-0b5g1ynf.js → job-wg81ww38.js} +4 -4
- package/dist/chunks/{models-dev-prq7hedt.js → job-wk5z6jzv.js} +9 -9
- package/dist/chunks/{models-dev-fxksqsfg.js → job-wzhq9xxz.js} +14 -14
- package/dist/chunks/{models-dev-rrk228c4.js → job-x2prm6ae.js} +4 -4
- package/dist/chunks/{models-dev-s3sw9wzj.js → job-x8mwr189.js} +32 -32
- package/dist/chunks/{models-dev-eh5454n1.js → job-xh9n323v.js} +10 -10
- package/dist/chunks/{models-dev-c1ebjx9s.js → job-xnb4btwz.js} +16 -16
- package/dist/chunks/{models-dev-pnzf6mjf.js → job-xt4njr3s.js} +1 -1
- package/dist/chunks/{models-dev-sgnt8r5w.js → job-xxa9ptsg.js} +8 -8
- package/dist/chunks/{models-dev-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{models-dev-tsdxsxn8.js → job-y4qwpzs9.js} +6 -6
- package/dist/chunks/{models-dev-ngyhb3xw.js → job-y5rf7nzv.js} +4 -4
- package/dist/chunks/{models-dev-dpkg50ah.js → job-y71avatq.js} +4 -4
- package/dist/chunks/{models-dev-4572g32s.js → job-y7sdd497.js} +28 -28
- package/dist/chunks/{models-dev-zt64k235.js → job-ye9cngvp.js} +35 -35
- package/dist/chunks/{models-dev-nm6fqd4m.js → job-yfq0f3ty.js} +5 -5
- package/dist/chunks/{models-dev-9hwaqfsw.js → job-ygdna4kr.js} +5 -5
- package/dist/chunks/{models-dev-9nh53x3n.js → job-yjsx3ryv.js} +11 -11
- package/dist/chunks/{models-dev-e6n82m9d.js → job-yn9v0zkv.js} +14 -14
- package/dist/chunks/{models-dev-bjx1sjef.js → job-ywt8jp22.js} +9 -9
- package/dist/chunks/{models-dev-bybvw7jw.js → job-yyc2c3pa.js} +18 -18
- package/dist/chunks/{models-dev-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{models-dev-94drmy7f.js → job-z0dmr40s.js} +8 -8
- package/dist/chunks/{models-dev-018fz2md.js → job-z0gr4p3m.js} +37 -37
- package/dist/chunks/{models-dev-cx6xa6px.js → job-z9g794zs.js} +16 -16
- package/dist/chunks/{models-dev-ftrqhxzm.js → job-zqy5zsvc.js} +5 -5
- package/dist/chunks/{models-dev-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{models-dev-6rrewwnv.js → job-zv29qtws.js} +8 -8
- package/dist/chunks/{models-dev-ga2k9c5r.js → job-zvy6w0zs.js} +6 -6
- package/dist/chunks/{models-dev-3y377wv9.js → job-zw2hpfmh.js} +4 -4
- package/dist/chunks/{models-dev-qv8n7gxq.js → job-zwe6tn9h.js} +29 -29
- package/dist/chunks/{models-dev-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- 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 +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +218 -218
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- 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 +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +214 -214
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +207 -207
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/models-dev-02hhvmqy.js +0 -257
- package/dist/chunks/models-dev-13wj90a4.js +0 -26
- package/dist/chunks/models-dev-4v7qdvcn.js +0 -18
- package/dist/chunks/models-dev-y8rqn1sx.js +0 -513
- /package/dist/chunks/{models-dev-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{models-dev-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{models-dev-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{models-dev-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{models-dev-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{models-dev-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{models-dev-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{models-dev-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{models-dev-2bv980vf.js → job-2bv980vf.js} +0 -0
- /package/dist/chunks/{models-dev-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{models-dev-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{models-dev-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{models-dev-3t0ybcrp.js → job-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{models-dev-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{models-dev-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{models-dev-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{models-dev-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{models-dev-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{models-dev-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{models-dev-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{models-dev-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{models-dev-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{models-dev-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{models-dev-6q2bdcd1.js → job-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{models-dev-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{models-dev-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{models-dev-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{models-dev-84wd9syh.js → job-84wd9syh.js} +0 -0
- /package/dist/chunks/{models-dev-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{models-dev-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{models-dev-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{models-dev-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{models-dev-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{models-dev-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{models-dev-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{models-dev-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{models-dev-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{models-dev-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{models-dev-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{models-dev-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{models-dev-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{models-dev-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{models-dev-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{models-dev-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{models-dev-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{models-dev-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{models-dev-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{models-dev-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{models-dev-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{models-dev-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{models-dev-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{models-dev-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{models-dev-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{models-dev-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{models-dev-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{models-dev-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{models-dev-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{models-dev-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{models-dev-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{models-dev-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{models-dev-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{models-dev-hcxmzztb.js → job-hcxmzztb.js} +0 -0
- /package/dist/chunks/{models-dev-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{models-dev-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{models-dev-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{models-dev-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{models-dev-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{models-dev-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{models-dev-jze0r7bz.js → job-jze0r7bz.js} +0 -0
- /package/dist/chunks/{models-dev-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{models-dev-m18g726c.js → job-m18g726c.js} +0 -0
- /package/dist/chunks/{models-dev-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{models-dev-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{models-dev-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{models-dev-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{models-dev-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{models-dev-pkyv6v7h.js → job-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{models-dev-pyv0edze.js → job-pyv0edze.js} +0 -0
- /package/dist/chunks/{models-dev-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{models-dev-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{models-dev-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{models-dev-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{models-dev-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{models-dev-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{models-dev-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{models-dev-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{models-dev-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{models-dev-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{models-dev-ve7vex1e.js → job-ve7vex1e.js} +0 -0
- /package/dist/chunks/{models-dev-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{models-dev-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{models-dev-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{models-dev-wjj7prxr.js → job-wjj7prxr.js} +0 -0
- /package/dist/chunks/{models-dev-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{models-dev-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{models-dev-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{models-dev-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{models-dev-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{models-dev-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{models-dev-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{models-dev-z5v4ffb3.js → job-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{models-dev-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-hmf5dsnm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./job-1bfrgapb.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service69
|
|
11
|
+
} from "./job-tpg09gg7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID7,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service68
|
|
16
|
+
} from "./job-1v130mpx.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./job-ye9cngvp.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-fn5wdjwd.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID6.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID7.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
const credentials = yield* Service69;
|
|
57
|
+
const integrations = yield* Service68;
|
|
58
|
+
const bus = yield* Service84;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
|
-
yield* bus.subscribe(
|
|
189
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
190
190
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
191
191
|
const token = envToken();
|
|
192
192
|
if (token)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info8
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info8 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info10 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info8, exports_command5 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service30,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
13
|
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node34
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service30 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service30, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service30.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
372
|
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node34 = makeGlobalNode({ service: Service30, layer: layer14, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service30, makeLayer2, layer14, node34, exports_model_transport };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./job-1bfrgapb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID8,
|
|
6
|
+
Event15,
|
|
7
|
+
Service69
|
|
8
|
+
} from "./job-tpg09gg7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID6
|
|
11
|
+
} from "./job-ye9cngvp.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-fn5wdjwd.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,8 +41,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
45
|
-
const bus = yield*
|
|
44
|
+
const credentials = yield* Service69;
|
|
45
|
+
const bus = yield* Service84;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
48
48
|
}));
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID6.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID6.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID8.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID6.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID6.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID6.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID6.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID6.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event15.Updated, Event15.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./job-4e4k5cgw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./job-tfskcm3z.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service16,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-gwaf4cyv.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/module.ts
|
|
20
20
|
var exports_module = {};
|
|
21
21
|
__export(exports_module, {
|
|
22
22
|
LoadError: () => LoadError2,
|
|
23
23
|
PluginModule: () => exports_module,
|
|
24
|
-
make: () =>
|
|
24
|
+
make: () => make10
|
|
25
25
|
});
|
|
26
26
|
import { Host } from "@opencode/plugin/host";
|
|
27
27
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
30
30
|
import path from "path";
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
33
|
-
var
|
|
34
|
-
const config = yield*
|
|
35
|
-
const managed = yield*
|
|
36
|
-
const watcher = yield*
|
|
33
|
+
var make10 = Effect.fn("PluginModule.make")(function* () {
|
|
34
|
+
const config = yield* Service45;
|
|
35
|
+
const managed = yield* Service16;
|
|
36
|
+
const watcher = yield* Service46;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
118
118
|
};
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { make10, LoadError2, exports_module };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service45
|
|
4
|
+
} from "./job-tfskcm3z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service81
|
|
7
|
+
} from "./job-vmc6r1cj.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin9
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin9 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service45;
|
|
27
|
+
const shell = yield* Service81;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin33 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin9, exports_shell };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-6xcd06cn.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-rert0e01.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID12,
|
|
17
|
+
Info: () => Info23,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service76,
|
|
21
|
+
node: () => node80
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID12 = PermissionSaved.ID;
|
|
29
|
+
var Info23 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service76 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service86).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID12.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service76.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node90] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID12, Info23, ListInput5, AddInput2, Service76, node80, exports_saved };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service82
|
|
13
|
+
} from "./job-0w52vqev.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-6f203fky.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin36,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin36 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service82;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin36, exports_hg };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./job-tfskcm3z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./job-vscxjy0v.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin3,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin3 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service45;
|
|
28
|
+
const mcp = yield* Service36;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin3, register2, exports_mcp };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID7,
|
|
3
|
+
Service68
|
|
4
|
+
} from "./job-1v130mpx.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service68;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID7.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|