@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,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./job-t2rny1q8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./job-hder4p07.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service23
|
|
14
|
+
} from "./job-3bbkcze6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input9,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin29,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
26
|
description: () => description4,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name9 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
@@ -39,28 +39,28 @@ var httpErrors = new Map([
|
|
|
39
39
|
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input9 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin29 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service74;
|
|
53
|
+
const forms = yield* Service70;
|
|
54
|
+
const websearch = yield* Service23;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name9,
|
|
57
57
|
options: { codemode: false },
|
|
58
58
|
description: description4,
|
|
59
|
-
input:
|
|
59
|
+
input: Input9,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name9,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name9];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name9, NO_RESULTS2, description4, Input9, Plugin29, exports_websearch2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-6xcd06cn.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./job-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./job-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service84,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node88,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service84 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
83
|
+
service: Service84,
|
|
84
84
|
deps: [node90],
|
|
85
|
-
layer: Layer.effect(
|
|
85
|
+
layer: Layer.effect(Service84, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service84.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node88 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service84, configured12, node88, exports_bus };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./job-4e4k5cgw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./job-0w52vqev.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./job-tfskcm3z.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./job-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
File2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service39
|
|
16
|
+
} from "./job-2ygtdfg2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin7
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin7 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service39;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service45;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
|
-
const location = yield*
|
|
44
|
-
const watcher = yield*
|
|
43
|
+
const location = yield* Service82;
|
|
44
|
+
const watcher = yield* Service46;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -177,4 +177,4 @@ function isUrl(source) {
|
|
|
177
177
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Plugin7, exports_instruction };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info10,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info10 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info10, exports_mcp5 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./job-1bfrgapb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service69,
|
|
9
|
+
node73
|
|
10
|
+
} from "./job-tpg09gg7.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-zw2hpfmh.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-t2rny1q8.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event14,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID7,
|
|
41
|
+
Info: () => Info17,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
|
-
Ref: () =>
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
47
|
+
Ref: () => Ref3,
|
|
48
|
+
Service: () => Service68,
|
|
49
|
+
node: () => node72
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event14 } from "@opencode/schema/integration";
|
|
72
|
+
var ID7 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info17 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID7,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service68 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service69;
|
|
117
|
+
const bus = yield* Service84;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info17.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service68.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key3.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node72 = makeLocationNode({
|
|
633
|
+
service: Service68,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node73, node88, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID7, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info17, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service68, node72, exports_integration, Event14 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./job-4e4k5cgw.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service82
|
|
9
|
+
} from "./job-0w52vqev.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service45
|
|
12
|
+
} from "./job-tfskcm3z.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./job-bte6ngej.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service11
|
|
20
|
+
} from "./job-nd4tfyg0.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-33a8026s.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill = {};
|
|
30
|
+
__export(exports_skill, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
+
Plugin: () => Plugin14
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin14 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service45;
|
|
43
|
+
const discovery = yield* Service11;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service82;
|
|
47
|
+
const watcher = yield* Service46;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin26 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin26 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source4.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin26 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source4.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin26 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source4.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin26 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin14, exports_skill };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin41,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin41 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin13 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin41, exports_identity };
|