@opencode/core 2.1.1 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +77 -77
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -96
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/chunks/{repository-cache-1ptgpzsy.js → instruction-discovery-00vfyfmg.js} +19 -20
- package/dist/chunks/{repository-cache-mx97exft.js → instruction-discovery-010690t7.js} +30 -25
- package/dist/chunks/{repository-cache-rj3eygr5.js → instruction-discovery-034tev2y.js} +2 -2
- package/dist/chunks/{repository-cache-9hzyxvsk.js → instruction-discovery-043wk7y2.js} +15 -15
- package/dist/chunks/{repository-cache-qcy13bhz.js → instruction-discovery-08c8nzsh.js} +15 -15
- package/dist/chunks/{repository-cache-vhwx28nx.js → instruction-discovery-0afbw91q.js} +23 -18
- package/dist/chunks/{repository-cache-x7wne18b.js → instruction-discovery-0dw5cvz7.js} +13 -13
- package/dist/chunks/{repository-cache-3rq8r7zt.js → instruction-discovery-0kjn1fz0.js} +12 -12
- package/dist/chunks/{repository-cache-8t50b4ww.js → instruction-discovery-0mhrw39n.js} +18 -18
- package/dist/chunks/{repository-cache-tgfxvvf8.js → instruction-discovery-0rmtycpk.js} +10 -10
- package/dist/chunks/{repository-cache-6kthashm.js → instruction-discovery-0txtbpzw.js} +32 -32
- package/dist/chunks/{repository-cache-zx24wvbj.js → instruction-discovery-11xg13et.js} +16 -19
- package/dist/chunks/{repository-cache-g9rqxbv3.js → instruction-discovery-1887s9ws.js} +6 -6
- package/dist/chunks/{repository-cache-rjf4ffg7.js → instruction-discovery-18b8n2mx.js} +15 -15
- package/dist/chunks/{repository-cache-ht1p01b4.js → instruction-discovery-1acn2yrp.js} +9 -9
- package/dist/chunks/{repository-cache-fmnd8f8t.js → instruction-discovery-1cx70z4q.js} +10 -10
- package/dist/chunks/{repository-cache-mmfyj663.js → instruction-discovery-1dqke238.js} +3 -3
- package/dist/chunks/{repository-cache-rert0e01.js → instruction-discovery-1ep2p91f.js} +2 -2
- package/dist/chunks/{repository-cache-dqjdwcmj.js → instruction-discovery-1m4hc5mh.js} +10 -10
- package/dist/chunks/{repository-cache-57myy5jh.js → instruction-discovery-1vdntpm3.js} +5 -5
- package/dist/chunks/{repository-cache-6827pfxn.js → instruction-discovery-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-cache-4v4bfvma.js → instruction-discovery-1x75wf9g.js} +5 -5
- package/dist/chunks/{repository-cache-sz15zhhw.js → instruction-discovery-1y0wdj51.js} +4 -4
- package/dist/chunks/{repository-cache-fcrkznn8.js → instruction-discovery-1yq9hg58.js} +5 -5
- package/dist/chunks/{repository-cache-h1f52gh9.js → instruction-discovery-20e5g7bx.js} +26 -19
- package/dist/chunks/{repository-cache-43x4yszk.js → instruction-discovery-2annm2pv.js} +17 -20
- package/dist/chunks/{repository-cache-v5dkyp31.js → instruction-discovery-2azy8kv6.js} +4 -4
- package/dist/chunks/{repository-cache-r38tb40c.js → instruction-discovery-2cjmrnhq.js} +8 -8
- package/dist/chunks/{repository-cache-yfdycbsw.js → instruction-discovery-2dh20r6m.js} +14 -14
- package/dist/chunks/{repository-cache-baaqp4zd.js → instruction-discovery-2m2g9ynh.js} +4 -4
- package/dist/chunks/{repository-cache-7jwh32ts.js → instruction-discovery-2p8pcvpp.js} +24 -24
- package/dist/chunks/{repository-cache-5f5dfnyg.js → instruction-discovery-2ph54kq6.js} +6 -5
- package/dist/chunks/{repository-cache-qsbh95pa.js → instruction-discovery-2vnhppnj.js} +15 -15
- package/dist/chunks/{repository-cache-3smtnn6g.js → instruction-discovery-2z1j29yd.js} +5 -3
- package/dist/chunks/{repository-cache-g5g9rrdp.js → instruction-discovery-3ffdjm8e.js} +24 -24
- package/dist/chunks/{repository-cache-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-54ma36ye.js → instruction-discovery-3nnrz6f6.js} +1 -1
- package/dist/chunks/{repository-cache-77d0na5t.js → instruction-discovery-3p713cmj.js} +30 -56
- package/dist/chunks/{repository-cache-haz4dce7.js → instruction-discovery-3wvbe35v.js} +13 -13
- package/dist/chunks/{repository-cache-gpz4bnby.js → instruction-discovery-3z193f8y.js} +1 -1
- package/dist/chunks/{repository-cache-4bk9s89f.js → instruction-discovery-43jry69q.js} +11 -11
- package/dist/chunks/{repository-cache-63t8kvdx.js → instruction-discovery-46r0wh18.js} +22 -24
- package/dist/chunks/{repository-cache-0vtn597b.js → instruction-discovery-4n11yhw4.js} +28 -25
- package/dist/chunks/{repository-cache-exgm3bba.js → instruction-discovery-4shrmavh.js} +11 -11
- package/dist/chunks/{repository-cache-zr2ceqn5.js → instruction-discovery-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-cache-nxhdjhjw.js → instruction-discovery-4wn1snmt.js} +40 -40
- package/dist/chunks/{repository-cache-6qn8gjqg.js → instruction-discovery-4x3py1rw.js} +18 -18
- package/dist/chunks/{repository-cache-txwpsv2p.js → instruction-discovery-4x6wmwcx.js} +17 -17
- package/dist/chunks/{repository-cache-7v6vae4w.js → instruction-discovery-4xvmh7wp.js} +3 -3
- package/dist/chunks/{repository-cache-scqf7y3w.js → instruction-discovery-5091jnev.js} +101 -90
- package/dist/chunks/{repository-cache-15e8hpnt.js → instruction-discovery-55tcnysh.js} +8 -8
- package/dist/chunks/{repository-cache-pyv0edze.js → instruction-discovery-5fjb7ams.js} +4 -4
- package/dist/chunks/{repository-cache-rrymd76b.js → instruction-discovery-5fkm8khv.js} +20 -20
- package/dist/chunks/{repository-cache-sxy57xts.js → instruction-discovery-5hny5v5k.js} +82 -86
- package/dist/chunks/{repository-cache-5m9w47nd.js → instruction-discovery-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-x4jd4xmr.js → instruction-discovery-5t4dhsbz.js} +34 -36
- package/dist/chunks/{repository-cache-3ty6jwen.js → instruction-discovery-5v9evq2g.js} +6 -6
- package/dist/chunks/{repository-cache-a0kr73jj.js → instruction-discovery-5yzc6bj8.js} +14 -11
- package/dist/chunks/{repository-cache-djbskq1b.js → instruction-discovery-62mdyzxb.js} +14 -14
- package/dist/chunks/{repository-cache-qmqgtz8f.js → instruction-discovery-6c5cd6ez.js} +9 -9
- package/dist/chunks/{repository-cache-zxq2ej10.js → instruction-discovery-6esdw8yj.js} +1 -1
- package/dist/chunks/{repository-cache-mhdex35g.js → instruction-discovery-6j214bp7.js} +9 -9
- package/dist/chunks/{repository-cache-t5gc52ef.js → instruction-discovery-6pg400w5.js} +10 -27
- package/dist/chunks/{repository-cache-qsdy395h.js → instruction-discovery-6pjqjmy2.js} +1 -1
- package/dist/chunks/{repository-cache-g2kfam58.js → instruction-discovery-6q77emv1.js} +18 -18
- package/dist/chunks/{repository-cache-n268d91j.js → instruction-discovery-6vnjn6e3.js} +9 -9
- package/dist/chunks/{repository-cache-z6c3x22d.js → instruction-discovery-6y263vp8.js} +7 -11
- package/dist/chunks/{repository-cache-cgc2saxs.js → instruction-discovery-6z2tyrnm.js} +24 -26
- package/dist/chunks/{repository-cache-fzdrxngq.js → instruction-discovery-6zh9yw36.js} +3 -3
- package/dist/chunks/{repository-cache-tcezcvh9.js → instruction-discovery-76cb1hcw.js} +1 -1
- package/dist/chunks/{repository-cache-gp5jn49f.js → instruction-discovery-76ncshtz.js} +18 -18
- package/dist/chunks/{repository-cache-1ep4rre3.js → instruction-discovery-770pw0s1.js} +1 -1
- package/dist/chunks/{repository-cache-fbxj9tpm.js → instruction-discovery-7ayzy530.js} +4 -4
- package/dist/chunks/{repository-cache-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-wp7khyzv.js → instruction-discovery-7d1g1zxa.js} +20 -21
- package/dist/chunks/{repository-cache-zs22chpb.js → instruction-discovery-7d2ezwbt.js} +44 -29
- package/dist/chunks/{repository-cache-7p9sqgn0.js → instruction-discovery-7fyd11se.js} +12 -12
- package/dist/chunks/{repository-cache-k9gaxmgh.js → instruction-discovery-7m02jy4j.js} +2 -2
- package/dist/chunks/{repository-cache-8reangzk.js → instruction-discovery-7nepz6ee.js} +4 -4
- package/dist/chunks/{repository-cache-p7pstqch.js → instruction-discovery-7w0k7xvm.js} +12 -12
- package/dist/chunks/{repository-cache-kwb1v3vj.js → instruction-discovery-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-cache-hh0jpq4c.js → instruction-discovery-7yv7aars.js} +60 -60
- package/dist/chunks/{repository-cache-w12shgbp.js → instruction-discovery-8a6bse1c.js} +19 -17
- package/dist/chunks/{repository-cache-kh81xvt5.js → instruction-discovery-8d991bzx.js} +9 -9
- package/dist/chunks/{repository-cache-y71avatq.js → instruction-discovery-8jztxfpf.js} +4 -4
- package/dist/chunks/{repository-cache-twy8yh4t.js → instruction-discovery-8k3r5dp0.js} +26 -26
- package/dist/chunks/{repository-cache-hfkjwy2f.js → instruction-discovery-8mhma7yw.js} +8 -8
- package/dist/chunks/{repository-cache-0vf8bfn5.js → instruction-discovery-8p073n4r.js} +4 -4
- package/dist/chunks/instruction-discovery-8wc7jg0k.js +26 -0
- package/dist/chunks/{repository-cache-h6vf3j39.js → instruction-discovery-8wtp7s3z.js} +1 -1
- package/dist/chunks/{repository-cache-syv4x271.js → instruction-discovery-91rj84md.js} +4 -2
- package/dist/chunks/{repository-cache-py3kkmfq.js → instruction-discovery-956c56jz.js} +2 -2
- package/dist/chunks/{repository-cache-dzse07y5.js → instruction-discovery-97cewran.js} +6 -6
- package/dist/chunks/{repository-cache-0fztarvd.js → instruction-discovery-98t435zw.js} +18 -13
- package/dist/chunks/{repository-cache-c1fqxshp.js → instruction-discovery-998yhzzq.js} +4 -4
- package/dist/chunks/{repository-cache-v7kdkfkp.js → instruction-discovery-9hbqwfdp.js} +60 -36
- package/dist/chunks/{repository-cache-6hjx5zpb.js → instruction-discovery-9r0x1bva.js} +9 -9
- package/dist/chunks/{repository-cache-3t0ybcrp.js → instruction-discovery-a058387c.js} +4 -2
- package/dist/chunks/{repository-cache-3ns80m0h.js → instruction-discovery-a12mwymm.js} +12 -12
- package/dist/chunks/{repository-cache-f39mejfg.js → instruction-discovery-a4b9rhwe.js} +13 -13
- package/dist/chunks/{repository-cache-8vy56zzm.js → instruction-discovery-a6r83rnm.js} +30 -30
- package/dist/chunks/{repository-cache-8d1pd201.js → instruction-discovery-a9n89zg4.js} +22 -22
- package/dist/chunks/{repository-cache-yew0zm8m.js → instruction-discovery-ad4wbrpy.js} +7 -7
- package/dist/chunks/{repository-cache-6s242g8e.js → instruction-discovery-avzkbq4q.js} +44 -45
- package/dist/chunks/{repository-cache-sa8ekw3f.js → instruction-discovery-ayjs7tqn.js} +3 -3
- package/dist/chunks/{repository-cache-3hwn7j4h.js → instruction-discovery-b0mv4wxm.js} +2 -2
- package/dist/chunks/{repository-cache-7z1jx34y.js → instruction-discovery-b5j1fcax.js} +19 -19
- package/dist/chunks/{repository-cache-nz56sr1f.js → instruction-discovery-b6vsg801.js} +4 -3
- package/dist/chunks/{repository-cache-dzr38x1r.js → instruction-discovery-b8mk3enz.js} +11 -11
- package/dist/chunks/{repository-cache-3hkcw4we.js → instruction-discovery-b974jjnj.js} +13 -13
- package/dist/chunks/{repository-cache-tza759th.js → instruction-discovery-b9p9sb5m.js} +23 -25
- package/dist/chunks/{repository-cache-21n0xhjn.js → instruction-discovery-ba1860as.js} +13 -13
- package/dist/chunks/{repository-cache-r8tt5pdh.js → instruction-discovery-bcyzxrby.js} +17 -17
- package/dist/chunks/{repository-cache-w1eejvng.js → instruction-discovery-bstexjd6.js} +5 -5
- package/dist/chunks/{repository-cache-gnrrjsmd.js → instruction-discovery-bwg9673r.js} +18 -16
- package/dist/chunks/{repository-cache-gkge597h.js → instruction-discovery-bzfg3f7z.js} +43 -38
- package/dist/chunks/{repository-cache-kx8xg74a.js → instruction-discovery-c0emejqt.js} +13 -13
- package/dist/chunks/{repository-cache-tzaz3z0t.js → instruction-discovery-c1tsfj35.js} +6 -6
- package/dist/chunks/{repository-cache-v210v162.js → instruction-discovery-c3cfh5w6.js} +7 -7
- package/dist/chunks/{repository-cache-2577k5af.js → instruction-discovery-cgwzn4dm.js} +28 -30
- package/dist/chunks/{repository-cache-h7q4kewv.js → instruction-discovery-cqmfkhmj.js} +38 -38
- package/dist/chunks/{repository-cache-tdbmj82j.js → instruction-discovery-cqxf2v2j.js} +8 -8
- package/dist/chunks/{repository-cache-pnf7bv7v.js → instruction-discovery-d0bfceqm.js} +27 -40
- package/dist/chunks/{repository-cache-0vbcp93d.js → instruction-discovery-d4v9tmah.js} +2 -2
- package/dist/chunks/{repository-cache-brcmb8c2.js → instruction-discovery-d63q5jb9.js} +43 -43
- package/dist/chunks/{repository-cache-4prqf89h.js → instruction-discovery-ddbr5e5j.js} +24 -24
- package/dist/chunks/{repository-cache-hjygm116.js → instruction-discovery-e2mf0cbs.js} +24 -24
- package/dist/chunks/{repository-cache-5m84d531.js → instruction-discovery-e65cdmhb.js} +8 -8
- package/dist/chunks/{repository-cache-8m6m0r52.js → instruction-discovery-e834z07m.js} +1 -1
- package/dist/chunks/{repository-cache-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-jnk63p10.js → instruction-discovery-ekeaw6g8.js} +30 -30
- package/dist/chunks/{repository-cache-mk935gd8.js → instruction-discovery-etwrvj6f.js} +11 -11
- package/dist/chunks/{repository-cache-nbs22qen.js → instruction-discovery-ewjr930z.js} +4 -4
- package/dist/chunks/{repository-cache-z6dhcqsk.js → instruction-discovery-exc8xa65.js} +12 -12
- package/dist/chunks/{repository-cache-9v5raxs8.js → instruction-discovery-f0st8ac1.js} +3 -3
- package/dist/chunks/{repository-cache-jargxt5j.js → instruction-discovery-f8fq6sgx.js} +13 -13
- package/dist/chunks/{repository-cache-bq3hn31g.js → instruction-discovery-ffcwgx2p.js} +50 -50
- package/dist/chunks/{repository-cache-ewj35nqb.js → instruction-discovery-ffdw0et2.js} +3 -3
- package/dist/chunks/{repository-cache-z18fegx4.js → instruction-discovery-fffv3p7h.js} +2 -10
- package/dist/chunks/{repository-cache-h74mnx9x.js → instruction-discovery-fhjfpzy5.js} +11 -11
- package/dist/chunks/{repository-cache-szwj80cc.js → instruction-discovery-fnw4y167.js} +10 -15
- package/dist/chunks/{repository-cache-fxaymqdw.js → instruction-discovery-fznmdakp.js} +4 -4
- package/dist/chunks/{repository-cache-eej6y6fw.js → instruction-discovery-g5h9c0rr.js} +2 -2
- package/dist/chunks/{repository-cache-a4db0rvv.js → instruction-discovery-gcjdgkn2.js} +9 -9
- package/dist/chunks/{repository-cache-wqz8rkkb.js → instruction-discovery-gq24h8g9.js} +13 -15
- package/dist/chunks/instruction-discovery-grzehpz7.js +18 -0
- package/dist/chunks/{repository-cache-yfsa45n4.js → instruction-discovery-gwkpgrwq.js} +30 -30
- package/dist/chunks/instruction-discovery-h50tsds5.js +257 -0
- package/dist/chunks/{repository-cache-842mqg42.js → instruction-discovery-hdgh8tc2.js} +9 -9
- package/dist/chunks/{repository-cache-0qb6tpgj.js → instruction-discovery-hq055v4c.js} +3 -3
- package/dist/chunks/{repository-cache-vhj1m4b0.js → instruction-discovery-hxbv21kt.js} +19 -18
- package/dist/chunks/{repository-cache-pfhhvb3w.js → instruction-discovery-hyynj17b.js} +3 -3
- package/dist/chunks/{repository-cache-j5w7gx2k.js → instruction-discovery-j035ke4x.js} +34 -34
- package/dist/chunks/{repository-cache-tm0kqsz3.js → instruction-discovery-j113cymg.js} +4 -3
- package/dist/chunks/{repository-cache-fncqf4dd.js → instruction-discovery-j4mjn1pq.js} +5 -5
- package/dist/chunks/{repository-cache-00x4qneg.js → instruction-discovery-jc512s3p.js} +8 -8
- package/dist/chunks/{repository-cache-vnm2wjz3.js → instruction-discovery-jf30r1rb.js} +9 -9
- package/dist/chunks/{repository-cache-3fcx2j2w.js → instruction-discovery-jjbtbvzd.js} +23 -19
- package/dist/chunks/{repository-cache-y8tjtsy7.js → instruction-discovery-jme6sax1.js} +9 -9
- package/dist/chunks/{repository-cache-rhjbct0v.js → instruction-discovery-jneg3k74.js} +4 -4
- package/dist/chunks/{repository-cache-95tpv30c.js → instruction-discovery-jsbhksmn.js} +13 -13
- package/dist/chunks/{repository-cache-yv2cmth8.js → instruction-discovery-jzmsqkqv.js} +1 -1
- package/dist/chunks/{repository-cache-f94wsmf1.js → instruction-discovery-jzrtge32.js} +4 -4
- package/dist/chunks/{repository-cache-065m31h9.js → instruction-discovery-k5dps1se.js} +11 -11
- package/dist/chunks/{repository-cache-kqe08t1d.js → instruction-discovery-k61mxn43.js} +11 -11
- package/dist/chunks/instruction-discovery-k6hny6gd.js +107 -0
- package/dist/chunks/{repository-cache-vzs5sf6e.js → instruction-discovery-k814nvkf.js} +1 -1
- package/dist/chunks/{repository-cache-xkrbr206.js → instruction-discovery-kb0avjr6.js} +8 -8
- package/dist/chunks/{repository-cache-77a66swy.js → instruction-discovery-kbp23r6j.js} +7 -7
- package/dist/chunks/{repository-cache-rpjgfq5s.js → instruction-discovery-kdbzq6ew.js} +9 -9
- package/dist/chunks/{repository-cache-jsg4jcbs.js → instruction-discovery-kdmjmd4e.js} +1 -1
- package/dist/chunks/{repository-cache-t5nm1h7p.js → instruction-discovery-kj7e2tww.js} +49 -50
- package/dist/chunks/{repository-cache-tfp3dpkf.js → instruction-discovery-kkh84317.js} +11 -18
- package/dist/chunks/{repository-cache-9hn6k4tm.js → instruction-discovery-kmzgegqq.js} +8 -8
- package/dist/chunks/{repository-cache-pmx6p9t5.js → instruction-discovery-kr28pkn3.js} +32 -32
- package/dist/chunks/{repository-cache-3zsf4n22.js → instruction-discovery-m1714858.js} +1 -1
- package/dist/chunks/{repository-cache-xfkkasph.js → instruction-discovery-m37sd98t.js} +1 -2
- package/dist/chunks/{repository-cache-zmy0eq9j.js → instruction-discovery-m46e9dn8.js} +20 -16
- package/dist/chunks/{repository-cache-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-jaym3td0.js → instruction-discovery-ma4p4v89.js} +26 -22
- package/dist/chunks/{repository-cache-maspj1v3.js → instruction-discovery-maspj1v3.js} +1 -1
- package/dist/chunks/{repository-cache-hs0qwjvp.js → instruction-discovery-mbvnayvm.js} +33 -31
- package/dist/chunks/{repository-cache-8mywswrd.js → instruction-discovery-me5bcav6.js} +1 -1
- package/dist/chunks/{repository-cache-rmtct2jg.js → instruction-discovery-mfa5g8gf.js} +16 -16
- package/dist/chunks/{repository-cache-zp864mkb.js → instruction-discovery-mg3zv8ep.js} +23 -23
- package/dist/chunks/{repository-cache-7303zb1f.js → instruction-discovery-mjatteds.js} +14 -14
- package/dist/chunks/{repository-cache-q0p071b0.js → instruction-discovery-mn6tycs6.js} +10 -14
- package/dist/chunks/{repository-cache-k1jycaz7.js → instruction-discovery-mpx851pd.js} +25 -28
- package/dist/chunks/{repository-cache-hbb7npd7.js → instruction-discovery-mt3ysty9.js} +3 -3
- package/dist/chunks/{repository-cache-fcy631f0.js → instruction-discovery-n0p0277s.js} +1 -1
- package/dist/chunks/{repository-cache-ys5mczsm.js → instruction-discovery-n4jvz8kw.js} +8 -8
- package/dist/chunks/{repository-cache-9m35c2r0.js → instruction-discovery-n5194rg1.js} +314 -307
- package/dist/chunks/{repository-cache-s5met55r.js → instruction-discovery-nad4mkqt.js} +8 -8
- package/dist/chunks/{repository-cache-a3c7ahw6.js → instruction-discovery-nttn14j9.js} +4 -4
- package/dist/chunks/{repository-cache-yjxqy5ha.js → instruction-discovery-nxsjqf5t.js} +8 -8
- package/dist/chunks/{repository-cache-775gj3j1.js → instruction-discovery-p015t6z3.js} +2 -2
- package/dist/chunks/{repository-cache-h1schjng.js → instruction-discovery-p3ram5kx.js} +32 -33
- package/dist/chunks/{repository-cache-ps8kb85m.js → instruction-discovery-p4az2c5k.js} +11 -11
- package/dist/chunks/{repository-cache-rfmm8jvy.js → instruction-discovery-p8t554mv.js} +22 -22
- package/dist/chunks/{repository-cache-e80seqcp.js → instruction-discovery-pc1v25hk.js} +2 -4
- package/dist/chunks/{repository-cache-d2qeb4wf.js → instruction-discovery-pd3xbwyj.js} +19 -19
- package/dist/chunks/{repository-cache-2ky2kwtz.js → instruction-discovery-pk22050n.js} +2 -2
- package/dist/chunks/{repository-cache-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-gpqw730e.js → instruction-discovery-pmz5xcbe.js} +8 -8
- package/dist/chunks/{repository-cache-t4rnqcab.js → instruction-discovery-pp5hwqdy.js} +3 -3
- package/dist/chunks/{repository-cache-7vt9yzvg.js → instruction-discovery-psq905b5.js} +9 -9
- package/dist/chunks/{repository-cache-x06a86kn.js → instruction-discovery-pthf9bv3.js} +13 -13
- package/dist/chunks/{repository-cache-6xjvsea3.js → instruction-discovery-pytpe3gf.js} +17 -11
- package/dist/chunks/{repository-cache-0xfcnhey.js → instruction-discovery-qhhs3wjj.js} +27 -27
- package/dist/chunks/{repository-cache-a75ad8v4.js → instruction-discovery-qz04j05z.js} +1 -1
- package/dist/chunks/{repository-cache-tyytaxap.js → instruction-discovery-r0yr0wbs.js} +1 -1
- package/dist/chunks/{repository-cache-bjx1sjef.js → instruction-discovery-r41sfy63.js} +6 -6
- package/dist/chunks/{repository-cache-gec8gq51.js → instruction-discovery-r6ff3mpm.js} +8 -8
- package/dist/chunks/{repository-cache-tazgh4e4.js → instruction-discovery-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-cache-na3b46a7.js → instruction-discovery-rh2kdvv3.js} +18 -26
- package/dist/chunks/{repository-cache-ek4c2f0v.js → instruction-discovery-rjw99gz0.js} +6 -6
- package/dist/chunks/{repository-cache-3tvqynh2.js → instruction-discovery-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-cache-bf4bmw04.js → instruction-discovery-rtqr9ste.js} +21 -25
- package/dist/chunks/{repository-cache-kq77jz7h.js → instruction-discovery-rx7ecff6.js} +5 -5
- package/dist/chunks/{repository-cache-knhxpfbp.js → instruction-discovery-ryq7zjd3.js} +13 -13
- package/dist/chunks/{repository-cache-a58n7r3a.js → instruction-discovery-scaas24c.js} +34 -34
- package/dist/chunks/{repository-cache-rd8qctj1.js → instruction-discovery-scfq87m9.js} +6 -6
- package/dist/chunks/{repository-cache-gtsbe4v4.js → instruction-discovery-sm5tp0dc.js} +10 -10
- package/dist/chunks/{repository-cache-6xb47vfp.js → instruction-discovery-sqjzf8x2.js} +1 -1
- package/dist/chunks/{repository-cache-1acjjqhc.js → instruction-discovery-ssfehs1z.js} +5 -15
- package/dist/chunks/{repository-cache-dv4jvz6s.js → instruction-discovery-t31xmjpq.js} +21 -21
- package/dist/chunks/{repository-cache-83whknbm.js → instruction-discovery-t633519e.js} +33 -33
- package/dist/chunks/{repository-cache-r8qzytx6.js → instruction-discovery-t8qa7zg5.js} +6 -6
- package/dist/chunks/{repository-cache-8g2mbw9h.js → instruction-discovery-ta8jwj2a.js} +21 -21
- package/dist/chunks/{repository-cache-gd4qta3r.js → instruction-discovery-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-cache-37cqxn50.js → instruction-discovery-tmqhwsdc.js} +3 -3
- package/dist/chunks/{repository-cache-tdstcens.js → instruction-discovery-tw8zr1ps.js} +1 -1
- package/dist/chunks/{repository-cache-v7p4zvkq.js → instruction-discovery-twv2r8f4.js} +2 -2
- package/dist/chunks/{repository-cache-fww2ha2b.js → instruction-discovery-tzjzgnfr.js} +10 -10
- package/dist/chunks/{repository-cache-zz6a9he3.js → instruction-discovery-v1wb27er.js} +33 -33
- package/dist/chunks/{repository-cache-pmx89wj9.js → instruction-discovery-v2dnm4n9.js} +14 -14
- package/dist/chunks/{repository-cache-mn5j6xz9.js → instruction-discovery-v3tkh1aj.js} +15 -7
- package/dist/chunks/{repository-cache-47cwnsyn.js → instruction-discovery-v466f70q.js} +21 -45
- package/dist/chunks/{repository-cache-46mephjz.js → instruction-discovery-v4gdxem8.js} +28 -28
- package/dist/chunks/{repository-cache-rdw6cm16.js → instruction-discovery-vd3b3yk9.js} +1 -1
- package/dist/chunks/{repository-cache-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-4tyzw6xh.js → instruction-discovery-vfjveysg.js} +7 -7
- package/dist/chunks/{repository-cache-s2b0mt3v.js → instruction-discovery-vp60xasa.js} +1 -1
- package/dist/chunks/{repository-cache-6bq45c98.js → instruction-discovery-vw33scy9.js} +18 -18
- package/dist/chunks/{repository-cache-x2gnjtg4.js → instruction-discovery-w0ap69e3.js} +7 -7
- package/dist/chunks/{repository-cache-c15zmvx5.js → instruction-discovery-w194z9kg.js} +10 -10
- package/dist/chunks/{repository-cache-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-6e57763q.js → instruction-discovery-w76j0mqj.js} +2 -2
- package/dist/chunks/{repository-cache-1ze9gtzp.js → instruction-discovery-w7zjqt6n.js} +4 -4
- package/dist/chunks/{repository-cache-qnc92qwc.js → instruction-discovery-wakvkjy4.js} +9 -5
- package/dist/chunks/{repository-cache-v30mg9q2.js → instruction-discovery-wbmymcea.js} +8 -8
- package/dist/chunks/{repository-cache-savvjd0x.js → instruction-discovery-wcs0vwrk.js} +105 -29
- package/dist/chunks/{repository-cache-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-fj6qct2w.js → instruction-discovery-wh2p867q.js} +42 -42
- package/dist/chunks/{repository-cache-1ngx28bn.js → instruction-discovery-wkr28yqr.js} +7 -8
- package/dist/chunks/{repository-cache-b4nzaj04.js → instruction-discovery-wp4rg1a9.js} +5 -5
- package/dist/chunks/{repository-cache-2v5tj3gs.js → instruction-discovery-x0kw00z1.js} +10 -10
- package/dist/chunks/{repository-cache-z86wre2g.js → instruction-discovery-x2c3sws5.js} +24 -24
- package/dist/chunks/{repository-cache-ms89s1xg.js → instruction-discovery-x2sbbjmw.js} +129 -129
- package/dist/chunks/{repository-cache-znqen040.js → instruction-discovery-x62216mf.js} +11 -11
- package/dist/chunks/{repository-cache-1q92ejr7.js → instruction-discovery-xac4ky40.js} +21 -21
- package/dist/chunks/{repository-cache-kf0zwkk2.js → instruction-discovery-xg53n6nb.js} +24 -25
- package/dist/chunks/{repository-cache-vbfgae2j.js → instruction-discovery-y09thtp3.js} +4 -4
- package/dist/chunks/{repository-cache-dzxp512b.js → instruction-discovery-y299mpjs.js} +47 -47
- package/dist/chunks/{repository-cache-ezhy60ay.js → instruction-discovery-y78a4wcp.js} +26 -33
- package/dist/chunks/{repository-cache-y50tnaxc.js → instruction-discovery-y8a8xdaa.js} +9 -9
- package/dist/chunks/{repository-cache-c5ggqzvz.js → instruction-discovery-y9awcm76.js} +5 -5
- package/dist/chunks/{repository-cache-pjvnvgmy.js → instruction-discovery-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-cache-njebe5fw.js → instruction-discovery-ygtqa21c.js} +19 -19
- package/dist/chunks/{repository-cache-86eqfcce.js → instruction-discovery-ymqv4qqa.js} +9 -9
- package/dist/chunks/{repository-cache-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-y1fvbwt7.js → instruction-discovery-z38nccrw.js} +1 -1
- package/dist/chunks/{repository-cache-4wehpdsn.js → instruction-discovery-z81weg6a.js} +24 -24
- package/dist/chunks/{repository-cache-addxnjmp.js → instruction-discovery-zba5tm1j.js} +4 -4
- package/dist/chunks/{repository-cache-dmpxat65.js → instruction-discovery-zhtsgqh5.js} +4 -4
- package/dist/chunks/{repository-cache-hgz4x7wa.js → instruction-discovery-zkg84ctx.js} +1 -1
- package/dist/chunks/{repository-cache-5dycw2n2.js → instruction-discovery-znn5w31e.js} +3 -3
- package/dist/chunks/{repository-cache-6nq3099y.js → instruction-discovery-zspgb8vt.js} +2 -2
- package/dist/chunks/{repository-cache-b2ckp95n.js → instruction-discovery-ztzjzgcq.js} +10 -10
- package/dist/chunks/{repository-cache-r8mc9fw8.js → instruction-discovery-zygdztbw.js} +7 -7
- package/dist/chunks/instruction-discovery-zyp4ce26.js +523 -0
- package/dist/codemode/catalog.js +1 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +5 -3
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +95 -82
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -15
- package/dist/filesystem.js +104 -110
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -106
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -361
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +179 -151
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -358
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +94 -94
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +4 -2
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +164 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -215
- package/dist/session/execution.js +130 -129
- package/dist/session/generate.js +164 -155
- package/dist/session/history.js +13 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -100
- package/dist/session/runner/publish-llm-event.js +116 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +165 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +168 -159
- package/dist/session/to-session-error.js +114 -113
- package/dist/session/transfer.js +211 -205
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -206
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +137 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -209
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +111 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +4 -2
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/agent.d.ts +3 -3
- package/dist/types/aisdk.d.ts +2 -2
- package/dist/types/codemode/catalog.d.ts +7 -8
- package/dist/types/codemode/tool.d.ts +1 -7
- package/dist/types/database/path.d.ts +1 -0
- package/dist/types/file-access.d.ts +2 -2
- package/dist/types/filesystem/search.d.ts +4 -8
- package/dist/types/filesystem/watcher.d.ts +6 -49
- package/dist/types/filesystem.d.ts +11 -13
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/integration.d.ts +2 -2
- package/dist/types/job.d.ts +1 -0
- package/dist/types/location-activity.d.ts +2 -1
- package/dist/types/mcp/client.d.ts +1 -0
- package/dist/types/mime.d.ts +1 -0
- package/dist/types/permission/saved.d.ts +14 -22
- package/dist/types/permission.d.ts +14 -39
- package/dist/types/persistent-pty/daemon.d.ts +39 -21
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/plugin/provider/opencode.d.ts +2 -1
- package/dist/types/pty.d.ts +2 -2
- package/dist/types/session/error.d.ts +1 -0
- package/dist/types/session/execution.d.ts +2 -5
- package/dist/types/session/history.d.ts +10 -5
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/types/session/run-coordinator.d.ts +2 -5
- package/dist/types/session/runner/publish-llm-event.d.ts +3 -3
- package/dist/types/session/runner/step.d.ts +1 -1
- package/dist/types/session/sql.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +10 -2
- package/dist/types/session.d.ts +38 -38
- package/dist/types/tool/mcp.d.ts +2 -1
- package/dist/types/tool/plugin/read.d.ts +1 -1
- package/dist/types/tool/runtime.d.ts +1 -0
- package/dist/types/tool-output.d.ts +2 -0
- package/dist/types/v1/config/migrate.d.ts +2 -28
- package/dist/types/voice.d.ts +42 -2
- package/dist/types/worktree/git.d.ts +3 -3
- package/dist/types/worktree/sql.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +9 -9
- package/dist/chunks/repository-cache-1kg9ymc8.js +0 -6
- package/dist/chunks/repository-cache-2axfhc9x.js +0 -49
- package/dist/chunks/repository-cache-94p6wp9x.js +0 -71
- package/dist/chunks/repository-cache-9wrj4pc9.js +0 -257
- package/dist/chunks/repository-cache-by5v678g.js +0 -18
- package/dist/chunks/repository-cache-v061a9c2.js +0 -517
- package/dist/chunks/repository-cache-w2nph7ph.js +0 -26
- package/dist/types/util/error.d.ts +0 -273
- package/dist/types/util/iife.d.ts +0 -1
- package/dist/types/v1/config/error.d.ts +0 -393
- package/dist/util/error.js +0 -6
- package/dist/util/iife.js +0 -6
- package/dist/v1/config/error.js +0 -27
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → instruction-discovery-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5qd3pb7m.js → instruction-discovery-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → instruction-discovery-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → instruction-discovery-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-c2sed5cq.js → instruction-discovery-c2sed5cq.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → instruction-discovery-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jze0r7bz.js → instruction-discovery-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → instruction-discovery-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-pkyv6v7h.js → instruction-discovery-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → instruction-discovery-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wjj7prxr.js → instruction-discovery-wjj7prxr.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → instruction-discovery-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -1,132 +1,132 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
node50
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-ad4wbrpy.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-7nepz6ee.js";
|
|
9
9
|
import {
|
|
10
10
|
ID11,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service69,
|
|
12
|
+
node73
|
|
13
|
+
} from "./instruction-discovery-gq24h8g9.js";
|
|
14
14
|
import {
|
|
15
15
|
ID16,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instruction-discovery-2p8pcvpp.js";
|
|
18
18
|
import {
|
|
19
19
|
ID14,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./instruction-discovery-3ffdjm8e.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./instruction-discovery-z5v4ffb3.js";
|
|
29
29
|
import {
|
|
30
30
|
Info27,
|
|
31
31
|
Ref4,
|
|
32
32
|
Service82,
|
|
33
33
|
node86
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./instruction-discovery-7m02jy4j.js";
|
|
35
35
|
import {
|
|
36
36
|
ID13,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service76,
|
|
38
|
+
node80
|
|
39
|
+
} from "./instruction-discovery-n5194rg1.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service74,
|
|
42
|
+
node78
|
|
43
|
+
} from "./instruction-discovery-rtqr9ste.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service43,
|
|
46
|
+
node46
|
|
47
|
+
} from "./instruction-discovery-xac4ky40.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
Service65,
|
|
50
|
+
node69
|
|
51
|
+
} from "./instruction-discovery-sm5tp0dc.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service70,
|
|
54
|
+
node74
|
|
55
|
+
} from "./instruction-discovery-y8a8xdaa.js";
|
|
56
56
|
import {
|
|
57
57
|
ID12,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
58
|
+
Service75,
|
|
59
|
+
node79
|
|
60
|
+
} from "./instruction-discovery-20e5g7bx.js";
|
|
61
61
|
import {
|
|
62
62
|
ID5
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./instruction-discovery-p8t554mv.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service36,
|
|
66
|
+
node39
|
|
67
|
+
} from "./instruction-discovery-kj7e2tww.js";
|
|
68
|
+
import {
|
|
69
|
+
Service71,
|
|
70
|
+
node75
|
|
71
|
+
} from "./instruction-discovery-nad4mkqt.js";
|
|
68
72
|
import {
|
|
69
73
|
Service66,
|
|
70
74
|
node70
|
|
71
|
-
} from "./
|
|
75
|
+
} from "./instruction-discovery-3p713cmj.js";
|
|
72
76
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
Service43,
|
|
78
|
-
node46,
|
|
79
|
-
Error3
|
|
80
|
-
} from "./repository-cache-z86wre2g.js";
|
|
77
|
+
Service53,
|
|
78
|
+
node58,
|
|
79
|
+
Error5
|
|
80
|
+
} from "./instruction-discovery-x2c3sws5.js";
|
|
81
81
|
import {
|
|
82
82
|
Source3,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
} from "./
|
|
83
|
+
Service41,
|
|
84
|
+
node44
|
|
85
|
+
} from "./instruction-discovery-a9n89zg4.js";
|
|
86
86
|
import {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
87
|
+
Info10,
|
|
88
|
+
Service51,
|
|
89
|
+
node56
|
|
90
|
+
} from "./instruction-discovery-hxbv21kt.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service25,
|
|
93
|
+
node28
|
|
94
|
+
} from "./instruction-discovery-5hny5v5k.js";
|
|
95
95
|
import {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
} from "./
|
|
96
|
+
Service23,
|
|
97
|
+
node26
|
|
98
|
+
} from "./instruction-discovery-xg53n6nb.js";
|
|
99
99
|
import {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
} from "./
|
|
100
|
+
Service24,
|
|
101
|
+
node27
|
|
102
|
+
} from "./instruction-discovery-f8fq6sgx.js";
|
|
103
103
|
import {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} from "./
|
|
104
|
+
Service81,
|
|
105
|
+
node85
|
|
106
|
+
} from "./instruction-discovery-4x6wmwcx.js";
|
|
107
107
|
import {
|
|
108
108
|
ID4,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
} from "./
|
|
109
|
+
Service20,
|
|
110
|
+
node23
|
|
111
|
+
} from "./instruction-discovery-0mhrw39n.js";
|
|
112
112
|
import {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
} from "./
|
|
113
|
+
Service22,
|
|
114
|
+
node25
|
|
115
|
+
} from "./instruction-discovery-2dh20r6m.js";
|
|
116
116
|
import {
|
|
117
117
|
StrategyID2,
|
|
118
118
|
Info5,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./
|
|
119
|
+
ListEntry2,
|
|
120
|
+
Service21,
|
|
121
|
+
node24
|
|
122
|
+
} from "./instruction-discovery-ekeaw6g8.js";
|
|
123
123
|
import {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
} from "./
|
|
124
|
+
Service72,
|
|
125
|
+
node76
|
|
126
|
+
} from "./instruction-discovery-mg3zv8ep.js";
|
|
127
127
|
import {
|
|
128
128
|
__export
|
|
129
|
-
} from "./
|
|
129
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
130
130
|
|
|
131
131
|
// src/plugin/host.ts
|
|
132
132
|
var exports_host = {};
|
|
@@ -144,30 +144,30 @@ var mutable = (value) => value;
|
|
|
144
144
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
145
145
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
146
146
|
const app = yield* Metadata2;
|
|
147
|
-
const agents = yield*
|
|
148
|
-
const aisdk = yield*
|
|
149
|
-
const providers = yield*
|
|
150
|
-
const models = yield*
|
|
151
|
-
const commands = yield*
|
|
147
|
+
const agents = yield* Service69;
|
|
148
|
+
const aisdk = yield* Service74;
|
|
149
|
+
const providers = yield* Service76;
|
|
150
|
+
const models = yield* Service75;
|
|
151
|
+
const commands = yield* Service43;
|
|
152
152
|
const bus = yield* Service85;
|
|
153
|
-
const integration = yield*
|
|
154
|
-
const kv = yield*
|
|
155
|
-
const mcp = yield*
|
|
153
|
+
const integration = yield* Service78;
|
|
154
|
+
const kv = yield* Service65;
|
|
155
|
+
const mcp = yield* Service36;
|
|
156
156
|
const location = yield* Service82;
|
|
157
|
-
const reference = yield*
|
|
158
|
-
const rpc = yield*
|
|
159
|
-
const skill = yield*
|
|
160
|
-
const tools = yield*
|
|
161
|
-
const vcs = yield*
|
|
162
|
-
const websearch = yield*
|
|
163
|
-
const generate = yield*
|
|
164
|
-
const permission = yield*
|
|
165
|
-
const hooks = yield*
|
|
166
|
-
const sessions = yield*
|
|
167
|
-
const persistentPty = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const worktrees = yield*
|
|
170
|
-
const worktreeStrategies = yield*
|
|
157
|
+
const reference = yield* Service41;
|
|
158
|
+
const rpc = yield* Service24;
|
|
159
|
+
const skill = yield* Service51;
|
|
160
|
+
const tools = yield* Service53;
|
|
161
|
+
const vcs = yield* Service81;
|
|
162
|
+
const websearch = yield* Service20;
|
|
163
|
+
const generate = yield* Service72;
|
|
164
|
+
const permission = yield* Service66;
|
|
165
|
+
const hooks = yield* Service71;
|
|
166
|
+
const sessions = yield* Service25;
|
|
167
|
+
const persistentPty = yield* Service23;
|
|
168
|
+
const locations = yield* Service70;
|
|
169
|
+
const worktrees = yield* Service21;
|
|
170
|
+
const worktreeStrategies = yield* Service22;
|
|
171
171
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
172
172
|
const locationInfo = () => new Info27({
|
|
173
173
|
directory: location.directory,
|
|
@@ -181,10 +181,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
181
181
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
182
182
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
183
183
|
const decodeWorktree = Schema.decodeUnknownEffect(Info5);
|
|
184
|
-
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(
|
|
184
|
+
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry2));
|
|
185
185
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
186
186
|
const location = yield* Service82;
|
|
187
|
-
const agents = yield*
|
|
187
|
+
const agents = yield* Service69;
|
|
188
188
|
return {
|
|
189
189
|
location: new Info27({
|
|
190
190
|
directory: location.directory,
|
|
@@ -217,8 +217,8 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
217
217
|
reload: agents.reload,
|
|
218
218
|
transform: (callback) => agents.transform((editor) => {
|
|
219
219
|
callback({
|
|
220
|
-
list:
|
|
221
|
-
get: (id) =>
|
|
220
|
+
list: editor.list,
|
|
221
|
+
get: (id) => editor.get(ID11.make(id)),
|
|
222
222
|
default: (id) => editor.default(id === undefined ? undefined : ID11.make(id)),
|
|
223
223
|
update: (id, update) => editor.update(ID11.make(id), update),
|
|
224
224
|
remove: (id) => editor.remove(ID11.make(id))
|
|
@@ -383,8 +383,8 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
383
383
|
},
|
|
384
384
|
transform: (callback) => integration.transform((editor) => {
|
|
385
385
|
callback({
|
|
386
|
-
list:
|
|
387
|
-
get: (id) =>
|
|
386
|
+
list: editor.list,
|
|
387
|
+
get: (id) => editor.get(ID14.make(id)),
|
|
388
388
|
update: (id, update) => editor.update(ID14.make(id), update),
|
|
389
389
|
remove: (id) => editor.remove(ID14.make(id)),
|
|
390
390
|
method: {
|
|
@@ -401,7 +401,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
401
401
|
if (ref && !isCurrentLocation(ref))
|
|
402
402
|
return Effect.gen(function* () {
|
|
403
403
|
const location = yield* Service82;
|
|
404
|
-
const mcp = yield*
|
|
404
|
+
const mcp = yield* Service36;
|
|
405
405
|
return {
|
|
406
406
|
location: new Info27({
|
|
407
407
|
directory: location.directory,
|
|
@@ -430,9 +430,9 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
430
430
|
get: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? Effect.succeed(request) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
|
|
431
431
|
reply: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
|
|
432
432
|
assert: (input) => permission.assert(input).pipe(Effect.catchTags({
|
|
433
|
-
"Permission.BlockedError": (error) => Effect.fail(new
|
|
434
|
-
"Permission.CorrectedError": (error) => Effect.fail(new
|
|
435
|
-
"Session.NotFoundError": (error) => Effect.fail(new
|
|
433
|
+
"Permission.BlockedError": (error) => Effect.fail(new Error5({ message: error.message, error })),
|
|
434
|
+
"Permission.CorrectedError": (error) => Effect.fail(new Error5({ message: error.feedback, error })),
|
|
435
|
+
"Session.NotFoundError": (error) => Effect.fail(new Error5({ message: `Session not found: ${error.sessionID}`, error }))
|
|
436
436
|
}))
|
|
437
437
|
},
|
|
438
438
|
plugin: {
|
|
@@ -457,7 +457,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
457
457
|
callback({
|
|
458
458
|
list: () => mutable(editor.list()),
|
|
459
459
|
get: editor.get,
|
|
460
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
460
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info10)(value)),
|
|
461
461
|
update: editor.update,
|
|
462
462
|
remove: editor.remove
|
|
463
463
|
});
|
|
@@ -562,30 +562,30 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
562
562
|
});
|
|
563
563
|
var requirements3 = LayerNode.group([
|
|
564
564
|
node50,
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
node82,
|
|
568
|
-
node76,
|
|
569
|
-
node57,
|
|
570
|
-
node89,
|
|
571
|
-
node83,
|
|
565
|
+
node73,
|
|
566
|
+
node78,
|
|
572
567
|
node80,
|
|
573
|
-
|
|
574
|
-
node86,
|
|
575
|
-
node48,
|
|
576
|
-
node22,
|
|
577
|
-
node66,
|
|
568
|
+
node79,
|
|
578
569
|
node46,
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
570
|
+
node89,
|
|
571
|
+
node82,
|
|
572
|
+
node69,
|
|
573
|
+
node39,
|
|
574
|
+
node86,
|
|
575
|
+
node44,
|
|
576
|
+
node27,
|
|
577
|
+
node56,
|
|
578
|
+
node58,
|
|
579
|
+
node85,
|
|
580
|
+
node23,
|
|
581
|
+
node24,
|
|
582
|
+
node25,
|
|
583
|
+
node76,
|
|
585
584
|
node70,
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
585
|
+
node75,
|
|
586
|
+
node28,
|
|
587
|
+
node26,
|
|
588
|
+
node74
|
|
589
589
|
]);
|
|
590
590
|
function storage2(kv, pluginID) {
|
|
591
591
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service62
|
|
4
|
+
} from "./instruction-discovery-4wn1snmt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service46
|
|
7
|
+
} from "./instruction-discovery-pytpe3gf.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin49
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin49 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service62;
|
|
27
|
+
const output = yield* Service46;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin48 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin49, exports_tool_output };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-7nepz6ee.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event9,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info8,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service43,
|
|
21
|
+
layer: () => layer17,
|
|
22
|
+
node: () => node46
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event9 } from "@opencode/schema/command";
|
|
28
|
+
var Info8 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service43 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer17 = Layer.effect(Service43, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service85;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer23 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info8.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service43.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer23 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node46 = makeLocationNode({
|
|
75
|
+
service: Service43,
|
|
76
|
+
layer: layer17,
|
|
77
77
|
deps: [node89]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info8, NotFoundError6, ExecutionError2, Service43, layer17, node46, exports_command4, Event9 };
|
|
@@ -1,42 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-7nepz6ee.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-6q77emv1.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-a058387c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service23,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
24
|
available: () => available2,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured3,
|
|
26
|
+
layer: () => layer11,
|
|
27
|
+
node: () => node26
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Added, Handoff, ReadLines, Removed } from "@opencode/schema/persistent-pty";
|
|
33
|
-
import { Session } from "@opencode/schema/session";
|
|
34
33
|
import { Pty } from "@opencode/schema/pty";
|
|
35
34
|
import { Global } from "@opencode/util/global";
|
|
36
35
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
36
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
37
|
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
40
39
|
handoff: Schema.optional(Handoff),
|
|
41
40
|
root: Schema.optional(Schema.String)
|
|
42
41
|
});
|
|
@@ -46,14 +45,14 @@ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
46
45
|
}) {
|
|
47
46
|
}
|
|
48
47
|
|
|
49
|
-
class
|
|
48
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
49
|
ptyID: Pty.ID
|
|
51
50
|
}) {
|
|
52
51
|
}
|
|
53
52
|
|
|
54
|
-
class
|
|
53
|
+
class Service23 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
54
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
55
|
+
var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* () {
|
|
57
56
|
const bus = yield* Service85;
|
|
58
57
|
const global = yield* Global.Service;
|
|
59
58
|
const context = yield* Effect.context();
|
|
@@ -76,7 +75,7 @@ var makeLayer = (options = {}) => Layer.effect(Service27, Effect.gen(function* (
|
|
|
76
75
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
76
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
77
|
if (!found)
|
|
79
|
-
return yield* new
|
|
78
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
80
79
|
return found;
|
|
81
80
|
});
|
|
82
81
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -233,7 +232,7 @@ var makeLayer = (options = {}) => Layer.effect(Service27, Effect.gen(function* (
|
|
|
233
232
|
}
|
|
234
233
|
}).pipe(Effect.mapError(unavailable));
|
|
235
234
|
if (attachment.role === "controller")
|
|
236
|
-
current.set(
|
|
235
|
+
current.set(attachment.terminal.group_id, id);
|
|
237
236
|
return {
|
|
238
237
|
info: toInfo(attachment.terminal),
|
|
239
238
|
role: attachment.role,
|
|
@@ -243,7 +242,7 @@ var makeLayer = (options = {}) => Layer.effect(Service27, Effect.gen(function* (
|
|
|
243
242
|
detach: attachment.detach
|
|
244
243
|
};
|
|
245
244
|
});
|
|
246
|
-
return
|
|
245
|
+
return Service23.of({
|
|
247
246
|
list,
|
|
248
247
|
get,
|
|
249
248
|
create,
|
|
@@ -259,13 +258,13 @@ var makeLayer = (options = {}) => Layer.effect(Service27, Effect.gen(function* (
|
|
|
259
258
|
attach
|
|
260
259
|
});
|
|
261
260
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
261
|
+
var layer11 = makeLayer();
|
|
262
|
+
var configured3 = (options) => makeGlobalNode({
|
|
263
|
+
service: Service23,
|
|
264
|
+
layer: options === undefined ? layer11 : makeLayer(options),
|
|
266
265
|
deps: [node89, Global.node]
|
|
267
266
|
});
|
|
268
|
-
var
|
|
267
|
+
var node26 = configured3();
|
|
269
268
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
269
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
270
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -283,7 +282,7 @@ function toInfo(value) {
|
|
|
283
282
|
pid: value.pid ?? 0,
|
|
284
283
|
...status === "exited" ? { exitCode: value.lifecycle.exit_code ?? undefined } : {}
|
|
285
284
|
}),
|
|
286
|
-
sessionID:
|
|
285
|
+
sessionID: value.group_id,
|
|
287
286
|
foregroundProcess: value.foreground_process,
|
|
288
287
|
size: { cols: value.cols, rows: value.rows },
|
|
289
288
|
output: { head: value.output_head, tail: value.output_tail }
|
|
@@ -301,4 +300,4 @@ function fromID(value) {
|
|
|
301
300
|
return parsed;
|
|
302
301
|
}
|
|
303
302
|
|
|
304
|
-
export {
|
|
303
|
+
export { Options3, UnavailableError2, NotFoundError3, Service23, layer11, configured3, node26, exports_persistent_pty, Handoff2, available2 };
|