@opencode/core 0.0.0-dev-20318 → 0.0.0-dev-20328
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{pty-256nx13v.js → command-08rawchj.js} +3 -3
- package/dist/chunks/{pty-aay1zk17.js → command-0bbg5mgz.js} +11 -11
- package/dist/chunks/{pty-0s0y88vc.js → command-0f00b5dx.js} +17 -17
- package/dist/chunks/{pty-dvyvddm3.js → command-0grgek18.js} +29 -29
- package/dist/chunks/{pty-ghk9cxjs.js → command-0hf9g8pg.js} +6 -6
- package/dist/chunks/{pty-3q71xbme.js → command-0jq7xanq.js} +8 -8
- package/dist/chunks/{pty-mkw5hrks.js → command-0jq9fyba.js} +9 -9
- package/dist/chunks/{pty-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-k6wc7sjx.js → command-0tsnk9s4.js} +26 -26
- package/dist/chunks/{pty-m9wy7qrr.js → command-0z8vjex2.js} +9 -9
- package/dist/chunks/{pty-xx8yj516.js → command-12wyshmk.js} +15 -15
- package/dist/chunks/{pty-9v1cvbjh.js → command-133zd6pq.js} +13 -13
- package/dist/chunks/{pty-vwf8v7dm.js → command-173e3mya.js} +3 -3
- package/dist/chunks/{pty-tcvdrfa5.js → command-17zy7cfp.js} +12 -12
- package/dist/chunks/{pty-t6vsspdg.js → command-19vf66h0.js} +7 -7
- package/dist/chunks/{pty-2gk02e42.js → command-1a79m22w.js} +9 -9
- package/dist/chunks/{pty-1acjjqhc.js → command-1acjjqhc.js} +1 -1
- package/dist/chunks/{pty-de077sac.js → command-1awajp9d.js} +11 -11
- package/dist/chunks/{pty-73tb2d7t.js → command-1bbkgx8g.js} +3 -3
- package/dist/chunks/{pty-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-pzv6qmsd.js → command-1g734vay.js} +16 -16
- package/dist/chunks/{pty-nv3zfv5m.js → command-1h6krnfg.js} +19 -19
- package/dist/chunks/{pty-30t862yp.js → command-1k3w44xe.js} +31 -31
- package/dist/chunks/{pty-jws6fkes.js → command-1p07q0wb.js} +6 -6
- package/dist/chunks/{pty-e3dkwfpd.js → command-1p8321re.js} +4 -4
- package/dist/chunks/{pty-kpbhz432.js → command-20g5pfhx.js} +10 -10
- package/dist/chunks/{pty-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{pty-jkgp4bya.js → command-26wd49eb.js} +24 -24
- package/dist/chunks/{pty-z63w68vq.js → command-29x78va6.js} +6 -6
- package/dist/chunks/{pty-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-7nejhbzv.js → command-2j34hmmc.js} +9 -9
- package/dist/chunks/{pty-e6qckmx8.js → command-2p8k3371.js} +8 -8
- package/dist/chunks/{pty-3cfzdc8e.js → command-2qp6y8xf.js} +5 -5
- package/dist/chunks/{pty-dbgdcep4.js → command-2r6ezsm1.js} +15 -15
- package/dist/chunks/{pty-90evrgjx.js → command-2ta6pfy2.js} +12 -12
- package/dist/chunks/{pty-2hg7qvzt.js → command-2vgzs72b.js} +5 -5
- package/dist/chunks/{pty-xwrmeaqy.js → command-32eqhqc9.js} +37 -37
- package/dist/chunks/{pty-mysz3zax.js → command-35zdg7pf.js} +38 -38
- package/dist/chunks/{pty-fvpy227v.js → command-36pz7r0j.js} +27 -27
- package/dist/chunks/{pty-f0ftzx98.js → command-3b9qt4hj.js} +9 -9
- package/dist/chunks/{pty-h6n6beer.js → command-3ce9fkjd.js} +20 -20
- package/dist/chunks/{pty-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-7ffjd9nn.js → command-3h2pgdn1.js} +13 -13
- package/dist/chunks/{pty-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-pa8pe2x7.js → command-3hfr6h8q.js} +6 -6
- package/dist/chunks/{pty-3155ewe9.js → command-3njz9hw1.js} +5 -5
- package/dist/chunks/{pty-pnv527nz.js → command-3pe7sts8.js} +9 -9
- package/dist/chunks/{pty-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-pr3nsq2d.js → command-3yrc8p0f.js} +32 -32
- package/dist/chunks/{pty-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-s41e7rcq.js → command-407bfz6x.js} +54 -54
- package/dist/chunks/{pty-b4tr3200.js → command-41kk9vt4.js} +35 -35
- package/dist/chunks/{pty-de52ckkz.js → command-44pdqs77.js} +4 -4
- package/dist/chunks/{pty-703jyx7f.js → command-4c2df9zx.js} +8 -8
- package/dist/chunks/{pty-e0j2qvqa.js → command-4xb4td9x.js} +23 -23
- package/dist/chunks/{pty-7rq54f71.js → command-52tmng8s.js} +26 -26
- package/dist/chunks/{pty-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{pty-ckecvw8r.js → command-54tcyq79.js} +2 -2
- package/dist/chunks/{pty-e1717p4y.js → command-55149hb6.js} +27 -27
- package/dist/chunks/{pty-srzvg8rp.js → command-55mw5dew.js} +3 -3
- package/dist/chunks/{pty-1ygqh575.js → command-56gdpj1q.js} +9 -9
- package/dist/chunks/{pty-qqeeq2t9.js → command-57b9ws8p.js} +4 -4
- package/dist/chunks/{pty-4sn99hha.js → command-57ez7d0k.js} +7 -7
- package/dist/chunks/{pty-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-m79451vn.js → command-5fr28cxv.js} +17 -17
- package/dist/chunks/{pty-cn17vkgn.js → command-5gydy8qd.js} +16 -16
- package/dist/chunks/{pty-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-2yxfa91q.js → command-5tc03052.js} +4 -4
- package/dist/chunks/{pty-50mzsvk4.js → command-5wtwrezn.js} +21 -21
- package/dist/chunks/{pty-11wds091.js → command-5xampkzv.js} +22 -22
- package/dist/chunks/{pty-am3jb77f.js → command-5ysec52w.js} +24 -24
- package/dist/chunks/{pty-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{pty-eg7p5t05.js → command-67a3m4yw.js} +5 -5
- package/dist/chunks/{pty-ebb8qs7w.js → command-68g7trhf.js} +6 -6
- package/dist/chunks/{pty-6msgmcgs.js → command-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-4qyq7ysy.js → command-6p36spce.js} +9 -9
- package/dist/chunks/{pty-357ynq7f.js → command-6t2wbhs5.js} +4 -4
- package/dist/chunks/{pty-y2ab8x41.js → command-6z9y85k1.js} +12 -12
- package/dist/chunks/{pty-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-vet0644j.js → command-7cqkmc07.js} +13 -13
- package/dist/chunks/{pty-qgn6gcr1.js → command-7dqw4kz8.js} +5 -5
- package/dist/chunks/{pty-yt0fqk68.js → command-7gvwkz6m.js} +5 -5
- package/dist/chunks/{pty-b3sw95b3.js → command-81pgz9gn.js} +5 -5
- package/dist/chunks/{pty-w1eejvng.js → command-84txncab.js} +5 -5
- package/dist/chunks/{pty-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-y3q03scc.js → command-8hgfhrm0.js} +11 -11
- package/dist/chunks/{pty-83rrd27w.js → command-8p6hdx4a.js} +51 -51
- package/dist/chunks/{pty-bgxcxs0p.js → command-92a4ap4w.js} +5 -5
- package/dist/chunks/{pty-h6v00njn.js → command-93r6kb0j.js} +8 -8
- package/dist/chunks/{pty-g3ede0c3.js → command-9bye45vx.js} +34 -31
- package/dist/chunks/{pty-yw8t9dwe.js → command-9jbvj98d.js} +8 -8
- package/dist/chunks/{pty-ymjd80ya.js → command-9tw8yaak.js} +11 -11
- package/dist/chunks/{pty-f50z3byn.js → command-9x57qh30.js} +18 -18
- package/dist/chunks/{pty-th2fx4nm.js → command-a49t4mpe.js} +25 -25
- package/dist/chunks/{pty-a91670k2.js → command-a4jz5h7x.js} +24 -24
- package/dist/chunks/{pty-4e8hyveh.js → command-a7xxapnj.js} +8 -8
- package/dist/chunks/{pty-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/command-achjr09z.js +26 -0
- package/dist/chunks/{pty-qf5fgtzs.js → command-achky8s5.js} +43 -43
- package/dist/chunks/{pty-rbrht0p3.js → command-ad1se6we.js} +8 -8
- package/dist/chunks/{pty-q7jg25mm.js → command-ahnc2hpr.js} +11 -11
- package/dist/chunks/{pty-y38ja4bc.js → command-ak9msbxp.js} +6 -6
- package/dist/chunks/{pty-pmr4s4kc.js → command-an7cqtb7.js} +4 -4
- package/dist/chunks/{pty-6swcvh2w.js → command-atk3new3.js} +31 -31
- package/dist/chunks/{pty-aqgw5bb6.js → command-aze5dktd.js} +30 -30
- package/dist/chunks/{pty-1s35068b.js → command-b06mxnn4.js} +23 -23
- package/dist/chunks/{pty-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-f62qkzqr.js → command-b7b4ctej.js} +5 -5
- package/dist/chunks/{pty-z07pqspn.js → command-bjtzbw4r.js} +3 -3
- package/dist/chunks/{pty-kdvzk119.js → command-bk7jaeqh.js} +4 -4
- package/dist/chunks/{pty-6567567a.js → command-bq6be9me.js} +16 -16
- package/dist/chunks/{pty-9qbzbnrx.js → command-bqwcv1te.js} +3 -3
- package/dist/chunks/{pty-zzh5t8zs.js → command-brbc9hym.js} +17 -17
- package/dist/chunks/{pty-bwdamcq2.js → command-c3btd4vx.js} +37 -37
- package/dist/chunks/{pty-qgsvmkm8.js → command-cca4q062.js} +25 -25
- package/dist/chunks/{pty-nf278a5w.js → command-ccq9v9cm.js} +13 -11
- package/dist/chunks/{pty-zpkx8m7q.js → command-ctmf4cjh.js} +9 -9
- package/dist/chunks/{pty-325f4v0d.js → command-d8jep961.js} +6 -6
- package/dist/chunks/{pty-jfna3bad.js → command-d8xd8q6j.js} +10 -10
- package/dist/chunks/{pty-xr4gjzhd.js → command-dzqgar42.js} +27 -27
- package/dist/chunks/{pty-a8mz3dzk.js → command-e1cpzhmy.js} +28 -28
- package/dist/chunks/{pty-5qd3pb7m.js → command-e3qxr5gk.js} +2 -2
- package/dist/chunks/{pty-p6sw6t37.js → command-e73y8s3p.js} +13 -13
- package/dist/chunks/{pty-ecfe7b91.js → command-ecfe7b91.js} +2 -2
- package/dist/chunks/{pty-bjj3a5nq.js → command-edgjk5pb.js} +15 -15
- package/dist/chunks/{pty-14436fm0.js → command-eeavwd92.js} +3 -3
- package/dist/chunks/{pty-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-etqm6ew7.js → command-ehzgjc3e.js} +27 -27
- package/dist/chunks/{pty-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-raaksh1t.js → command-eyhtqccb.js} +7 -7
- package/dist/chunks/{pty-7ptzzj42.js → command-ezw3czwx.js} +48 -48
- package/dist/chunks/{pty-m7va1g8x.js → command-f38wsw69.js} +2 -2
- package/dist/chunks/{pty-ccjxb5pr.js → command-f3c11mr4.js} +187 -187
- package/dist/chunks/{pty-frj0gj8n.js → command-f7arvf55.js} +9 -9
- package/dist/chunks/{pty-xk0yttex.js → command-fdjp4t8r.js} +11 -11
- package/dist/chunks/{pty-2917nqpv.js → command-fmsg4ra7.js} +29 -29
- package/dist/chunks/{pty-cfct8xv3.js → command-fraeex00.js} +5 -5
- package/dist/chunks/{pty-xvp1j2dc.js → command-g5agzp2h.js} +5 -5
- package/dist/chunks/{pty-v09f5ftj.js → command-g5g6qkd8.js} +3 -3
- package/dist/chunks/{pty-gdfekrc1.js → command-g8k5egew.js} +19 -19
- package/dist/chunks/{pty-1wxgmaf2.js → command-ga3d7eyp.js} +58 -58
- package/dist/chunks/{pty-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-p482tycy.js → command-gfkmrq4p.js} +25 -25
- package/dist/chunks/{pty-94ek1h2f.js → command-gfvb90ym.js} +2 -2
- package/dist/chunks/{pty-zm0694m6.js → command-gjbqwzd2.js} +49 -49
- package/dist/chunks/{pty-c765mh8b.js → command-gjwgx2c5.js} +9 -9
- package/dist/chunks/{pty-zet84qb7.js → command-gkgr9f8v.js} +33 -33
- package/dist/chunks/{pty-n0eq19s0.js → command-gkkss05z.js} +4 -4
- package/dist/chunks/{pty-ne6nw42t.js → command-gmjj820p.js} +23 -23
- package/dist/chunks/{pty-gv6a8nnw.js → command-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-d0rt25wb.js → command-h0z3n8yt.js} +12 -12
- package/dist/chunks/{pty-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-p6wxjpka.js → command-h9wp8z5w.js} +4 -4
- package/dist/chunks/{pty-jm72s75x.js → command-hk140s3y.js} +22 -22
- package/dist/chunks/{pty-sbqctm1g.js → command-hpjjk0gj.js} +5 -5
- package/dist/chunks/command-ht5y0zrb.js +18 -0
- package/dist/chunks/{pty-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-c58ks3y1.js → command-j6q1cfcf.js} +10 -10
- package/dist/chunks/{pty-a2wz46gb.js → command-j6y5gsxd.js} +24 -24
- package/dist/chunks/{pty-v76zgedn.js → command-jc8cd7se.js} +10 -10
- package/dist/chunks/{pty-d9n03hwg.js → command-jcvmways.js} +43 -43
- package/dist/chunks/{pty-vbfgae2j.js → command-jewzahs7.js} +4 -4
- package/dist/chunks/{pty-2pkxka52.js → command-jjc9h9gx.js} +10 -10
- package/dist/chunks/{pty-ks3rvccb.js → command-jygjpmnc.js} +17 -17
- package/dist/chunks/{pty-cddhxtfh.js → command-k458ssz6.js} +22 -22
- package/dist/chunks/{pty-2h7nr2dq.js → command-k8zgzs4j.js} +7 -7
- package/dist/chunks/{pty-s3tjp3s7.js → command-kfv2zn0s.js} +28 -28
- package/dist/chunks/{pty-hcgr32kr.js → command-kha295zz.js} +8 -8
- package/dist/chunks/{pty-wxxqj8y2.js → command-knpa7q1k.js} +44 -44
- package/dist/chunks/{pty-ktbx0pdv.js → command-kpycjfkz.js} +31 -31
- package/dist/chunks/{pty-skhecnb2.js → command-ks2axvh4.js} +17 -17
- package/dist/chunks/{pty-h1gr63pp.js → command-m18nzyk6.js} +43 -43
- package/dist/chunks/{pty-m3fdjcah.js → command-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-9n2j9wwa.js → command-m6bfk4mw.js} +19 -19
- package/dist/chunks/{pty-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-1fgh79gw.js → command-md4m2kyr.js} +18 -18
- package/dist/chunks/{pty-w4c76nsq.js → command-mfz89tqk.js} +35 -35
- package/dist/chunks/{pty-56m60q16.js → command-mm5kxf07.js} +8 -8
- package/dist/chunks/{pty-5c3sm4vt.js → command-mmeqzzre.js} +25 -25
- package/dist/chunks/command-mp2jdty2.js +252 -0
- package/dist/chunks/{pty-kc0rwcmg.js → command-mpc5v7rs.js} +34 -34
- package/dist/chunks/{pty-x661k3y3.js → command-mpk0rfs5.js} +4 -4
- package/dist/chunks/{pty-ygx1qhaf.js → command-mqafpt2f.js} +1 -1
- package/dist/chunks/{pty-x5f3h710.js → command-n9p09fbd.js} +37 -37
- package/dist/chunks/{pty-xz46ks89.js → command-nd3zz1gr.js} +5 -5
- package/dist/chunks/{pty-beycjfkd.js → command-nr8aa75s.js} +33 -33
- package/dist/chunks/{pty-ss0rzm77.js → command-nsdyb8pw.js} +18 -18
- package/dist/chunks/{pty-k80936kv.js → command-nx1xqst5.js} +3 -3
- package/dist/chunks/{pty-v979hmqb.js → command-nxawm2f0.js} +26 -26
- package/dist/chunks/{pty-vtgv0bzx.js → command-nzj20ack.js} +15 -15
- package/dist/chunks/{pty-nzks3jc8.js → command-nzks3jc8.js} +3 -3
- package/dist/chunks/{pty-g9me8x3m.js → command-nzyyvfzd.js} +56 -56
- package/dist/chunks/{pty-9cev0hxa.js → command-p1s99nq8.js} +11 -11
- package/dist/chunks/{pty-fk7hsds5.js → command-p64sp65g.js} +45 -45
- package/dist/chunks/{pty-zf1kfpxj.js → command-p7j22ek7.js} +11 -11
- package/dist/chunks/{pty-xpc77ah9.js → command-pgfgfh2x.js} +22 -22
- package/dist/chunks/{pty-8pqaysd2.js → command-phsdeme5.js} +18 -18
- package/dist/chunks/{pty-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{pty-xpa1x964.js → command-pmmvzvq4.js} +87 -87
- package/dist/chunks/{pty-tw4fgwkc.js → command-pppvxay8.js} +33 -33
- package/dist/chunks/{pty-wd3x2cqz.js → command-psazpmmj.js} +2 -2
- package/dist/chunks/{pty-p7atxmve.js → command-q5ekdvah.js} +33 -33
- package/dist/chunks/{pty-nxavjaqk.js → command-qd8zrxrt.js} +7 -7
- package/dist/chunks/{pty-dmv2xfrr.js → command-qkpjvsg2.js} +11 -11
- package/dist/chunks/{pty-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-r2cvksq4.js → command-qw2yw8z7.js} +22 -22
- package/dist/chunks/{pty-rph3zd4r.js → command-qz49fwgp.js} +6 -6
- package/dist/chunks/{pty-nxtr8th6.js → command-r6q2c161.js} +11 -11
- package/dist/chunks/{pty-gj4kh9zb.js → command-r7cqnzm4.js} +24 -24
- package/dist/chunks/{pty-6nkj5wpf.js → command-rcj1qd62.js} +71 -71
- package/dist/chunks/{pty-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-gbt6w4kb.js → command-rhjbct0v.js} +8 -8
- package/dist/chunks/{pty-k2ypctgb.js → command-rpabj4tm.js} +15 -15
- package/dist/chunks/{pty-tz4n1mmd.js → command-rpg9c19m.js} +4 -4
- package/dist/chunks/{pty-fz1xeq2j.js → command-rw4kw2hm.js} +9 -9
- package/dist/chunks/{pty-3500r4jn.js → command-s4b4q9yc.js} +12 -12
- package/dist/chunks/{pty-yrznvahk.js → command-s4enseaf.js} +2 -2
- package/dist/chunks/{pty-0rabspjk.js → command-s4x18w05.js} +1 -1
- package/dist/chunks/{pty-t5bcrkja.js → command-s53bx6aa.js} +16 -16
- package/dist/chunks/{pty-8zm4zhyk.js → command-sb221pn8.js} +32 -32
- package/dist/chunks/{pty-jhn6cv3t.js → command-sf4638mk.js} +17 -17
- package/dist/chunks/{pty-zdfh86pt.js → command-sk5hhzgy.js} +20 -20
- package/dist/chunks/{pty-634gzr1f.js → command-sp6nzw66.js} +25 -25
- package/dist/chunks/{pty-ksnxxryk.js → command-t0xpt4yf.js} +31 -31
- package/dist/chunks/{pty-0ezaj5b7.js → command-t2445nzz.js} +32 -32
- package/dist/chunks/{pty-5cnqx41v.js → command-t4g45am5.js} +6 -6
- package/dist/chunks/{pty-xbzg2b7z.js → command-t7pash87.js} +10 -10
- package/dist/chunks/{pty-8g5e2f0w.js → command-tahyjvza.js} +22 -22
- package/dist/chunks/{pty-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-dcey28wr.js → command-tcdggtwa.js} +23 -23
- package/dist/chunks/{pty-89znhe33.js → command-tcezcvh9.js} +4 -4
- package/dist/chunks/{pty-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{pty-pkpxeptk.js → command-tea88xkw.js} +89 -89
- package/dist/chunks/{pty-gr4v7nh8.js → command-tn9j577v.js} +11 -11
- package/dist/chunks/{pty-g8nt03wg.js → command-tsbqqcav.js} +4 -4
- package/dist/chunks/{pty-tvtrv512.js → command-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-dcfrr12t.js → command-tyq8797k.js} +37 -37
- package/dist/chunks/{pty-pbfch3ec.js → command-v556y4yv.js} +11 -11
- package/dist/chunks/{pty-03c3mj7d.js → command-v9chgcj3.js} +10 -10
- package/dist/chunks/{pty-qbdw2qyr.js → command-vb1y33sc.js} +11 -11
- package/dist/chunks/{pty-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-b596zvfn.js → command-vptby8qv.js} +14 -14
- package/dist/chunks/{pty-qca4j8wz.js → command-vr9bpkcp.js} +20 -20
- package/dist/chunks/{pty-s4jk5hcs.js → command-vtyptmt5.js} +337 -337
- package/dist/chunks/{pty-0gggs5ty.js → command-vy4zg7qh.js} +12 -12
- package/dist/chunks/{pty-yhmyzjvr.js → command-vyxeydcn.js} +21 -21
- package/dist/chunks/{pty-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-af4h48h1.js → command-w0a3dsx5.js} +11 -11
- package/dist/chunks/{pty-hydq9jhc.js → command-w2z5746y.js} +19 -19
- package/dist/chunks/{pty-rzmjh6v0.js → command-w37rjecm.js} +42 -42
- package/dist/chunks/{pty-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-hc3jgfyg.js → command-w7kn78ad.js} +34 -34
- package/dist/chunks/{pty-7tjpr1wg.js → command-w9kg2djp.js} +21 -21
- package/dist/chunks/{pty-t7vrx9w9.js → command-wbbwn8b4.js} +16 -16
- package/dist/chunks/{pty-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{pty-x4r0j41c.js → command-wr1nh5zj.js} +6 -6
- package/dist/chunks/{pty-1q1npaf2.js → command-wwm9drsm.js} +35 -35
- package/dist/chunks/{pty-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-w41k9e71.js → command-x4qspy2c.js} +33 -33
- package/dist/chunks/{pty-mqckkp0h.js → command-x7va2pbz.js} +10 -10
- package/dist/chunks/{pty-ppzfs3bq.js → command-xezhsny9.js} +3 -3
- package/dist/chunks/{pty-xkntkrq7.js → command-xkntkrq7.js} +2 -2
- package/dist/chunks/{pty-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-a3c7ahw6.js → command-y5rf7nzv.js} +4 -4
- package/dist/chunks/{pty-jwcy2c2z.js → command-y71avatq.js} +4 -4
- package/dist/chunks/{pty-94h3pznz.js → command-y875hksg.js} +28 -28
- package/dist/chunks/{pty-8kvav1mw.js → command-yb94rfg9.js} +9 -9
- package/dist/chunks/{pty-8paq7gnc.js → command-yf10kn3d.js} +8 -8
- package/dist/chunks/{pty-3qg3nnba.js → command-yk71r04e.js} +23 -23
- package/dist/chunks/{pty-thzndzdk.js → command-ykzc6cfj.js} +11 -11
- package/dist/chunks/{pty-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-3m46hkaz.js → command-ytws7ykb.js} +2 -2
- package/dist/chunks/{pty-fme3prkd.js → command-yybzjk8b.js} +5 -5
- package/dist/chunks/{pty-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-78jke5fa.js → command-z3kd0n8s.js} +29 -29
- package/dist/chunks/{pty-zeh9ct20.js → command-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-d8gmv99d.js → command-zfa7ynd8.js} +10 -10
- package/dist/chunks/{pty-n485pk79.js → command-zg0g1dmr.js} +3 -3
- package/dist/chunks/{pty-w9n84znz.js → command-zmj32qq0.js} +8 -8
- package/dist/chunks/{pty-hekxc47r.js → command-znsx74x0.js} +1 -1
- package/dist/chunks/{pty-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{pty-zr38cwz4.js → command-zz0gf2gv.js} +11 -11
- package/dist/chunks/{pty-6etjtjrs.js → command-zzn75vcn.js} +26 -26
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +103 -103
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +72 -72
- 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 +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/form.d.ts +5 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/pty-hm972mn6.js +0 -252
- package/dist/chunks/pty-mbgj3mnw.js +0 -26
- package/dist/chunks/pty-vnkjks7b.js +0 -18
- /package/dist/chunks/{pty-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-34c7v6d4.js → command-34c7v6d4.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → command-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service52,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service52 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service52, exports_runner };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-fdjp4t8r.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin39,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin39 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin7 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint5, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin7 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin39, exports_firecrawl };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-wwm9drsm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID10,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info25,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-mfz89tqk.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID11.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive2(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID10.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info25.make({
|
|
98
|
+
...Info25.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID10.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./command-3b9qt4hj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./command-0hf9g8pg.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-ht5y0zrb.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service63
|
|
15
|
+
} from "./command-9jbvj98d.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-eyhtqccb.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service40
|
|
23
|
+
} from "./command-0tsnk9s4.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service53;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service63;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service40;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service42;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./command-17zy7cfp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service34,
|
|
7
|
+
node36
|
|
8
|
+
} from "./command-407bfz6x.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service56,
|
|
11
|
+
node59
|
|
12
|
+
} from "./command-ga3d7eyp.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service41,
|
|
15
|
+
node44
|
|
16
|
+
} from "./command-gfkmrq4p.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service33,
|
|
26
|
+
layer: () => layer13,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service33 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer13 = Layer.effect(Service33, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service34;
|
|
42
|
+
const tools = yield* Service41;
|
|
43
|
+
const bus = yield* Service83;
|
|
44
|
+
const permission = yield* Service56;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service33.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node35 = makeLocationNode({
|
|
124
|
+
service: Service33,
|
|
125
|
+
layer: layer13,
|
|
126
|
+
deps: [node44, node36, node87, node59]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service33, layer13, node35, exports_mcp3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-zg0g1dmr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-bjtzbw4r.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info5,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info5 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service37 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make20({
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service37.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node40 = makeLocationNode({ service: Service37, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service37, node40, exports_instruction_entry };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service61,
|
|
6
|
+
node64
|
|
7
|
+
} from "./command-knpa7q1k.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service24,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer10,
|
|
20
|
+
node: () => node27
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service24 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer10 = Layer.effect(Service24, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service61;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service24.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node27 = makeLocationNode({
|
|
74
|
+
service: Service24,
|
|
75
|
+
layer: layer10,
|
|
76
|
+
deps: [node64, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError2, Service24, layer10, node27, exports_generate };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-zg0g1dmr.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-y71avatq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./command-17zy7cfp.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-08rawchj.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-bjtzbw4r.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./command-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info10,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service54,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
48
|
+
layer: () => layer20,
|
|
49
|
+
list: () => list4,
|
|
50
50
|
make: () => make18,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node57,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info10,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service54 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
156
|
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service83;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info10.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -193,7 +193,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list4(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer20 = Layer.effect(Service54, make18());
|
|
231
|
+
var node57 = makeGlobalNode({ service: Service54, layer: layer20, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info10, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service54, make18, layer20, node57, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|