@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
|
@@ -1,125 +1,125 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./pty-
|
|
3
|
+
node75
|
|
4
|
+
} from "./pty-qzyph8ek.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./pty-
|
|
8
|
+
} from "./pty-b80d24dq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./pty-
|
|
10
|
+
ID10,
|
|
11
|
+
Service65,
|
|
12
|
+
node69
|
|
13
|
+
} from "./pty-8vfk5djw.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./pty-
|
|
15
|
+
ID18
|
|
16
|
+
} from "./pty-m27pyyd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./pty-
|
|
18
|
+
Service46,
|
|
19
|
+
node49
|
|
20
|
+
} from "./pty-mewy3jp3.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./pty-
|
|
22
|
+
ID17
|
|
23
|
+
} from "./pty-1awm1f41.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID16,
|
|
26
26
|
OAuth3
|
|
27
|
-
} from "./pty-
|
|
27
|
+
} from "./pty-gh03ewrb.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
ID14,
|
|
30
30
|
MethodID2,
|
|
31
31
|
AttemptID2,
|
|
32
32
|
Method2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./pty-
|
|
33
|
+
Service76,
|
|
34
|
+
node81
|
|
35
|
+
} from "./pty-1qacn438.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./pty-
|
|
37
|
+
Service75,
|
|
38
|
+
node80
|
|
39
|
+
} from "./pty-w7j91m09.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./pty-
|
|
41
|
+
Service41,
|
|
42
|
+
node44
|
|
43
|
+
} from "./pty-ebcate35.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./pty-
|
|
45
|
+
Service58,
|
|
46
|
+
node62
|
|
47
|
+
} from "./pty-2d9xefx9.js";
|
|
48
48
|
import {
|
|
49
49
|
AbsolutePath2
|
|
50
50
|
} from "./pty-922hggd3.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
} from "./pty-
|
|
52
|
+
Info26,
|
|
53
|
+
Ref2,
|
|
54
|
+
Service72,
|
|
55
|
+
node77
|
|
56
|
+
} from "./pty-60r077ss.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./pty-
|
|
58
|
+
Service66,
|
|
59
|
+
node70
|
|
60
|
+
} from "./pty-bgmtf57a.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./pty-
|
|
62
|
+
ID5
|
|
63
|
+
} from "./pty-h10ynz7s.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./pty-
|
|
65
|
+
Service28,
|
|
66
|
+
node32
|
|
67
|
+
} from "./pty-4jk5hnnm.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./pty-
|
|
69
|
+
Service64,
|
|
70
|
+
node68
|
|
71
|
+
} from "./pty-v5w9803s.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./pty-
|
|
73
|
+
Service61,
|
|
74
|
+
node65
|
|
75
|
+
} from "./pty-6vwh2emb.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./pty-
|
|
77
|
+
Service52,
|
|
78
|
+
node55
|
|
79
|
+
} from "./pty-kz49q7tk.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./pty-
|
|
81
|
+
Source4,
|
|
82
|
+
Service56,
|
|
83
|
+
node60
|
|
84
|
+
} from "./pty-f4nygem8.js";
|
|
85
85
|
import {
|
|
86
86
|
Info6,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./pty-
|
|
87
|
+
Service39,
|
|
88
|
+
node42
|
|
89
|
+
} from "./pty-wmzeh62n.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./pty-
|
|
91
|
+
Service19,
|
|
92
|
+
node23
|
|
93
|
+
} from "./pty-38t617vx.js";
|
|
94
94
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./pty-
|
|
95
|
+
Service68,
|
|
96
|
+
node72
|
|
97
|
+
} from "./pty-n4a39eeb.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./pty-
|
|
99
|
+
Service18,
|
|
100
|
+
node22
|
|
101
|
+
} from "./pty-wfjha01d.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./pty-
|
|
103
|
+
Service71,
|
|
104
|
+
node76
|
|
105
|
+
} from "./pty-zm6ygejy.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./pty-
|
|
107
|
+
ID6,
|
|
108
|
+
Service54,
|
|
109
|
+
node58
|
|
110
|
+
} from "./pty-3f3d0cbx.js";
|
|
111
111
|
import {
|
|
112
112
|
StrategyID2,
|
|
113
|
-
|
|
113
|
+
Info3,
|
|
114
114
|
ListEntry3,
|
|
115
115
|
UnsupportedLocationError2,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
} from "./pty-
|
|
116
|
+
Service17,
|
|
117
|
+
node21
|
|
118
|
+
} from "./pty-a8emfn6x.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./pty-
|
|
120
|
+
Service16,
|
|
121
|
+
node20
|
|
122
|
+
} from "./pty-yc5avrgj.js";
|
|
123
123
|
import {
|
|
124
124
|
__export
|
|
125
125
|
} from "./pty-9rqn6x4v.js";
|
|
@@ -140,36 +140,36 @@ var mutable = (value) => value;
|
|
|
140
140
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
141
141
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
142
142
|
const app = yield* Metadata2;
|
|
143
|
-
const agents = yield*
|
|
144
|
-
const aisdk = yield*
|
|
145
|
-
const catalog = yield*
|
|
146
|
-
const commands = yield*
|
|
143
|
+
const agents = yield* Service65;
|
|
144
|
+
const aisdk = yield* Service46;
|
|
145
|
+
const catalog = yield* Service75;
|
|
146
|
+
const commands = yield* Service41;
|
|
147
147
|
const bus = yield* Service79;
|
|
148
|
-
const integration = yield*
|
|
149
|
-
const kv = yield*
|
|
150
|
-
const mcp = yield*
|
|
151
|
-
const location = yield*
|
|
152
|
-
const reference = yield*
|
|
153
|
-
const rpc = yield*
|
|
154
|
-
const skill = yield*
|
|
155
|
-
const tools = yield*
|
|
156
|
-
const vcs = yield*
|
|
157
|
-
const websearch = yield*
|
|
158
|
-
const generate = yield*
|
|
159
|
-
const permission = yield*
|
|
160
|
-
const hooks = yield*
|
|
161
|
-
const sessions = yield*
|
|
162
|
-
const persistentPty = yield*
|
|
163
|
-
const locations = yield*
|
|
164
|
-
const worktrees = yield*
|
|
165
|
-
const locationInfo = () => new
|
|
148
|
+
const integration = yield* Service76;
|
|
149
|
+
const kv = yield* Service58;
|
|
150
|
+
const mcp = yield* Service28;
|
|
151
|
+
const location = yield* Service72;
|
|
152
|
+
const reference = yield* Service56;
|
|
153
|
+
const rpc = yield* Service18;
|
|
154
|
+
const skill = yield* Service39;
|
|
155
|
+
const tools = yield* Service52;
|
|
156
|
+
const vcs = yield* Service71;
|
|
157
|
+
const websearch = yield* Service54;
|
|
158
|
+
const generate = yield* Service16;
|
|
159
|
+
const permission = yield* Service61;
|
|
160
|
+
const hooks = yield* Service64;
|
|
161
|
+
const sessions = yield* Service19;
|
|
162
|
+
const persistentPty = yield* Service68;
|
|
163
|
+
const locations = yield* Service66;
|
|
164
|
+
const worktrees = yield* Service17;
|
|
165
|
+
const locationInfo = () => new Info26({
|
|
166
166
|
directory: location.directory,
|
|
167
167
|
workspaceID: location.workspaceID,
|
|
168
168
|
project: location.project
|
|
169
169
|
});
|
|
170
|
-
const locationRef = (input) => input?.location === undefined ? undefined :
|
|
170
|
+
const locationRef = (input) => input?.location === undefined ? undefined : Ref2.make({
|
|
171
171
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
172
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
172
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID5.make(input.location.workspace)
|
|
173
173
|
});
|
|
174
174
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
175
175
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
@@ -181,18 +181,18 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
181
181
|
return Effect.gen(function* () {
|
|
182
182
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
183
183
|
const plugins = yield* Plugin.Service;
|
|
184
|
-
const target = yield*
|
|
184
|
+
const target = yield* Service17;
|
|
185
185
|
yield* plugins.awaitActivation;
|
|
186
186
|
return yield* run(target);
|
|
187
187
|
}).pipe(Effect.provide(locations.get(ref)));
|
|
188
188
|
};
|
|
189
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
189
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info3);
|
|
190
190
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
191
191
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
192
|
-
const location = yield*
|
|
193
|
-
const agents = yield*
|
|
192
|
+
const location = yield* Service72;
|
|
193
|
+
const agents = yield* Service65;
|
|
194
194
|
return {
|
|
195
|
-
location: new
|
|
195
|
+
location: new Info26({
|
|
196
196
|
directory: location.directory,
|
|
197
197
|
workspaceID: location.workspaceID,
|
|
198
198
|
project: location.project
|
|
@@ -224,10 +224,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
224
224
|
transform: (callback) => agents.transform((editor) => {
|
|
225
225
|
callback({
|
|
226
226
|
list: () => mutable(editor.list()),
|
|
227
|
-
get: (id) => mutable(editor.get(
|
|
228
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
229
|
-
update: (id, update) => editor.update(
|
|
230
|
-
remove: (id) => editor.remove(
|
|
227
|
+
get: (id) => mutable(editor.get(ID10.make(id))),
|
|
228
|
+
default: (id) => editor.default(id === undefined ? undefined : ID10.make(id)),
|
|
229
|
+
update: (id, update) => editor.update(ID10.make(id), update),
|
|
230
|
+
remove: (id) => editor.remove(ID10.make(id))
|
|
231
231
|
});
|
|
232
232
|
})
|
|
233
233
|
},
|
|
@@ -262,7 +262,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
262
262
|
catalog: {
|
|
263
263
|
provider: {
|
|
264
264
|
list: () => response(catalog.provider.available()),
|
|
265
|
-
get: (input) => catalog.provider.get(
|
|
265
|
+
get: (input) => catalog.provider.get(ID18.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider))))
|
|
266
266
|
},
|
|
267
267
|
model: {
|
|
268
268
|
list: () => response(catalog.model.available()),
|
|
@@ -273,17 +273,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
273
273
|
callback({
|
|
274
274
|
provider: {
|
|
275
275
|
list: () => mutable(editor.provider.list()),
|
|
276
|
-
get: (id) => mutable(editor.provider.get(
|
|
277
|
-
update: (id, update) => editor.provider.update(
|
|
278
|
-
remove: (id) => editor.provider.remove(
|
|
276
|
+
get: (id) => mutable(editor.provider.get(ID18.make(id))),
|
|
277
|
+
update: (id, update) => editor.provider.update(ID18.make(id), update),
|
|
278
|
+
remove: (id) => editor.provider.remove(ID18.make(id))
|
|
279
279
|
},
|
|
280
280
|
model: {
|
|
281
|
-
get: (providerID, modelID) => mutable(editor.model.get(
|
|
282
|
-
update: (providerID, modelID, update) => editor.model.update(
|
|
283
|
-
remove: (providerID, modelID) => editor.model.remove(
|
|
281
|
+
get: (providerID, modelID) => mutable(editor.model.get(ID18.make(providerID), ID17.make(modelID))),
|
|
282
|
+
update: (providerID, modelID, update) => editor.model.update(ID18.make(providerID), ID17.make(modelID), update),
|
|
283
|
+
remove: (providerID, modelID) => editor.model.remove(ID18.make(providerID), ID17.make(modelID)),
|
|
284
284
|
default: {
|
|
285
285
|
get: editor.model.default.get,
|
|
286
|
-
set: (providerID, modelID) => editor.model.default.set(
|
|
286
|
+
set: (providerID, modelID) => editor.model.default.set(ID18.make(providerID), ID17.make(modelID))
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
});
|
|
@@ -307,10 +307,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
307
307
|
},
|
|
308
308
|
integration: {
|
|
309
309
|
list: () => response(integration.list()),
|
|
310
|
-
get: (input) => response(integration.get(
|
|
310
|
+
get: (input) => response(integration.get(ID14.make(input.integrationID))),
|
|
311
311
|
connect: {
|
|
312
312
|
key: (input) => integration.connection.key({
|
|
313
|
-
integrationID:
|
|
313
|
+
integrationID: ID14.make(input.integrationID),
|
|
314
314
|
key: input.key,
|
|
315
315
|
answer: input.answer,
|
|
316
316
|
label: input.label
|
|
@@ -318,55 +318,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
318
318
|
},
|
|
319
319
|
oauth: {
|
|
320
320
|
connect: (input) => response(integration.oauth.connect({
|
|
321
|
-
integrationID:
|
|
321
|
+
integrationID: ID14.make(input.integrationID),
|
|
322
322
|
methodID: MethodID2.make(input.methodID),
|
|
323
323
|
answer: input.answer,
|
|
324
324
|
label: input.label
|
|
325
325
|
})),
|
|
326
326
|
status: (input) => response(integration.oauth.status({
|
|
327
|
-
integrationID:
|
|
327
|
+
integrationID: ID14.make(input.integrationID),
|
|
328
328
|
attemptID: AttemptID2.make(input.attemptID)
|
|
329
329
|
})),
|
|
330
330
|
complete: (input) => integration.oauth.complete({
|
|
331
|
-
integrationID:
|
|
331
|
+
integrationID: ID14.make(input.integrationID),
|
|
332
332
|
attemptID: AttemptID2.make(input.attemptID),
|
|
333
333
|
code: input.code
|
|
334
334
|
}),
|
|
335
335
|
cancel: (input) => integration.oauth.cancel({
|
|
336
|
-
integrationID:
|
|
336
|
+
integrationID: ID14.make(input.integrationID),
|
|
337
337
|
attemptID: AttemptID2.make(input.attemptID)
|
|
338
338
|
})
|
|
339
339
|
},
|
|
340
340
|
command: {
|
|
341
341
|
connect: (input) => response(integration.command.connect({
|
|
342
|
-
integrationID:
|
|
342
|
+
integrationID: ID14.make(input.integrationID),
|
|
343
343
|
methodID: MethodID2.make(input.methodID),
|
|
344
344
|
label: input.label
|
|
345
345
|
})),
|
|
346
346
|
status: (input) => response(integration.command.status({
|
|
347
|
-
integrationID:
|
|
347
|
+
integrationID: ID14.make(input.integrationID),
|
|
348
348
|
attemptID: AttemptID2.make(input.attemptID)
|
|
349
349
|
})),
|
|
350
350
|
cancel: (input) => integration.command.cancel({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID14.make(input.integrationID),
|
|
352
352
|
attemptID: AttemptID2.make(input.attemptID)
|
|
353
353
|
})
|
|
354
354
|
},
|
|
355
355
|
reload: integration.reload,
|
|
356
356
|
connection: {
|
|
357
|
-
active: (id) => integration.connection.active(
|
|
358
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
357
|
+
active: (id) => integration.connection.active(ID14.make(id)),
|
|
358
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID16.make(connection.id) } : connection)
|
|
359
359
|
},
|
|
360
360
|
transform: (callback) => integration.transform((editor) => {
|
|
361
361
|
callback({
|
|
362
362
|
list: () => mutable(editor.list()),
|
|
363
|
-
get: (id) => mutable(editor.get(
|
|
364
|
-
update: (id, update) => editor.update(
|
|
365
|
-
remove: (id) => editor.remove(
|
|
363
|
+
get: (id) => mutable(editor.get(ID14.make(id))),
|
|
364
|
+
update: (id, update) => editor.update(ID14.make(id), update),
|
|
365
|
+
remove: (id) => editor.remove(ID14.make(id)),
|
|
366
366
|
method: {
|
|
367
|
-
list: (id) => editor.method.list(
|
|
367
|
+
list: (id) => editor.method.list(ID14.make(id)),
|
|
368
368
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
369
|
-
remove: (id, method) => editor.method.remove(
|
|
369
|
+
remove: (id, method) => editor.method.remove(ID14.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
370
370
|
}
|
|
371
371
|
});
|
|
372
372
|
})
|
|
@@ -376,10 +376,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
376
376
|
const ref = locationRef(input);
|
|
377
377
|
if (ref && !isCurrentLocation(ref))
|
|
378
378
|
return Effect.gen(function* () {
|
|
379
|
-
const location = yield*
|
|
380
|
-
const mcp = yield*
|
|
379
|
+
const location = yield* Service72;
|
|
380
|
+
const mcp = yield* Service28;
|
|
381
381
|
return {
|
|
382
|
-
location: new
|
|
382
|
+
location: new Info26({
|
|
383
383
|
directory: location.directory,
|
|
384
384
|
workspaceID: location.workspaceID,
|
|
385
385
|
project: location.project
|
|
@@ -414,7 +414,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
414
414
|
reload: reference.reload,
|
|
415
415
|
transform: (callback) => reference.transform((editor) => {
|
|
416
416
|
callback({
|
|
417
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
417
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
|
|
418
418
|
remove: editor.remove,
|
|
419
419
|
list: editor.list,
|
|
420
420
|
get: editor.get
|
|
@@ -456,19 +456,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
456
456
|
providers: () => response(websearch.providers()),
|
|
457
457
|
query: (input) => response(websearch.query({
|
|
458
458
|
query: input.query,
|
|
459
|
-
providerID: input.providerID === undefined ? undefined :
|
|
459
|
+
providerID: input.providerID === undefined ? undefined : ID6.make(input.providerID)
|
|
460
460
|
})),
|
|
461
461
|
reload: websearch.reload,
|
|
462
462
|
transform: (callback) => websearch.transform((editor) => {
|
|
463
463
|
callback({
|
|
464
464
|
add: (definition) => editor.add({
|
|
465
|
-
id:
|
|
465
|
+
id: ID6.make(definition.id),
|
|
466
466
|
name: definition.name,
|
|
467
467
|
execute: definition.execute
|
|
468
468
|
}),
|
|
469
469
|
default: {
|
|
470
470
|
get: editor.default.get,
|
|
471
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
471
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID6.make(selection))
|
|
472
472
|
}
|
|
473
473
|
});
|
|
474
474
|
})
|
|
@@ -495,7 +495,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
495
495
|
title: input?.title,
|
|
496
496
|
agent: input?.agent,
|
|
497
497
|
model: input?.model,
|
|
498
|
-
location: input?.location ??
|
|
498
|
+
location: input?.location ?? Ref2.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
499
499
|
}),
|
|
500
500
|
get: (input) => sessions.get(input.sessionID),
|
|
501
501
|
switchAgent: sessions.switchAgent,
|
|
@@ -514,29 +514,29 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
514
514
|
return context;
|
|
515
515
|
});
|
|
516
516
|
var requirements3 = LayerNode.group([
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
517
|
+
node75,
|
|
518
|
+
node69,
|
|
519
|
+
node49,
|
|
520
|
+
node80,
|
|
521
|
+
node44,
|
|
522
522
|
node84,
|
|
523
|
-
node61,
|
|
524
|
-
node79,
|
|
525
|
-
node39,
|
|
526
523
|
node81,
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
524
|
+
node62,
|
|
525
|
+
node32,
|
|
526
|
+
node77,
|
|
527
|
+
node60,
|
|
528
|
+
node22,
|
|
529
|
+
node42,
|
|
530
|
+
node55,
|
|
531
|
+
node76,
|
|
532
|
+
node58,
|
|
533
|
+
node21,
|
|
534
|
+
node20,
|
|
533
535
|
node65,
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
node27,
|
|
539
|
-
node64
|
|
536
|
+
node68,
|
|
537
|
+
node23,
|
|
538
|
+
node72,
|
|
539
|
+
node70
|
|
540
540
|
]);
|
|
541
541
|
function storage2(kv, pluginID) {
|
|
542
542
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -563,7 +563,7 @@ function methodImplementation(input) {
|
|
|
563
563
|
if ("authorize" in input) {
|
|
564
564
|
const refresh = input.refresh;
|
|
565
565
|
return {
|
|
566
|
-
integrationID:
|
|
566
|
+
integrationID: ID14.make(input.integrationID),
|
|
567
567
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
568
568
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
569
569
|
if (authorization.mode === "auto") {
|
|
@@ -583,18 +583,18 @@ function methodImplementation(input) {
|
|
|
583
583
|
}
|
|
584
584
|
if (input.method.type === "env") {
|
|
585
585
|
return {
|
|
586
|
-
integrationID:
|
|
586
|
+
integrationID: ID14.make(input.integrationID),
|
|
587
587
|
method: input.method
|
|
588
588
|
};
|
|
589
589
|
}
|
|
590
590
|
if (input.method.type === "command") {
|
|
591
591
|
return {
|
|
592
|
-
integrationID:
|
|
592
|
+
integrationID: ID14.make(input.integrationID),
|
|
593
593
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
594
594
|
};
|
|
595
595
|
}
|
|
596
596
|
return {
|
|
597
|
-
integrationID:
|
|
597
|
+
integrationID: ID14.make(input.integrationID),
|
|
598
598
|
method: input.method
|
|
599
599
|
};
|
|
600
600
|
}
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
ascending2
|
|
3
3
|
} from "./pty-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./pty-
|
|
5
|
+
Service58,
|
|
6
|
+
node62
|
|
7
|
+
} from "./pty-2d9xefx9.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
10
|
} from "./pty-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./pty-
|
|
13
|
+
} from "./pty-8q7cq0y1.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
16
|
} from "./pty-9rqn6x4v.js";
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service38,
|
|
23
|
+
make: () => make18,
|
|
24
|
+
node: () => node41
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
|
|
|
50
50
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service38 extends Context.Service()("@opencode/Job") {
|
|
54
54
|
}
|
|
55
55
|
function snapshot(job) {
|
|
56
56
|
return {
|
|
@@ -77,8 +77,8 @@ function decrementSession(input, sessionID) {
|
|
|
77
77
|
next.set(sessionID, count - 1);
|
|
78
78
|
return next;
|
|
79
79
|
}
|
|
80
|
-
var
|
|
81
|
-
const kv = yield*
|
|
80
|
+
var make18 = Effect.gen(function* () {
|
|
81
|
+
const kv = yield* Service58;
|
|
82
82
|
const state = {
|
|
83
83
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
84
84
|
scope: yield* Scope.Scope
|
|
@@ -307,7 +307,7 @@ var make17 = Effect.gen(function* () {
|
|
|
307
307
|
return recovered;
|
|
308
308
|
}).pipe(Effect.withSpan("Job.pendingBackground"));
|
|
309
309
|
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
|
|
310
|
-
return
|
|
310
|
+
return Service38.of({
|
|
311
311
|
get,
|
|
312
312
|
start,
|
|
313
313
|
wait,
|
|
@@ -319,7 +319,7 @@ var make17 = Effect.gen(function* () {
|
|
|
319
319
|
completeBackground
|
|
320
320
|
});
|
|
321
321
|
});
|
|
322
|
-
var layer = Layer.effect(
|
|
323
|
-
var
|
|
322
|
+
var layer = Layer.effect(Service38, make18);
|
|
323
|
+
var node41 = makeGlobalNode({ service: Service38, layer, deps: [node62] });
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { Service38, make18, node41, exports_job };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./pty-
|
|
3
|
+
} from "./pty-b80d24dq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./pty-
|
|
5
|
+
Service55,
|
|
6
|
+
Event11
|
|
7
|
+
} from "./pty-8vhbqs5w.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -14,7 +14,7 @@ import { Effect, Stream } from "effect";
|
|
|
14
14
|
var ModelsDevPlugin2 = define({
|
|
15
15
|
id: "opencode.models.dev",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
|
-
const modelsDev = yield*
|
|
17
|
+
const modelsDev = yield* Service55;
|
|
18
18
|
const bus = yield* Service79;
|
|
19
19
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
20
20
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -49,7 +49,7 @@ var ModelsDevPlugin2 = define({
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
|
-
yield* bus.subscribe(
|
|
52
|
+
yield* bus.subscribe(Event11.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
55
|
function environmentNames(provider) {
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./pty-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./pty-
|
|
6
|
+
} from "./pty-c3se2jx9.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./pty-
|
|
9
|
+
} from "./pty-yv9w4q4m.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|