@opencode/core 0.0.0-dev-126 → 0.0.0-dev-142
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 +87 -87
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +7 -7
- package/dist/bus.js +81 -81
- package/dist/chunks/{kv-pchrqqdm.js → model-resolver-00j2jq49.js} +21 -21
- package/dist/chunks/{kv-p7j90a4h.js → model-resolver-00vhvht6.js} +7 -7
- package/dist/chunks/{kv-kvyjzh70.js → model-resolver-02912v3r.js} +43 -43
- package/dist/chunks/{kv-034tev2y.js → model-resolver-034tev2y.js} +2 -2
- package/dist/chunks/{kv-ceka3dkk.js → model-resolver-03p96rzt.js} +25 -25
- package/dist/chunks/{kv-me84cmg9.js → model-resolver-06bhh52d.js} +45 -45
- package/dist/chunks/{kv-eg90dvv9.js → model-resolver-08h64782.js} +36 -36
- package/dist/chunks/{kv-nhbhgapw.js → model-resolver-0e6cmbb1.js} +7 -7
- package/dist/chunks/model-resolver-0rvmmz3p.js +511 -0
- package/dist/chunks/{kv-zek7wtxf.js → model-resolver-0wjsrq6g.js} +35 -35
- package/dist/chunks/{kv-h3pvpee7.js → model-resolver-0yd77tsv.js} +32 -32
- package/dist/chunks/{kv-cb8bjp2w.js → model-resolver-0yjd96ev.js} +14 -14
- package/dist/chunks/{kv-ww3hkwgk.js → model-resolver-1c18fjk2.js} +11 -11
- package/dist/chunks/{kv-ae17cx8n.js → model-resolver-1eg9cpxp.js} +22 -22
- package/dist/chunks/{kv-1ep2p91f.js → model-resolver-1ep2p91f.js} +2 -2
- package/dist/chunks/{kv-bja6bvye.js → model-resolver-1hcx3tbe.js} +2 -2
- package/dist/chunks/{kv-1kn6jdkn.js → model-resolver-1kn6jdkn.js} +1 -1
- package/dist/chunks/{kv-qqycp87v.js → model-resolver-1tte1mx1.js} +13 -13
- package/dist/chunks/{kv-935mmq8c.js → model-resolver-1wnedb0q.js} +5 -5
- package/dist/chunks/{kv-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
- package/dist/chunks/{kv-5zrxpy3q.js → model-resolver-1yq9hg58.js} +5 -5
- package/dist/chunks/{kv-204s3925.js → model-resolver-204s3925.js} +1 -1
- package/dist/chunks/{kv-42bec753.js → model-resolver-20xwdmdm.js} +31 -31
- package/dist/chunks/{kv-r5tcggmq.js → model-resolver-20yqreeg.js} +18 -18
- package/dist/chunks/{kv-040cxj5w.js → model-resolver-22frdqra.js} +17 -17
- package/dist/chunks/{kv-5k77g5zr.js → model-resolver-259dfg4a.js} +19 -19
- package/dist/chunks/{kv-qnqasnye.js → model-resolver-26x8chrq.js} +6 -6
- package/dist/chunks/{kv-1wxjvrk5.js → model-resolver-2gmf4cwd.js} +14 -14
- package/dist/chunks/{kv-ddt4fr4j.js → model-resolver-2jz3h0mg.js} +13 -13
- package/dist/chunks/{kv-m7xh3h0x.js → model-resolver-2mbjfaxd.js} +4 -4
- package/dist/chunks/{kv-115ne1bg.js → model-resolver-30q9anfd.js} +2 -2
- package/dist/chunks/{kv-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-je4969v5.js → model-resolver-3j6nq55v.js} +5 -5
- package/dist/chunks/{kv-3nnrz6f6.js → model-resolver-3nnrz6f6.js} +1 -1
- package/dist/chunks/{kv-2azy8kv6.js → model-resolver-3ryz99p0.js} +4 -4
- package/dist/chunks/{kv-w2eysc6j.js → model-resolver-40za9wsf.js} +9 -9
- package/dist/chunks/{kv-n8khhpxx.js → model-resolver-48a83rgb.js} +11 -11
- package/dist/chunks/{kv-4pwbrt4g.js → model-resolver-4dmkk8ef.js} +4 -4
- package/dist/chunks/{kv-4pyp9zr9.js → model-resolver-4pyp9zr9.js} +1 -1
- package/dist/chunks/{kv-twbd5t10.js → model-resolver-4s4jqh0r.js} +3 -3
- package/dist/chunks/{kv-s8arvpx8.js → model-resolver-4sy33n8r.js} +20 -20
- package/dist/chunks/{kv-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
- package/dist/chunks/{kv-kwn3ssfm.js → model-resolver-4zqw3v5h.js} +8 -8
- package/dist/chunks/{kv-a9heag1q.js → model-resolver-5a5y8bey.js} +38 -38
- package/dist/chunks/{kv-n7d88tpn.js → model-resolver-5ect6tx9.js} +3 -3
- package/dist/chunks/{kv-shf9kqdk.js → model-resolver-5h3ym5d6.js} +12 -12
- package/dist/chunks/{kv-0e61bcwm.js → model-resolver-5k083j4m.js} +16 -16
- package/dist/chunks/{kv-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{kv-srqjx27b.js → model-resolver-5ser1zg9.js} +12 -12
- package/dist/chunks/{kv-5x26af84.js → model-resolver-5x26af84.js} +4 -4
- package/dist/chunks/{kv-071gpszy.js → model-resolver-5yypp707.js} +22 -22
- package/dist/chunks/{kv-bkzw6hsp.js → model-resolver-6551djh0.js} +21 -21
- package/dist/chunks/{kv-j9nzbxbp.js → model-resolver-68aa2d0k.js} +38 -38
- package/dist/chunks/{kv-w4p9wx71.js → model-resolver-69zcgx44.js} +36 -36
- package/dist/chunks/{kv-mz6map7w.js → model-resolver-6bsbxh19.js} +24 -24
- package/dist/chunks/{kv-1qws1cxk.js → model-resolver-6d7x7hha.js} +28 -28
- package/dist/chunks/{kv-m72tv8hd.js → model-resolver-6eh6zpt5.js} +3 -3
- package/dist/chunks/{kv-6esdw8yj.js → model-resolver-6esdw8yj.js} +1 -1
- package/dist/chunks/{kv-5kk15k00.js → model-resolver-6pvfyazw.js} +9 -9
- package/dist/chunks/model-resolver-6zjm2phc.js +18 -0
- package/dist/chunks/{kv-vbhxch91.js → model-resolver-70q4g7fy.js} +13 -13
- package/dist/chunks/{kv-yjb6ndj5.js → model-resolver-72dm1bvs.js} +3 -3
- package/dist/chunks/{kv-1sh5kzz0.js → model-resolver-74xmswmc.js} +19 -19
- package/dist/chunks/{kv-76cb1hcw.js → model-resolver-76cb1hcw.js} +1 -1
- package/dist/chunks/{kv-drj7ak6f.js → model-resolver-77gzjyfx.js} +34 -34
- package/dist/chunks/{kv-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-vx10x2dk.js → model-resolver-7dh73bnv.js} +5 -5
- package/dist/chunks/{kv-kwndref6.js → model-resolver-7dz079pe.js} +6 -6
- package/dist/chunks/{kv-ka5qgwzt.js → model-resolver-7fpmdzjk.js} +27 -27
- package/dist/chunks/{kv-qfa3cv49.js → model-resolver-7j5kte3m.js} +9 -9
- package/dist/chunks/{kv-hdfrs5mg.js → model-resolver-7ktdj9mm.js} +9 -9
- package/dist/chunks/{kv-ktcb05j9.js → model-resolver-7qjfmraz.js} +57 -57
- package/dist/chunks/{kv-p4nh6pwc.js → model-resolver-7re6vdtc.js} +5 -5
- package/dist/chunks/{kv-wjsq0ywf.js → model-resolver-7s7rdm9s.js} +22 -22
- package/dist/chunks/{kv-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
- package/dist/chunks/{kv-rvc61n5b.js → model-resolver-810xvjsv.js} +13 -13
- package/dist/chunks/{kv-4t06a3yy.js → model-resolver-83sq6nks.js} +10 -10
- package/dist/chunks/{kv-fdx879ms.js → model-resolver-86xcj867.js} +18 -18
- package/dist/chunks/{kv-4vfjz4rt.js → model-resolver-8anaanvs.js} +8 -8
- package/dist/chunks/{kv-8jztxfpf.js → model-resolver-8jztxfpf.js} +1 -1
- package/dist/chunks/{kv-r8kayhxa.js → model-resolver-8pd54nv5.js} +29 -29
- package/dist/chunks/{kv-d3r57h85.js → model-resolver-8qp8tat4.js} +23 -23
- package/dist/chunks/{kv-dk38r1a2.js → model-resolver-8vkd6pwc.js} +14 -14
- package/dist/chunks/{kv-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
- package/dist/chunks/{kv-r49z6jqe.js → model-resolver-8xq2wskz.js} +6 -6
- package/dist/chunks/{kv-90zstvax.js → model-resolver-90zstvax.js} +1 -1
- package/dist/chunks/{kv-pxhg702b.js → model-resolver-92p41aee.js} +1 -1
- package/dist/chunks/{kv-3rdnw7tp.js → model-resolver-9615vp9a.js} +1 -1
- package/dist/chunks/{kv-jqz6w6rx.js → model-resolver-99vf0hqv.js} +24 -24
- package/dist/chunks/{kv-rse61z3e.js → model-resolver-9ndb8058.js} +89 -89
- package/dist/chunks/{kv-9q8g9sv8.js → model-resolver-9q8g9sv8.js} +1 -1
- package/dist/chunks/{kv-zx29snpc.js → model-resolver-9r0x1bva.js} +9 -9
- package/dist/chunks/{kv-pw71cva5.js → model-resolver-9vjgnb2r.js} +11 -11
- package/dist/chunks/{kv-cw10c582.js → model-resolver-9y0knddb.js} +5 -5
- package/dist/chunks/{kv-zczdm7ss.js → model-resolver-a8pfnwqf.js} +54 -43
- package/dist/chunks/{kv-evhj5yhc.js → model-resolver-a8xdst61.js} +14 -14
- package/dist/chunks/{kv-fsrz95nf.js → model-resolver-aafmq595.js} +25 -25
- package/dist/chunks/{kv-dm6ksgvz.js → model-resolver-ahzfx2tk.js} +4 -4
- package/dist/chunks/{kv-s61hs6sc.js → model-resolver-ahzmq0a0.js} +12 -12
- package/dist/chunks/{kv-4evqz61e.js → model-resolver-akhh771z.js} +16 -16
- package/dist/chunks/{kv-91zgm02f.js → model-resolver-axj80nt7.js} +25 -25
- package/dist/chunks/{kv-ayjs7tqn.js → model-resolver-ayjs7tqn.js} +2 -2
- package/dist/chunks/{kv-89jhvfsn.js → model-resolver-b1acbdmy.js} +23 -23
- package/dist/chunks/{kv-b6vsg801.js → model-resolver-b6vsg801.js} +2 -2
- package/dist/chunks/{kv-wr3re1en.js → model-resolver-b6z35kmf.js} +4 -4
- package/dist/chunks/{kv-s13sq3kz.js → model-resolver-bc7wy6df.js} +27 -27
- package/dist/chunks/{kv-d3x5xz6w.js → model-resolver-bhvs01y7.js} +3 -3
- package/dist/chunks/{kv-4a3eytr1.js → model-resolver-bjyz8pkd.js} +26 -26
- package/dist/chunks/{kv-45t4pvv9.js → model-resolver-bk7xq8bh.js} +8 -8
- package/dist/chunks/{kv-x50xqm0y.js → model-resolver-bn4d6q1b.js} +29 -29
- package/dist/chunks/{kv-qkmqhy1p.js → model-resolver-bnfkacme.js} +27 -27
- package/dist/chunks/{kv-q2kjegb7.js → model-resolver-bpeyfd4s.js} +32 -32
- package/dist/chunks/{kv-bstexjd6.js → model-resolver-bstexjd6.js} +1 -1
- package/dist/chunks/{kv-g9cxkdwa.js → model-resolver-bxkqm08j.js} +6 -6
- package/dist/chunks/{kv-6ybw2n0b.js → model-resolver-c1p828ba.js} +20 -20
- package/dist/chunks/{kv-jd9njenw.js → model-resolver-c5jkhswj.js} +4 -4
- package/dist/chunks/{kv-02xem3g7.js → model-resolver-c7r1w9rw.js} +11 -11
- package/dist/chunks/{kv-jvdf543n.js → model-resolver-cd00wddm.js} +5 -5
- package/dist/chunks/{kv-2s2qahr1.js → model-resolver-cg5ng5tz.js} +49 -49
- package/dist/chunks/{kv-ftxywx64.js → model-resolver-crafzxe9.js} +8 -8
- package/dist/chunks/{kv-cwrgdav8.js → model-resolver-cwrgdav8.js} +2 -2
- package/dist/chunks/{kv-5jrsbfjd.js → model-resolver-cyy83wr4.js} +21 -21
- package/dist/chunks/{kv-ssfehs1z.js → model-resolver-d2887f8n.js} +4 -4
- package/dist/chunks/{kv-d4v9tmah.js → model-resolver-d4v9tmah.js} +2 -2
- package/dist/chunks/{kv-5tkm4nky.js → model-resolver-d94amd98.js} +17 -17
- package/dist/chunks/{kv-6xqtcmxs.js → model-resolver-dbmp929s.js} +5 -5
- package/dist/chunks/{kv-f4r96g21.js → model-resolver-dem1p0gt.js} +38 -38
- package/dist/chunks/{kv-hhd5n8kg.js → model-resolver-dgc1n24t.js} +51 -51
- package/dist/chunks/{kv-qzbnxppj.js → model-resolver-dh6wd5j1.js} +22 -22
- package/dist/chunks/{kv-c3rxspmj.js → model-resolver-djh43rh9.js} +21 -21
- package/dist/chunks/{kv-5ejxf25r.js → model-resolver-dndg0yrt.js} +23 -23
- package/dist/chunks/{kv-0wg3svz2.js → model-resolver-ds91jzkj.js} +22 -22
- package/dist/chunks/{kv-dt77769w.js → model-resolver-dt77769w.js} +1 -1
- package/dist/chunks/{kv-h2y60qcv.js → model-resolver-dt8bs7ka.js} +19 -19
- package/dist/chunks/{kv-0fvn3p7v.js → model-resolver-dx3ks3p5.js} +4 -4
- package/dist/chunks/{kv-8qnscykg.js → model-resolver-dy0t2s89.js} +10 -10
- package/dist/chunks/{kv-7j5zmrgn.js → model-resolver-e2ber9ej.js} +4 -4
- package/dist/chunks/{kv-drvbhkez.js → model-resolver-e2ne77ac.js} +4 -4
- package/dist/chunks/{kv-e834z07m.js → model-resolver-e834z07m.js} +1 -1
- package/dist/chunks/{kv-s6yf7284.js → model-resolver-e9fd3qhg.js} +43 -43
- package/dist/chunks/model-resolver-ean10rq4.js +26 -0
- package/dist/chunks/{kv-rw0xsr40.js → model-resolver-edqmm4mg.js} +4 -4
- package/dist/chunks/{kv-xya1t4hx.js → model-resolver-ee456nc6.js} +14 -14
- package/dist/chunks/{kv-z06a16gz.js → model-resolver-ejjd5knb.js} +35 -35
- package/dist/chunks/{kv-myytq8fm.js → model-resolver-ejmp5hdk.js} +32 -32
- package/dist/chunks/{kv-5rsan3mw.js → model-resolver-emg3vk42.js} +81 -81
- package/dist/chunks/{kv-3j1m3tq4.js → model-resolver-f01y088k.js} +5 -5
- package/dist/chunks/{kv-fffv3p7h.js → model-resolver-fffv3p7h.js} +1 -1
- package/dist/chunks/{kv-fg9p65nk.js → model-resolver-fg9p65nk.js} +2 -2
- package/dist/chunks/{kv-t1qkrhj3.js → model-resolver-fmxr4jhz.js} +5 -5
- package/dist/chunks/model-resolver-ft16aaq7.js +257 -0
- package/dist/chunks/{kv-rmg9yy75.js → model-resolver-g1rms717.js} +51 -51
- package/dist/chunks/{kv-7r392kn2.js → model-resolver-g75vtk68.js} +46 -46
- package/dist/chunks/{kv-hfgk9wzg.js → model-resolver-g7esga4v.js} +7 -7
- package/dist/chunks/{kv-8x9y3wj0.js → model-resolver-gcjdgkn2.js} +9 -9
- package/dist/chunks/{kv-gg8p9cgs.js → model-resolver-gg8p9cgs.js} +3 -3
- package/dist/chunks/{kv-tbnr3qzn.js → model-resolver-gjvqgy9h.js} +18 -18
- package/dist/chunks/{kv-0fgrxrs4.js → model-resolver-gnzrdma1.js} +17 -17
- package/dist/chunks/{kv-9qgjgkb9.js → model-resolver-gqa9d39q.js} +5 -5
- package/dist/chunks/{kv-404pyvje.js → model-resolver-gzdqjbk7.js} +47 -47
- package/dist/chunks/{kv-d0h96hzn.js → model-resolver-h7gvp0tv.js} +2 -2
- package/dist/chunks/{kv-x6pnkns2.js → model-resolver-h88vzpmf.js} +3 -3
- package/dist/chunks/{kv-v3xc7t3q.js → model-resolver-h9tajytd.js} +12 -12
- package/dist/chunks/{kv-a04bxpfg.js → model-resolver-heqsf106.js} +20 -20
- package/dist/chunks/{kv-2rmkd67q.js → model-resolver-hkrnt7ft.js} +26 -26
- package/dist/chunks/{kv-hpg1pkwy.js → model-resolver-hpg1pkwy.js} +1 -1
- package/dist/chunks/{kv-2pb3yjvs.js → model-resolver-htryym1w.js} +32 -32
- package/dist/chunks/{kv-gbxkedf1.js → model-resolver-hyn2hf34.js} +9 -9
- package/dist/chunks/{kv-j74bswn5.js → model-resolver-j2xzb38w.js} +14 -14
- package/dist/chunks/{kv-vgbe0hx2.js → model-resolver-j99dhamb.js} +6 -6
- package/dist/chunks/{kv-xtqtqx9z.js → model-resolver-jd9t7fpz.js} +54 -54
- package/dist/chunks/{kv-jfaecv01.js → model-resolver-jfaecv01.js} +1 -1
- package/dist/chunks/{kv-vb80j1wh.js → model-resolver-jh74jycr.js} +3 -3
- package/dist/chunks/{kv-rtjw24t9.js → model-resolver-jszp152f.js} +21 -21
- package/dist/chunks/{kv-jtnps1zs.js → model-resolver-jtnps1zs.js} +2 -2
- package/dist/chunks/{kv-b3vkvrqf.js → model-resolver-jv8ma802.js} +19 -19
- package/dist/chunks/{kv-z5kj034w.js → model-resolver-k4003xxm.js} +28 -28
- package/dist/chunks/{kv-k814nvkf.js → model-resolver-k814nvkf.js} +1 -1
- package/dist/chunks/{kv-e07q2w5p.js → model-resolver-k9zkdd2y.js} +4 -4
- package/dist/chunks/{kv-as23t5a0.js → model-resolver-kk6hjsv6.js} +57 -28
- package/dist/chunks/{kv-160yv0cs.js → model-resolver-kmzgegqq.js} +8 -8
- package/dist/chunks/{kv-kt3bjfbg.js → model-resolver-kt3bjfbg.js} +1 -1
- package/dist/chunks/{kv-3ztkfjf6.js → model-resolver-m0rc5tkg.js} +43 -43
- package/dist/chunks/{kv-m1714858.js → model-resolver-m1714858.js} +1 -1
- package/dist/chunks/{kv-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-5rgfwmcq.js → model-resolver-mbv30hgw.js} +33 -33
- package/dist/chunks/{kv-kaezavbt.js → model-resolver-mbwkpxg7.js} +7 -7
- package/dist/chunks/{kv-nx76pwqd.js → model-resolver-mdmwbg8j.js} +18 -18
- package/dist/chunks/{kv-kw1ywfqs.js → model-resolver-mef9jdgh.js} +13 -13
- package/dist/chunks/{kv-abt0sas0.js → model-resolver-mfc2a6rt.js} +24 -24
- package/dist/chunks/{kv-c5m2a8vb.js → model-resolver-mpe6qr53.js} +8 -8
- package/dist/chunks/{kv-66na6bfc.js → model-resolver-mrsvesd2.js} +4 -4
- package/dist/chunks/{kv-tadqmw12.js → model-resolver-mxjcs2d4.js} +12 -12
- package/dist/chunks/{kv-47xa9006.js → model-resolver-mznqryyf.js} +13 -13
- package/dist/chunks/{kv-wct2263p.js → model-resolver-n3bkb5q1.js} +8 -8
- package/dist/chunks/{kv-a3qf1gkz.js → model-resolver-n3vkcfay.js} +27 -27
- package/dist/chunks/{kv-wcz009vq.js → model-resolver-n70b5eav.js} +9 -9
- package/dist/chunks/{kv-qbwb6asr.js → model-resolver-n8jrpgc8.js} +14 -14
- package/dist/chunks/{kv-nah043kf.js → model-resolver-nah043kf.js} +1 -1
- package/dist/chunks/{kv-4a0szxqv.js → model-resolver-nd9ab5g5.js} +29 -29
- package/dist/chunks/{kv-55dqfegw.js → model-resolver-nq2cxg20.js} +8 -8
- package/dist/chunks/{kv-p015t6z3.js → model-resolver-p015t6z3.js} +2 -2
- package/dist/chunks/{kv-75595w94.js → model-resolver-p1d2jd5s.js} +32 -32
- package/dist/chunks/{kv-83xcdb4y.js → model-resolver-p2f2xnf4.js} +8 -8
- package/dist/chunks/{kv-fvssm496.js → model-resolver-p4j4rdzm.js} +3 -3
- package/dist/chunks/{kv-3p052jv5.js → model-resolver-p9fz6enw.js} +11 -11
- package/dist/chunks/{kv-6kd4nej0.js → model-resolver-pc07gvhs.js} +17 -17
- package/dist/chunks/{kv-xgdb09b7.js → model-resolver-pje2jx9t.js} +16 -16
- package/dist/chunks/{kv-f2k9m1r5.js → model-resolver-pkmmfap2.js} +11 -11
- package/dist/chunks/{kv-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{kv-n81rxgvg.js → model-resolver-pnwsrq7c.js} +6 -6
- package/dist/chunks/{kv-zgd8t41s.js → model-resolver-q4fcarhy.js} +9 -9
- package/dist/chunks/{kv-jx4dw3ag.js → model-resolver-q5mn4ggq.js} +17 -17
- package/dist/chunks/{kv-zgkm4kzm.js → model-resolver-q63cb7ap.js} +4 -4
- package/dist/chunks/{kv-stf0fspw.js → model-resolver-q6jh4k34.js} +24 -24
- package/dist/chunks/{kv-11z2hjhz.js → model-resolver-q6vrwb3q.js} +33 -33
- package/dist/chunks/{kv-fh84vrc6.js → model-resolver-qc8cfte5.js} +19 -19
- package/dist/chunks/{kv-xp28p2w2.js → model-resolver-qd123m2a.js} +12 -12
- package/dist/chunks/{kv-jyv46rdb.js → model-resolver-qjxc6f6y.js} +20 -20
- package/dist/chunks/{kv-qp7r0hxv.js → model-resolver-qp7r0hxv.js} +1 -1
- package/dist/chunks/{kv-r0yr0wbs.js → model-resolver-r0yr0wbs.js} +1 -1
- package/dist/chunks/{kv-5sx2762c.js → model-resolver-r119az03.js} +37 -37
- package/dist/chunks/{kv-bs9erd7a.js → model-resolver-r2d4vn47.js} +19 -19
- package/dist/chunks/{kv-r542h3bh.js → model-resolver-r542h3bh.js} +1 -1
- package/dist/chunks/{kv-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
- package/dist/chunks/{kv-9jj3c98z.js → model-resolver-reccgsd2.js} +11 -11
- package/dist/chunks/{kv-m2d0yhwr.js → model-resolver-rq55acke.js} +15 -15
- package/dist/chunks/{kv-61ennm6n.js → model-resolver-rrad2nt9.js} +4 -4
- package/dist/chunks/{kv-rt5dr6hb.js → model-resolver-rt5dr6hb.js} +1 -1
- package/dist/chunks/{kv-vp2s2yka.js → model-resolver-rvyhr33k.js} +11 -11
- package/dist/chunks/{kv-7e2neh3h.js → model-resolver-s0pcnr2w.js} +17 -17
- package/dist/chunks/{kv-q85rya1m.js → model-resolver-s2pfznc4.js} +6 -6
- package/dist/chunks/{kv-1cng5f3b.js → model-resolver-s4wznsg5.js} +9 -9
- package/dist/chunks/{kv-ex0pka66.js → model-resolver-s857ash9.js} +5 -5
- package/dist/chunks/{kv-sa3fpqfw.js → model-resolver-sa3fpqfw.js} +2 -2
- package/dist/chunks/{kv-2b2r99nk.js → model-resolver-smna7vm8.js} +16 -16
- package/dist/chunks/{kv-sqjzf8x2.js → model-resolver-sqjzf8x2.js} +1 -1
- package/dist/chunks/{kv-7y9vgyqs.js → model-resolver-stbdvqqm.js} +15 -15
- package/dist/chunks/{kv-svcy3p9a.js → model-resolver-svcy3p9a.js} +1 -1
- package/dist/chunks/{kv-va23x1ev.js → model-resolver-t4139yy5.js} +25 -25
- package/dist/chunks/{kv-760wp627.js → model-resolver-t7qjyp6j.js} +15 -15
- package/dist/chunks/{kv-vv3nc6b1.js → model-resolver-t8vm8f3g.js} +12 -12
- package/dist/chunks/{kv-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
- package/dist/chunks/{kv-hjpcddse.js → model-resolver-tmvkcy0b.js} +28 -28
- package/dist/chunks/{kv-86dmydwe.js → model-resolver-trw4ad51.js} +13 -13
- package/dist/chunks/{kv-twssxy5n.js → model-resolver-twssxy5n.js} +2 -2
- package/dist/chunks/{kv-q9np0saj.js → model-resolver-txtenhwq.js} +13 -13
- package/dist/chunks/{kv-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
- package/dist/chunks/{kv-kh14z306.js → model-resolver-vdvshhtc.js} +10 -10
- package/dist/chunks/{kv-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-kjz2x0t6.js → model-resolver-vngnyhcg.js} +4 -4
- package/dist/chunks/{kv-hde841fm.js → model-resolver-vtc2wvc2.js} +4 -4
- package/dist/chunks/{kv-2b2tn81v.js → model-resolver-vwa15b14.js} +50 -50
- package/dist/chunks/{kv-cyw3w6mc.js → model-resolver-vxfbx2fx.js} +36 -36
- package/dist/chunks/{kv-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-jnznqa0v.js → model-resolver-w4pg5caa.js} +42 -42
- package/dist/chunks/{kv-dmfyzmpg.js → model-resolver-w4wn8erh.js} +22 -22
- package/dist/chunks/{kv-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
- package/dist/chunks/{kv-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{kv-r0g6ap0x.js → model-resolver-we6d48z7.js} +5 -5
- package/dist/chunks/{kv-j8nev28t.js → model-resolver-wgdwbctn.js} +9 -9
- package/dist/chunks/{kv-hyq982s1.js → model-resolver-wmv5c24e.js} +204 -204
- package/dist/chunks/{kv-wnhgecwx.js → model-resolver-wnhgecwx.js} +1 -1
- package/dist/chunks/{kv-fhn08a80.js → model-resolver-wtt1w7za.js} +33 -33
- package/dist/chunks/{kv-6wv82vhb.js → model-resolver-wx4czxg4.js} +3 -3
- package/dist/chunks/{kv-t6mph8g7.js → model-resolver-wy5mgfg9.js} +73 -73
- package/dist/chunks/{kv-5dr4hgg7.js → model-resolver-wz5dzc00.js} +25 -25
- package/dist/chunks/{kv-zt0ned3b.js → model-resolver-x05mt2vr.js} +31 -31
- package/dist/chunks/{kv-jccwdt87.js → model-resolver-x634fp5p.js} +11 -11
- package/dist/chunks/{kv-7qh08jpw.js → model-resolver-x8c03df4.js} +3 -3
- package/dist/chunks/{kv-rka2t92q.js → model-resolver-xetz8apg.js} +35 -35
- package/dist/chunks/{kv-v1w3n95q.js → model-resolver-xg4yp5ky.js} +11 -11
- package/dist/chunks/{kv-3xack7ze.js → model-resolver-xkpx6s0s.js} +15 -15
- package/dist/chunks/{kv-x7p5d4ez.js → model-resolver-xwjvc1xc.js} +8 -8
- package/dist/chunks/{kv-9tvpxs1q.js → model-resolver-y00x4xpa.js} +4 -4
- package/dist/chunks/{kv-w3nmgmjr.js → model-resolver-y872wdn3.js} +25 -25
- package/dist/chunks/{kv-yara3q77.js → model-resolver-yara3q77.js} +2 -2
- package/dist/chunks/{kv-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
- package/dist/chunks/{kv-1r7af8ee.js → model-resolver-ymz7p2c9.js} +3 -3
- package/dist/chunks/{kv-jd4age7a.js → model-resolver-yw72hv1j.js} +4 -4
- package/dist/chunks/{kv-7dg3r1w7.js → model-resolver-yxbkj6h6.js} +11 -11
- package/dist/chunks/{kv-7r08xby2.js → model-resolver-yzg01fn7.js} +12 -12
- package/dist/chunks/{kv-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-z38nccrw.js → model-resolver-z38nccrw.js} +1 -1
- package/dist/chunks/{kv-2n5dwavd.js → model-resolver-z5c5swc0.js} +18 -18
- package/dist/chunks/{kv-c5jgm94y.js → model-resolver-zebg8dr3.js} +6 -6
- package/dist/chunks/{kv-vp0e260z.js → model-resolver-zfjyz62k.js} +23 -23
- package/dist/chunks/{kv-qydyzxp6.js → model-resolver-zt8d8h0y.js} +11 -11
- 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 +89 -89
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +119 -119
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +120 -120
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +381 -381
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -101
- 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 +80 -80
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- 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/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +232 -232
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +117 -117
- package/dist/git.js +11 -11
- 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 +107 -107
- 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-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +372 -372
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +369 -369
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +166 -166
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +114 -114
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +143 -143
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +361 -361
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- 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 +8 -8
- package/dist/plugin.js +232 -232
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +98 -98
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -104
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +162 -162
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- 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 +231 -231
- package/dist/session/execution.js +150 -150
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +136 -136
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +128 -128
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +227 -227
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +144 -144
- package/dist/snapshot.js +97 -97
- 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 +165 -165
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +152 -152
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +145 -145
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +151 -149
- package/dist/tool/plugin/websearch.js +147 -147
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/permission.d.ts +2 -0
- package/dist/types/tool/plugin/webfetch.d.ts +1 -0
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +1 -1
- 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 +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +96 -96
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/kv-56c2krc0.js +0 -511
- package/dist/chunks/kv-c77hr98g.js +0 -257
- package/dist/chunks/kv-e2m0e281.js +0 -26
- package/dist/chunks/kv-z7bdqmx5.js +0 -18
- /package/dist/chunks/{kv-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1jakw16s.js → model-resolver-1jakw16s.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4m86bj6y.js → model-resolver-4m86bj6y.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-5w3e23ze.js → model-resolver-5w3e23ze.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a058387c.js → model-resolver-a058387c.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-beh6qq61.js → model-resolver-beh6qq61.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cqv5kn06.js → model-resolver-cqv5kn06.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fkpq3x5p.js → model-resolver-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jwr30sdr.js → model-resolver-jwr30sdr.js} +0 -0
- /package/dist/chunks/{kv-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-ncqqe42p.js → model-resolver-ncqqe42p.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-p71gwv9c.js → model-resolver-p71gwv9c.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-6eh6zpt5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node87
|
|
8
|
+
} from "./model-resolver-0yjd96ev.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service76,
|
|
11
|
+
node79
|
|
12
|
+
} from "./model-resolver-pc07gvhs.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
synthetics2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-6pvfyazw.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/session/instructions.ts
|
|
24
24
|
var exports_instructions = {};
|
|
@@ -38,10 +38,10 @@ var InjectedMetadata = Schema.Struct({
|
|
|
38
38
|
class Service9 extends Context.Service()("@opencode/SessionInstructions") {
|
|
39
39
|
}
|
|
40
40
|
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
41
|
-
const bus = yield*
|
|
41
|
+
const bus = yield* Service84;
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const db = (yield* Service86).db;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service76;
|
|
45
45
|
const root = yield* fs.resolve(location.project.directory);
|
|
46
46
|
const inFlight = yield* Ref.make(new Map);
|
|
47
47
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -101,7 +101,7 @@ function describePath(root, path) {
|
|
|
101
101
|
var node11 = makeLocationNode({
|
|
102
102
|
name: "session-instructions",
|
|
103
103
|
layer,
|
|
104
|
-
deps: [
|
|
104
|
+
deps: [node87, node90, FSUtil.node, node79]
|
|
105
105
|
});
|
|
106
106
|
|
|
107
107
|
export { Service9, node11, exports_instructions };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node81
|
|
10
|
+
} from "./model-resolver-t8vm8f3g.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service76,
|
|
13
|
+
node79
|
|
14
|
+
} from "./model-resolver-pc07gvhs.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-204s3925.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error2,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID3,
|
|
27
|
+
Service: () => Service32,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID3 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service32 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID3.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -152,14 +152,14 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
152
152
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
153
153
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service32.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
157
|
+
var node35 = makeLocationNode({
|
|
158
|
+
service: Service32,
|
|
159
159
|
layer,
|
|
160
|
-
deps: [FSUtil.node,
|
|
160
|
+
deps: [FSUtil.node, node81, Global.node, node79]
|
|
161
161
|
});
|
|
162
|
-
var noopLayer2 = Layer.succeed(
|
|
162
|
+
var noopLayer2 = Layer.succeed(Service32, Service32.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -177,4 +177,4 @@ function failure(operation, cause) {
|
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { ID3, Error2, Service32, node35, noopLayer2, exports_snapshot2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service66,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node69
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service66 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service66, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service66.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service41, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node69 = makeGlobalNode({ service: Service66, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service66, node69, exports_environment };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-2gmf4cwd.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make4 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make10 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make4();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make4, LMStudioPlugin2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./model-resolver-0yjd96ev.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Event20
|
|
6
|
+
} from "./model-resolver-20xwdmdm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID15
|
|
9
|
+
} from "./model-resolver-x05mt2vr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID11
|
|
12
|
+
} from "./model-resolver-wtt1w7za.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/openai-context-caps.ts
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Stream } from "effect";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID15.make("openai");
|
|
18
18
|
var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
|
|
19
19
|
var legacyInput = 272000;
|
|
20
20
|
var currentInput = 500000;
|
|
21
21
|
var OpenAIContextCapsPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.openai-context-caps",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
24
|
-
const bus = yield*
|
|
24
|
+
const bus = yield* Service84;
|
|
25
25
|
let signedIn = false;
|
|
26
26
|
const load = Effect.fn("OpenAIContextCapsPlugin.load")(function* () {
|
|
27
27
|
const connection = yield* ctx.integration.connection.active(integrationID);
|
|
@@ -34,7 +34,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
34
34
|
yield* ctx.model.transform((models) => {
|
|
35
35
|
if (!signedIn)
|
|
36
36
|
return;
|
|
37
|
-
for (const model of models.list(
|
|
37
|
+
for (const model of models.list(ID11.openai)) {
|
|
38
38
|
models.update(model.providerID, model.id, (draft) => {
|
|
39
39
|
const input = cap(draft.modelID ?? draft.id);
|
|
40
40
|
if ((draft.limit.input || draft.limit.context) <= input)
|
|
@@ -43,7 +43,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
-
yield* bus.subscribe(
|
|
46
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
47
47
|
})
|
|
48
48
|
});
|
|
49
49
|
function cap(apiID) {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./model-resolver-cg5ng5tz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service29
|
|
6
|
+
} from "./model-resolver-g1rms717.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp2 = {};
|
|
13
|
+
__export(exports_mcp2, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
+
Plugin: () => Plugin22,
|
|
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 Plugin22 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe({ types: ["config.updated"] }));
|
|
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* Service69;
|
|
28
|
+
const mcp = yield* Service29;
|
|
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 { Plugin22, register2, exports_mcp2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-40za9wsf.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin4,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin4 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin37 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin4, exports_exa };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID15,
|
|
7
|
+
Service81,
|
|
8
|
+
node84
|
|
9
|
+
} from "./model-resolver-x05mt2vr.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
|
-
Info: () =>
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
17
|
+
Info: () => Info3,
|
|
18
|
+
Service: () => Service16,
|
|
19
|
+
UnavailableError: () => UnavailableError3,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer10,
|
|
22
|
+
node: () => node18
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
29
29
|
import { httpClient } from "@opencode/util/effect/app-node-platform";
|
|
30
30
|
import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var Info3 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError3 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service16 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer10 = Layer.effect(Service16, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service81;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
|
-
const connection = yield* integrations.connection.active(
|
|
45
|
+
const connection = yield* integrations.connection.active(ID15.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer25 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError3({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer25 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service16.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node18 = makeLocationNode({
|
|
72
|
+
service: Service16,
|
|
73
|
+
layer: layer10,
|
|
74
|
+
deps: [node84, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export {
|
|
133
|
+
export { Info3, UnavailableError3, Service16, layer10, node18, exports_usage_limits };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./model-resolver-s2pfznc4.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-6zjm2phc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service65
|
|
9
|
+
} from "./model-resolver-vwa15b14.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-k814nvkf.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service48;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service65), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./model-resolver-bjyz8pkd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./model-resolver-a8pfnwqf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output10,
|
|
17
17
|
Plugin: () => Plugin51,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output10 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin51 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service82;
|
|
57
|
+
const permission = yield* Service59;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output10,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name14, description6, Input14, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
|