@opencode/core 0.0.0-dev-21570 → 0.0.0-dev-21578
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 +85 -85
- 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/{app-nh8v8ke6.js → model-retry-00qqvw2m.js} +21 -21
- package/dist/chunks/{app-aj7mw0zk.js → model-retry-034tev2y.js} +2 -2
- package/dist/chunks/{app-33wj402p.js → model-retry-059af6b1.js} +36 -36
- package/dist/chunks/{app-956c56jz.js → model-retry-0gka690g.js} +2 -2
- package/dist/chunks/{app-w687dnns.js → model-retry-0h8y3ex8.js} +4 -4
- package/dist/chunks/{app-93rhewbm.js → model-retry-0mt5amvr.js} +23 -23
- package/dist/chunks/{app-efn85jpf.js → model-retry-0sjdd7gq.js} +3 -3
- package/dist/chunks/{app-kqxxwkn3.js → model-retry-0vh00qd5.js} +15 -15
- package/dist/chunks/{app-snvvzbj8.js → model-retry-156av61h.js} +46 -46
- package/dist/chunks/{app-yhn0a50f.js → model-retry-15pq58mc.js} +24 -24
- package/dist/chunks/{app-pyp72qgk.js → model-retry-15tgtsbh.js} +20 -20
- package/dist/chunks/{app-9r0x1bva.js → model-retry-1602d4m9.js} +9 -9
- package/dist/chunks/{app-ydsespw1.js → model-retry-160yv0cs.js} +4 -4
- package/dist/chunks/{app-e5gw6wwr.js → model-retry-1aerx206.js} +10 -10
- package/dist/chunks/{app-hne7gxgz.js → model-retry-1b4vpzzn.js} +34 -34
- package/dist/chunks/{app-27w5k9zf.js → model-retry-1ep2p91f.js} +2 -2
- package/dist/chunks/{app-3yme8bqy.js → model-retry-1fg7mrfs.js} +16 -16
- package/dist/chunks/{app-3j99hnw3.js → model-retry-1g7gxgxj.js} +33 -33
- package/dist/chunks/{app-4cxsxbgt.js → model-retry-1h8v3mbs.js} +19 -19
- package/dist/chunks/{app-q732j4yv.js → model-retry-1k9s1gkt.js} +14 -14
- package/dist/chunks/{app-7v5ecr6b.js → model-retry-1v7r97e1.js} +10 -10
- package/dist/chunks/{app-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
- package/dist/chunks/{app-1yq9hg58.js → model-retry-1yq9hg58.js} +1 -1
- package/dist/chunks/{app-s170k3xw.js → model-retry-23g4abx1.js} +23 -23
- package/dist/chunks/{app-z5ch3v5q.js → model-retry-24ag2nfj.js} +1 -1
- package/dist/chunks/{app-wjdw9j8d.js → model-retry-2ah2hb02.js} +4 -4
- package/dist/chunks/{app-6wb2zb64.js → model-retry-2d67wzxw.js} +20 -20
- package/dist/chunks/{app-z6fsbrec.js → model-retry-2j4z7awa.js} +3 -3
- package/dist/chunks/{app-ttpcrarc.js → model-retry-2qyq8kt6.js} +8 -8
- package/dist/chunks/{app-k9b5863x.js → model-retry-2v2pdhf7.js} +9 -9
- package/dist/chunks/{app-2z1j29yd.js → model-retry-2z1j29yd.js} +1 -1
- package/dist/chunks/{app-7xw28p93.js → model-retry-34j3c5g8.js} +26 -26
- package/dist/chunks/{app-wrh8ttgh.js → model-retry-35ssvayj.js} +35 -35
- package/dist/chunks/{app-svw9b4tv.js → model-retry-362tp65q.js} +8 -8
- package/dist/chunks/{app-0kkqynqr.js → model-retry-37psetzb.js} +191 -191
- package/dist/chunks/{app-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-b5rmxzna.js → model-retry-3jpry3mm.js} +11 -11
- package/dist/chunks/{app-tmc7xdjs.js → model-retry-3nnrz6f6.js} +4 -4
- package/dist/chunks/{app-y8t6cpt7.js → model-retry-3pfffbn2.js} +12 -12
- package/dist/chunks/{app-hhafapa0.js → model-retry-3t73xeyv.js} +2 -2
- package/dist/chunks/{app-htx6nhp5.js → model-retry-3wqf40ez.js} +7 -7
- package/dist/chunks/{app-wf9nn3bs.js → model-retry-3yfh5vy1.js} +11 -11
- package/dist/chunks/{app-7wxrbrvg.js → model-retry-3z93btg0.js} +28 -28
- package/dist/chunks/{app-2x6dhx7z.js → model-retry-3zfnvm0t.js} +3 -3
- package/dist/chunks/{app-hfrd5zd9.js → model-retry-40m9e2d0.js} +11 -11
- package/dist/chunks/{app-cnda3w9r.js → model-retry-45yg3mqn.js} +9 -9
- package/dist/chunks/{app-210jfvy6.js → model-retry-47853hma.js} +14 -14
- package/dist/chunks/{app-whb6jbxc.js → model-retry-498wt34r.js} +12 -12
- package/dist/chunks/{app-k1r9t87x.js → model-retry-4bxv2e09.js} +16 -16
- package/dist/chunks/{app-c5c0bz0t.js → model-retry-4dg124c5.js} +5 -5
- package/dist/chunks/{app-1y8dm7ap.js → model-retry-4dy0rzf7.js} +21 -21
- package/dist/chunks/{app-9e4t472b.js → model-retry-4naewhem.js} +7 -7
- package/dist/chunks/{app-c1bqr4jn.js → model-retry-4s75dghy.js} +5 -5
- package/dist/chunks/{app-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
- package/dist/chunks/{app-3ft77epc.js → model-retry-4xbwwm4q.js} +9 -9
- package/dist/chunks/{app-4xvmh7wp.js → model-retry-4xvmh7wp.js} +3 -3
- package/dist/chunks/{app-3vvwd6ke.js → model-retry-52zykg91.js} +11 -11
- package/dist/chunks/{app-4f3sm4z4.js → model-retry-5afnvqtn.js} +17 -17
- package/dist/chunks/{app-73xz0dh8.js → model-retry-5e3jct5k.js} +5 -5
- package/dist/chunks/{app-as49vg6k.js → model-retry-5gqydat8.js} +32 -32
- package/dist/chunks/{app-3xwkv16t.js → model-retry-5kggx843.js} +335 -335
- package/dist/chunks/{app-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
- package/dist/chunks/{app-pvn5ra1s.js → model-retry-5mhdx2nw.js} +10 -10
- package/dist/chunks/{app-jfpsek1t.js → model-retry-60qt7jm7.js} +11 -11
- package/dist/chunks/{app-jes3kmg5.js → model-retry-61crdd5b.js} +32 -32
- package/dist/chunks/{app-ce9s6z8c.js → model-retry-637q83rh.js} +15 -15
- package/dist/chunks/{app-qrn4wzgg.js → model-retry-68rqd4da.js} +19 -19
- package/dist/chunks/{app-6esdw8yj.js → model-retry-6esdw8yj.js} +1 -1
- package/dist/chunks/{app-x62jdknq.js → model-retry-6ms03s6h.js} +14 -14
- package/dist/chunks/{app-6pjqjmy2.js → model-retry-6pjqjmy2.js} +1 -1
- package/dist/chunks/model-retry-6zjm2phc.js +18 -0
- package/dist/chunks/{app-569sdvd3.js → model-retry-74ptejxy.js} +8 -8
- package/dist/chunks/{app-5gnmyaq2.js → model-retry-756ss4w1.js} +5 -5
- package/dist/chunks/{app-76cb1hcw.js → model-retry-76cb1hcw.js} +1 -1
- package/dist/chunks/{app-nah043kf.js → model-retry-770pw0s1.js} +4 -4
- package/dist/chunks/{app-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-25vgcjra.js → model-retry-7chdqnqr.js} +21 -21
- package/dist/chunks/{app-p814keat.js → model-retry-7h34a4m7.js} +24 -24
- package/dist/chunks/{app-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
- package/dist/chunks/{app-zm3cpays.js → model-retry-86c107cp.js} +14 -14
- package/dist/chunks/{app-vrh99vxp.js → model-retry-88ygbdnp.js} +5 -5
- package/dist/chunks/{app-rsd1vv3y.js → model-retry-8b8xytn3.js} +35 -35
- package/dist/chunks/{app-sp9905ca.js → model-retry-8cnpnqcj.js} +19 -19
- package/dist/chunks/{app-3v0zq4wp.js → model-retry-8cqc0595.js} +14 -14
- package/dist/chunks/{app-9vd5hnnp.js → model-retry-8mjcdb5t.js} +13 -13
- package/dist/chunks/{app-zkepmczw.js → model-retry-8q7mv1dj.js} +4 -4
- package/dist/chunks/{app-tasvem1v.js → model-retry-8sxdqgb0.js} +6 -6
- package/dist/chunks/{app-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
- package/dist/chunks/{app-91rj84md.js → model-retry-91rj84md.js} +1 -1
- package/dist/chunks/{app-nwr7kgq9.js → model-retry-94vx47d3.js} +11 -11
- package/dist/chunks/{app-zdesn8ss.js → model-retry-98bxk4dy.js} +28 -28
- package/dist/chunks/{app-dvj9ct8m.js → model-retry-998yhzzq.js} +3 -3
- package/dist/chunks/{app-pacbbjc0.js → model-retry-9b28cy4d.js} +5 -5
- package/dist/chunks/{app-r6kz875z.js → model-retry-9c2rytg1.js} +13 -13
- package/dist/chunks/{app-5cc3rvwm.js → model-retry-9m15hg5h.js} +82 -82
- package/dist/chunks/{app-k60vrjeg.js → model-retry-9p4ckb4p.js} +6 -6
- package/dist/chunks/{app-jae53m2x.js → model-retry-9t2khtsw.js} +11 -11
- package/dist/chunks/{app-d3p229mm.js → model-retry-9y7tqj94.js} +12 -12
- package/dist/chunks/{app-4qv1he3d.js → model-retry-awk29ysz.js} +50 -50
- package/dist/chunks/{app-3cbjf1nt.js → model-retry-ayjs7tqn.js} +2 -2
- package/dist/chunks/{app-b0mv4wxm.js → model-retry-b0mv4wxm.js} +2 -2
- package/dist/chunks/{app-5nnwax6m.js → model-retry-b6vsg801.js} +5 -5
- package/dist/chunks/{app-0twgbthj.js → model-retry-bez4y6k8.js} +16 -16
- package/dist/chunks/{app-00zh2tpm.js → model-retry-bqkj7jx5.js} +8 -8
- package/dist/chunks/{app-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
- package/dist/chunks/{app-6w4saq69.js → model-retry-cae67mny.js} +44 -44
- package/dist/chunks/{app-cqp8bbqc.js → model-retry-cgc2w6x5.js} +12 -12
- package/dist/chunks/{app-etcq3wj6.js → model-retry-cpfftq47.js} +87 -87
- package/dist/chunks/{app-kd4chd64.js → model-retry-cpvd08na.js} +7 -7
- package/dist/chunks/{app-anvrad6f.js → model-retry-csbt6w95.js} +21 -21
- package/dist/chunks/{app-wsxy8nck.js → model-retry-cx4pt2gs.js} +40 -40
- package/dist/chunks/{app-yt57kqfa.js → model-retry-cxzgb9c8.js} +7 -7
- package/dist/chunks/{app-c9t2ty9q.js → model-retry-d2887f8n.js} +4 -4
- package/dist/chunks/{app-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
- package/dist/chunks/{app-hh1m5t0r.js → model-retry-d7s86mhq.js} +10 -10
- package/dist/chunks/{app-fh92gkhk.js → model-retry-df4avf2z.js} +7 -7
- package/dist/chunks/{app-e8pm465n.js → model-retry-e29sndgb.js} +4 -4
- package/dist/chunks/{app-5qd3pb7m.js → model-retry-e3qxr5gk.js} +2 -2
- package/dist/chunks/{app-e834z07m.js → model-retry-e834z07m.js} +1 -1
- package/dist/chunks/{app-grvayz05.js → model-retry-ecdzwr7h.js} +28 -28
- package/dist/chunks/{app-ef5x83kb.js → model-retry-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-2qv7s079.js → model-retry-eg39tzjz.js} +5 -5
- package/dist/chunks/{app-kbmq0v6f.js → model-retry-egmw08v6.js} +5 -5
- package/dist/chunks/{app-xdts610a.js → model-retry-eq10afbe.js} +37 -37
- package/dist/chunks/{app-k5y4r48d.js → model-retry-erxntyyz.js} +25 -25
- package/dist/chunks/{app-vdcfetgk.js → model-retry-esgzgmhw.js} +39 -39
- package/dist/chunks/{app-fffv3p7h.js → model-retry-fffv3p7h.js} +1 -1
- package/dist/chunks/{app-86jbmjy0.js → model-retry-fgshpn0g.js} +16 -16
- package/dist/chunks/{app-79b21x4r.js → model-retry-ft03bety.js} +7 -7
- package/dist/chunks/{app-rmnrnby4.js → model-retry-g1mbn82r.js} +33 -33
- package/dist/chunks/{app-g5h9c0rr.js → model-retry-g5h9c0rr.js} +2 -2
- package/dist/chunks/{app-jcqm84fr.js → model-retry-gcjdgkn2.js} +9 -9
- package/dist/chunks/{app-31wms35x.js → model-retry-h0ppebc3.js} +8 -8
- package/dist/chunks/{app-vgx47e1e.js → model-retry-h48zeanh.js} +3 -3
- package/dist/chunks/{app-ge9weg3j.js → model-retry-hdpt19v3.js} +18 -18
- package/dist/chunks/{app-26bpbd1f.js → model-retry-hkav5kft.js} +25 -25
- package/dist/chunks/{app-kjzcdnr5.js → model-retry-hqnmqx0e.js} +47 -47
- package/dist/chunks/{app-38dzhn5x.js → model-retry-hv6nf1gc.js} +41 -41
- package/dist/chunks/{app-1jtf53by.js → model-retry-hzpyh7h9.js} +4 -4
- package/dist/chunks/{app-j113cymg.js → model-retry-j113cymg.js} +1 -1
- package/dist/chunks/{app-2y353qze.js → model-retry-j21bkcez.js} +15 -15
- package/dist/chunks/{app-djzk6aem.js → model-retry-j3dvs0xp.js} +4 -4
- package/dist/chunks/{app-sft389ej.js → model-retry-j3gdx3ts.js} +18 -18
- package/dist/chunks/{app-19b0nq78.js → model-retry-j4tgmvzd.js} +44 -44
- package/dist/chunks/{app-n5cwa87a.js → model-retry-j7t09cbk.js} +26 -26
- package/dist/chunks/{app-s8vp3f5v.js → model-retry-jezcxpfe.js} +18 -18
- package/dist/chunks/{app-5p205wab.js → model-retry-jkg2pe84.js} +4 -4
- package/dist/chunks/{app-5dtf0xw8.js → model-retry-k0te6n7r.js} +11 -11
- package/dist/chunks/{app-ak5m35an.js → model-retry-k2e8739q.js} +6 -6
- package/dist/chunks/{app-2g37s6n5.js → model-retry-k2k3qgkf.js} +11 -11
- package/dist/chunks/{app-jsxsss6h.js → model-retry-k3jmrcrs.js} +18 -18
- package/dist/chunks/{app-t8fe48pd.js → model-retry-k60vgq4n.js} +1 -1
- package/dist/chunks/{app-k814nvkf.js → model-retry-k814nvkf.js} +1 -1
- package/dist/chunks/{app-ssr08r1k.js → model-retry-kg4c4gfk.js} +34 -34
- package/dist/chunks/{app-ym0en988.js → model-retry-kh0bkhb3.js} +15 -15
- package/dist/chunks/{app-18harhtr.js → model-retry-knx0jzac.js} +13 -13
- package/dist/chunks/{app-kjwktd7k.js → model-retry-kqpfexpa.js} +18 -18
- package/dist/chunks/{app-m1714858.js → model-retry-m1714858.js} +1 -1
- package/dist/chunks/{app-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-jneg3k74.js → model-retry-masd7ga8.js} +4 -4
- package/dist/chunks/{app-maspj1v3.js → model-retry-maspj1v3.js} +1 -1
- package/dist/chunks/{app-me5bcav6.js → model-retry-me5bcav6.js} +1 -1
- package/dist/chunks/{app-xthgq65r.js → model-retry-mhsz3gf2.js} +5 -5
- package/dist/chunks/{app-k56nbahk.js → model-retry-mm9j1s8c.js} +32 -32
- package/dist/chunks/model-retry-mnd7st07.js +26 -0
- package/dist/chunks/{app-mfkqmekj.js → model-retry-mx6gwe9b.js} +9 -9
- package/dist/chunks/model-retry-mxyxrzn2.js +257 -0
- package/dist/chunks/{app-v5prxdmf.js → model-retry-n02etsdv.js} +9 -9
- package/dist/chunks/{app-n0p0277s.js → model-retry-n0p0277s.js} +1 -1
- package/dist/chunks/{app-szcgc7h4.js → model-retry-n6v2b7cw.js} +5 -5
- package/dist/chunks/{app-c0hpp7j5.js → model-retry-n74gyp3a.js} +16 -16
- package/dist/chunks/{app-4k74q3cd.js → model-retry-nbne29zv.js} +21 -21
- package/dist/chunks/{app-q1sfq5ar.js → model-retry-nsggxdvf.js} +24 -24
- package/dist/chunks/{app-f0qp72je.js → model-retry-nszthedh.js} +6 -6
- package/dist/chunks/{app-gy26d4cp.js → model-retry-nv23re93.js} +27 -27
- package/dist/chunks/{app-p015t6z3.js → model-retry-p015t6z3.js} +2 -2
- package/dist/chunks/{app-dh62xe4r.js → model-retry-pc1v25hk.js} +3 -3
- package/dist/chunks/{app-sbegqkxp.js → model-retry-pen16d07.js} +6 -6
- package/dist/chunks/{app-jth5b7nb.js → model-retry-pf6hjb5j.js} +11 -11
- package/dist/chunks/{app-pwq9efzz.js → model-retry-ph4tm34a.js} +23 -23
- package/dist/chunks/{app-pknna89w.js → model-retry-pknna89w.js} +1 -1
- package/dist/chunks/{app-7q2jq33p.js → model-retry-q0gsxww0.js} +12 -12
- package/dist/chunks/{app-zs5g0jnr.js → model-retry-q1356wgr.js} +5 -5
- package/dist/chunks/{app-5ab172h5.js → model-retry-q9dphv85.js} +40 -40
- package/dist/chunks/{app-a8fwv04y.js → model-retry-q9fk87c8.js} +2 -2
- package/dist/chunks/{app-8jztxfpf.js → model-retry-qjgzc4b4.js} +4 -4
- package/dist/chunks/{app-fr73gbb1.js → model-retry-qnqj5gyz.js} +10 -10
- package/dist/chunks/{app-6be6yqxw.js → model-retry-qr8gbtan.js} +17 -17
- package/dist/chunks/{app-r0yr0wbs.js → model-retry-r0yr0wbs.js} +1 -1
- package/dist/chunks/{app-92shyse6.js → model-retry-r2j375b4.js} +13 -13
- package/dist/chunks/{app-z72fs3kr.js → model-retry-r2z6t62p.js} +26 -26
- package/dist/chunks/{app-zfwbmsyg.js → model-retry-r4q3d25z.js} +16 -16
- package/dist/chunks/{app-wephwg65.js → model-retry-r7g76k7m.js} +25 -25
- package/dist/chunks/{app-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
- package/dist/chunks/{app-xngx3rps.js → model-retry-rctnnajd.js} +5 -5
- package/dist/chunks/{app-5bvqzxvh.js → model-retry-rnwbpqts.js} +11 -11
- package/dist/chunks/{app-10bwkysh.js → model-retry-rsbjq8mx.js} +11 -11
- package/dist/chunks/{app-rt5dr6hb.js → model-retry-rt5dr6hb.js} +1 -1
- package/dist/chunks/{app-xjcvkgq2.js → model-retry-s35xth4d.js} +11 -11
- package/dist/chunks/{app-eth5ae7t.js → model-retry-s57gj4s6.js} +66 -66
- package/dist/chunks/{app-arxr4n82.js → model-retry-sfva37g4.js} +17 -17
- package/dist/chunks/{app-4pxwt4n4.js → model-retry-sp1qw1fb.js} +10 -10
- package/dist/chunks/{app-sqjzf8x2.js → model-retry-sqjzf8x2.js} +1 -1
- package/dist/chunks/{app-v5gy4fh6.js → model-retry-sszzn3zb.js} +8 -8
- package/dist/chunks/{app-4g0fsgbg.js → model-retry-t19n7z8d.js} +6 -6
- package/dist/chunks/{app-04fhc9pj.js → model-retry-t3qqpd1a.js} +22 -22
- package/dist/chunks/{app-p0y2phsj.js → model-retry-t5nnby66.js} +35 -35
- package/dist/chunks/{app-2sh6np1t.js → model-retry-t5swzbnr.js} +54 -54
- package/dist/chunks/{app-vkqjcjxb.js → model-retry-t98mxax0.js} +48 -48
- package/dist/chunks/{app-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
- package/dist/chunks/{app-ce6jsch9.js → model-retry-th85ze8z.js} +18 -18
- package/dist/chunks/{app-dr37mt8v.js → model-retry-tryvgcx0.js} +4 -4
- package/dist/chunks/{app-arz7hw7x.js → model-retry-ts7mkfs9.js} +2 -2
- package/dist/chunks/{app-tw8zr1ps.js → model-retry-tw8zr1ps.js} +1 -1
- package/dist/chunks/{app-twv2r8f4.js → model-retry-twv2r8f4.js} +2 -2
- package/dist/chunks/{app-6msrtbg0.js → model-retry-typ2bf99.js} +18 -18
- package/dist/chunks/{app-1s9fs40v.js → model-retry-v46zwfxe.js} +4 -4
- package/dist/chunks/{app-4n53z3gy.js → model-retry-v95bjsh5.js} +11 -11
- package/dist/chunks/{app-vd3b3yk9.js → model-retry-vd3b3yk9.js} +1 -1
- package/dist/chunks/{app-veqvce7d.js → model-retry-veqvce7d.js} +1 -1
- package/dist/chunks/{app-98gmkcwn.js → model-retry-vfjd9fmw.js} +22 -22
- package/dist/chunks/{app-q46y00v4.js → model-retry-vgk61ywp.js} +9 -9
- package/dist/chunks/{app-695xd8qp.js → model-retry-vgt89nsn.js} +21 -21
- package/dist/chunks/{app-m37sd98t.js → model-retry-vmfhgzt5.js} +4 -4
- package/dist/chunks/{app-xp3f508c.js → model-retry-vrc2patz.js} +15 -15
- package/dist/chunks/{app-xs6ta2mn.js → model-retry-vwkq0df4.js} +13 -13
- package/dist/chunks/{app-5cw0dcrr.js → model-retry-vwn6zxzb.js} +19 -19
- package/dist/chunks/{app-ywgha77a.js → model-retry-vwpgtjfe.js} +12 -12
- package/dist/chunks/{app-6c9gsgb8.js → model-retry-w2bqz3ce.js} +14 -14
- package/dist/chunks/{app-w2eysc6j.js → model-retry-w2eysc6j.js} +2 -2
- package/dist/chunks/{app-ax4xcqdr.js → model-retry-w2jghfqb.js} +4 -4
- package/dist/chunks/{app-173t91w5.js → model-retry-w35wzz9x.js} +9 -9
- package/dist/chunks/{app-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-kkxbngda.js → model-retry-w4b3j6j4.js} +16 -16
- package/dist/chunks/{app-c5kjsz6q.js → model-retry-w76xjer3.js} +4 -4
- package/dist/chunks/{app-h7rgkctr.js → model-retry-wa1bzbm8.js} +1 -1
- package/dist/chunks/{app-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
- package/dist/chunks/{app-wd87259q.js → model-retry-wd87259q.js} +1 -1
- package/dist/chunks/{app-tkmwn4n3.js → model-retry-wdmx20pv.js} +7 -7
- package/dist/chunks/{app-zxac9sqa.js → model-retry-we70t4t4.js} +33 -33
- package/dist/chunks/{app-f7kfhre8.js → model-retry-wf5b31gc.js} +25 -25
- package/dist/chunks/{app-3ddszj5t.js → model-retry-wpfwh9md.js} +38 -38
- package/dist/chunks/{app-ne4y78rw.js → model-retry-ws6f2re4.js} +2 -2
- package/dist/chunks/{app-ade0xppm.js → model-retry-wv3qawbk.js} +11 -11
- package/dist/chunks/{app-fc895th3.js → model-retry-ww1j827y.js} +11 -11
- package/dist/chunks/{app-aswvndy1.js → model-retry-wyat3pb7.js} +45 -45
- package/dist/chunks/{app-7ywpwnkp.js → model-retry-wzxanmw9.js} +29 -29
- package/dist/chunks/{app-86a1xg0s.js → model-retry-x1p8bhbj.js} +12 -12
- package/dist/chunks/{app-q67e8ksv.js → model-retry-xadckn2x.js} +48 -48
- package/dist/chunks/{app-xkeb9rs5.js → model-retry-xg13h545.js} +25 -25
- package/dist/chunks/{app-w1tf2vhf.js → model-retry-xp0rgq9p.js} +26 -26
- package/dist/chunks/{app-g49wnabm.js → model-retry-xp50hhgm.js} +8 -8
- package/dist/chunks/{app-va59929a.js → model-retry-xwjmbdzc.js} +21 -21
- package/dist/chunks/{app-rdwyycgw.js → model-retry-xza2c9y7.js} +14 -14
- package/dist/chunks/{app-20mxm868.js → model-retry-y2nch1ns.js} +14 -14
- package/dist/chunks/{app-xnwj5rqb.js → model-retry-y2zwb71e.js} +20 -20
- package/dist/chunks/{app-ak0r7mhr.js → model-retry-y45pr2fb.js} +4 -4
- package/dist/chunks/{app-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
- package/dist/chunks/{app-91zpvmry.js → model-retry-yfvv7qb3.js} +11 -11
- package/dist/chunks/{app-m4m284hh.js → model-retry-yj9zbm9v.js} +15 -15
- package/dist/chunks/{app-1622r1ga.js → model-retry-yk0esd9v.js} +4 -4
- package/dist/chunks/{app-xn9prk0h.js → model-retry-yk3mq3qx.js} +4 -4
- package/dist/chunks/{app-81tex3wg.js → model-retry-yvf9xe26.js} +15 -15
- package/dist/chunks/{app-sr3t0mwa.js → model-retry-yy1f6ksd.js} +18 -18
- package/dist/chunks/{app-38c4qa7w.js → model-retry-yy97rbk0.js} +5 -5
- package/dist/chunks/{app-z0bkrqjs.js → model-retry-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-y4pjxpxm.js → model-retry-z2wzaj4z.js} +27 -27
- package/dist/chunks/{app-z38nccrw.js → model-retry-z38nccrw.js} +1 -1
- package/dist/chunks/{app-9vy7ymhz.js → model-retry-z6w6mvsb.js} +23 -23
- package/dist/chunks/{app-fhh94x7z.js → model-retry-z8ef33hm.js} +11 -11
- package/dist/chunks/{app-eg9pfg6h.js → model-retry-z8n0gtf2.js} +5 -5
- package/dist/chunks/{app-jcgydn6h.js → model-retry-zae8bdqe.js} +23 -23
- package/dist/chunks/{app-zba5tm1j.js → model-retry-zba5tm1j.js} +1 -1
- package/dist/chunks/{app-7dj845q2.js → model-retry-zbt54ewe.js} +22 -22
- package/dist/chunks/{app-19779spt.js → model-retry-ze854dys.js} +26 -26
- package/dist/chunks/{app-zkg84ctx.js → model-retry-zkg84ctx.js} +1 -1
- package/dist/chunks/{app-wfvde9ev.js → model-retry-zq471nd1.js} +6 -6
- package/dist/chunks/{app-wr9nceen.js → model-retry-zra4y4ja.js} +9 -9
- package/dist/chunks/{app-2emv3dac.js → model-retry-zv1vb29g.js} +20 -20
- package/dist/chunks/{app-4b1atmcq.js → model-retry-zx3jzspp.js} +12 -12
- package/dist/chunks/{app-qtz1mk7q.js → model-retry-zyr4n90f.js} +11 -11
- 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 +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 -212
- 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 +114 -114
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- 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 +117 -117
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- 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 +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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +104 -104
- package/dist/form.js +80 -80
- 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 +6 -6
- 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 +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- 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 +105 -105
- 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 +140 -140
- 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 +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- 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 +76 -76
- package/dist/plugin/command.js +100 -100
- 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 +3 -3
- 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 -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 +116 -116
- 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 +123 -123
- 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 +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- 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 +93 -93
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +87 -87
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- 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 +138 -138
- 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 +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +95 -95
- 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 +99 -99
- package/dist/session/message-updater.js +4 -4
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- 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 +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +118 -118
- package/dist/tool/plugin/grep.js +126 -126
- 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 +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +132 -132
- package/dist/tool/plugin/webfetch.js +113 -113
- 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 +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 +7 -7
- 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 +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +86 -86
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/app-7yv5xa0k.js +0 -18
- package/dist/chunks/app-9pfqjpyy.js +0 -257
- package/dist/chunks/app-qagaq7sy.js +0 -26
- /package/dist/chunks/{app-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2bv980vf.js → model-retry-2bv980vf.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → model-retry-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → model-retry-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → model-retry-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → model-retry-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → model-retry-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → model-retry-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-5fjb7ams.js → model-retry-5fjb7ams.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → model-retry-6prwharc.js} +0 -0
- /package/dist/chunks/{app-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → model-retry-822emrt2.js} +0 -0
- /package/dist/chunks/{app-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a058387c.js → model-retry-a058387c.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → model-retry-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → model-retry-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → model-retry-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → model-retry-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → model-retry-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → model-retry-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → model-retry-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → model-retry-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → model-retry-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → model-retry-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → model-retry-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → model-retry-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → model-retry-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jze0r7bz.js → model-retry-jze0r7bz.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-m18g726c.js → model-retry-m18g726c.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-pkyv6v7h.js → model-retry-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → model-retry-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wjj7prxr.js → model-retry-wjj7prxr.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → model-retry-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → model-retry-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → model-retry-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./model-retry-j3gdx3ts.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./model-retry-1fg7mrfs.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service65
|
|
12
|
+
} from "./model-retry-esgzgmhw.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-retry-ph4tm34a.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service12
|
|
20
|
+
} from "./model-retry-gcjdgkn2.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-retry-k2e8739q.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
scan3
|
|
27
|
+
} from "./model-retry-770pw0s1.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
|
-
var
|
|
34
|
-
__export(
|
|
35
|
-
ConfigSkillPlugin: () =>
|
|
36
|
-
Plugin: () =>
|
|
33
|
+
var exports_skill2 = {};
|
|
34
|
+
__export(exports_skill2, {
|
|
35
|
+
ConfigSkillPlugin: () => exports_skill2,
|
|
36
|
+
Plugin: () => Plugin33
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin33 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
47
|
-
const discovery = yield*
|
|
46
|
+
const config = yield* Service65;
|
|
47
|
+
const discovery = yield* Service12;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
|
-
const location = yield*
|
|
51
|
-
const watcher = yield*
|
|
50
|
+
const location = yield* Service80;
|
|
51
|
+
const watcher = yield* Service66;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -122,7 +122,7 @@ var Plugin16 = define({
|
|
|
122
122
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
123
123
|
const skills = [];
|
|
124
124
|
for (const directory of directories) {
|
|
125
|
-
for (const filepath of yield*
|
|
125
|
+
for (const filepath of yield* scan3(directory)) {
|
|
126
126
|
const resolved = yield* fs.realPath(filepath).pipe(Effect.orElseSucceed(() => filepath));
|
|
127
127
|
if (!roots.some((root) => FSUtil.contains(root, resolved)))
|
|
128
128
|
yield* watch(resolved, "file");
|
|
@@ -179,4 +179,4 @@ var Plugin16 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin33, exports_skill2 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-yk3mq3qx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./model-retry-1fg7mrfs.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service56,
|
|
11
|
+
node59
|
|
12
|
+
} from "./model-retry-t3qqpd1a.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
NotFoundError8
|
|
15
|
+
} from "./model-retry-nszthedh.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service54,
|
|
18
|
+
node57
|
|
19
|
+
} from "./model-retry-xza2c9y7.js";
|
|
20
20
|
import {
|
|
21
21
|
match2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-retry-z38nccrw.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service55,
|
|
25
|
+
node58
|
|
26
|
+
} from "./model-retry-00qqvw2m.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service70,
|
|
29
|
+
node73
|
|
30
|
+
} from "./model-retry-h0ppebc3.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
|
-
var
|
|
37
|
-
__export(
|
|
36
|
+
var exports_permission = {};
|
|
37
|
+
__export(exports_permission, {
|
|
38
38
|
BlockedError: () => BlockedError2,
|
|
39
39
|
CorrectedError: () => CorrectedError2,
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
42
|
+
Event: () => Event10,
|
|
43
|
+
ID: () => ID6,
|
|
44
44
|
NotFoundError: () => NotFoundError7,
|
|
45
|
-
Permission: () =>
|
|
45
|
+
Permission: () => exports_permission,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request2,
|
|
48
|
-
Rule: () =>
|
|
48
|
+
Rule: () => Rule2,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
50
|
+
Service: () => Service53,
|
|
51
51
|
Source: () => Source5,
|
|
52
52
|
evaluate: () => evaluate2,
|
|
53
53
|
merge: () => merge2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node56
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
58
58
|
import { Permission } from "@opencode/schema/permission";
|
|
59
|
-
import { Rule as
|
|
60
|
-
import { Event as
|
|
59
|
+
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
60
|
+
import { Event as Event10 } from "@opencode/schema/permission";
|
|
61
61
|
var PermissionEffect = Permission.Effect;
|
|
62
62
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
63
|
-
var
|
|
63
|
+
var ID6 = Permission.ID;
|
|
64
64
|
var Source5 = Permission.Source;
|
|
65
65
|
var Request2 = Permission.Request;
|
|
66
66
|
var Reply2 = Permission.Reply;
|
|
@@ -85,7 +85,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
88
|
-
requestID:
|
|
88
|
+
requestID: ID6
|
|
89
89
|
}) {
|
|
90
90
|
}
|
|
91
91
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -99,15 +99,15 @@ function merge2(...rulesets) {
|
|
|
99
99
|
return rulesets.flat();
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
class
|
|
102
|
+
class Service53 extends Context.Service()("@opencode/Permission") {
|
|
103
103
|
}
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
105
105
|
const bus = yield* Service85;
|
|
106
|
-
const location = yield*
|
|
107
|
-
const agents = yield*
|
|
108
|
-
const sessions = yield*
|
|
109
|
-
const saved = yield*
|
|
110
|
-
const hooks = yield*
|
|
106
|
+
const location = yield* Service80;
|
|
107
|
+
const agents = yield* Service56;
|
|
108
|
+
const sessions = yield* Service54;
|
|
109
|
+
const saved = yield* Service55;
|
|
110
|
+
const hooks = yield* Service70;
|
|
111
111
|
const pending = new Map;
|
|
112
112
|
let closed = false;
|
|
113
113
|
const close = Effect.gen(function* () {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
130
130
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
131
131
|
const session = yield* sessions.get(sessionID);
|
|
132
132
|
if (!session)
|
|
133
|
-
return yield* new
|
|
133
|
+
return yield* new NotFoundError8({ sessionID });
|
|
134
134
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
135
135
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
136
136
|
});
|
|
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
160
160
|
});
|
|
161
161
|
function request(input, message) {
|
|
162
162
|
return {
|
|
163
|
-
id: input.id ??
|
|
163
|
+
id: input.id ?? ID6.create(),
|
|
164
164
|
sessionID: input.sessionID,
|
|
165
165
|
action: input.action,
|
|
166
166
|
resources: input.resources,
|
|
@@ -185,7 +185,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
185
185
|
}));
|
|
186
186
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
187
187
|
if (closed)
|
|
188
|
-
return { id: input.id ??
|
|
188
|
+
return { id: input.id ?? ID6.create(), effect: "deny" };
|
|
189
189
|
const result = yield* evaluateInput(input);
|
|
190
190
|
const value = request(input, result.message);
|
|
191
191
|
if (result.effect === "ask")
|
|
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
271
271
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
272
272
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service53.of({ ask, assert, reply, get, forSession, list, close });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node56 = makeLocationNode({
|
|
277
|
+
service: Service53,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node89,
|
|
279
|
+
deps: [node89, node84, node59, node57, node58, node73]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { PermissionEffect,
|
|
282
|
+
export { PermissionEffect, ID6, Source5, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service53, node56, exports_permission, Rule2, Ruleset2, Event10 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-retry-h48zeanh.js";
|
|
8
8
|
import {
|
|
9
9
|
Service85,
|
|
10
10
|
node89
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-yk3mq3qx.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service82,
|
|
14
|
+
node86
|
|
15
|
+
} from "./model-retry-3pfffbn2.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-retry-wdmx20pv.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-retry-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-retry-ayjs7tqn.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info28,
|
|
41
|
+
NotFoundError: () => NotFoundError12,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service81,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node85,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID16 = ID17;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info28 = Info29;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
|
-
class
|
|
66
|
-
projectID:
|
|
65
|
+
class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
+
projectID: ID16
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service81 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,9 +98,9 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service82;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
105
|
const bus = yield* Service85;
|
|
106
106
|
const db = (yield* Service86).db;
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID16.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -171,7 +171,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
171
171
|
time_updated: Date.now()
|
|
172
172
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
173
173
|
if (!row)
|
|
174
|
-
return yield* new
|
|
174
|
+
return yield* new NotFoundError12({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
176
|
yield* bus.publish(Event19.Updated, project);
|
|
177
177
|
return project;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
187
187
|
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID16.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID16.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
247
247
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
248
248
|
return {
|
|
249
249
|
previous,
|
|
250
|
-
id: id ??
|
|
250
|
+
id: id ?? ID16.global,
|
|
251
251
|
directory: worktree,
|
|
252
252
|
vcs: { type: "hg", store: dotHg }
|
|
253
253
|
};
|
|
@@ -264,7 +264,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
264
264
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
265
265
|
return yield* persist({
|
|
266
266
|
previous,
|
|
267
|
-
id: id ??
|
|
267
|
+
id: id ?? ID16.global,
|
|
268
268
|
directory: repo.worktree,
|
|
269
269
|
canonical,
|
|
270
270
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -278,7 +278,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
278
278
|
});
|
|
279
279
|
}
|
|
280
280
|
return yield* persist({
|
|
281
|
-
id:
|
|
281
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
282
282
|
directory,
|
|
283
283
|
canonical: directory,
|
|
284
284
|
vcs: undefined
|
|
@@ -287,7 +287,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
287
287
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
288
288
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
289
289
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
290
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
290
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID16.global))).all().pipe(Effect.orDie);
|
|
291
291
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
292
292
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
293
293
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -303,20 +303,20 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
303
303
|
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
304
304
|
}), { concurrency: 8, discard: true });
|
|
305
305
|
});
|
|
306
|
-
return
|
|
306
|
+
return Service81.of({ list, update, activate, resolve, sweep });
|
|
307
307
|
}));
|
|
308
|
-
var
|
|
309
|
-
service:
|
|
308
|
+
var node85 = makeGlobalNode({
|
|
309
|
+
service: Service81,
|
|
310
310
|
layer,
|
|
311
|
-
deps: [node89, node90, FSUtil.node,
|
|
311
|
+
deps: [node89, node90, FSUtil.node, node86, AppProcess.node]
|
|
312
312
|
});
|
|
313
313
|
var sweepNode2 = makeGlobalNode({
|
|
314
314
|
name: "project-archive-sweep",
|
|
315
315
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
316
|
-
const project = yield*
|
|
316
|
+
const project = yield* Service81;
|
|
317
317
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
318
318
|
})),
|
|
319
|
-
deps: [
|
|
319
|
+
deps: [node85]
|
|
320
320
|
});
|
|
321
321
|
|
|
322
|
-
export {
|
|
322
|
+
export { ID16, Vcs2, Current2, Info28, UpdateInput3, NotFoundError12, root2, Service81, node85, sweepNode2, exports_project };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-retry-j113cymg.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-j7t09cbk.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-retry-3z93btg0.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info8,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-ph4tm34a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service65
|
|
11
|
+
} from "./model-retry-esgzgmhw.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill3 = {};
|
|
18
18
|
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin49,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
@@ -424,20 +424,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
424
424
|
var ReportContent2 = report_default;
|
|
425
425
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
426
426
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
427
|
-
var
|
|
427
|
+
var Plugin49 = define({
|
|
428
428
|
id: "opencode.skill",
|
|
429
429
|
effect: Effect.fn(function* (ctx) {
|
|
430
430
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
431
431
|
yield* ctx.skill.transform((editor) => {
|
|
432
|
-
editor.add(
|
|
433
|
-
id:
|
|
432
|
+
editor.add(Info8.make({
|
|
433
|
+
id: ID5.make("opencode"),
|
|
434
434
|
name: Name2.make("OpenCode"),
|
|
435
435
|
description: OpencodeDescription2,
|
|
436
436
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
437
437
|
content: OpencodeContent2
|
|
438
438
|
}));
|
|
439
|
-
editor.add(
|
|
440
|
-
id:
|
|
439
|
+
editor.add(Info8.make({
|
|
440
|
+
id: ID5.make("report"),
|
|
441
441
|
name: Name2.make("Report"),
|
|
442
442
|
description: REPORT_DESCRIPTION,
|
|
443
443
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service65;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin49, exports_skill3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-tw8zr1ps.js";
|
|
7
7
|
import {
|
|
8
8
|
stringify2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-5fjb7ams.js";
|
|
10
10
|
import {
|
|
11
11
|
contentFilterError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-retry-5e3jct5k.js";
|
|
13
13
|
|
|
14
14
|
// src/session/runner/publish-llm-event.ts
|
|
15
15
|
import { isRecord } from "@opencode/ai/utils/record";
|