@opencode/core 0.0.0-dev-19372 → 0.0.0-dev-19377
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/agent.js +67 -67
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +54 -54
- package/dist/catalog.js +68 -68
- package/dist/chunks/{pty-hw55hn24.js → pty-006ygbhe.js} +9 -9
- package/dist/chunks/{pty-5j7h8n2k.js → pty-01w9qjh9.js} +11 -11
- package/dist/chunks/{pty-6zm1wyjc.js → pty-04d1p4as.js} +18 -18
- package/dist/chunks/{pty-yntqacmd.js → pty-074fwbj6.js} +15 -15
- package/dist/chunks/{pty-4qv5c5xf.js → pty-0e1xjvyp.js} +22 -22
- package/dist/chunks/{pty-mqy0jkn2.js → pty-0gr7cw0d.js} +3 -3
- package/dist/chunks/{pty-jjc2e0wf.js → pty-0w7fw3r9.js} +14 -14
- package/dist/chunks/{pty-jsaewa63.js → pty-19xhtx11.js} +4 -4
- package/dist/chunks/{pty-wnqzfj2j.js → pty-1awm1f41.js} +13 -13
- package/dist/chunks/{pty-0hpxrkyb.js → pty-1dfhrqqs.js} +3 -3
- package/dist/chunks/{pty-q1bbvmq4.js → pty-1qacn438.js} +24 -24
- package/dist/chunks/{pty-w8dmehha.js → pty-1qamgzxb.js} +40 -40
- package/dist/chunks/{pty-33w4ejhs.js → pty-1ygqh575.js} +4 -4
- package/dist/chunks/{pty-s8bz6z4k.js → pty-2336b01z.js} +7 -7
- package/dist/chunks/{pty-6h73sxmp.js → pty-2402vzrj.js} +4 -4
- package/dist/chunks/{pty-6jnybvqn.js → pty-2bt6bea8.js} +7 -7
- package/dist/chunks/{pty-mf3kdcv1.js → pty-2d9xefx9.js} +8 -8
- package/dist/chunks/{pty-q24fq4k9.js → pty-2ehqxkpw.js} +11 -11
- package/dist/chunks/{pty-40d8dwxk.js → pty-2hkg1ese.js} +9 -9
- package/dist/chunks/{pty-k8a0mrdq.js → pty-2zb1amfr.js} +38 -38
- package/dist/chunks/{pty-m0pn08h0.js → pty-32rg2acf.js} +9 -9
- package/dist/chunks/{pty-crd48we5.js → pty-38t617vx.js} +77 -77
- package/dist/chunks/{pty-b3wkxfg9.js → pty-39r80e1r.js} +1 -1
- package/dist/chunks/{pty-a1dptbm0.js → pty-3f3d0cbx.js} +23 -23
- package/dist/chunks/{pty-kv3072p9.js → pty-3q64r879.js} +4 -4
- package/dist/chunks/{pty-0gg4eh9d.js → pty-3w1p8qpk.js} +9 -9
- package/dist/chunks/{pty-7rjdtxkk.js → pty-43k15f45.js} +4 -4
- package/dist/chunks/{pty-4z80d8a9.js → pty-44dkc7mg.js} +2 -2
- package/dist/chunks/{pty-qgy2rw28.js → pty-49ycyj1k.js} +7 -7
- package/dist/chunks/{pty-ken34rgm.js → pty-4g0ya2kt.js} +16 -16
- package/dist/chunks/{pty-mnewsc6w.js → pty-4gp3ykcw.js} +28 -28
- package/dist/chunks/{pty-dcdbx179.js → pty-4jk5hnnm.js} +46 -46
- package/dist/chunks/{pty-eg20r4ae.js → pty-4s814m4t.js} +15 -15
- package/dist/chunks/{pty-j4rqb0e8.js → pty-4yzj85jz.js} +292 -292
- package/dist/chunks/{pty-hcz3zddy.js → pty-510m7gjw.js} +3 -3
- package/dist/chunks/{pty-9m9t2a7k.js → pty-52x1vvhc.js} +16 -16
- package/dist/chunks/{pty-rrdk89a5.js → pty-56tf4rq2.js} +17 -17
- package/dist/chunks/{pty-m5aw9kqs.js → pty-59n4zhg4.js} +11 -11
- package/dist/chunks/pty-5ax6r0h3.js +22 -0
- package/dist/chunks/{pty-5vs9ndt5.js → pty-5tw27g45.js} +20 -20
- package/dist/chunks/{pty-qpw0y00r.js → pty-60r077ss.js} +16 -16
- package/dist/chunks/{pty-v8jfbz3g.js → pty-63xctefh.js} +5 -5
- package/dist/chunks/{pty-3pmjwr1e.js → pty-6jyd9m4h.js} +19 -19
- package/dist/chunks/{pty-q6rs4hjt.js → pty-6vwh2emb.js} +52 -52
- package/dist/chunks/{pty-4rph1v41.js → pty-6xsw6ps4.js} +12 -12
- package/dist/chunks/{pty-eq1pz5kg.js → pty-73tb2d7t.js} +2 -2
- package/dist/chunks/{pty-yzsvg0b0.js → pty-77jjzcn8.js} +170 -170
- package/dist/chunks/{pty-jy3rk2pm.js → pty-7amj9884.js} +14 -14
- package/dist/chunks/{pty-v1y1zkts.js → pty-7hr5xevn.js} +6 -6
- package/dist/chunks/{pty-cwtk2d1m.js → pty-7ttnvawf.js} +2 -2
- package/dist/chunks/{pty-zyr433b0.js → pty-818pfwc9.js} +9 -9
- package/dist/chunks/{pty-dv1qgsyq.js → pty-844ef7ks.js} +7 -7
- package/dist/chunks/{pty-cf7stcnz.js → pty-8450mckp.js} +8 -8
- package/dist/chunks/{pty-refnp3pv.js → pty-86g9bn8f.js} +1 -1
- package/dist/chunks/{pty-a31gkhvw.js → pty-8dar2rz8.js} +10 -10
- package/dist/chunks/{pty-6xe913v8.js → pty-8gaq70qr.js} +20 -20
- package/dist/chunks/{pty-jt2m25jy.js → pty-8ns6tfjc.js} +11 -11
- package/dist/chunks/{pty-8vct2pgr.js → pty-8q7cq0y1.js} +3 -3
- package/dist/chunks/{pty-f9dcx0s3.js → pty-8sf2nwrn.js} +14 -14
- package/dist/chunks/{pty-gcbpht8g.js → pty-8shp1cm6.js} +17 -17
- package/dist/chunks/{pty-rssnh3zg.js → pty-8vfk5djw.js} +22 -22
- package/dist/chunks/{pty-357v7vj3.js → pty-8vhbqs5w.js} +32 -32
- package/dist/chunks/{pty-nfk4q15c.js → pty-8x8pbyt1.js} +22 -22
- package/dist/chunks/{pty-gf4qtxm6.js → pty-96yt6zt0.js} +1 -1
- package/dist/chunks/{pty-e1sywrpy.js → pty-9a3tgymx.js} +3 -3
- package/dist/chunks/{pty-rzyzyf97.js → pty-9d99dnb1.js} +3 -3
- package/dist/chunks/{pty-jefma2gq.js → pty-9fwp41vh.js} +7 -7
- package/dist/chunks/{pty-jxcvs55h.js → pty-9kcgsz93.js} +10 -10
- package/dist/chunks/{pty-gy3ftesa.js → pty-9m59fmnv.js} +21 -21
- package/dist/chunks/{pty-4sksr709.js → pty-9pntmsg4.js} +4 -4
- package/dist/chunks/{pty-9fxpdq0y.js → pty-9pyd9sac.js} +27 -27
- package/dist/chunks/{pty-kwgqzsmm.js → pty-9t3jdf5e.js} +1 -1
- package/dist/chunks/{pty-4azybn4n.js → pty-9w2g1xxc.js} +35 -35
- package/dist/chunks/{pty-b428793c.js → pty-a03kqjf9.js} +12 -12
- package/dist/chunks/{pty-4dfh6zmw.js → pty-a08t2777.js} +10 -10
- package/dist/chunks/{pty-107fwvqp.js → pty-a4ma1ze7.js} +32 -32
- package/dist/chunks/{pty-kjr2p1gf.js → pty-a8emfn6x.js} +36 -36
- package/dist/chunks/{pty-5j4skxhh.js → pty-a8kmq1k9.js} +6 -6
- package/dist/chunks/{pty-ghe33san.js → pty-a8q88f3r.js} +13 -13
- package/dist/chunks/{pty-8gtqgsn5.js → pty-ae3ajeqv.js} +22 -22
- package/dist/chunks/{pty-sgaqms2z.js → pty-aqajd40k.js} +11 -11
- package/dist/chunks/{pty-1y981vcy.js → pty-b1xfxbkj.js} +29 -29
- package/dist/chunks/{pty-z5c2cr5p.js → pty-b2wnrkev.js} +14 -14
- package/dist/chunks/{pty-8w0tny4e.js → pty-b80d24dq.js} +1 -1
- package/dist/chunks/{pty-07770t2t.js → pty-b9grawmm.js} +5 -5
- package/dist/chunks/{pty-526v470z.js → pty-bcnz578n.js} +1 -1
- package/dist/chunks/{pty-vaynpwqg.js → pty-bgbx6e98.js} +8 -8
- package/dist/chunks/{pty-ewyzxja9.js → pty-bgmtf57a.js} +11 -11
- package/dist/chunks/{pty-q1hjdkpd.js → pty-bh5aff4j.js} +10 -10
- package/dist/chunks/{pty-gj9xpvv3.js → pty-bv56xrks.js} +5 -5
- package/dist/chunks/{pty-578n16w1.js → pty-bwp2svcp.js} +24 -24
- package/dist/chunks/{pty-pc04q47q.js → pty-ca5anfan.js} +22 -22
- package/dist/chunks/{pty-dhmh7aw6.js → pty-ca7w653e.js} +3 -3
- package/dist/chunks/{pty-ddmrj1q7.js → pty-ch3g59kk.js} +21 -21
- package/dist/chunks/{pty-vkxpz7g2.js → pty-cq37gk0t.js} +1 -1
- package/dist/chunks/{pty-3mke1r8k.js → pty-ct5dsnxp.js} +23 -23
- package/dist/chunks/{pty-0wmswe57.js → pty-cy0h5wfk.js} +20 -20
- package/dist/chunks/{pty-sgvsg5c7.js → pty-d4sp9rf7.js} +9 -9
- package/dist/chunks/{pty-47fetphe.js → pty-d4xwsxra.js} +29 -29
- package/dist/chunks/{pty-w7zd1bg5.js → pty-d9hwvmgm.js} +18 -18
- package/dist/chunks/{pty-cf3tj770.js → pty-d9wx0zpv.js} +8 -8
- package/dist/chunks/{pty-b1rqwz98.js → pty-dbqxyz5k.js} +7 -7
- package/dist/chunks/{pty-cj4mykbe.js → pty-dc2sw694.js} +7 -7
- package/dist/chunks/{pty-5zthbsee.js → pty-dpgvjqy9.js} +6 -6
- package/dist/chunks/pty-dx6znw8h.js +247 -0
- package/dist/chunks/{pty-wf7nhwxb.js → pty-ebcate35.js} +14 -14
- package/dist/chunks/{pty-gqqez5b8.js → pty-ej22x54z.js} +8 -8
- package/dist/chunks/{pty-gvvw2n81.js → pty-erx15syr.js} +9 -9
- package/dist/chunks/{pty-gtjpq3yd.js → pty-ew5awps8.js} +9 -9
- package/dist/chunks/{pty-xj584aw0.js → pty-ezz53t6j.js} +9 -9
- package/dist/chunks/{pty-s0fyf8fb.js → pty-f2mgn97g.js} +17 -17
- package/dist/chunks/{pty-bgks4w36.js → pty-f4nygem8.js} +25 -25
- package/dist/chunks/{pty-0pyqcms3.js → pty-f8q7mv7a.js} +1 -1
- package/dist/chunks/{pty-ng5shs3s.js → pty-fgh0kbhd.js} +1 -1
- package/dist/chunks/{pty-2pnhn36q.js → pty-g190xswt.js} +20 -20
- package/dist/chunks/{pty-te0vzhy5.js → pty-g2x47d18.js} +10 -10
- package/dist/chunks/{pty-0x4g6ndm.js → pty-g40n759s.js} +25 -25
- package/dist/chunks/{pty-hdsygwhy.js → pty-g820nd5k.js} +11 -11
- package/dist/chunks/{pty-b7n25z46.js → pty-gcmx30na.js} +15 -15
- package/dist/chunks/{pty-5g6xb262.js → pty-gh03ewrb.js} +25 -25
- package/dist/chunks/{pty-exrwhhqk.js → pty-ghkvzh5e.js} +3 -3
- package/dist/chunks/{pty-th5km1p3.js → pty-gv6a8nnw.js} +3 -3
- package/dist/chunks/{pty-nw5w3cjp.js → pty-h10ynz7s.js} +23 -23
- package/dist/chunks/{pty-f4dw8gwj.js → pty-h51vtk5a.js} +37 -37
- package/dist/chunks/{pty-nhy5jxhy.js → pty-hjt4xg1x.js} +3 -3
- package/dist/chunks/{pty-zjqdssy0.js → pty-hnbrmyfw.js} +11 -11
- package/dist/chunks/pty-hr9dp009.js +4 -0
- package/dist/chunks/{pty-41q0v4q7.js → pty-hwxg80b8.js} +7 -7
- package/dist/chunks/{pty-02zskd6f.js → pty-jrrn2k62.js} +3 -3
- package/dist/chunks/{pty-0996nyz8.js → pty-jwx4y25k.js} +3 -3
- package/dist/chunks/{pty-6126dgt1.js → pty-k00z28k0.js} +39 -39
- package/dist/chunks/{pty-abkdt1xb.js → pty-k16ay38w.js} +1 -1
- package/dist/chunks/{pty-rxyhbgbe.js → pty-k5pz2tr3.js} +15 -15
- package/dist/chunks/{pty-r8nahq2d.js → pty-kbme4tjs.js} +12 -12
- package/dist/chunks/{pty-ym4367vb.js → pty-khm98422.js} +19 -19
- package/dist/chunks/{pty-khy2t77v.js → pty-kscytsah.js} +30 -30
- package/dist/chunks/{pty-vyqtz9n7.js → pty-ksz0h0wp.js} +1 -1
- package/dist/chunks/{pty-f242nvhy.js → pty-kvne3rde.js} +5 -5
- package/dist/chunks/{pty-xa6by1f1.js → pty-kz49q7tk.js} +19 -19
- package/dist/chunks/{pty-9p3b3m98.js → pty-m27pyyd3.js} +5 -5
- package/dist/chunks/{pty-h91yv7bq.js → pty-m4kj3f5a.js} +16 -16
- package/dist/chunks/{pty-hv7vaf99.js → pty-m72y1cz2.js} +10 -10
- package/dist/chunks/{pty-z5wc9zep.js → pty-mewy3jp3.js} +10 -10
- package/dist/chunks/{pty-88sz8qcd.js → pty-mfhfdr54.js} +3 -3
- package/dist/chunks/{pty-bagg3g1z.js → pty-mzjyw1z2.js} +1 -1
- package/dist/chunks/{pty-qgp720zn.js → pty-n4a39eeb.js} +25 -25
- package/dist/chunks/{pty-yww5gzhe.js → pty-n76fdqym.js} +5 -5
- package/dist/chunks/{pty-d1f48wm0.js → pty-nh799jn3.js} +42 -42
- package/dist/chunks/{pty-7xggmshf.js → pty-nk3rvkbx.js} +6 -6
- package/dist/chunks/{pty-wreggwv7.js → pty-nkd0t4h0.js} +18 -18
- package/dist/chunks/{pty-sr4mx09d.js → pty-nsfnh1mv.js} +9 -9
- package/dist/chunks/{pty-tzaf1sec.js → pty-nwt9sqb3.js} +9 -9
- package/dist/chunks/{pty-gw1k03mf.js → pty-p2hgsd7c.js} +10 -10
- package/dist/chunks/{pty-14p0bf99.js → pty-p93a7xcd.js} +4 -4
- package/dist/chunks/{pty-j935v87r.js → pty-paphc93g.js} +2 -2
- package/dist/chunks/{pty-mtft99cd.js → pty-pecb0brz.js} +3 -3
- package/dist/chunks/{pty-7ce2cjd5.js → pty-phshbkdm.js} +16 -16
- package/dist/chunks/{pty-s4sy206n.js → pty-pks0s0zr.js} +30 -30
- package/dist/chunks/{pty-qq11w61w.js → pty-pmr4s4kc.js} +3 -3
- package/dist/chunks/{pty-jfdrs8g9.js → pty-ptns6nda.js} +10 -10
- package/dist/chunks/{pty-tp2tr8k0.js → pty-ptyjv6sg.js} +3 -3
- package/dist/chunks/{pty-by5v678g.js → pty-q509s3k3.js} +4 -4
- package/dist/chunks/{pty-zvpdk192.js → pty-q8z5f87d.js} +22 -22
- package/dist/chunks/{pty-jfqtm2ew.js → pty-qa3qhgw8.js} +3 -3
- package/dist/chunks/{pty-7dqw4kz8.js → pty-qgn6gcr1.js} +4 -4
- package/dist/chunks/{pty-qzdews7q.js → pty-qn64kb1t.js} +6 -6
- package/dist/chunks/{pty-9ef57syn.js → pty-qsak9770.js} +11 -11
- package/dist/chunks/{pty-rkg39e93.js → pty-qzyph8ek.js} +10 -10
- package/dist/chunks/{pty-q1tx050w.js → pty-r5cznk00.js} +7 -7
- package/dist/chunks/{pty-c9cenec4.js → pty-r6ejgkfw.js} +4 -4
- package/dist/chunks/{pty-bxft0ra9.js → pty-r846xv8j.js} +31 -31
- package/dist/chunks/{pty-cd4mc13g.js → pty-r9babyk8.js} +1 -1
- package/dist/chunks/{pty-rxjhrqx1.js → pty-rarc5met.js} +21 -21
- package/dist/chunks/{pty-3zhfhk0f.js → pty-rbqs1qrs.js} +2 -2
- package/dist/chunks/{pty-76mrr06k.js → pty-rggw41sg.js} +39 -39
- package/dist/chunks/{pty-0gdmqesm.js → pty-rhjbct0v.js} +3 -3
- package/dist/chunks/{pty-81swgkk7.js → pty-rk0rec3h.js} +7 -7
- package/dist/chunks/{pty-pqd1mzxt.js → pty-rpbnx6sk.js} +7 -7
- package/dist/chunks/{pty-0xkh6216.js → pty-rraf0nd7.js} +32 -32
- package/dist/chunks/{pty-bw8xqn9c.js → pty-rs7hs26b.js} +52 -52
- package/dist/chunks/{pty-feebpcf8.js → pty-rvkgvnp4.js} +15 -15
- package/dist/chunks/{pty-b5svzbqe.js → pty-rwzmtr9v.js} +8 -8
- package/dist/chunks/{pty-m2r7xkr0.js → pty-s0r9fgtt.js} +17 -17
- package/dist/chunks/{pty-cjr8y0wq.js → pty-s8zdkf47.js} +16 -16
- package/dist/chunks/{pty-c487kk09.js → pty-s9smgjtn.js} +40 -40
- package/dist/chunks/{pty-eea9n1gg.js → pty-say8dh30.js} +4 -4
- package/dist/chunks/{pty-0jzeq7bg.js → pty-sh4h10fx.js} +7 -7
- package/dist/chunks/{pty-mwva2wqz.js → pty-sj3w9yv9.js} +16 -16
- package/dist/chunks/{pty-v6wk655t.js → pty-snrqdf1w.js} +33 -33
- package/dist/chunks/{pty-m0f7gyab.js → pty-sqmjn1cn.js} +23 -23
- package/dist/chunks/{pty-fpmq6gma.js → pty-t0fxg8b9.js} +3 -3
- package/dist/chunks/{pty-p1wf2k30.js → pty-t0x5rdq8.js} +7 -7
- package/dist/chunks/{pty-cgs7ndjq.js → pty-t5q1ccxn.js} +6 -6
- package/dist/chunks/{pty-2x9w7gwc.js → pty-tfngb0ww.js} +2 -2
- package/dist/chunks/{pty-ajghh6ra.js → pty-tkd1aj9d.js} +4 -4
- package/dist/chunks/{pty-bh8p3ktg.js → pty-ty116xf8.js} +5 -5
- package/dist/chunks/{pty-qr736bxy.js → pty-v2hnet1n.js} +10 -10
- package/dist/chunks/{pty-ezs85qj9.js → pty-v52wsnkd.js} +1 -1
- package/dist/chunks/{pty-3a50zsz9.js → pty-v5d98jas.js} +16 -16
- package/dist/chunks/{pty-9cg0vjy1.js → pty-v5w9803s.js} +7 -7
- package/dist/chunks/{pty-r8febyms.js → pty-vg4rqzx2.js} +15 -15
- package/dist/chunks/{pty-8kcmt1fk.js → pty-vr048kar.js} +7 -7
- package/dist/chunks/{pty-0x1qwe4m.js → pty-vx0zf1rd.js} +8 -8
- package/dist/chunks/{pty-qz49fwgp.js → pty-w4arg62q.js} +5 -5
- package/dist/chunks/{pty-r0xf0e5c.js → pty-w7j91m09.js} +23 -23
- package/dist/chunks/{pty-egkwkxxa.js → pty-wcpsbhns.js} +87 -87
- package/dist/chunks/{pty-xdzdvgbv.js → pty-wfjha01d.js} +18 -18
- package/dist/chunks/{pty-jrvvap85.js → pty-wmzeh62n.js} +20 -20
- package/dist/chunks/{pty-c4twzx9w.js → pty-x0dwkdkr.js} +20 -20
- package/dist/chunks/{pty-pe79rxdj.js → pty-x76s0de8.js} +26 -26
- package/dist/chunks/{pty-yfbmjfv9.js → pty-xhct4fr6.js} +6 -6
- package/dist/chunks/{pty-g254301b.js → pty-xp0rt39m.js} +1 -1
- package/dist/chunks/{pty-p9ts1dg8.js → pty-xzh9rhk3.js} +12 -12
- package/dist/chunks/{pty-fr2caje5.js → pty-y8tez433.js} +36 -36
- package/dist/chunks/{pty-szjmac0q.js → pty-yc5avrgj.js} +20 -20
- package/dist/chunks/{pty-f2n192rq.js → pty-yp2x3t23.js} +3 -3
- package/dist/chunks/{pty-s4enseaf.js → pty-yrznvahk.js} +1 -1
- package/dist/chunks/{pty-v9cmgtcf.js → pty-yv9w4q4m.js} +1 -1
- package/dist/chunks/{pty-cny5rd43.js → pty-yvvvp4gn.js} +7 -7
- package/dist/chunks/{pty-51kcvgxx.js → pty-z2h7x86s.js} +13 -13
- package/dist/chunks/{pty-102jvkd5.js → pty-z2p9cf6c.js} +58 -58
- package/dist/chunks/{pty-29x78va6.js → pty-z63w68vq.js} +4 -4
- package/dist/chunks/{pty-6qw5vjfk.js → pty-z69s9t6b.js} +4 -4
- package/dist/chunks/{pty-1khr35v4.js → pty-zc2nqsz3.js} +25 -25
- package/dist/chunks/{pty-yy158baq.js → pty-zh1p0kdw.js} +9 -9
- package/dist/chunks/{pty-62k5e5wb.js → pty-zm6ygejy.js} +17 -17
- package/dist/chunks/{pty-an126cry.js → pty-zn0t31cj.js} +28 -28
- package/dist/codemode/instructions.js +6 -6
- package/dist/command.js +63 -63
- package/dist/config/discovery.js +60 -60
- package/dist/config/normalize.js +17 -17
- package/dist/config/plugin/agent.js +94 -94
- package/dist/config/plugin/command.js +175 -175
- package/dist/config/plugin/compaction.js +129 -129
- package/dist/config/plugin/formatter.js +95 -95
- package/dist/config/plugin/image.js +94 -94
- package/dist/config/plugin/instruction.js +67 -67
- package/dist/config/plugin/location-watcher.js +94 -94
- package/dist/config/plugin/mcp.js +101 -101
- package/dist/config/plugin/policy.js +93 -93
- package/dist/config/plugin/provider.js +92 -92
- package/dist/config/plugin/reference.js +96 -96
- package/dist/config/plugin/shell.js +94 -94
- package/dist/config/plugin/skill-file.js +75 -75
- package/dist/config/plugin/skill.js +111 -111
- package/dist/config/plugin/snapshot.js +94 -94
- package/dist/config/plugin/source.js +96 -96
- package/dist/config/plugin/tool-output.js +93 -93
- package/dist/config/plugin/websearch.js +92 -92
- package/dist/config/plugin/worktree.js +96 -96
- package/dist/config/variable.js +2 -2
- package/dist/config.js +99 -99
- package/dist/credential.js +67 -67
- package/dist/database/database.js +53 -53
- package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
- package/dist/database/drizzle.js +9 -9
- package/dist/database/migration.gen.js +37 -37
- package/dist/database/migration.js +38 -38
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +238 -238
- package/dist/environment/environment.js +66 -66
- package/dist/environment/index.js +66 -66
- package/dist/event-logger.js +9 -9
- package/dist/file-access.js +78 -78
- package/dist/file-mutation.js +67 -67
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +189 -189
- package/dist/filesystem/search.js +68 -68
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +14 -14
- package/dist/filesystem.js +69 -69
- package/dist/form.js +69 -69
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +67 -67
- package/dist/generate.js +74 -74
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +2 -2
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +310 -310
- package/dist/instruction-discovery.js +67 -67
- package/dist/instructions/builtins.js +65 -65
- package/dist/instructions/index.js +3 -3
- package/dist/integration.js +71 -71
- package/dist/job.js +63 -63
- package/dist/kv.js +58 -58
- package/dist/location-activity.js +56 -56
- package/dist/location-mutation.js +30 -30
- package/dist/location-service-map.js +66 -66
- package/dist/location-services.js +308 -308
- package/dist/location.js +67 -67
- package/dist/mcp/client.js +17 -17
- package/dist/mcp/index.js +81 -81
- package/dist/mcp/instructions.js +99 -99
- package/dist/mcp/stdio.js +63 -63
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +71 -71
- package/dist/model.js +10 -10
- package/dist/models-dev.js +72 -72
- package/dist/permission/saved.js +64 -64
- package/dist/permission.js +87 -87
- package/dist/persistent-pty/index.js +70 -70
- package/dist/persistent-pty.js +56 -56
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +72 -72
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +182 -182
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +280 -280
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +61 -61
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +76 -76
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +96 -96
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +96 -96
- package/dist/plugin/provider/cloudflare-workers-ai.js +96 -96
- package/dist/plugin/provider/configured.js +94 -94
- package/dist/plugin/provider/digitalocean.js +63 -63
- package/dist/plugin/provider/github-copilot.js +65 -65
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +61 -61
- package/dist/plugin/provider/lmstudio.js +97 -97
- package/dist/plugin/provider/modal.js +64 -64
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +97 -97
- package/dist/plugin/provider/openai.js +64 -64
- package/dist/plugin/provider/opencode.js +64 -64
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/poe.js +60 -60
- package/dist/plugin/provider/sap-ai-core.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +96 -96
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +97 -97
- package/dist/plugin/provider/xai.js +62 -62
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +130 -130
- package/dist/plugin/sdk.js +61 -61
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +111 -111
- package/dist/plugin/supervisor.js +299 -299
- package/dist/plugin/update.js +3 -3
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +64 -64
- package/dist/plugin/vcs/hg.js +64 -64
- package/dist/plugin/warming.js +92 -92
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +7 -7
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +194 -194
- package/dist/project/schema.js +7 -7
- package/dist/project.js +68 -68
- package/dist/provider.js +5 -5
- package/dist/pty/schema.js +3 -3
- package/dist/pty.js +75 -75
- package/dist/reference/instructions.js +69 -69
- package/dist/reference.js +71 -71
- package/dist/repository-cache.js +62 -62
- package/dist/repository.js +3 -3
- package/dist/ripgrep.js +67 -67
- package/dist/rpc.js +64 -64
- package/dist/session/command.js +58 -58
- package/dist/session/compaction.js +105 -105
- package/dist/session/context.js +121 -121
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +6 -6
- package/dist/session/execution/restart.js +120 -120
- package/dist/session/execution.js +101 -101
- package/dist/session/generate.js +120 -120
- package/dist/session/history.js +8 -8
- package/dist/session/inbox.js +67 -67
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +59 -59
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +72 -72
- package/dist/session/message-updater.js +3 -3
- package/dist/session/model-request.js +90 -90
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +105 -105
- package/dist/session/projector.js +65 -65
- package/dist/session/prompt.js +78 -78
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +65 -65
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +192 -192
- package/dist/session/runner/model.js +71 -71
- package/dist/session/runner/retry.js +89 -89
- package/dist/session/runner/step.js +96 -96
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +139 -139
- package/dist/session/shell.js +104 -104
- package/dist/session/skill.js +77 -77
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +67 -67
- package/dist/session/subagent-job.js +174 -174
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +124 -124
- package/dist/session/to-session-error.js +86 -86
- package/dist/session/transfer.js +117 -117
- package/dist/session.js +185 -185
- package/dist/shell/parse.js +2 -2
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +107 -107
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +79 -79
- package/dist/skill.js +84 -84
- package/dist/snapshot.js +69 -69
- package/dist/tool/mcp.js +96 -96
- package/dist/tool/plugin/edit.js +92 -92
- package/dist/tool/plugin/glob.js +89 -89
- package/dist/tool/plugin/grep.js +95 -95
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +94 -94
- package/dist/tool/plugin/question.js +77 -77
- package/dist/tool/plugin/read.js +93 -93
- package/dist/tool/plugin/shell.js +180 -180
- package/dist/tool/plugin/skill.js +87 -87
- package/dist/tool/plugin/subagent.js +181 -181
- package/dist/tool/plugin/webfetch.js +84 -84
- package/dist/tool/plugin/websearch.js +86 -86
- package/dist/tool/plugin/write.js +94 -94
- package/dist/tool/read-filesystem.js +70 -70
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +9 -9
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +3 -3
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/vcs.js +67 -67
- package/dist/websearch.js +67 -67
- package/dist/wellknown/plugin.js +60 -60
- package/dist/wellknown.js +63 -63
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +65 -65
- package/dist/worktree/directory.js +3 -3
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +298 -298
- package/dist/worktree.js +73 -73
- package/package.json +8 -8
- package/dist/chunks/pty-0mesazry.js +0 -4
- package/dist/chunks/pty-jcst6tya.js +0 -247
- package/dist/chunks/pty-rnevd4w8.js +0 -22
- /package/dist/chunks/{pty-ghrzdqqx.js → pty-23kefcxh.js} +0 -0
- /package/dist/chunks/{pty-5sjkzzsa.js → pty-3zxpfz3n.js} +0 -0
- /package/dist/chunks/{pty-rbygrj0c.js → pty-9nepbqpa.js} +0 -0
- /package/dist/chunks/{pty-60geffh5.js → pty-c3se2jx9.js} +0 -0
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info17 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info20 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info17, exports_provider2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./pty-
|
|
3
|
+
} from "./pty-b80d24dq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./pty-
|
|
5
|
+
ID18
|
|
6
|
+
} from "./pty-m27pyyd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./pty-
|
|
8
|
+
ID17
|
|
9
|
+
} from "./pty-1awm1f41.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./pty-
|
|
11
|
+
Event20
|
|
12
|
+
} from "./pty-gh03ewrb.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./pty-
|
|
14
|
+
ID14
|
|
15
|
+
} from "./pty-1qacn438.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./pty-
|
|
17
|
+
Service75
|
|
18
|
+
} from "./pty-w7j91m09.js";
|
|
19
19
|
import {
|
|
20
20
|
get3
|
|
21
|
-
} from "./pty-
|
|
21
|
+
} from "./pty-2ehqxkpw.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID18.make("modal");
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
|
-
const catalog = yield*
|
|
30
|
+
const catalog = yield* Service75;
|
|
31
31
|
const bus = yield* Service79;
|
|
32
32
|
const loading = Semaphore.makeUnsafe(1);
|
|
33
33
|
const loaded = {};
|
|
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
|
|
|
58
58
|
if (!loaded.models)
|
|
59
59
|
return;
|
|
60
60
|
for (const id of item.models.keys()) {
|
|
61
|
-
if (!loaded.models.has(
|
|
61
|
+
if (!loaded.models.has(ID17.make(id)))
|
|
62
62
|
evt.model.remove(item.provider.id, id);
|
|
63
63
|
}
|
|
64
64
|
for (const [id, model] of loaded.models) {
|
|
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
yield* refresh().pipe(Effect.forkScoped);
|
|
71
71
|
})
|
|
72
72
|
});
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
RelativePath2
|
|
4
4
|
} from "./pty-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./pty-
|
|
6
|
+
Service72,
|
|
7
|
+
node77
|
|
8
|
+
} from "./pty-60r077ss.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./pty-
|
|
10
|
+
Service14,
|
|
11
|
+
node17
|
|
12
|
+
} from "./pty-9m59fmnv.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
15
|
} from "./pty-9rqn6x4v.js";
|
|
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
|
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service13,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node16
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
@@ -74,12 +74,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
74
74
|
}
|
|
75
75
|
var Event2 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service13 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
82
|
-
const search = yield*
|
|
81
|
+
const location = yield* Service72;
|
|
82
|
+
const search = yield* Service14;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service13.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node16 = makeLocationNode({
|
|
126
|
+
service: Service13,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node77, node17]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node16, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
RelativePath2
|
|
5
5
|
} from "./pty-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./pty-
|
|
7
|
+
Service48,
|
|
8
|
+
node51
|
|
9
|
+
} from "./pty-6jyd9m4h.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
12
|
} from "./pty-8d7r5vzw.js";
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service15,
|
|
24
|
+
node: () => node18
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service15 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service48;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service15.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
174
174
|
}))))
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var node18 = makeLocationNode({ service: Service15, layer, deps: [node51, RipgrepBinary2.node] });
|
|
178
178
|
|
|
179
|
-
export { Error2, InvalidPatternError2,
|
|
179
|
+
export { Error2, InvalidPatternError2, Service15, node18, exports_ripgrep };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin2
|
|
3
|
+
} from "./pty-2336b01z.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin7
|
|
6
|
+
} from "./pty-8450mckp.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin4
|
|
9
|
+
} from "./pty-vx0zf1rd.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin3
|
|
12
|
+
} from "./pty-19xhtx11.js";
|
|
13
|
+
|
|
14
|
+
// src/plugin/websearch/index.ts
|
|
15
|
+
var WebSearchPlugins2 = [
|
|
16
|
+
Plugin2,
|
|
17
|
+
Plugin7,
|
|
18
|
+
Plugin4,
|
|
19
|
+
Plugin3
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./pty-
|
|
4
|
+
} from "./pty-44dkc7mg.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./pty-
|
|
8
|
+
} from "./pty-b80d24dq.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
11
|
} from "./pty-5t3nmthw.js";
|
|
@@ -17,28 +17,28 @@ import {
|
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./pty-
|
|
20
|
+
} from "./pty-mfhfdr54.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./pty-
|
|
22
|
+
load3
|
|
23
|
+
} from "./pty-rwzmtr9v.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
26
|
} from "./pty-kg06axw8.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./pty-
|
|
29
|
+
} from "./pty-39r80e1r.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./pty-
|
|
34
|
+
} from "./pty-r846xv8j.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./pty-
|
|
37
|
+
} from "./pty-p93a7xcd.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./pty-
|
|
41
|
+
} from "./pty-tkd1aj9d.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
44
|
} from "./pty-h6vf3j39.js";
|
|
@@ -53,12 +53,12 @@ import {
|
|
|
53
53
|
// src/session/compaction.ts
|
|
54
54
|
var exports_compaction2 = {};
|
|
55
55
|
__export(exports_compaction2, {
|
|
56
|
-
Service: () =>
|
|
56
|
+
Service: () => Service10,
|
|
57
57
|
SessionCompaction: () => exports_compaction2,
|
|
58
58
|
buildPrompt: () => buildPrompt2,
|
|
59
59
|
estimateTokens: () => estimateTokens2,
|
|
60
|
-
layer: () =>
|
|
61
|
-
node: () =>
|
|
60
|
+
layer: () => layer7,
|
|
61
|
+
node: () => node13,
|
|
62
62
|
retainUsers: () => retainUsers2,
|
|
63
63
|
serializeToolContent: () => serializeToolContent2,
|
|
64
64
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service10 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -296,7 +296,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
296
296
|
};
|
|
297
297
|
var hasSummarySection = (summary) => summary.split(`
|
|
298
298
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
299
|
-
var
|
|
299
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
300
300
|
const bus = yield* Service79;
|
|
301
301
|
const llm = yield* LLMClient.Service;
|
|
302
302
|
const db = (yield* Service80).db;
|
|
@@ -359,7 +359,7 @@ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
359
359
|
webSocket
|
|
360
360
|
});
|
|
361
361
|
};
|
|
362
|
-
const original = (sessionID) =>
|
|
362
|
+
const original = (sessionID) => load3(db, sessionID, "local").pipe(Effect.orDie);
|
|
363
363
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
364
364
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
365
365
|
const context = input.context;
|
|
@@ -581,7 +581,7 @@ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
581
581
|
}
|
|
582
582
|
}));
|
|
583
583
|
});
|
|
584
|
-
return
|
|
584
|
+
return Service10.of({
|
|
585
585
|
transform: state.transform,
|
|
586
586
|
reload: state.reload,
|
|
587
587
|
enabled: () => state.get().auto,
|
|
@@ -590,10 +590,10 @@ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
590
590
|
compactManual
|
|
591
591
|
});
|
|
592
592
|
}));
|
|
593
|
-
var
|
|
594
|
-
service:
|
|
595
|
-
layer:
|
|
593
|
+
var node13 = makeLocationNode({
|
|
594
|
+
service: Service10,
|
|
595
|
+
layer: layer7,
|
|
596
596
|
deps: [node84, node85, llmClient2]
|
|
597
597
|
});
|
|
598
598
|
|
|
599
|
-
export {
|
|
599
|
+
export { Service10, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node13, exports_compaction2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./pty-
|
|
2
|
+
Service73,
|
|
3
|
+
node78
|
|
4
|
+
} from "./pty-h51vtk5a.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
7
|
} from "./pty-9rqn6x4v.js";
|
|
@@ -9,25 +9,25 @@ import {
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info26,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref2,
|
|
15
|
+
Service: () => Service72,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node77,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info26, Ref as Ref2, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service72 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node77 = LayerNode.unbound(Service72, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service73;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service72.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service72,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node78]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info26, Ref2, response2, Service72, node77, boundNode2, exports_location };
|
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service36,
|
|
10
|
+
node: () => node39
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service36 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node39 = LayerNode.unbound(Service36, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service36, node39, exports_service2 };
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
makeMemoryDriver2
|
|
15
15
|
} from "./pty-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./pty-
|
|
17
|
+
Service72,
|
|
18
|
+
node77
|
|
19
|
+
} from "./pty-60r077ss.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./pty-
|
|
21
|
+
Service53,
|
|
22
|
+
node56
|
|
23
|
+
} from "./pty-h10ynz7s.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
26
|
} from "./pty-9rqn6x4v.js";
|
|
@@ -29,8 +29,8 @@ import {
|
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service48,
|
|
33
|
+
node: () => node51
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service48,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node51,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service48 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service72;
|
|
66
|
+
const workspace = yield* Service53;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service48.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node51 = makeLocationNode({
|
|
71
|
+
service: Service48,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node77, node56]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service48, node51, exports_environment2, makeFiles2, exports_environment3 };
|