@opencode/core 0.0.0-dev-142 → 0.0.0-dev-146
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 +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +81 -81
- package/dist/chunks/{model-resolver-00j2jq49.js → formatter-00pktjsy.js} +21 -21
- package/dist/chunks/formatter-01awnnjy.js +511 -0
- package/dist/chunks/{model-resolver-g1rms717.js → formatter-02f3mwsw.js} +53 -53
- package/dist/chunks/{model-resolver-034tev2y.js → formatter-034tev2y.js} +2 -2
- package/dist/chunks/{model-resolver-ymz7p2c9.js → formatter-0f8tg23y.js} +3 -3
- package/dist/chunks/{model-resolver-mfc2a6rt.js → formatter-0jjwjx0v.js} +24 -24
- package/dist/chunks/{model-resolver-hkrnt7ft.js → formatter-0ks8sfjc.js} +33 -33
- package/dist/chunks/{model-resolver-pkmmfap2.js → formatter-0qf1t2tf.js} +9 -9
- package/dist/chunks/{model-resolver-tmvkcy0b.js → formatter-0tqctwjc.js} +21 -21
- package/dist/chunks/{model-resolver-b1acbdmy.js → formatter-176yg0jf.js} +12 -12
- package/dist/chunks/{model-resolver-w4pg5caa.js → formatter-180ps155.js} +28 -28
- package/dist/chunks/{model-resolver-1ep2p91f.js → formatter-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-resolver-6551djh0.js → formatter-1eqvcz7d.js} +21 -21
- package/dist/chunks/{model-resolver-1kn6jdkn.js → formatter-1kn6jdkn.js} +1 -1
- package/dist/chunks/{model-resolver-6d7x7hha.js → formatter-1tz3dvpf.js} +28 -28
- package/dist/chunks/{model-resolver-1x2knyw4.js → formatter-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-resolver-1yq9hg58.js → formatter-1yq9hg58.js} +1 -1
- package/dist/chunks/{model-resolver-204s3925.js → formatter-204s3925.js} +1 -1
- package/dist/chunks/{model-resolver-08h64782.js → formatter-206jryat.js} +36 -36
- package/dist/chunks/{model-resolver-h7gvp0tv.js → formatter-27bs79w9.js} +2 -2
- package/dist/chunks/{model-resolver-810xvjsv.js → formatter-2br6b2v9.js} +7 -7
- package/dist/chunks/{model-resolver-1eg9cpxp.js → formatter-2jexqb4b.js} +17 -17
- package/dist/chunks/{model-resolver-7s7rdm9s.js → formatter-2saggmey.js} +22 -22
- package/dist/chunks/{model-resolver-c1p828ba.js → formatter-2vjv0qpa.js} +20 -20
- package/dist/chunks/{model-resolver-s857ash9.js → formatter-2xwkyk0m.js} +5 -5
- package/dist/chunks/{model-resolver-jh74jycr.js → formatter-2zp5a6yg.js} +3 -3
- package/dist/chunks/{model-resolver-pc07gvhs.js → formatter-30wq98rm.js} +17 -17
- package/dist/chunks/{model-resolver-bk7xq8bh.js → formatter-31wms35x.js} +8 -8
- package/dist/chunks/{model-resolver-8pd54nv5.js → formatter-34b2q3dm.js} +27 -27
- package/dist/chunks/{model-resolver-wtt1w7za.js → formatter-35zt77b2.js} +24 -24
- package/dist/chunks/{model-resolver-xetz8apg.js → formatter-3gbv69k7.js} +32 -32
- package/dist/chunks/{model-resolver-n3vkcfay.js → formatter-3h9jmy66.js} +27 -27
- package/dist/chunks/{model-resolver-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-vxfbx2fx.js → formatter-3jw91zxn.js} +22 -22
- package/dist/chunks/{model-resolver-dbmp929s.js → formatter-3kdbrncp.js} +5 -5
- package/dist/chunks/{model-resolver-3nnrz6f6.js → formatter-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-resolver-zfjyz62k.js → formatter-3qgpmfb2.js} +25 -25
- package/dist/chunks/{model-resolver-gjvqgy9h.js → formatter-3ykedks4.js} +13 -13
- package/dist/chunks/{model-resolver-wy5mgfg9.js → formatter-3ysmapca.js} +71 -71
- package/dist/chunks/{model-resolver-0yd77tsv.js → formatter-3zjnpbwd.js} +30 -30
- package/dist/chunks/{model-resolver-40za9wsf.js → formatter-40za9wsf.js} +2 -2
- package/dist/chunks/{model-resolver-z5c5swc0.js → formatter-4e1keyg1.js} +17 -17
- package/dist/chunks/{model-resolver-zebg8dr3.js → formatter-4k8v9b7f.js} +4 -4
- package/dist/chunks/{model-resolver-4pyp9zr9.js → formatter-4pyp9zr9.js} +1 -1
- package/dist/chunks/{model-resolver-4v008n1t.js → formatter-4v008n1t.js} +1 -1
- package/dist/chunks/{model-resolver-ahzfx2tk.js → formatter-4vxvd6mv.js} +6 -6
- package/dist/chunks/{model-resolver-r119az03.js → formatter-54bnvst0.js} +37 -37
- package/dist/chunks/{model-resolver-8anaanvs.js → formatter-54ptjt3c.js} +6 -6
- package/dist/chunks/{model-resolver-22frdqra.js → formatter-58t0t45t.js} +17 -17
- package/dist/chunks/{model-resolver-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-5x26af84.js → formatter-5x26af84.js} +4 -4
- package/dist/chunks/{model-resolver-stbdvqqm.js → formatter-60g5e9a4.js} +15 -15
- package/dist/chunks/{model-resolver-7j5kte3m.js → formatter-65f11974.js} +9 -9
- package/dist/chunks/{model-resolver-jv8ma802.js → formatter-65q9xmpy.js} +19 -19
- package/dist/chunks/{model-resolver-bnfkacme.js → formatter-67dmgvxj.js} +15 -15
- package/dist/chunks/{model-resolver-cg5ng5tz.js → formatter-6add78pk.js} +33 -33
- package/dist/chunks/{model-resolver-p9fz6enw.js → formatter-6asz9jay.js} +11 -11
- package/dist/chunks/{model-resolver-5a5y8bey.js → formatter-6dra8ttr.js} +38 -38
- package/dist/chunks/{model-resolver-6esdw8yj.js → formatter-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-resolver-7dz079pe.js → formatter-6rt7ts86.js} +2 -2
- package/dist/chunks/{model-resolver-4sy33n8r.js → formatter-6t1z78dt.js} +27 -27
- package/dist/chunks/{model-resolver-edqmm4mg.js → formatter-6td4j3g2.js} +4 -4
- package/dist/chunks/formatter-6tn508k7.js +257 -0
- package/dist/chunks/{model-resolver-q6vrwb3q.js → formatter-6v5r3k3y.js} +35 -35
- package/dist/chunks/{model-resolver-1hcx3tbe.js → formatter-70agar2m.js} +2 -2
- package/dist/chunks/{model-resolver-6pvfyazw.js → formatter-75evnb93.js} +9 -9
- package/dist/chunks/{model-resolver-76cb1hcw.js → formatter-76cb1hcw.js} +1 -1
- package/dist/chunks/{model-resolver-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-jszp152f.js → formatter-7hmjb961.js} +17 -17
- package/dist/chunks/{model-resolver-qc8cfte5.js → formatter-7hqt66pc.js} +25 -25
- package/dist/chunks/{model-resolver-zt8d8h0y.js → formatter-7ngzeq25.js} +6 -6
- package/dist/chunks/{model-resolver-7w2ypzdf.js → formatter-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-resolver-mxjcs2d4.js → formatter-7ye1cp98.js} +12 -12
- package/dist/chunks/{model-resolver-crafzxe9.js → formatter-80kvr5bw.js} +8 -8
- package/dist/chunks/{model-resolver-4zqw3v5h.js → formatter-8430rgvc.js} +8 -8
- package/dist/chunks/{model-resolver-p4j4rdzm.js → formatter-8843840p.js} +3 -3
- package/dist/chunks/{model-resolver-8jztxfpf.js → formatter-8jztxfpf.js} +1 -1
- package/dist/chunks/{model-resolver-74xmswmc.js → formatter-8phszwmc.js} +11 -11
- package/dist/chunks/{model-resolver-dgc1n24t.js → formatter-8qnchk02.js} +51 -51
- package/dist/chunks/{model-resolver-8wtp7s3z.js → formatter-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-resolver-q4fcarhy.js → formatter-8yhc7zrg.js} +9 -9
- package/dist/chunks/{model-resolver-pnwsrq7c.js → formatter-8ykqf5wm.js} +8 -8
- package/dist/chunks/{model-resolver-q5mn4ggq.js → formatter-8ymr7d4s.js} +15 -15
- package/dist/chunks/{model-resolver-90zstvax.js → formatter-90zstvax.js} +1 -1
- package/dist/chunks/{model-resolver-txtenhwq.js → formatter-91za51b6.js} +11 -11
- package/dist/chunks/{model-resolver-wz5dzc00.js → formatter-95qeadzf.js} +25 -25
- package/dist/chunks/{model-resolver-dy0t2s89.js → formatter-9can0ppv.js} +10 -10
- package/dist/chunks/{model-resolver-7dh73bnv.js → formatter-9ctbbx4t.js} +2 -2
- package/dist/chunks/{model-resolver-8xq2wskz.js → formatter-9k3wnwh3.js} +9 -9
- package/dist/chunks/{model-resolver-s2pfznc4.js → formatter-9nkjg9qd.js} +6 -6
- package/dist/chunks/{model-resolver-9r0x1bva.js → formatter-9r0x1bva.js} +2 -2
- package/dist/chunks/{model-resolver-xg4yp5ky.js → formatter-9t0k5eya.js} +11 -11
- package/dist/chunks/{model-resolver-30q9anfd.js → formatter-9tacn0cp.js} +2 -2
- package/dist/chunks/{model-resolver-trw4ad51.js → formatter-9v0dawq3.js} +13 -13
- package/dist/chunks/{model-resolver-ahzmq0a0.js → formatter-9zcxsq7k.js} +12 -12
- package/dist/chunks/{model-resolver-x634fp5p.js → formatter-a609rjt8.js} +9 -9
- package/dist/chunks/{model-resolver-j2xzb38w.js → formatter-a9atne55.js} +11 -11
- package/dist/chunks/{model-resolver-p1d2jd5s.js → formatter-advnjzs0.js} +28 -28
- package/dist/chunks/{model-resolver-rvyhr33k.js → formatter-afbxbw72.js} +11 -11
- package/dist/chunks/{model-resolver-nd9ab5g5.js → formatter-afhdzj43.js} +27 -27
- package/dist/chunks/{model-resolver-vngnyhcg.js → formatter-ay20v4cr.js} +4 -4
- package/dist/chunks/{model-resolver-ayjs7tqn.js → formatter-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-resolver-djh43rh9.js → formatter-az02dgt5.js} +23 -23
- package/dist/chunks/{model-resolver-48a83rgb.js → formatter-b5rjhvjd.js} +9 -9
- package/dist/chunks/{model-resolver-b6vsg801.js → formatter-b6vsg801.js} +2 -2
- package/dist/chunks/{model-resolver-dndg0yrt.js → formatter-b727e2mf.js} +20 -20
- package/dist/chunks/{model-resolver-5k083j4m.js → formatter-bc4s7aac.js} +12 -12
- package/dist/chunks/{model-resolver-rrad2nt9.js → formatter-bjhzkqyk.js} +4 -4
- package/dist/chunks/{model-resolver-gnzrdma1.js → formatter-bph6tfhv.js} +11 -11
- package/dist/chunks/{model-resolver-mef9jdgh.js → formatter-brwf83f1.js} +20 -20
- package/dist/chunks/formatter-brxvtjfc.js +26 -0
- package/dist/chunks/{model-resolver-bstexjd6.js → formatter-bstexjd6.js} +1 -1
- package/dist/chunks/{model-resolver-n3bkb5q1.js → formatter-c2gy53he.js} +8 -8
- package/dist/chunks/{model-resolver-f01y088k.js → formatter-c46s9eb3.js} +5 -5
- package/dist/chunks/{model-resolver-7fpmdzjk.js → formatter-c6qe9nk0.js} +17 -17
- package/dist/chunks/{model-resolver-86xcj867.js → formatter-c9hwcyhb.js} +14 -14
- package/dist/chunks/{model-resolver-d2887f8n.js → formatter-c9t2ty9q.js} +4 -4
- package/dist/chunks/{model-resolver-vtc2wvc2.js → formatter-chgm1tby.js} +1 -1
- package/dist/chunks/{model-resolver-20xwdmdm.js → formatter-cjce029x.js} +31 -31
- package/dist/chunks/{model-resolver-cwrgdav8.js → formatter-cwrgdav8.js} +2 -2
- package/dist/chunks/{model-resolver-ds91jzkj.js → formatter-cxx4120z.js} +20 -20
- package/dist/chunks/{model-resolver-htryym1w.js → formatter-cymxkkyw.js} +30 -30
- package/dist/chunks/{model-resolver-d4v9tmah.js → formatter-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-resolver-2gmf4cwd.js → formatter-da1nsxc2.js} +12 -12
- package/dist/chunks/{model-resolver-dt77769w.js → formatter-dt77769w.js} +1 -1
- package/dist/chunks/{model-resolver-yxbkj6h6.js → formatter-e5qfbzbw.js} +11 -11
- package/dist/chunks/{model-resolver-e834z07m.js → formatter-e834z07m.js} +1 -1
- package/dist/chunks/{model-resolver-vwa15b14.js → formatter-ec29h8ha.js} +49 -49
- package/dist/chunks/{model-resolver-hyn2hf34.js → formatter-enj9pb4k.js} +9 -9
- package/dist/chunks/{model-resolver-jd9t7fpz.js → formatter-envv585q.js} +54 -54
- package/dist/chunks/{model-resolver-pje2jx9t.js → formatter-enxh4fyk.js} +13 -13
- package/dist/chunks/{model-resolver-emg3vk42.js → formatter-fahcx4cp.js} +80 -80
- package/dist/chunks/{model-resolver-bjyz8pkd.js → formatter-fdthysjs.js} +26 -26
- package/dist/chunks/{model-resolver-fffv3p7h.js → formatter-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-resolver-fg9p65nk.js → formatter-fg9p65nk.js} +2 -2
- package/dist/chunks/{model-resolver-5yypp707.js → formatter-fmt2zjvb.js} +17 -17
- package/dist/chunks/{model-resolver-2jz3h0mg.js → formatter-fnac5zc8.js} +13 -13
- package/dist/chunks/{model-resolver-x05mt2vr.js → formatter-fq6avx26.js} +31 -31
- package/dist/chunks/{model-resolver-ee456nc6.js → formatter-g3enaqm9.js} +16 -16
- package/dist/chunks/{model-resolver-qd123m2a.js → formatter-g6wkcjn2.js} +5 -5
- package/dist/chunks/{model-resolver-4dmkk8ef.js → formatter-g7gshgt7.js} +4 -4
- package/dist/chunks/{model-resolver-reccgsd2.js → formatter-g9jxkka8.js} +11 -11
- package/dist/chunks/{model-resolver-mznqryyf.js → formatter-gc1mvsnx.js} +8 -8
- package/dist/chunks/{model-resolver-bn4d6q1b.js → formatter-ge85sm10.js} +26 -26
- package/dist/chunks/{model-resolver-gg8p9cgs.js → formatter-gg8p9cgs.js} +3 -3
- package/dist/chunks/{model-resolver-axj80nt7.js → formatter-ghfyfjkc.js} +16 -16
- package/dist/chunks/{model-resolver-1c18fjk2.js → formatter-grv0jex9.js} +11 -11
- package/dist/chunks/{model-resolver-mbv30hgw.js → formatter-gsrcb0q9.js} +31 -31
- package/dist/chunks/{model-resolver-bhvs01y7.js → formatter-h4p3pyf8.js} +6 -6
- package/dist/chunks/{model-resolver-e2ber9ej.js → formatter-h659ea78.js} +4 -4
- package/dist/chunks/{model-resolver-bc7wy6df.js → formatter-hbdn8m45.js} +34 -34
- package/dist/chunks/{model-resolver-7ktdj9mm.js → formatter-hdfrs5mg.js} +9 -9
- package/dist/chunks/{model-resolver-c7r1w9rw.js → formatter-hgd7c2hz.js} +13 -13
- package/dist/chunks/{model-resolver-h88vzpmf.js → formatter-hhe1ee49.js} +3 -3
- package/dist/chunks/{model-resolver-02912v3r.js → formatter-hn3gdjg3.js} +37 -37
- package/dist/chunks/{model-resolver-e9fd3qhg.js → formatter-hp39vnpe.js} +38 -38
- package/dist/chunks/{model-resolver-hpg1pkwy.js → formatter-hpg1pkwy.js} +1 -1
- package/dist/chunks/{model-resolver-99vf0hqv.js → formatter-htx3sbcr.js} +24 -24
- package/dist/chunks/{model-resolver-dt8bs7ka.js → formatter-hvkex31a.js} +11 -11
- package/dist/chunks/{model-resolver-mpe6qr53.js → formatter-hx6gesf1.js} +8 -8
- package/dist/chunks/{model-resolver-y872wdn3.js → formatter-hyaynvgx.js} +25 -25
- package/dist/chunks/{model-resolver-mdmwbg8j.js → formatter-hz5mdqd1.js} +8 -8
- package/dist/chunks/{model-resolver-g75vtk68.js → formatter-j9revkc6.js} +41 -41
- package/dist/chunks/{model-resolver-jfaecv01.js → formatter-jfaecv01.js} +1 -1
- package/dist/chunks/{model-resolver-yw72hv1j.js → formatter-jq9280ps.js} +4 -4
- package/dist/chunks/{model-resolver-jtnps1zs.js → formatter-jtnps1zs.js} +2 -2
- package/dist/chunks/{model-resolver-wmv5c24e.js → formatter-jvcwjysj.js} +197 -197
- package/dist/chunks/{model-resolver-72dm1bvs.js → formatter-jwxccdg8.js} +3 -3
- package/dist/chunks/{model-resolver-cyy83wr4.js → formatter-k00f7hr2.js} +19 -19
- package/dist/chunks/{model-resolver-259dfg4a.js → formatter-k15fpqjy.js} +17 -17
- package/dist/chunks/{model-resolver-p2f2xnf4.js → formatter-k4d71d02.js} +8 -8
- package/dist/chunks/{model-resolver-q6jh4k34.js → formatter-k63k4b1f.js} +24 -24
- package/dist/chunks/{model-resolver-k814nvkf.js → formatter-k814nvkf.js} +1 -1
- package/dist/chunks/{model-resolver-m0rc5tkg.js → formatter-ka1bgm7s.js} +41 -41
- package/dist/chunks/{model-resolver-wgdwbctn.js → formatter-kgzzqqhe.js} +9 -9
- package/dist/chunks/{model-resolver-5ser1zg9.js → formatter-kjjfjqy3.js} +12 -12
- package/dist/chunks/{model-resolver-kt3bjfbg.js → formatter-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-resolver-s4wznsg5.js → formatter-kz7z5vjf.js} +9 -9
- package/dist/chunks/{model-resolver-n8jrpgc8.js → formatter-m0azqb84.js} +14 -14
- package/dist/chunks/{model-resolver-m1714858.js → formatter-m1714858.js} +1 -1
- package/dist/chunks/{model-resolver-w4wn8erh.js → formatter-m7fwq7c0.js} +22 -22
- package/dist/chunks/{model-resolver-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-y00x4xpa.js → formatter-mgcsgjq4.js} +4 -4
- package/dist/chunks/{model-resolver-dh6wd5j1.js → formatter-mjz2tdxa.js} +19 -19
- package/dist/chunks/{model-resolver-9615vp9a.js → formatter-mpswt61j.js} +1 -1
- package/dist/chunks/{model-resolver-akhh771z.js → formatter-mq5znjk8.js} +13 -13
- package/dist/chunks/{model-resolver-ejjd5knb.js → formatter-mwq3mt8e.js} +35 -35
- package/dist/chunks/{model-resolver-qjxc6f6y.js → formatter-mwx8k457.js} +20 -20
- package/dist/chunks/{model-resolver-mbwkpxg7.js → formatter-n8p4chj2.js} +2 -2
- package/dist/chunks/{model-resolver-mrsvesd2.js → formatter-n98b5x95.js} +1 -1
- package/dist/chunks/{model-resolver-nah043kf.js → formatter-nah043kf.js} +1 -1
- package/dist/chunks/{model-resolver-wx4czxg4.js → formatter-ngxbkp8v.js} +3 -3
- package/dist/chunks/{model-resolver-77gzjyfx.js → formatter-npbdyff7.js} +32 -32
- package/dist/chunks/{model-resolver-1wnedb0q.js → formatter-nrv1y2q0.js} +5 -5
- package/dist/chunks/{model-resolver-d94amd98.js → formatter-nsevj23t.js} +13 -13
- package/dist/chunks/{model-resolver-p015t6z3.js → formatter-p015t6z3.js} +2 -2
- package/dist/chunks/{model-resolver-9vjgnb2r.js → formatter-pa0ex826.js} +9 -9
- package/dist/chunks/{model-resolver-70q4g7fy.js → formatter-pd78jttv.js} +13 -13
- package/dist/chunks/{model-resolver-69zcgx44.js → formatter-pkh3c91y.js} +25 -25
- package/dist/chunks/{model-resolver-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-6eh6zpt5.js → formatter-pt7m923m.js} +3 -3
- package/dist/chunks/{model-resolver-t4139yy5.js → formatter-pwzrj9r4.js} +27 -27
- package/dist/chunks/{model-resolver-r2d4vn47.js → formatter-q2zh2gwm.js} +19 -19
- package/dist/chunks/{model-resolver-92p41aee.js → formatter-q35sm1em.js} +1 -1
- package/dist/chunks/{model-resolver-9ndb8058.js → formatter-q39rmv9p.js} +93 -93
- package/dist/chunks/{model-resolver-q63cb7ap.js → formatter-q63cb7ap.js} +3 -3
- package/dist/chunks/{model-resolver-qp7r0hxv.js → formatter-qp7r0hxv.js} +1 -1
- package/dist/chunks/{model-resolver-3ryz99p0.js → formatter-qqg9c0kv.js} +4 -4
- package/dist/chunks/{model-resolver-fmxr4jhz.js → formatter-qw68mmce.js} +5 -5
- package/dist/chunks/{model-resolver-nq2cxg20.js → formatter-r0pbn82r.js} +9 -9
- package/dist/chunks/{model-resolver-r0yr0wbs.js → formatter-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-resolver-4s4jqh0r.js → formatter-r2h6cvw2.js} +3 -3
- package/dist/chunks/{model-resolver-r542h3bh.js → formatter-r542h3bh.js} +1 -1
- package/dist/chunks/{model-resolver-00vhvht6.js → formatter-r85hedwm.js} +9 -9
- package/dist/chunks/{model-resolver-rb9dy4dg.js → formatter-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-resolver-s0pcnr2w.js → formatter-rc57nzph.js} +15 -15
- package/dist/chunks/{model-resolver-xwjvc1xc.js → formatter-re90sanf.js} +9 -9
- package/dist/chunks/{model-resolver-rt5dr6hb.js → formatter-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-resolver-0yjd96ev.js → formatter-rvbdf6ee.js} +14 -14
- package/dist/chunks/{model-resolver-6bsbxh19.js → formatter-s3g9ecv2.js} +24 -24
- package/dist/chunks/{model-resolver-9q8g9sv8.js → formatter-s7kyse9r.js} +4 -4
- package/dist/chunks/{model-resolver-e2ne77ac.js → formatter-s7xmnr8t.js} +8 -8
- package/dist/chunks/{model-resolver-ejmp5hdk.js → formatter-s7zt2hwe.js} +32 -32
- package/dist/chunks/{model-resolver-sa3fpqfw.js → formatter-sa3fpqfw.js} +2 -2
- package/dist/chunks/{model-resolver-kk6hjsv6.js → formatter-sjchwnp0.js} +22 -22
- package/dist/chunks/{model-resolver-sqjzf8x2.js → formatter-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-resolver-gzdqjbk7.js → formatter-ssnx7b4e.js} +45 -45
- package/dist/chunks/{model-resolver-svcy3p9a.js → formatter-svcy3p9a.js} +1 -1
- package/dist/chunks/{model-resolver-cd00wddm.js → formatter-t0dansjm.js} +5 -5
- package/dist/chunks/{model-resolver-9y0knddb.js → formatter-t2z71z34.js} +5 -5
- package/dist/chunks/{model-resolver-7re6vdtc.js → formatter-t87050pk.js} +5 -5
- package/dist/chunks/{model-resolver-dx3ks3p5.js → formatter-tbhy4r12.js} +4 -4
- package/dist/chunks/{model-resolver-tczq8hjw.js → formatter-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-resolver-kmzgegqq.js → formatter-tg1vr1qt.js} +8 -8
- package/dist/chunks/{model-resolver-0e6cmbb1.js → formatter-thvf23q9.js} +7 -7
- package/dist/chunks/{model-resolver-c5jkhswj.js → formatter-tknbc31d.js} +4 -4
- package/dist/chunks/{model-resolver-x8c03df4.js → formatter-tmd438dm.js} +3 -3
- package/dist/chunks/{model-resolver-n70b5eav.js → formatter-tmpv8qhk.js} +9 -9
- package/dist/chunks/{model-resolver-gqa9d39q.js → formatter-tp0wxn7d.js} +5 -5
- package/dist/chunks/{model-resolver-twssxy5n.js → formatter-twssxy5n.js} +2 -2
- package/dist/chunks/{model-resolver-v2r1d0zg.js → formatter-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-resolver-a8pfnwqf.js → formatter-v519ksy7.js} +46 -46
- package/dist/chunks/{model-resolver-k4003xxm.js → formatter-v6z303eq.js} +28 -28
- package/dist/chunks/{model-resolver-26x8chrq.js → formatter-vaq1yek0.js} +6 -6
- package/dist/chunks/formatter-vdh3rgac.js +18 -0
- package/dist/chunks/{model-resolver-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-8vkd6pwc.js → formatter-vjbxdeb8.js} +12 -12
- package/dist/chunks/{model-resolver-g7esga4v.js → formatter-vmfhgzt5.js} +5 -5
- package/dist/chunks/{model-resolver-gcjdgkn2.js → formatter-vrcsa8qx.js} +9 -9
- package/dist/chunks/{model-resolver-t8vm8f3g.js → formatter-vrx9q2v9.js} +12 -12
- package/dist/chunks/{model-resolver-5ect6tx9.js → formatter-vx3jgdek.js} +3 -3
- package/dist/chunks/{model-resolver-k9zkdd2y.js → formatter-w307e9wj.js} +4 -4
- package/dist/chunks/{model-resolver-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-b6z35kmf.js → formatter-w687dnns.js} +4 -4
- package/dist/chunks/{model-resolver-wakvkjy4.js → formatter-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-resolver-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-03p96rzt.js → formatter-we007nbv.js} +25 -25
- package/dist/chunks/{model-resolver-yzg01fn7.js → formatter-whtafen9.js} +10 -10
- package/dist/chunks/{model-resolver-06bhh52d.js → formatter-wkztgnzq.js} +41 -41
- package/dist/chunks/{model-resolver-wnhgecwx.js → formatter-wnhgecwx.js} +1 -1
- package/dist/chunks/{model-resolver-j99dhamb.js → formatter-wtn2pt4a.js} +6 -6
- package/dist/chunks/{model-resolver-bpeyfd4s.js → formatter-wxrt44b6.js} +34 -34
- package/dist/chunks/{model-resolver-we6d48z7.js → formatter-x7gm0ha8.js} +5 -5
- package/dist/chunks/{model-resolver-heqsf106.js → formatter-xwc4j8ee.js} +12 -12
- package/dist/chunks/{model-resolver-bxkqm08j.js → formatter-xwyda8kd.js} +6 -6
- package/dist/chunks/{model-resolver-vdvshhtc.js → formatter-xzqqj5cv.js} +10 -10
- package/dist/chunks/{model-resolver-a8xdst61.js → formatter-xzwcmcya.js} +9 -9
- package/dist/chunks/{model-resolver-1tte1mx1.js → formatter-y03y2908.js} +13 -13
- package/dist/chunks/{model-resolver-yara3q77.js → formatter-yara3q77.js} +2 -2
- package/dist/chunks/{model-resolver-3j6nq55v.js → formatter-yb13j5xb.js} +5 -5
- package/dist/chunks/{model-resolver-yb20nhc3.js → formatter-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-resolver-t7qjyp6j.js → formatter-yh2xpw0b.js} +20 -20
- package/dist/chunks/{model-resolver-xkpx6s0s.js → formatter-yhcrwr1f.js} +13 -13
- package/dist/chunks/{model-resolver-h9tajytd.js → formatter-yhn7d48k.js} +8 -8
- package/dist/chunks/{model-resolver-2mbjfaxd.js → formatter-yqveydy6.js} +4 -4
- package/dist/chunks/{model-resolver-dem1p0gt.js → formatter-yy19he2s.js} +38 -38
- package/dist/chunks/{model-resolver-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-z38nccrw.js → formatter-z38nccrw.js} +1 -1
- package/dist/chunks/{model-resolver-8qp8tat4.js → formatter-z4rk52fe.js} +22 -22
- package/dist/chunks/{model-resolver-20yqreeg.js → formatter-zayt27d7.js} +20 -20
- package/dist/chunks/{model-resolver-0wjsrq6g.js → formatter-ze827wmr.js} +35 -35
- package/dist/chunks/{model-resolver-7qjfmraz.js → formatter-zg5q7ejm.js} +59 -59
- package/dist/chunks/{model-resolver-aafmq595.js → formatter-zj8xsvef.js} +24 -24
- package/dist/chunks/{model-resolver-rq55acke.js → formatter-zma8xknj.js} +15 -15
- package/dist/chunks/{model-resolver-5h3ym5d6.js → formatter-znaw7jdf.js} +8 -8
- package/dist/chunks/{model-resolver-68aa2d0k.js → formatter-zv35kxex.js} +36 -36
- package/dist/chunks/{model-resolver-smna7vm8.js → formatter-zwjwjj82.js} +16 -16
- package/dist/chunks/{model-resolver-83sq6nks.js → formatter-zzg16z9m.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +119 -119
- package/dist/config/plugin/command.js +219 -219
- 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 +128 -128
- 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 +121 -121
- 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 +121 -121
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- 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 +120 -120
- 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 +103 -103
- 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 +98 -98
- 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 +84 -84
- 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 +7 -7
- 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 +113 -113
- 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 +90 -90
- 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 +164 -164
- 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 +115 -115
- 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 +102 -102
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- 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 +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 +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- 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 +121 -121
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +136 -136
- 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 +128 -128
- 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 +123 -123
- 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 +128 -128
- 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 +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +357 -357
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +117 -117
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +101 -101
- 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 +94 -94
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- 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 +5 -5
- 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 +188 -188
- 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 +132 -132
- 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 +104 -104
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +152 -152
- 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 +215 -215
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +190 -190
- 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 +223 -223
- 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 +7 -7
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +148 -148
- 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 +158 -158
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +147 -147
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +90 -90
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- 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 +104 -104
- package/package.json +8 -8
- package/dist/chunks/model-resolver-0rvmmz3p.js +0 -511
- package/dist/chunks/model-resolver-6zjm2phc.js +0 -18
- package/dist/chunks/model-resolver-ean10rq4.js +0 -26
- package/dist/chunks/model-resolver-ft16aaq7.js +0 -257
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1jakw16s.js → formatter-1jakw16s.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → formatter-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4m86bj6y.js → formatter-4m86bj6y.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5w3e23ze.js → formatter-5w3e23ze.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a058387c.js → formatter-a058387c.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-beh6qq61.js → formatter-beh6qq61.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cqv5kn06.js → formatter-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fkpq3x5p.js → formatter-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jwr30sdr.js → formatter-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → formatter-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → formatter-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-ncqqe42p.js → formatter-ncqqe42p.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-p71gwv9c.js → formatter-p71gwv9c.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-pt7m923m.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-8jztxfpf.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service85,
|
|
10
|
+
node89
|
|
11
|
+
} from "./formatter-rvbdf6ee.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessageTable2,
|
|
17
17
|
SessionInboxTable2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-gg8p9cgs.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
UserPayload3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./formatter-fg9p65nk.js";
|
|
25
25
|
import {
|
|
26
26
|
hydrateInbox2,
|
|
27
27
|
keepInboxRefs2,
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
externalizePayload2,
|
|
30
30
|
recordRefs2,
|
|
31
31
|
releaseMessage2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./formatter-4k8v9b7f.js";
|
|
33
33
|
import {
|
|
34
34
|
decodeMessageRows2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./formatter-75evnb93.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./formatter-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/inbox.ts
|
|
41
41
|
var exports_inbox = {};
|
|
@@ -43,7 +43,7 @@ __export(exports_inbox, {
|
|
|
43
43
|
Compaction: () => Compaction2,
|
|
44
44
|
CompactionPayload: () => CompactionPayload2,
|
|
45
45
|
Delivery: () => Delivery2,
|
|
46
|
-
Info: () =>
|
|
46
|
+
Info: () => Info8,
|
|
47
47
|
Item: () => Item2,
|
|
48
48
|
LifecycleConflict: () => LifecycleConflict2,
|
|
49
49
|
MediaInfo: () => MediaInfo2,
|
|
@@ -51,7 +51,7 @@ __export(exports_inbox, {
|
|
|
51
51
|
MediaUserPayload: () => MediaUserPayload2,
|
|
52
52
|
Move: () => Move2,
|
|
53
53
|
MovePayload: () => MovePayload2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service44,
|
|
55
55
|
SessionInbox: () => exports_inbox,
|
|
56
56
|
Synthetic: () => Synthetic2,
|
|
57
57
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -62,10 +62,10 @@ __export(exports_inbox, {
|
|
|
62
62
|
layer: () => layer21,
|
|
63
63
|
list: () => list3,
|
|
64
64
|
listWithRefs: () => listWithRefs2,
|
|
65
|
-
make: () =>
|
|
65
|
+
make: () => make15,
|
|
66
66
|
moveIDs: () => moveIDs2,
|
|
67
67
|
nextPromotable: () => nextPromotable2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node46,
|
|
69
69
|
projectAdmitted: () => projectAdmitted2,
|
|
70
70
|
projectCancelled: () => projectCancelled2,
|
|
71
71
|
projectDelivered: () => projectDelivered2,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
Compaction as Compaction2,
|
|
81
81
|
CompactionPayload as CompactionPayload2,
|
|
82
82
|
Delivery as Delivery2,
|
|
83
|
-
Info as
|
|
83
|
+
Info as Info8,
|
|
84
84
|
Item as Item2,
|
|
85
85
|
MediaInfo as MediaInfo2,
|
|
86
86
|
MediaUser as MediaUser2,
|
|
@@ -184,12 +184,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
184
184
|
});
|
|
185
185
|
});
|
|
186
186
|
|
|
187
|
-
class
|
|
187
|
+
class Service44 extends Context.Service()("@opencode/SessionInbox") {
|
|
188
188
|
}
|
|
189
|
-
var
|
|
189
|
+
var make15 = Effect.fn("SessionInbox.make")(function* () {
|
|
190
190
|
const database = yield* Service86;
|
|
191
191
|
const db = database.db;
|
|
192
|
-
const bus = yield*
|
|
192
|
+
const bus = yield* Service85;
|
|
193
193
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
194
194
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
195
195
|
if (existing === undefined)
|
|
@@ -206,7 +206,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
206
206
|
inboxID: request.id,
|
|
207
207
|
sessionID: request.sessionID,
|
|
208
208
|
item: request.item
|
|
209
|
-
}).pipe(Effect.map((event) =>
|
|
209
|
+
}).pipe(Effect.map((event) => Info8.make({
|
|
210
210
|
id: request.id,
|
|
211
211
|
sessionID: request.sessionID,
|
|
212
212
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -260,8 +260,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
260
260
|
queue
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
|
-
var layer21 = Layer.effect(
|
|
264
|
-
var
|
|
263
|
+
var layer21 = Layer.effect(Service44, make15());
|
|
264
|
+
var node46 = makeGlobalNode({ service: Service44, layer: layer21, deps: [node90, node89] });
|
|
265
265
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
266
266
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
267
267
|
if (message !== undefined)
|
|
@@ -385,4 +385,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
385
385
|
return rows;
|
|
386
386
|
}));
|
|
387
387
|
|
|
388
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
388
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service44, make15, layer21, node46, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-204s3925.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options6,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service58,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
18
|
configured: () => configured8,
|
|
@@ -21,7 +21,7 @@ __export(exports_select, {
|
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name16,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node61,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -47,7 +47,7 @@ var Options6 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service58 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,7 +199,7 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service58.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
@@ -207,8 +207,8 @@ var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
209
|
function configured8(options) {
|
|
210
|
-
return makeLocationNode({ service:
|
|
210
|
+
return makeLocationNode({ service: Service58, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node61 = configured8();
|
|
213
213
|
|
|
214
|
-
export { Options6,
|
|
214
|
+
export { Options6, Service58, gitbash2, name16, login2, ps2, args2, environment2, resolve3, list4, configured8, node61, exports_select };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service57,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node60
|
|
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 Service57 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service57, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service57.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(Service66, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node60 = makeGlobalNode({ service: Service57, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service57, node60, exports_environment };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2,
|
|
3
3
|
exists2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-svcy3p9a.js";
|
|
5
5
|
import {
|
|
6
6
|
AbsolutePath2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-z5v4ffb3.js";
|
|
8
8
|
import {
|
|
9
9
|
root2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-8qnchk02.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service82,
|
|
13
|
+
node86
|
|
14
|
+
} from "./formatter-30wq98rm.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service62,
|
|
17
|
+
node65
|
|
18
|
+
} from "./formatter-s3g9ecv2.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service65,
|
|
21
|
+
node69
|
|
22
|
+
} from "./formatter-v519ksy7.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./formatter-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/file-access.ts
|
|
28
28
|
var exports_file_access = {};
|
|
@@ -30,8 +30,8 @@ __export(exports_file_access, {
|
|
|
30
30
|
FileAccess: () => exports_file_access,
|
|
31
31
|
Kind: () => Kind2,
|
|
32
32
|
ResolveInput: () => ResolveInput2,
|
|
33
|
-
Service: () =>
|
|
34
|
-
node: () =>
|
|
33
|
+
Service: () => Service15,
|
|
34
|
+
node: () => node17,
|
|
35
35
|
resolvePath: () => resolvePath2
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -45,7 +45,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
45
45
|
kind: Kind2.pipe(Schema.optional)
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service15 extends Context.Service()("@opencode/FileAccess") {
|
|
49
49
|
}
|
|
50
50
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
51
51
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -57,11 +57,11 @@ var invocation = (context) => ({
|
|
|
57
57
|
agent: context.agent,
|
|
58
58
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
59
59
|
});
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const { files } = yield*
|
|
60
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
61
|
+
const { files } = yield* Service62;
|
|
62
62
|
const exists = (file) => exists2(files, file);
|
|
63
|
-
const location = yield*
|
|
64
|
-
const permission = yield*
|
|
63
|
+
const location = yield* Service82;
|
|
64
|
+
const permission = yield* Service65;
|
|
65
65
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
66
66
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
67
67
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -110,12 +110,12 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
110
110
|
});
|
|
111
111
|
return target;
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service15.of({ resolve, authorizeExternal, authorizeRead });
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node17 = makeLocationNode({
|
|
116
|
+
service: Service15,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [
|
|
118
|
+
deps: [node65, node86, node69]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { Kind2, ResolveInput2,
|
|
121
|
+
export { Kind2, ResolveInput2, Service15, resolvePath2, node17, exports_file_access };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load6
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-ncqqe42p.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
@@ -15,11 +15,11 @@ __export(exports_watcher, {
|
|
|
15
15
|
Service: () => Service70,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
20
|
layer: () => layer26,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node74,
|
|
23
23
|
testLayer: () => testLayer3
|
|
24
24
|
});
|
|
25
25
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -155,10 +155,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
155
155
|
}
|
|
156
156
|
}));
|
|
157
157
|
var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
158
|
-
function
|
|
158
|
+
function configured11(options) {
|
|
159
159
|
return makeGlobalNode({ service: Service70, layer: layer26(options), deps: [nativeNode] });
|
|
160
160
|
}
|
|
161
|
-
var
|
|
161
|
+
var node74 = configured11();
|
|
162
162
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
163
163
|
if (!native || !backend) {
|
|
164
164
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -178,4 +178,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
178
178
|
}).pipe(Effect.as(undefined))));
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export { hasNativeBinding2, Native3, Service70, Test3, layer26, testLayer3, nativeLayer2,
|
|
181
|
+
export { hasNativeBinding2, Native3, Service70, Test3, layer26, testLayer3, nativeLayer2, configured11, node74, exports_watcher };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
6
|
Service69
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-6add78pk.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-svcy3p9a.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service62
|
|
13
|
+
} from "./formatter-s3g9ecv2.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service47
|
|
16
|
+
} from "./formatter-zwjwjj82.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service65
|
|
19
|
+
} from "./formatter-v519ksy7.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service15,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-hyaynvgx.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service58,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./formatter-hvkex31a.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError7,
|
|
36
|
+
Service56
|
|
37
|
+
} from "./formatter-ec29h8ha.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service23
|
|
40
|
+
} from "./formatter-q39rmv9p.js";
|
|
41
41
|
import {
|
|
42
42
|
scan3
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./formatter-tknbc31d.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./formatter-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input9,
|
|
53
|
+
Plugin: () => Plugin44,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name9
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name9 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input9 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,18 +117,18 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin44 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service23;
|
|
124
|
+
const jobs = yield* Service47;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service62;
|
|
127
|
+
const access = yield* Service15;
|
|
128
|
+
const shell = yield* Service56;
|
|
129
|
+
const shellSelect = yield* Service58;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
131
|
+
const permission = yield* Service65;
|
|
132
132
|
const config = yield* Service69;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
@@ -148,7 +148,7 @@ var Plugin46 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name9,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin46 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name9,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input9,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin46 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name9,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name9];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin44, exports_shell2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-da1nsxc2.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make6 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make7 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make6();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make6, OllamaPlugin2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|