@opencode/core 0.0.0-dev-21563 → 0.0.0-dev-21570
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{generate-crfddmzc.js → app-00zh2tpm.js} +8 -8
- package/dist/chunks/{generate-6c8j4tbz.js → app-04fhc9pj.js} +16 -16
- package/dist/chunks/{generate-zax9hrrj.js → app-0kkqynqr.js} +189 -189
- package/dist/chunks/{generate-06e0dsx1.js → app-0twgbthj.js} +16 -16
- package/dist/chunks/{generate-6mw0z9b9.js → app-10bwkysh.js} +13 -13
- package/dist/chunks/{generate-dtjdv03g.js → app-1622r1ga.js} +4 -4
- package/dist/chunks/{generate-d2dx6a7h.js → app-173t91w5.js} +4 -4
- package/dist/chunks/{generate-s3sx9mn6.js → app-18harhtr.js} +13 -13
- package/dist/chunks/{generate-w4pz5j85.js → app-19779spt.js} +26 -26
- package/dist/chunks/{generate-jgt5st1g.js → app-19b0nq78.js} +32 -32
- package/dist/chunks/{generate-f1xnqdyr.js → app-1jtf53by.js} +4 -4
- package/dist/chunks/{generate-7a9ph374.js → app-1s9fs40v.js} +4 -4
- package/dist/chunks/{generate-1x2knyw4.js → app-1x2knyw4.js} +1 -1
- package/dist/chunks/{generate-jcbtawrq.js → app-1y8dm7ap.js} +17 -17
- package/dist/chunks/{generate-p7vhpwh8.js → app-1yq9hg58.js} +5 -5
- package/dist/chunks/{generate-4eed2b0j.js → app-20mxm868.js} +17 -17
- package/dist/chunks/{generate-qe8930r1.js → app-210jfvy6.js} +14 -14
- package/dist/chunks/{generate-rdhjazzg.js → app-25vgcjra.js} +21 -21
- package/dist/chunks/{generate-0443psqk.js → app-26bpbd1f.js} +23 -23
- package/dist/chunks/{generate-1ep2p91f.js → app-27w5k9zf.js} +2 -2
- package/dist/chunks/{generate-fq4px9zp.js → app-2emv3dac.js} +20 -20
- package/dist/chunks/{generate-d326b540.js → app-2g37s6n5.js} +11 -11
- package/dist/chunks/{generate-6ztc4jbn.js → app-2qv7s079.js} +8 -8
- package/dist/chunks/{generate-jddh4vgn.js → app-2sh6np1t.js} +53 -53
- package/dist/chunks/{generate-s84dsypd.js → app-2x6dhx7z.js} +6 -6
- package/dist/chunks/{generate-ah1m9kg9.js → app-2y353qze.js} +18 -18
- package/dist/chunks/{generate-2z1j29yd.js → app-2z1j29yd.js} +1 -1
- package/dist/chunks/{generate-c1a686j5.js → app-31wms35x.js} +8 -8
- package/dist/chunks/{generate-ba7ngyz7.js → app-33wj402p.js} +34 -34
- package/dist/chunks/{generate-3xk26rw4.js → app-38c4qa7w.js} +5 -5
- package/dist/chunks/{generate-1mtcyeq8.js → app-38dzhn5x.js} +33 -33
- package/dist/chunks/{generate-ayjs7tqn.js → app-3cbjf1nt.js} +2 -2
- package/dist/chunks/{generate-wybahy8v.js → app-3ddszj5t.js} +33 -33
- package/dist/chunks/{generate-rv8w38an.js → app-3ft77epc.js} +9 -9
- package/dist/chunks/{generate-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-ka2n5pfv.js → app-3j99hnw3.js} +33 -33
- package/dist/chunks/{generate-bkjvw32t.js → app-3v0zq4wp.js} +14 -14
- package/dist/chunks/{generate-a7zxg0bg.js → app-3vvwd6ke.js} +14 -14
- package/dist/chunks/{generate-jh346mvv.js → app-3xwkv16t.js} +331 -331
- package/dist/chunks/{generate-z37k9505.js → app-3yme8bqy.js} +16 -16
- package/dist/chunks/{generate-z2a2ye1r.js → app-4b1atmcq.js} +12 -12
- package/dist/chunks/{generate-d9p590j3.js → app-4cxsxbgt.js} +19 -19
- package/dist/chunks/{generate-4kdcmdga.js → app-4f3sm4z4.js} +17 -17
- package/dist/chunks/{generate-3jp652nn.js → app-4g0fsgbg.js} +6 -6
- package/dist/chunks/{generate-280dayrs.js → app-4k74q3cd.js} +22 -22
- package/dist/chunks/{generate-x774aw49.js → app-4n53z3gy.js} +11 -11
- package/dist/chunks/{generate-6zfxg6c6.js → app-4pxwt4n4.js} +10 -10
- package/dist/chunks/{generate-b5p5nngv.js → app-4qv1he3d.js} +50 -50
- package/dist/chunks/{generate-4v008n1t.js → app-4v008n1t.js} +1 -1
- package/dist/chunks/{generate-4xvmh7wp.js → app-4xvmh7wp.js} +3 -3
- package/dist/chunks/{generate-vhwf8nac.js → app-569sdvd3.js} +8 -8
- package/dist/chunks/{generate-q62c5m1h.js → app-5ab172h5.js} +40 -40
- package/dist/chunks/{generate-gsyd3cda.js → app-5bvqzxvh.js} +11 -11
- package/dist/chunks/{generate-drqhczqs.js → app-5cc3rvwm.js} +85 -85
- package/dist/chunks/{generate-6g08cwsb.js → app-5cw0dcrr.js} +12 -12
- package/dist/chunks/{generate-p1bnnv0d.js → app-5dtf0xw8.js} +11 -11
- package/dist/chunks/{generate-3jzb0r2n.js → app-5gnmyaq2.js} +5 -5
- package/dist/chunks/{generate-5m9w47nd.js → app-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-5nnwax6m.js → app-5nnwax6m.js} +2 -2
- package/dist/chunks/{generate-n1pz9w08.js → app-5p205wab.js} +4 -4
- package/dist/chunks/{generate-2jgkbkn1.js → app-695xd8qp.js} +19 -19
- package/dist/chunks/{generate-xs6sb18z.js → app-6be6yqxw.js} +17 -17
- package/dist/chunks/{generate-07phzgjg.js → app-6c9gsgb8.js} +16 -16
- package/dist/chunks/{generate-6esdw8yj.js → app-6esdw8yj.js} +1 -1
- package/dist/chunks/{generate-naa9f1yr.js → app-6msrtbg0.js} +18 -18
- package/dist/chunks/{generate-6pjqjmy2.js → app-6pjqjmy2.js} +1 -1
- package/dist/chunks/{generate-c8ar4m6j.js → app-6w4saq69.js} +45 -45
- package/dist/chunks/{generate-m6n3gz95.js → app-6wb2zb64.js} +23 -23
- package/dist/chunks/{generate-cf7jrmsj.js → app-73xz0dh8.js} +5 -5
- package/dist/chunks/{generate-w8qtt4th.js → app-76cb1hcw.js} +4 -4
- package/dist/chunks/{generate-cr6fwty7.js → app-79b21x4r.js} +7 -7
- package/dist/chunks/{generate-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-gn5bzjhx.js → app-7dj845q2.js} +21 -21
- package/dist/chunks/{generate-4c4eb9w2.js → app-7q2jq33p.js} +13 -13
- package/dist/chunks/{generate-ybwdqt9k.js → app-7v5ecr6b.js} +13 -13
- package/dist/chunks/{generate-7w2ypzdf.js → app-7w2ypzdf.js} +1 -1
- package/dist/chunks/{generate-ynm9hr00.js → app-7wxrbrvg.js} +29 -29
- package/dist/chunks/{generate-b17b73pv.js → app-7xw28p93.js} +28 -28
- package/dist/chunks/app-7yv5xa0k.js +18 -0
- package/dist/chunks/{generate-h9q9d3sq.js → app-7ywpwnkp.js} +29 -29
- package/dist/chunks/{generate-y6wjeqxz.js → app-81tex3wg.js} +15 -15
- package/dist/chunks/{generate-p3my5sye.js → app-86a1xg0s.js} +14 -14
- package/dist/chunks/{generate-vehp2e4d.js → app-86jbmjy0.js} +19 -19
- package/dist/chunks/{generate-qjgzc4b4.js → app-8jztxfpf.js} +4 -4
- package/dist/chunks/{generate-8wtp7s3z.js → app-8wtp7s3z.js} +1 -1
- package/dist/chunks/{generate-91rj84md.js → app-91rj84md.js} +1 -1
- package/dist/chunks/{generate-hmmgtkw5.js → app-91zpvmry.js} +11 -11
- package/dist/chunks/{generate-fwjbw8c3.js → app-92shyse6.js} +13 -13
- package/dist/chunks/{generate-y1bsf4pc.js → app-93rhewbm.js} +32 -32
- package/dist/chunks/{generate-dkq45v8d.js → app-956c56jz.js} +6 -6
- package/dist/chunks/{generate-hsdcm9m6.js → app-98gmkcwn.js} +35 -35
- package/dist/chunks/{generate-acamw3g0.js → app-9e4t472b.js} +10 -10
- package/dist/chunks/app-9pfqjpyy.js +257 -0
- package/dist/chunks/{generate-0bke9tpm.js → app-9r0x1bva.js} +9 -9
- package/dist/chunks/{generate-wmwt0t0m.js → app-9vd5hnnp.js} +15 -15
- package/dist/chunks/{generate-d86va4wf.js → app-9vy7ymhz.js} +24 -24
- package/dist/chunks/{generate-2tfwfzen.js → app-a8fwv04y.js} +2 -2
- package/dist/chunks/{generate-m416erh4.js → app-ade0xppm.js} +9 -9
- package/dist/chunks/{generate-034tev2y.js → app-aj7mw0zk.js} +2 -2
- package/dist/chunks/{generate-268wp9v4.js → app-ak0r7mhr.js} +4 -4
- package/dist/chunks/{generate-ds4c1w6p.js → app-ak5m35an.js} +6 -6
- package/dist/chunks/{generate-f5k7224w.js → app-anvrad6f.js} +27 -27
- package/dist/chunks/{generate-0m6b3axq.js → app-arxr4n82.js} +18 -18
- package/dist/chunks/{generate-8n9x2wf6.js → app-arz7hw7x.js} +2 -2
- package/dist/chunks/{generate-tycew84m.js → app-as49vg6k.js} +30 -30
- package/dist/chunks/{generate-a3t7zwft.js → app-aswvndy1.js} +45 -45
- package/dist/chunks/{generate-y8j3s4v0.js → app-ax4xcqdr.js} +4 -4
- package/dist/chunks/{generate-b0mv4wxm.js → app-b0mv4wxm.js} +2 -2
- package/dist/chunks/{generate-e4dtt5ff.js → app-b5rmxzna.js} +9 -9
- package/dist/chunks/{generate-bstexjd6.js → app-bstexjd6.js} +1 -1
- package/dist/chunks/{generate-nc0t5309.js → app-c0hpp7j5.js} +18 -18
- package/dist/chunks/{generate-kywaegby.js → app-c1bqr4jn.js} +5 -5
- package/dist/chunks/{generate-zw4pk1bw.js → app-c5c0bz0t.js} +5 -5
- package/dist/chunks/{generate-hd3k4wz8.js → app-c5kjsz6q.js} +4 -4
- package/dist/chunks/{generate-c9t2ty9q.js → app-c9t2ty9q.js} +1 -1
- package/dist/chunks/{generate-x7fdz9fh.js → app-ce6jsch9.js} +20 -20
- package/dist/chunks/{generate-dg96ektr.js → app-ce9s6z8c.js} +15 -15
- package/dist/chunks/{generate-2hr5rmqc.js → app-cnda3w9r.js} +9 -9
- package/dist/chunks/{generate-qd7381sw.js → app-cqp8bbqc.js} +12 -12
- package/dist/chunks/{generate-gfftbxav.js → app-d3p229mm.js} +9 -9
- package/dist/chunks/{generate-d4v9tmah.js → app-d4v9tmah.js} +2 -2
- package/dist/chunks/{generate-pc1v25hk.js → app-dh62xe4r.js} +3 -3
- package/dist/chunks/{generate-0mcrt4fa.js → app-djzk6aem.js} +4 -4
- package/dist/chunks/{generate-p910tjw3.js → app-dr37mt8v.js} +4 -4
- package/dist/chunks/{generate-998yhzzq.js → app-dvj9ct8m.js} +3 -3
- package/dist/chunks/{generate-f6wfqyz7.js → app-e5gw6wwr.js} +10 -10
- package/dist/chunks/{generate-e834z07m.js → app-e834z07m.js} +1 -1
- package/dist/chunks/{generate-g9ndtp1p.js → app-e8pm465n.js} +4 -4
- package/dist/chunks/{generate-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-dw02th3g.js → app-efn85jpf.js} +3 -3
- package/dist/chunks/{generate-38heweg8.js → app-eg9pfg6h.js} +5 -5
- package/dist/chunks/{generate-jzdfcbw4.js → app-etcq3wj6.js} +85 -85
- package/dist/chunks/{generate-n521w511.js → app-eth5ae7t.js} +63 -63
- package/dist/chunks/{generate-ffxnyj3q.js → app-f0qp72je.js} +6 -6
- package/dist/chunks/{generate-vzy7qmck.js → app-f7kfhre8.js} +28 -28
- package/dist/chunks/{generate-xjq3zqqg.js → app-fc895th3.js} +8 -8
- package/dist/chunks/{generate-fffv3p7h.js → app-fffv3p7h.js} +1 -1
- package/dist/chunks/{generate-mfmv0kv1.js → app-fh92gkhk.js} +4 -4
- package/dist/chunks/{generate-94j4dkqe.js → app-fhh94x7z.js} +11 -11
- package/dist/chunks/{generate-vrhy8dh6.js → app-fr73gbb1.js} +10 -10
- package/dist/chunks/{generate-yhjes8yv.js → app-g49wnabm.js} +5 -5
- package/dist/chunks/{generate-g5h9c0rr.js → app-g5h9c0rr.js} +2 -2
- package/dist/chunks/{generate-5xwxezg3.js → app-ge9weg3j.js} +17 -17
- package/dist/chunks/{generate-yx31kd0w.js → app-grvayz05.js} +28 -28
- package/dist/chunks/{generate-4hhvtbzy.js → app-gy26d4cp.js} +25 -25
- package/dist/chunks/{generate-6qkfs1hq.js → app-h7rgkctr.js} +1 -1
- package/dist/chunks/{generate-xk77ac0a.js → app-hfrd5zd9.js} +14 -14
- package/dist/chunks/{generate-87982064.js → app-hh1m5t0r.js} +10 -10
- package/dist/chunks/{generate-a5g15581.js → app-hhafapa0.js} +2 -2
- package/dist/chunks/{generate-agtp4d9h.js → app-hne7gxgz.js} +32 -32
- package/dist/chunks/{generate-w72jy28c.js → app-htx6nhp5.js} +7 -7
- package/dist/chunks/{generate-j113cymg.js → app-j113cymg.js} +1 -1
- package/dist/chunks/{generate-d8qd4w10.js → app-jae53m2x.js} +5 -5
- package/dist/chunks/{generate-6v7f1yd0.js → app-jcgydn6h.js} +25 -25
- package/dist/chunks/{generate-rmt6m6se.js → app-jcqm84fr.js} +9 -9
- package/dist/chunks/{generate-67b48yf1.js → app-jes3kmg5.js} +34 -34
- package/dist/chunks/{generate-6gddga0x.js → app-jfpsek1t.js} +9 -9
- package/dist/chunks/{generate-y2tacs4v.js → app-jneg3k74.js} +8 -8
- package/dist/chunks/{generate-48h67ern.js → app-jsxsss6h.js} +19 -19
- package/dist/chunks/{generate-3ntmh1g8.js → app-jth5b7nb.js} +21 -21
- package/dist/chunks/{generate-e4nrxrzc.js → app-k1r9t87x.js} +14 -14
- package/dist/chunks/{generate-w923jztq.js → app-k56nbahk.js} +30 -30
- package/dist/chunks/{generate-kmj6meg3.js → app-k5y4r48d.js} +28 -28
- package/dist/chunks/{generate-8wvgy420.js → app-k60vrjeg.js} +6 -6
- package/dist/chunks/{generate-k814nvkf.js → app-k814nvkf.js} +1 -1
- package/dist/chunks/{generate-v1n51q4a.js → app-k9b5863x.js} +9 -9
- package/dist/chunks/{generate-0rq01gt9.js → app-kbmq0v6f.js} +5 -5
- package/dist/chunks/{generate-p0tsr9h6.js → app-kd4chd64.js} +7 -7
- package/dist/chunks/{generate-np41maqj.js → app-kjwktd7k.js} +19 -19
- package/dist/chunks/{generate-ecfrjnaf.js → app-kjzcdnr5.js} +42 -42
- package/dist/chunks/{generate-fx06c4yw.js → app-kkxbngda.js} +30 -30
- package/dist/chunks/{generate-fdp97wc0.js → app-kqxxwkn3.js} +17 -17
- package/dist/chunks/{generate-m1714858.js → app-m1714858.js} +1 -1
- package/dist/chunks/{generate-m37sd98t.js → app-m37sd98t.js} +1 -1
- package/dist/chunks/{generate-r3zyq36m.js → app-m4m284hh.js} +15 -15
- package/dist/chunks/{generate-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-maspj1v3.js → app-maspj1v3.js} +1 -1
- package/dist/chunks/{generate-me5bcav6.js → app-me5bcav6.js} +1 -1
- package/dist/chunks/{generate-v52mmt0f.js → app-mfkqmekj.js} +9 -9
- package/dist/chunks/{generate-n0p0277s.js → app-n0p0277s.js} +1 -1
- package/dist/chunks/{generate-883rwgqp.js → app-n5cwa87a.js} +27 -27
- package/dist/chunks/{generate-nah043kf.js → app-nah043kf.js} +1 -1
- package/dist/chunks/{generate-w3d65hzj.js → app-ne4y78rw.js} +2 -2
- package/dist/chunks/{generate-0cs5dcs0.js → app-nh8v8ke6.js} +19 -19
- package/dist/chunks/{generate-5emr5dp8.js → app-nwr7kgq9.js} +19 -19
- package/dist/chunks/{generate-p015t6z3.js → app-p015t6z3.js} +2 -2
- package/dist/chunks/{generate-vwz214c8.js → app-p0y2phsj.js} +32 -32
- package/dist/chunks/{generate-0cmwyhaq.js → app-p814keat.js} +20 -20
- package/dist/chunks/{generate-9b28cy4d.js → app-pacbbjc0.js} +5 -5
- package/dist/chunks/{generate-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{generate-j8p3npgm.js → app-pvn5ra1s.js} +7 -7
- package/dist/chunks/{generate-56m9f56v.js → app-pwq9efzz.js} +23 -23
- package/dist/chunks/{generate-mpjcpqpe.js → app-pyp72qgk.js} +17 -17
- package/dist/chunks/{generate-g2895gq7.js → app-q1sfq5ar.js} +24 -24
- package/dist/chunks/{generate-dz8hhvgv.js → app-q46y00v4.js} +9 -9
- package/dist/chunks/{generate-jj998gzn.js → app-q67e8ksv.js} +43 -43
- package/dist/chunks/{generate-xevjgmtb.js → app-q732j4yv.js} +11 -11
- package/dist/chunks/app-qagaq7sy.js +26 -0
- package/dist/chunks/{generate-g1jpy47d.js → app-qrn4wzgg.js} +17 -17
- package/dist/chunks/{generate-vfn6hbth.js → app-qtz1mk7q.js} +11 -11
- package/dist/chunks/{generate-r0yr0wbs.js → app-r0yr0wbs.js} +1 -1
- package/dist/chunks/{generate-gxfvg231.js → app-r6kz875z.js} +13 -13
- package/dist/chunks/{generate-rb9dy4dg.js → app-rb9dy4dg.js} +1 -1
- package/dist/chunks/{generate-g6p5rgqz.js → app-rdwyycgw.js} +12 -12
- package/dist/chunks/{generate-ctf5g10g.js → app-rmnrnby4.js} +34 -34
- package/dist/chunks/{generate-x8hhwygw.js → app-rsd1vv3y.js} +38 -38
- package/dist/chunks/{generate-rt5dr6hb.js → app-rt5dr6hb.js} +1 -1
- package/dist/chunks/{generate-x06crd5t.js → app-s170k3xw.js} +23 -23
- package/dist/chunks/{generate-xf011dtc.js → app-s8vp3f5v.js} +15 -15
- package/dist/chunks/{generate-dwwyec8z.js → app-sbegqkxp.js} +6 -6
- package/dist/chunks/{generate-5xepaxvw.js → app-sft389ej.js} +18 -18
- package/dist/chunks/{generate-az4hfc8s.js → app-snvvzbj8.js} +47 -47
- package/dist/chunks/{generate-vhy1jp8z.js → app-sp9905ca.js} +22 -22
- package/dist/chunks/{generate-sqjzf8x2.js → app-sqjzf8x2.js} +1 -1
- package/dist/chunks/{generate-3g4pre0h.js → app-sr3t0mwa.js} +18 -18
- package/dist/chunks/{generate-q60vxn6h.js → app-ssr08r1k.js} +34 -34
- package/dist/chunks/{generate-4mkdw68v.js → app-svw9b4tv.js} +8 -8
- package/dist/chunks/{generate-7xg2jm5b.js → app-szcgc7h4.js} +5 -5
- package/dist/chunks/{generate-gd9xqwfz.js → app-t8fe48pd.js} +1 -1
- package/dist/chunks/{generate-mt3ysty9.js → app-tasvem1v.js} +6 -6
- package/dist/chunks/{generate-tczq8hjw.js → app-tczq8hjw.js} +1 -1
- package/dist/chunks/{generate-c3cfh5w6.js → app-tkmwn4n3.js} +7 -7
- package/dist/chunks/{generate-3nnrz6f6.js → app-tmc7xdjs.js} +4 -4
- package/dist/chunks/{generate-gfj1dh2k.js → app-ttpcrarc.js} +14 -14
- package/dist/chunks/{generate-tw8zr1ps.js → app-tw8zr1ps.js} +1 -1
- package/dist/chunks/{generate-twv2r8f4.js → app-twv2r8f4.js} +2 -2
- package/dist/chunks/{generate-asaqahta.js → app-v5gy4fh6.js} +8 -8
- package/dist/chunks/{generate-v5prxdmf.js → app-v5prxdmf.js} +2 -2
- package/dist/chunks/{generate-srcm619j.js → app-va59929a.js} +24 -24
- package/dist/chunks/{generate-vd3b3yk9.js → app-vd3b3yk9.js} +1 -1
- package/dist/chunks/{generate-eez2jsbe.js → app-vdcfetgk.js} +49 -49
- package/dist/chunks/{generate-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-bbym2bqy.js → app-vgx47e1e.js} +3 -3
- package/dist/chunks/{generate-xatr71eh.js → app-vkqjcjxb.js} +51 -51
- package/dist/chunks/{generate-a5znd7ce.js → app-vrh99vxp.js} +5 -5
- package/dist/chunks/{generate-vfgay4tf.js → app-w1tf2vhf.js} +24 -24
- package/dist/chunks/{generate-40za9wsf.js → app-w2eysc6j.js} +9 -9
- package/dist/chunks/{generate-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-fznmdakp.js → app-w687dnns.js} +4 -4
- package/dist/chunks/{generate-wakvkjy4.js → app-wakvkjy4.js} +1 -1
- package/dist/chunks/{generate-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{generate-wnv14c0b.js → app-wephwg65.js} +22 -22
- package/dist/chunks/{generate-2zqqmjez.js → app-wf9nn3bs.js} +11 -11
- package/dist/chunks/{generate-973hqt29.js → app-wfvde9ev.js} +6 -6
- package/dist/chunks/{generate-3g7vrncj.js → app-whb6jbxc.js} +34 -34
- package/dist/chunks/{generate-ps3ej18z.js → app-wjdw9j8d.js} +4 -4
- package/dist/chunks/{generate-64pwmkab.js → app-wr9nceen.js} +9 -9
- package/dist/chunks/{generate-dq2enhqf.js → app-wrh8ttgh.js} +35 -35
- package/dist/chunks/{generate-5knrbc6f.js → app-wsxy8nck.js} +43 -43
- package/dist/chunks/{generate-a1phgnt9.js → app-x62jdknq.js} +12 -12
- package/dist/chunks/{generate-apkkjdpa.js → app-xdts610a.js} +31 -31
- package/dist/chunks/{generate-mtyjk5mv.js → app-xjcvkgq2.js} +11 -11
- package/dist/chunks/{generate-3dvwpjdr.js → app-xkeb9rs5.js} +33 -33
- package/dist/chunks/{generate-kdx3nhfk.js → app-xn9prk0h.js} +4 -4
- package/dist/chunks/{generate-axmhfv8p.js → app-xngx3rps.js} +5 -5
- package/dist/chunks/{generate-ecq052tn.js → app-xnwj5rqb.js} +20 -20
- package/dist/chunks/{generate-t6x4gq5g.js → app-xp3f508c.js} +17 -17
- package/dist/chunks/{generate-24e7end9.js → app-xs6ta2mn.js} +7 -7
- package/dist/chunks/{generate-rky3kepx.js → app-xthgq65r.js} +10 -10
- package/dist/chunks/{generate-3dg2krd3.js → app-y4pjxpxm.js} +27 -27
- package/dist/chunks/{generate-5gk89hyb.js → app-y8t6cpt7.js} +12 -12
- package/dist/chunks/{generate-yb20nhc3.js → app-yb20nhc3.js} +1 -1
- package/dist/chunks/{generate-tg1vr1qt.js → app-ydsespw1.js} +8 -8
- package/dist/chunks/{generate-9ra49ptr.js → app-yhn0a50f.js} +24 -24
- package/dist/chunks/{generate-fwt74e85.js → app-ym0en988.js} +15 -15
- package/dist/chunks/{generate-1q324bgk.js → app-yt57kqfa.js} +7 -7
- package/dist/chunks/{generate-fcz54ycx.js → app-ywgha77a.js} +13 -13
- package/dist/chunks/{generate-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-z38nccrw.js → app-z38nccrw.js} +1 -1
- package/dist/chunks/{generate-9awrcxz4.js → app-z5ch3v5q.js} +4 -4
- package/dist/chunks/{generate-1e4tspje.js → app-z6fsbrec.js} +3 -3
- package/dist/chunks/{generate-pdsqxfs4.js → app-z72fs3kr.js} +26 -26
- package/dist/chunks/{generate-zba5tm1j.js → app-zba5tm1j.js} +1 -1
- package/dist/chunks/{generate-hv0c9xjm.js → app-zdesn8ss.js} +28 -28
- package/dist/chunks/{generate-hq3462wm.js → app-zfwbmsyg.js} +16 -16
- package/dist/chunks/{generate-df0hqdma.js → app-zkepmczw.js} +4 -4
- package/dist/chunks/{generate-zkg84ctx.js → app-zkg84ctx.js} +1 -1
- package/dist/chunks/{generate-231jaqzt.js → app-zm3cpays.js} +14 -14
- package/dist/chunks/{generate-v2ekcwaa.js → app-zs5g0jnr.js} +8 -8
- package/dist/chunks/{generate-gv9rxcjs.js → app-zxac9sqa.js} +32 -32
- package/dist/codemode/catalog.js +1 -1
- 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 +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- 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 +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- 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 +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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 +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +95 -95
- 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 +92 -92
- 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 +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +2 -2
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- 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 +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- 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 +4 -4
- 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 -113
- 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 +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- 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 +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- 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 +349 -349
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +95 -95
- 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 -132
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +166 -166
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +114 -114
- 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 +139 -139
- 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 +124 -124
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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 +3 -3
- package/dist/v1/config/command.js +5 -5
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +86 -86
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/generate-4svnxzqq.js +0 -257
- package/dist/chunks/generate-jztn5z23.js +0 -18
- package/dist/chunks/generate-zgcf70k7.js +0 -26
- /package/dist/chunks/{generate-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2bv980vf.js → app-2bv980vf.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5fjb7ams.js → app-5fjb7ams.js} +0 -0
- /package/dist/chunks/{generate-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-84wd9syh.js → app-84wd9syh.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a058387c.js → app-a058387c.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hcxmzztb.js → app-hcxmzztb.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jze0r7bz.js → app-jze0r7bz.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-m18g726c.js → app-m18g726c.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-pkyv6v7h.js → app-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-ve7vex1e.js → app-ve7vex1e.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wjj7prxr.js → app-wjj7prxr.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service72
|
|
4
|
+
} from "./app-04fhc9pj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service81
|
|
7
|
+
} from "./app-3yme8bqy.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service62
|
|
10
|
+
} from "./app-vdcfetgk.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service59,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-nwr7kgq9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service23
|
|
17
|
+
} from "./app-etcq3wj6.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service10
|
|
20
|
+
} from "./app-4cxsxbgt.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-e834z07m.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin15
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -39,10 +39,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
39
39
|
import { ChildProcess } from "effect/process";
|
|
40
40
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
41
41
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
42
|
-
var
|
|
42
|
+
var Plugin15 = define({
|
|
43
43
|
id: "opencode.config.command",
|
|
44
44
|
effect: Effect.fn(function* (ctx) {
|
|
45
|
-
const config = yield*
|
|
45
|
+
const config = yield* Service62;
|
|
46
46
|
const fs = yield* FSUtil.Service;
|
|
47
47
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
48
48
|
if (entry.type === "document")
|
|
@@ -52,12 +52,12 @@ var Plugin23 = define({
|
|
|
52
52
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
53
53
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
54
54
|
});
|
|
55
|
-
const location = yield*
|
|
55
|
+
const location = yield* Service81;
|
|
56
56
|
const processes = yield* AppProcess.Service;
|
|
57
|
-
const shell = yield*
|
|
58
|
-
const sessions = yield*
|
|
59
|
-
const agents = yield*
|
|
60
|
-
const subagents = yield*
|
|
57
|
+
const shell = yield* Service59;
|
|
58
|
+
const sessions = yield* Service23;
|
|
59
|
+
const agents = yield* Service72;
|
|
60
|
+
const subagents = yield* Service10;
|
|
61
61
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
62
62
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
63
63
|
});
|
|
@@ -78,7 +78,7 @@ var Plugin23 = define({
|
|
|
78
78
|
name,
|
|
79
79
|
description: command.description,
|
|
80
80
|
execute: (input) => Effect.gen(function* () {
|
|
81
|
-
const agent = command.agent === undefined ? undefined :
|
|
81
|
+
const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
|
|
82
82
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
83
83
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
84
84
|
id: command.model.model,
|
|
@@ -202,4 +202,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
202
202
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
203
203
|
var shellRegex = /!`([^`]+)`/g;
|
|
204
204
|
|
|
205
|
-
export {
|
|
205
|
+
export { Plugin15, exports_command };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service62
|
|
4
|
+
} from "./app-vdcfetgk.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-6pjqjmy2.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch = {};
|
|
14
14
|
__export(exports_websearch, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin7
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin7 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service62;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin33 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin7, exports_websearch };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name16,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-nwr7kgq9.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-z38nccrw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service34,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer16,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node37
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service34 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service34.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node37 = makeGlobalNode({ service: Service34, layer: layer16, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service34, makeLayer2, layer16, node37, exports_model_transport };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service85,
|
|
4
4
|
node89
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-xn9prk0h.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service4,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer5,
|
|
17
|
+
node: () => node5
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service4 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service85;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service4.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node5 = makeGlobalNode({ service: Service4, layer: layer5, deps: [node89] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service4, layer5, node5, exports_sdk };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./app-y8t6cpt7.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service83;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service45,
|
|
3
|
+
node47
|
|
4
|
+
} from "./app-p814keat.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-jneg3k74.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions5 = {};
|
|
17
17
|
__export(exports_instructions5, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service31,
|
|
20
|
+
node: () => node34
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,19 +61,19 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service31 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service45;
|
|
68
|
+
return Service31.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
72
72
|
path: reference.path,
|
|
73
73
|
description: reference.description
|
|
74
74
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
75
|
-
return
|
|
76
|
-
key:
|
|
75
|
+
return make21({
|
|
76
|
+
key: Key3.make("core/reference-guidance"),
|
|
77
77
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
78
78
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
79
79
|
render: {
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node34 = makeLocationNode({ service: Service31, layer, deps: [node47] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service31, node34, exports_instructions5 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-g5h9c0rr.js";
|
|
7
7
|
import {
|
|
8
8
|
Service86,
|
|
9
9
|
node90
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-vgx47e1e.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-8jztxfpf.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node54
|
|
18
|
+
} from "./app-svw9b4tv.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID4,
|
|
31
|
+
Info: () => Info10,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service51,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured5,
|
|
36
|
+
node: () => node53
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID4 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info10 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID4,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info26 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID4 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID4,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service51 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured5 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service51,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node90,
|
|
70
|
+
deps: [node90, node54]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service86).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service77, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info10({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service77, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service51.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID4.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service77, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node53 = configured5();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID4, Info10, NotFound2, CreateConflict2, Service51, configured5, node53, exports_workspace };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./app-3yme8bqy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service68
|
|
9
|
+
} from "./app-sr3t0mwa.js";
|
|
10
10
|
import {
|
|
11
11
|
Service11
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-5cw0dcrr.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-zkg84ctx.js";
|
|
16
16
|
import {
|
|
17
17
|
BinaryFileError2,
|
|
18
18
|
MediaIngestLimitError2,
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
FileContent2,
|
|
23
23
|
TextPage2,
|
|
24
24
|
ListPage2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service29
|
|
26
|
+
} from "./app-1y8dm7ap.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/read.ts
|
|
32
32
|
var exports_read = {};
|
|
33
33
|
__export(exports_read, {
|
|
34
|
-
Input: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Input: () => Input8,
|
|
35
|
+
Plugin: () => Plugin28,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
38
|
-
toModelContent: () =>
|
|
37
|
+
name: () => name8,
|
|
38
|
+
toModelContent: () => toModelContent4
|
|
39
39
|
});
|
|
40
40
|
import { basename, dirname, join } from "path";
|
|
41
41
|
import { ToolFailure } from "@opencode/ai";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
|
-
var
|
|
44
|
+
var name8 = "read";
|
|
45
45
|
var FILENAME = "AGENTS.md";
|
|
46
46
|
var LocationInput = Schema.Struct({
|
|
47
47
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
|
|
|
52
52
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input8 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
|
-
var
|
|
57
|
+
var Plugin28 = {
|
|
58
58
|
id: "opencode.tool.read",
|
|
59
59
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
60
|
-
const reader = yield*
|
|
61
|
-
const access = yield*
|
|
60
|
+
const reader = yield* Service29;
|
|
61
|
+
const access = yield* Service68;
|
|
62
62
|
const sessionInstructions = yield* Service11;
|
|
63
63
|
const fs = yield* FSUtil.Service;
|
|
64
|
-
const location = yield*
|
|
64
|
+
const location = yield* Service81;
|
|
65
65
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
66
|
-
name:
|
|
66
|
+
name: name8,
|
|
67
67
|
options: { codemode: false },
|
|
68
68
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
69
|
-
input:
|
|
69
|
+
input: Input8,
|
|
70
70
|
output: Output,
|
|
71
71
|
execute: (input, context) => {
|
|
72
72
|
return Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var Plugin47 = {
|
|
|
110
110
|
return { output: result.content, path: result.path };
|
|
111
111
|
}).pipe(Effect.map((result) => ({
|
|
112
112
|
output: result.output,
|
|
113
|
-
content:
|
|
113
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
114
114
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
115
115
|
})), Effect.mapError((error) => {
|
|
116
116
|
if (error instanceof ToolFailure)
|
|
@@ -143,7 +143,7 @@ ${suggestions.join(`
|
|
|
143
143
|
});
|
|
144
144
|
})
|
|
145
145
|
};
|
|
146
|
-
var
|
|
146
|
+
var toModelContent4 = (path, offset, output) => {
|
|
147
147
|
if (output.type === "file" && output.encoding === "base64")
|
|
148
148
|
return [
|
|
149
149
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +179,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name8, Input8, Plugin28, toModelContent4, exports_read };
|