@opencode/core 0.0.0-dev-579 → 0.0.0-dev-583
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +236 -236
- package/dist/bus.js +84 -84
- package/dist/chunks/{repository-cache-9f3jsh1d.js → worktree-011jp90z.js} +9 -9
- package/dist/chunks/{repository-cache-twt25177.js → worktree-01r2mdpa.js} +10 -10
- package/dist/chunks/{repository-cache-aj7mw0zk.js → worktree-034tev2y.js} +2 -2
- package/dist/chunks/{repository-cache-xjbsd7zy.js → worktree-04whjz6n.js} +9 -9
- package/dist/chunks/{repository-cache-pjy3bx91.js → worktree-07ahnxpv.js} +7 -7
- package/dist/chunks/{repository-cache-cb6hg470.js → worktree-07fse4w0.js} +5 -5
- package/dist/chunks/{repository-cache-xqs62hyd.js → worktree-09g9jcrz.js} +4 -4
- package/dist/chunks/{repository-cache-ha3ncyca.js → worktree-0b9xxbk4.js} +11 -11
- package/dist/chunks/{repository-cache-q0xhnwne.js → worktree-0et0taa6.js} +12 -12
- package/dist/chunks/{repository-cache-qp1j9gx1.js → worktree-0gg55sk6.js} +8 -8
- package/dist/chunks/{repository-cache-0ma9gw4f.js → worktree-0ma9gw4f.js} +2 -2
- package/dist/chunks/{repository-cache-zjyc304t.js → worktree-0n2768ta.js} +21 -21
- package/dist/chunks/{repository-cache-ysbrq79k.js → worktree-0q4tzmn8.js} +29 -29
- package/dist/chunks/{repository-cache-x3nq4fqn.js → worktree-0r6crq0n.js} +10 -10
- package/dist/chunks/{repository-cache-v19wj8hw.js → worktree-0rgj5x6r.js} +1 -1
- package/dist/chunks/worktree-0sx8rwxa.js +16 -0
- package/dist/chunks/worktree-11a0j3ac.js +571 -0
- package/dist/chunks/{repository-cache-jajy9qdq.js → worktree-13bvw743.js} +17 -17
- package/dist/chunks/{repository-cache-e8nnxxen.js → worktree-13qmg2j7.js} +42 -42
- package/dist/chunks/{repository-cache-1aqsckx4.js → worktree-1aqsckx4.js} +1 -1
- package/dist/chunks/{repository-cache-27w5k9zf.js → worktree-1ep2p91f.js} +2 -2
- package/dist/chunks/{repository-cache-gyh9cr2k.js → worktree-1r0s506n.js} +18 -18
- package/dist/chunks/{repository-cache-1x2knyw4.js → worktree-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-cache-1gz5ntza.js → worktree-1xzbtabx.js} +21 -21
- package/dist/chunks/{repository-cache-c5zvymhv.js → worktree-229tvxdn.js} +4 -4
- package/dist/chunks/{repository-cache-cw4xtm2w.js → worktree-23gmbq8f.js} +19 -19
- package/dist/chunks/{repository-cache-25h84942.js → worktree-25h84942.js} +1 -1
- package/dist/chunks/{repository-cache-ty077e25.js → worktree-2979j558.js} +4 -4
- package/dist/chunks/{repository-cache-1ab9e8np.js → worktree-2cf6rdw9.js} +32 -29
- package/dist/chunks/{repository-cache-arvtwnb2.js → worktree-2hngz3am.js} +6 -6
- package/dist/chunks/{repository-cache-ssvhy3xe.js → worktree-2k6sb4h3.js} +33 -33
- package/dist/chunks/{repository-cache-gh3hhasy.js → worktree-2wc8f514.js} +4 -4
- package/dist/chunks/{repository-cache-9r6t02y1.js → worktree-33qwtakz.js} +11 -11
- package/dist/chunks/{repository-cache-pbk7qfv1.js → worktree-33x3jfcy.js} +22 -22
- package/dist/chunks/{repository-cache-0mgprbja.js → worktree-39sgvy3e.js} +4 -4
- package/dist/chunks/{repository-cache-11v5wvkn.js → worktree-3bg3hr7j.js} +3 -3
- package/dist/chunks/{repository-cache-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-tmc7xdjs.js → worktree-3nnrz6f6.js} +4 -4
- package/dist/chunks/{repository-cache-1kkrasra.js → worktree-3pyrw5vr.js} +25 -25
- package/dist/chunks/{repository-cache-3qgwywyc.js → worktree-3qgwywyc.js} +1 -1
- package/dist/chunks/{repository-cache-g0qvbbtp.js → worktree-3rrsm3qv.js} +11 -11
- package/dist/chunks/{repository-cache-40y6dtc2.js → worktree-40y6dtc2.js} +1 -1
- package/dist/chunks/{repository-cache-jm0qhxwg.js → worktree-463jnd59.js} +11 -11
- package/dist/chunks/{repository-cache-pce1dcgc.js → worktree-4c4em911.js} +9 -9
- package/dist/chunks/{repository-cache-4dx1dgte.js → worktree-4dx1dgte.js} +1 -1
- package/dist/chunks/{repository-cache-r0m92t3y.js → worktree-4ffhv9d7.js} +8 -8
- package/dist/chunks/{repository-cache-4pyp9zr9.js → worktree-4pyp9zr9.js} +1 -1
- package/dist/chunks/{repository-cache-g4qx8njx.js → worktree-4q4588ge.js} +10 -10
- package/dist/chunks/{repository-cache-wt82zanq.js → worktree-4qn569k3.js} +34 -34
- package/dist/chunks/{repository-cache-ybws1qgk.js → worktree-4tnarq1t.js} +6 -6
- package/dist/chunks/{repository-cache-ddwaa558.js → worktree-4tqs0jzk.js} +4 -4
- package/dist/chunks/{repository-cache-4v008n1t.js → worktree-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-cache-maxssf8f.js → worktree-59ggjee0.js} +4 -4
- package/dist/chunks/{repository-cache-51t1dcec.js → worktree-5crjh6az.js} +7 -7
- package/dist/chunks/{repository-cache-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-xw23ze91.js → worktree-5n02ryyv.js} +43 -43
- package/dist/chunks/{repository-cache-bhfd478d.js → worktree-5n0rnk8e.js} +4 -4
- package/dist/chunks/{repository-cache-m14v4fgj.js → worktree-5sn17fpt.js} +2 -2
- package/dist/chunks/{repository-cache-jbv7by8f.js → worktree-5wq388zr.js} +5 -5
- package/dist/chunks/{repository-cache-tx51mns0.js → worktree-5yzx53te.js} +13 -13
- package/dist/chunks/{repository-cache-fyq1k2zq.js → worktree-5znhrc7b.js} +31 -31
- package/dist/chunks/{repository-cache-tdts4bqh.js → worktree-60zd28f7.js} +15 -15
- package/dist/chunks/{repository-cache-cgvf0p9w.js → worktree-6535bp49.js} +6 -6
- package/dist/chunks/worktree-653b6b81.js +26 -0
- package/dist/chunks/{repository-cache-26wfx3k0.js → worktree-694dpcrp.js} +7 -7
- package/dist/chunks/{repository-cache-8ef1n296.js → worktree-69qh8env.js} +25 -25
- package/dist/chunks/{repository-cache-jhwp234h.js → worktree-6dqyy18z.js} +4 -4
- package/dist/chunks/{repository-cache-xw5mamnk.js → worktree-6dz3c3e9.js} +18 -18
- package/dist/chunks/{repository-cache-2cnsn9vd.js → worktree-6jc3vgm6.js} +27 -27
- package/dist/chunks/{repository-cache-vw7tgt0x.js → worktree-6ryabd48.js} +18 -18
- package/dist/chunks/{repository-cache-xhxkc6j7.js → worktree-7agscg8h.js} +58 -58
- package/dist/chunks/{repository-cache-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-z28d3knk.js → worktree-7c865q8t.js} +39 -39
- package/dist/chunks/{repository-cache-ybxqszcm.js → worktree-7dve6cz3.js} +9 -9
- package/dist/chunks/{repository-cache-syq2rh3w.js → worktree-7ezcpw5k.js} +35 -35
- package/dist/chunks/{repository-cache-p4y4gte6.js → worktree-7fhkpr78.js} +9 -9
- package/dist/chunks/{repository-cache-9dnd63gn.js → worktree-7h9z2yfj.js} +24 -24
- package/dist/chunks/{repository-cache-s4dd1dkr.js → worktree-7q4dqg5y.js} +13 -13
- package/dist/chunks/{repository-cache-7w2ypzdf.js → worktree-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-cache-7weczvnd.js → worktree-7weczvnd.js} +1 -1
- package/dist/chunks/{repository-cache-zr3g104n.js → worktree-7y2ake26.js} +31 -31
- package/dist/chunks/{repository-cache-775hqbnd.js → worktree-80mg3ag8.js} +3 -3
- package/dist/chunks/{repository-cache-2nkkrr4x.js → worktree-83f3tnz4.js} +6 -6
- package/dist/chunks/{repository-cache-w1zbp91c.js → worktree-83n3qhh1.js} +17 -17
- package/dist/chunks/{repository-cache-gxv9tb5f.js → worktree-846d36hk.js} +9 -9
- package/dist/chunks/{repository-cache-89287pr7.js → worktree-89287pr7.js} +1 -1
- package/dist/chunks/{repository-cache-d9489a9w.js → worktree-89a739eh.js} +31 -31
- package/dist/chunks/{repository-cache-90kkzkta.js → worktree-8bgvxr21.js} +37 -37
- package/dist/chunks/{repository-cache-5whx36p1.js → worktree-8cg7mtm3.js} +4 -4
- package/dist/chunks/worktree-8cxynj88.js +265 -0
- package/dist/chunks/{repository-cache-v855tvv8.js → worktree-8ed3t8h5.js} +20 -20
- package/dist/chunks/{repository-cache-6g3dkt3t.js → worktree-8gsz1vrk.js} +8 -8
- package/dist/chunks/{repository-cache-fpm67y1g.js → worktree-8n9wgy94.js} +29 -29
- package/dist/chunks/{repository-cache-b7ktmhta.js → worktree-8qpxm99b.js} +1 -1
- package/dist/chunks/{repository-cache-bb3mmwvh.js → worktree-8sxe6kv8.js} +2 -2
- package/dist/chunks/{repository-cache-8wtp7s3z.js → worktree-8wtp7s3z.js} +1 -1
- package/dist/chunks/{repository-cache-ygwvpf8d.js → worktree-8xv4yg02.js} +21 -21
- package/dist/chunks/{repository-cache-90zstvax.js → worktree-90zstvax.js} +1 -1
- package/dist/chunks/{repository-cache-sm0v90f9.js → worktree-92j0c8pv.js} +8 -8
- package/dist/chunks/{repository-cache-a3s22kmw.js → worktree-93eyz745.js} +22 -22
- package/dist/chunks/{repository-cache-z80h4ch5.js → worktree-95gfcqac.js} +3 -3
- package/dist/chunks/{repository-cache-bjtg0brr.js → worktree-95vnrqnk.js} +9 -9
- package/dist/chunks/{repository-cache-a7c4pw7v.js → worktree-961snsdf.js} +31 -31
- package/dist/chunks/{repository-cache-547f58dw.js → worktree-98a44ep4.js} +12 -12
- package/dist/chunks/{repository-cache-a4qk5w5d.js → worktree-9aft4c63.js} +29 -29
- package/dist/chunks/{repository-cache-hy8c1z76.js → worktree-9kg5w032.js} +8 -8
- package/dist/chunks/{repository-cache-2bkxkssk.js → worktree-9vw34fdr.js} +16 -16
- package/dist/chunks/{repository-cache-m5m4mawt.js → worktree-a22re53n.js} +21 -21
- package/dist/chunks/{repository-cache-s1ba0vj0.js → worktree-ad21tgm2.js} +4 -4
- package/dist/chunks/{repository-cache-qkc4txyr.js → worktree-adbhcxyp.js} +8 -8
- package/dist/chunks/{repository-cache-rzty0zjf.js → worktree-af349d2v.js} +27 -27
- package/dist/chunks/{repository-cache-3417we6b.js → worktree-aj26m6z0.js} +20 -20
- package/dist/chunks/{repository-cache-rz2thdqz.js → worktree-amws027c.js} +13 -13
- package/dist/chunks/{repository-cache-k3n61p26.js → worktree-anqtxtga.js} +4 -4
- package/dist/chunks/{repository-cache-2bzd8xhn.js → worktree-at8vr1jg.js} +16 -16
- package/dist/chunks/{repository-cache-qvbkypgt.js → worktree-av89gnzb.js} +8 -8
- package/dist/chunks/{repository-cache-jx8bmjsr.js → worktree-ay5x4fy8.js} +4 -4
- package/dist/chunks/{repository-cache-3cbjf1nt.js → worktree-ayjs7tqn.js} +2 -2
- package/dist/chunks/{repository-cache-w2sb21bb.js → worktree-ayyfmxcr.js} +10 -10
- package/dist/chunks/{repository-cache-13azwye7.js → worktree-b06t0j8h.js} +26 -26
- package/dist/chunks/{repository-cache-2v9bwn6p.js → worktree-b2qcjbew.js} +26 -26
- package/dist/chunks/{repository-cache-yb0kaana.js → worktree-b6mx9f7p.js} +4 -4
- package/dist/chunks/{repository-cache-b6vsg801.js → worktree-b6vsg801.js} +2 -2
- package/dist/chunks/{repository-cache-bdhd9h6e.js → worktree-bdhd9h6e.js} +1 -1
- package/dist/chunks/{repository-cache-58m8vf1z.js → worktree-bea5kyzz.js} +3 -3
- package/dist/chunks/{repository-cache-k55yvrq8.js → worktree-bfnkcv8p.js} +18 -18
- package/dist/chunks/{repository-cache-zqdxcy8n.js → worktree-bjzwn0fc.js} +11 -11
- package/dist/chunks/{repository-cache-z597atea.js → worktree-bpqft4yq.js} +16 -16
- package/dist/chunks/{repository-cache-fzzzdqc6.js → worktree-bsmg59x4.js} +3 -3
- package/dist/chunks/{repository-cache-bstexjd6.js → worktree-bstexjd6.js} +1 -1
- package/dist/chunks/{repository-cache-zpdbqgja.js → worktree-by8ty0bx.js} +4 -4
- package/dist/chunks/{repository-cache-j37yf9v9.js → worktree-c13wcaar.js} +4 -4
- package/dist/chunks/{repository-cache-kmxn7wqn.js → worktree-c2sxx3q3.js} +87 -87
- package/dist/chunks/{repository-cache-djadtdmr.js → worktree-c32zfq3f.js} +8 -8
- package/dist/chunks/{repository-cache-egvm6jsd.js → worktree-cbt48p4z.js} +6 -6
- package/dist/chunks/{repository-cache-1ks5bmjz.js → worktree-cct1g720.js} +23 -23
- package/dist/chunks/{repository-cache-h292zkzt.js → worktree-cf51b305.js} +16 -16
- package/dist/chunks/{repository-cache-y9aejyyw.js → worktree-cfm1yjxv.js} +6 -6
- package/dist/chunks/{repository-cache-ppq4hptg.js → worktree-cnm4awrx.js} +48 -48
- package/dist/chunks/{repository-cache-ekkxmf4g.js → worktree-cpgc0rt5.js} +9 -9
- package/dist/chunks/{repository-cache-2wy5z9ty.js → worktree-cvzc8cs9.js} +18 -18
- package/dist/chunks/{repository-cache-cwrgdav8.js → worktree-cwrgdav8.js} +2 -2
- package/dist/chunks/{repository-cache-5ahnxwze.js → worktree-d0btwhwp.js} +14 -14
- package/dist/chunks/{repository-cache-xvdjg6fr.js → worktree-d36ayzjy.js} +25 -25
- package/dist/chunks/{repository-cache-sf93egv7.js → worktree-d4jg59d1.js} +36 -36
- package/dist/chunks/{repository-cache-dvnqv6yn.js → worktree-d4qb2rc3.js} +4 -4
- package/dist/chunks/{repository-cache-d4v9tmah.js → worktree-d4v9tmah.js} +2 -2
- package/dist/chunks/{repository-cache-1bhkzdch.js → worktree-d4zhgmkx.js} +15 -15
- package/dist/chunks/{repository-cache-961y95hh.js → worktree-d5cy4hj8.js} +15 -15
- package/dist/chunks/{repository-cache-2n444ktb.js → worktree-d8wpb085.js} +3 -3
- package/dist/chunks/{repository-cache-hnb0d39k.js → worktree-dm0jrs5z.js} +11 -11
- package/dist/chunks/{repository-cache-8nxj1m7z.js → worktree-dqz4v4b1.js} +5 -5
- package/dist/chunks/{repository-cache-vmeb0awz.js → worktree-ds00na2f.js} +9 -9
- package/dist/chunks/{repository-cache-qew61d36.js → worktree-ds78r8ez.js} +18 -18
- package/dist/chunks/{repository-cache-dt77769w.js → worktree-dt77769w.js} +1 -1
- package/dist/chunks/{repository-cache-5fn96twt.js → worktree-dthn5xfm.js} +16 -16
- package/dist/chunks/{repository-cache-5k804pna.js → worktree-e0dfrqtx.js} +23 -23
- package/dist/chunks/{repository-cache-me215f18.js → worktree-e1ccxrq8.js} +1 -1
- package/dist/chunks/{repository-cache-z5sz7hwb.js → worktree-e79zfzq8.js} +19 -19
- package/dist/chunks/{repository-cache-e834z07m.js → worktree-e834z07m.js} +1 -1
- package/dist/chunks/{repository-cache-6rqkmd8e.js → worktree-ea551tjd.js} +2 -2
- package/dist/chunks/{repository-cache-nn2nd58t.js → worktree-ep6pe98a.js} +7 -7
- package/dist/chunks/{repository-cache-eqw4pqj1.js → worktree-eqw4pqj1.js} +2 -2
- package/dist/chunks/{repository-cache-c2dg807n.js → worktree-er9m98qz.js} +9 -9
- package/dist/chunks/{repository-cache-z2c7h4zy.js → worktree-evcme5n9.js} +30 -30
- package/dist/chunks/{repository-cache-vmd9k8k4.js → worktree-ewpafzrt.js} +4 -4
- package/dist/chunks/{repository-cache-r3kjc32h.js → worktree-exx5afb5.js} +46 -46
- package/dist/chunks/{repository-cache-sspakpas.js → worktree-ez8h1hnq.js} +15 -15
- package/dist/chunks/{repository-cache-zqr5m7be.js → worktree-f4jww6xy.js} +9 -9
- package/dist/chunks/{repository-cache-72qd88hk.js → worktree-f6jsm0hh.js} +10 -10
- package/dist/chunks/{repository-cache-fffv3p7h.js → worktree-fffv3p7h.js} +1 -1
- package/dist/chunks/{repository-cache-zqn6cjdt.js → worktree-fnk39w76.js} +28 -28
- package/dist/chunks/{repository-cache-t4hge8sb.js → worktree-fs8169v1.js} +13 -13
- package/dist/chunks/{repository-cache-736ddtmh.js → worktree-fxemjphr.js} +25 -25
- package/dist/chunks/{repository-cache-egaw8nr4.js → worktree-g3kmxrr7.js} +32 -32
- package/dist/chunks/{repository-cache-8eynzsy4.js → worktree-g4sksxkq.js} +16 -16
- package/dist/chunks/{repository-cache-zgygn8pe.js → worktree-g5xtrw43.js} +9 -9
- package/dist/chunks/{repository-cache-0adzp7zb.js → worktree-gb9fc6j3.js} +3 -3
- package/dist/chunks/{repository-cache-gbjdnr5j.js → worktree-gbjdnr5j.js} +2 -2
- package/dist/chunks/{repository-cache-ghrv1g9c.js → worktree-ghrv1g9c.js} +1 -1
- package/dist/chunks/{repository-cache-rvc92y6q.js → worktree-gmxj1p4q.js} +16 -16
- package/dist/chunks/{repository-cache-09g33x36.js → worktree-gqb1zb1g.js} +25 -25
- package/dist/chunks/{repository-cache-bb3pv0r8.js → worktree-h5gm5jf1.js} +7 -7
- package/dist/chunks/{repository-cache-ybyr3s63.js → worktree-h8v5vxey.js} +38 -38
- package/dist/chunks/{repository-cache-q665r85f.js → worktree-hm3106mz.js} +8 -8
- package/dist/chunks/{repository-cache-9a7pwgbe.js → worktree-hpm8jzxe.js} +11 -11
- package/dist/chunks/{repository-cache-39dyyae8.js → worktree-hrmcrqzx.js} +21 -21
- package/dist/chunks/{repository-cache-530xg6vw.js → worktree-ht9r4qkp.js} +3 -3
- package/dist/chunks/{repository-cache-2b8138vk.js → worktree-hwc8smr1.js} +19 -19
- package/dist/chunks/{repository-cache-zj99wmzn.js → worktree-hws4enq1.js} +19 -19
- package/dist/chunks/{repository-cache-5j1gdy2a.js → worktree-j9015zjk.js} +16 -16
- package/dist/chunks/{repository-cache-zm7k6k12.js → worktree-jb7jr1xx.js} +20 -20
- package/dist/chunks/{repository-cache-q2yv65ar.js → worktree-jbjxtmqj.js} +10 -10
- package/dist/chunks/{repository-cache-j376ae4e.js → worktree-jht64jd1.js} +7 -7
- package/dist/chunks/{repository-cache-62y4rc8q.js → worktree-jjn5kh7j.js} +2 -2
- package/dist/chunks/{repository-cache-nm903r8p.js → worktree-jmh1j2qr.js} +9 -9
- package/dist/chunks/{repository-cache-s66wmkhg.js → worktree-jn8s1hgw.js} +14 -14
- package/dist/chunks/{repository-cache-9zwexsxs.js → worktree-jv5ccajn.js} +5 -5
- package/dist/chunks/{repository-cache-3xvjtn27.js → worktree-k0xgdmgp.js} +40 -40
- package/dist/chunks/{repository-cache-cnh7rm97.js → worktree-k2m8pptq.js} +5 -5
- package/dist/chunks/{repository-cache-qsdghx1p.js → worktree-k3cx6fhe.js} +4 -4
- package/dist/chunks/{repository-cache-1j777bfw.js → worktree-kac7mdmg.js} +15 -15
- package/dist/chunks/{repository-cache-sh8dybvd.js → worktree-kbesq96w.js} +16 -16
- package/dist/chunks/{repository-cache-hyp78yrr.js → worktree-kca3ks3m.js} +2 -2
- package/dist/chunks/{repository-cache-kh8gdsej.js → worktree-kh8gdsej.js} +1 -1
- package/dist/chunks/{repository-cache-81nnqmtx.js → worktree-khtr56zv.js} +9 -9
- package/dist/chunks/{repository-cache-wxgjsayh.js → worktree-knagcy2c.js} +11 -11
- package/dist/chunks/{repository-cache-ax9yt40k.js → worktree-ktpxqw2h.js} +33 -33
- package/dist/chunks/{repository-cache-a3fn0gmm.js → worktree-kx6k3fz0.js} +2 -2
- package/dist/chunks/{repository-cache-kzczzf4v.js → worktree-kzczzf4v.js} +1 -1
- package/dist/chunks/{repository-cache-24n4d6cx.js → worktree-kzf5a7tk.js} +24 -24
- package/dist/chunks/{repository-cache-ng4tgbdz.js → worktree-m0xtcepj.js} +12 -12
- package/dist/chunks/{repository-cache-m1714858.js → worktree-m1714858.js} +1 -1
- package/dist/chunks/{repository-cache-rhrvxtbv.js → worktree-m46bs37d.js} +5 -5
- package/dist/chunks/{repository-cache-hrm1m8qr.js → worktree-m7z4xv15.js} +10 -10
- package/dist/chunks/{repository-cache-8n065enx.js → worktree-m98mfqd1.js} +28 -28
- package/dist/chunks/{repository-cache-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-27zyrpv6.js → worktree-mawyj6r0.js} +9 -9
- package/dist/chunks/{repository-cache-8z6m94af.js → worktree-mb7mbhnz.js} +3 -3
- package/dist/chunks/{repository-cache-hqk2k8xj.js → worktree-mfx89st4.js} +26 -26
- package/dist/chunks/{repository-cache-mm06edep.js → worktree-mm06edep.js} +1 -1
- package/dist/chunks/{repository-cache-b0v1b7fn.js → worktree-n1cw8e13.js} +20 -20
- package/dist/chunks/{repository-cache-x9mmymez.js → worktree-n281rjbk.js} +20 -20
- package/dist/chunks/{repository-cache-j7az9s63.js → worktree-n380c2qg.js} +10 -10
- package/dist/chunks/{repository-cache-96djdqw5.js → worktree-n4z1q12f.js} +7 -7
- package/dist/chunks/{repository-cache-9s3yj0sr.js → worktree-naa63k2q.js} +5 -5
- package/dist/chunks/{repository-cache-h8pahg21.js → worktree-naw23477.js} +8 -8
- package/dist/chunks/{repository-cache-tz8eqr11.js → worktree-ndxv5fgk.js} +9 -9
- package/dist/chunks/{repository-cache-yd23tfnp.js → worktree-nfp7sj2n.js} +12 -12
- package/dist/chunks/{repository-cache-exczwvtg.js → worktree-nhaepnzz.js} +8 -8
- package/dist/chunks/{repository-cache-jtzsqfs7.js → worktree-nywnbdne.js} +38 -38
- package/dist/chunks/{repository-cache-nyxvvj5y.js → worktree-nyxvvj5y.js} +1 -1
- package/dist/chunks/{repository-cache-bypxbsw9.js → worktree-p1gsvzc2.js} +44 -44
- package/dist/chunks/{repository-cache-wejt8t5z.js → worktree-p9gzhtz4.js} +9 -9
- package/dist/chunks/{repository-cache-hekkv63g.js → worktree-pb0kf979.js} +8 -8
- package/dist/chunks/{repository-cache-2ra1cvjf.js → worktree-pgz0w21z.js} +6 -6
- package/dist/chunks/{repository-cache-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-49hd1xwg.js → worktree-pnmmcska.js} +8 -8
- package/dist/chunks/{repository-cache-zyj9z8ep.js → worktree-pr7ytc8h.js} +5 -5
- package/dist/chunks/{repository-cache-02t44gtr.js → worktree-prpax9jh.js} +18 -18
- package/dist/chunks/{repository-cache-fg9p65nk.js → worktree-prq7xxp2.js} +6 -6
- package/dist/chunks/{repository-cache-82phgae0.js → worktree-pyc3gczw.js} +5 -5
- package/dist/chunks/{repository-cache-xk70r0xg.js → worktree-pz7ryx86.js} +11 -11
- package/dist/chunks/{repository-cache-cpvd08na.js → worktree-q2jwrh60.js} +7 -7
- package/dist/chunks/{repository-cache-wa8k00xj.js → worktree-q6bn7qw5.js} +6 -6
- package/dist/chunks/{repository-cache-qnkwvqz5.js → worktree-qfcp58yd.js} +3 -3
- package/dist/chunks/{repository-cache-3h58wb74.js → worktree-qgacq5ss.js} +149 -149
- package/dist/chunks/{repository-cache-qj27ec1j.js → worktree-qj27ec1j.js} +2 -2
- package/dist/chunks/{repository-cache-qw2t3dzn.js → worktree-qnqasnye.js} +6 -6
- package/dist/chunks/{repository-cache-qp7r0hxv.js → worktree-qp7r0hxv.js} +1 -1
- package/dist/chunks/{repository-cache-29spxmm1.js → worktree-qpxhges9.js} +91 -91
- package/dist/chunks/{repository-cache-p911a251.js → worktree-qrag8e5m.js} +17 -17
- package/dist/chunks/{repository-cache-ksynm84d.js → worktree-qsvhze68.js} +9 -9
- package/dist/chunks/{repository-cache-xspsstjq.js → worktree-r0whk7ma.js} +25 -25
- package/dist/chunks/{repository-cache-4f25tdd0.js → worktree-r542h3bh.js} +5 -5
- package/dist/chunks/{repository-cache-kqz76vss.js → worktree-r54rewjw.js} +6 -6
- package/dist/chunks/{repository-cache-t62dywgn.js → worktree-r7zrbnjn.js} +4 -4
- package/dist/chunks/{repository-cache-rb9dy4dg.js → worktree-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-cache-y7en4463.js → worktree-rdwatp9k.js} +25 -25
- package/dist/chunks/{repository-cache-rgc9cx3e.js → worktree-rgc9cx3e.js} +2 -2
- package/dist/chunks/{repository-cache-rj7jtxy8.js → worktree-rj7jtxy8.js} +3 -3
- package/dist/chunks/{repository-cache-2q4e7h3s.js → worktree-rjyw8k91.js} +6 -6
- package/dist/chunks/{repository-cache-ank6kxcz.js → worktree-rprtd7qs.js} +38 -38
- package/dist/chunks/{repository-cache-by7xstp6.js → worktree-rqyv1z04.js} +29 -29
- package/dist/chunks/{repository-cache-rt5dr6hb.js → worktree-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-cache-9sg0wm7t.js → worktree-rwww5gz5.js} +6 -6
- package/dist/chunks/{repository-cache-anvcme1c.js → worktree-rzg6y5rp.js} +4 -4
- package/dist/chunks/{repository-cache-k5e1avmb.js → worktree-s5x95w9q.js} +19 -19
- package/dist/chunks/{repository-cache-sa3fpqfw.js → worktree-sa3fpqfw.js} +2 -2
- package/dist/chunks/{repository-cache-sbya78hr.js → worktree-sbya78hr.js} +1 -1
- package/dist/chunks/{repository-cache-rwk2fnkc.js → worktree-sd5wz7t0.js} +3 -3
- package/dist/chunks/{repository-cache-ddqj5act.js → worktree-sf19b4c0.js} +11 -11
- package/dist/chunks/{repository-cache-ecgv8t09.js → worktree-sf9kdjc8.js} +14 -14
- package/dist/chunks/{repository-cache-4krr2nde.js → worktree-sfstx19v.js} +3 -3
- package/dist/chunks/{repository-cache-0hyhtq4c.js → worktree-sjap4pz8.js} +4 -4
- package/dist/chunks/{repository-cache-sqjzf8x2.js → worktree-sqjzf8x2.js} +1 -1
- package/dist/chunks/{repository-cache-7z4ak66b.js → worktree-ss4ezae1.js} +11 -11
- package/dist/chunks/{repository-cache-dxgez5jx.js → worktree-ss9p8hht.js} +29 -29
- package/dist/chunks/{repository-cache-fyj1dbpy.js → worktree-stef8tmv.js} +18 -18
- package/dist/chunks/{repository-cache-svcy3p9a.js → worktree-svcy3p9a.js} +1 -1
- package/dist/chunks/{repository-cache-5s6463et.js → worktree-sycm2b37.js} +32 -32
- package/dist/chunks/{repository-cache-tczq8hjw.js → worktree-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-cache-ezxsjh08.js → worktree-tdbd8yb5.js} +12 -12
- package/dist/chunks/{repository-cache-h9eg8jc4.js → worktree-te2w08x9.js} +6 -6
- package/dist/chunks/{repository-cache-n3r7whw8.js → worktree-tf0ezbbb.js} +33 -33
- package/dist/chunks/{repository-cache-gxs71cxp.js → worktree-tg7s7b5t.js} +4 -4
- package/dist/chunks/{repository-cache-begae6zc.js → worktree-tk98v5r9.js} +25 -25
- package/dist/chunks/{repository-cache-27dzbw4h.js → worktree-tpsybwrx.js} +10 -10
- package/dist/chunks/{repository-cache-wqqnv1v8.js → worktree-tswxjmd9.js} +9 -9
- package/dist/chunks/{repository-cache-jxd6f16v.js → worktree-twhtcdx9.js} +4 -4
- package/dist/chunks/{repository-cache-twssxy5n.js → worktree-twssxy5n.js} +2 -2
- package/dist/chunks/{repository-cache-v2r1d0zg.js → worktree-v2r1d0zg.js} +1 -1
- package/dist/chunks/{repository-cache-2cdjxzfg.js → worktree-vg0erq9k.js} +3 -3
- package/dist/chunks/{repository-cache-vjf35v1f.js → worktree-vjf35v1f.js} +1 -1
- package/dist/chunks/{repository-cache-qfz6bxfd.js → worktree-vmqe41cb.js} +4 -4
- package/dist/chunks/{repository-cache-v6nb87wz.js → worktree-vr16wtjc.js} +4 -4
- package/dist/chunks/{repository-cache-ez51m0yv.js → worktree-vrmm67y9.js} +28 -28
- package/dist/chunks/{repository-cache-40za9wsf.js → worktree-w2eysc6j.js} +9 -9
- package/dist/chunks/{repository-cache-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-zm7n7efa.js → worktree-w4236kmx.js} +13 -13
- package/dist/chunks/{repository-cache-vsbgckmw.js → worktree-w5sebgte.js} +33 -33
- package/dist/chunks/{repository-cache-2kg89srt.js → worktree-w79nt68w.js} +4 -4
- package/dist/chunks/{repository-cache-4ac5e6w9.js → worktree-w7ndkmqc.js} +7 -7
- package/dist/chunks/{repository-cache-wakvkjy4.js → worktree-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-cache-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-nx4vzyjd.js → worktree-wegkxhrn.js} +2 -2
- package/dist/chunks/{repository-cache-wnhgecwx.js → worktree-wnhgecwx.js} +1 -1
- package/dist/chunks/{repository-cache-5zs6fyrb.js → worktree-wp1tr40y.js} +15 -15
- package/dist/chunks/{repository-cache-w687dnns.js → worktree-wr3re1en.js} +4 -4
- package/dist/chunks/{repository-cache-3a8qw1j9.js → worktree-wvdj0ybt.js} +32 -32
- package/dist/chunks/{repository-cache-0kfk3gtp.js → worktree-wyznt5q3.js} +26 -26
- package/dist/chunks/{repository-cache-a9bcqam0.js → worktree-x2k1ychw.js} +42 -42
- package/dist/chunks/{repository-cache-3hg9251g.js → worktree-x5t3tk8c.js} +25 -25
- package/dist/chunks/{repository-cache-g82c1sh7.js → worktree-xkbnndjd.js} +9 -9
- package/dist/chunks/{repository-cache-7f2htwtk.js → worktree-xp2necrq.js} +8 -8
- package/dist/chunks/{repository-cache-19jcgvh6.js → worktree-xqcc0dy1.js} +18 -18
- package/dist/chunks/{repository-cache-ymjz6cgf.js → worktree-xx3wcr8r.js} +5 -5
- package/dist/chunks/{repository-cache-xjr6c8m4.js → worktree-xxschbft.js} +4 -4
- package/dist/chunks/{repository-cache-azh9n0cz.js → worktree-y5mh7vp2.js} +48 -48
- package/dist/chunks/{repository-cache-70swf591.js → worktree-y6nnjvpa.js} +18 -18
- package/dist/chunks/{repository-cache-4mpxadt6.js → worktree-yamd53dj.js} +37 -37
- package/dist/chunks/{repository-cache-yb20nhc3.js → worktree-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-cache-s5jd1zzq.js → worktree-ycgjzw5v.js} +84 -84
- package/dist/chunks/{repository-cache-r2zyqmnw.js → worktree-ygzm2mme.js} +19 -19
- package/dist/chunks/{repository-cache-kbegxyb9.js → worktree-yhkf6q0d.js} +7 -7
- package/dist/chunks/{repository-cache-54xtxb0q.js → worktree-ykdx9v5d.js} +30 -30
- package/dist/chunks/{repository-cache-yr705xyq.js → worktree-yr705xyq.js} +1 -1
- package/dist/chunks/{repository-cache-v2x3jtqh.js → worktree-ysqjx66q.js} +6 -6
- package/dist/chunks/{repository-cache-xksw6ev0.js → worktree-yts2a8qm.js} +4 -4
- package/dist/chunks/{repository-cache-yvtc2x31.js → worktree-yvtc2x31.js} +1 -1
- package/dist/chunks/{repository-cache-p5tk1xdz.js → worktree-ywv6jdkf.js} +11 -11
- package/dist/chunks/worktree-z355x5yr.js +18 -0
- package/dist/chunks/{repository-cache-963hk181.js → worktree-z7881fav.js} +7 -7
- package/dist/chunks/{repository-cache-cwy0vxkf.js → worktree-zcg95h97.js} +24 -24
- package/dist/chunks/{repository-cache-j9nxzz3g.js → worktree-ze75qvmd.js} +3 -3
- package/dist/chunks/{repository-cache-ewan1qgf.js → worktree-zj2xda4y.js} +59 -59
- package/dist/chunks/{repository-cache-ra4eg6v2.js → worktree-ztca8zvm.js} +13 -13
- package/dist/chunks/{repository-cache-rcbjwvze.js → worktree-ztf6n3de.js} +4 -4
- package/dist/chunks/{repository-cache-ydbbrfg1.js → worktree-ztr7xwzb.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +236 -236
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +143 -143
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +130 -130
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/database.js +81 -81
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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/v1-migration.bun.js +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +437 -437
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +85 -85
- package/dist/file-access.js +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +249 -249
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +5 -5
- package/dist/filesystem.js +114 -114
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- 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 +106 -106
- 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/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +428 -428
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +179 -179
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +425 -425
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +155 -155
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +179 -179
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +154 -154
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +153 -153
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +240 -240
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +406 -406
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +5 -5
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +157 -157
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +235 -235
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +416 -416
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +247 -247
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +110 -110
- 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 +101 -101
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +245 -245
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +251 -251
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +200 -200
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +246 -246
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +202 -202
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -147
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +167 -167
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +254 -254
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +182 -182
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +149 -149
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +86 -86
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +204 -204
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +247 -247
- package/dist/session/usage.js +3 -3
- package/dist/session.js +237 -237
- package/dist/shared-cache.js +5 -5
- 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 +11 -11
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +102 -102
- 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 +180 -180
- package/dist/tool/plugin/artifact.js +232 -232
- package/dist/tool/plugin/edit.js +167 -167
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +165 -165
- package/dist/tool/plugin/grep.js +170 -170
- package/dist/tool/plugin/image-generate.js +241 -241
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +168 -168
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +172 -172
- package/dist/tool/plugin/schedule.js +251 -251
- package/dist/tool/plugin/shell.js +237 -237
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +234 -234
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +168 -168
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -159
- package/dist/usage-limits.js +98 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +105 -105
- package/dist/v1/config/permission.js +3 -3
- 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 +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +84 -84
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +9 -9
- package/dist/chunks/repository-cache-1ymyvt39.js +0 -571
- package/dist/chunks/repository-cache-2jjfs7g5.js +0 -16
- package/dist/chunks/repository-cache-f8ma18fn.js +0 -18
- package/dist/chunks/repository-cache-hfamnwgy.js +0 -265
- package/dist/chunks/repository-cache-x0g2yw4m.js +0 -26
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-108x4f4w.js → worktree-108x4f4w.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kah00gy.js → worktree-1kah00gy.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → worktree-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3af0jn4w.js → worktree-3af0jn4w.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4qk9sjk2.js → worktree-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5w3e23ze.js → worktree-5w3e23ze.js} +0 -0
- /package/dist/chunks/{repository-cache-6agm2x70.js → worktree-6agm2x70.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → worktree-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-beh6qq61.js → worktree-beh6qq61.js} +0 -0
- /package/dist/chunks/{repository-cache-bhmrqjy3.js → worktree-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cqv5kn06.js → worktree-cqv5kn06.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-ean2d8b5.js → worktree-ean2d8b5.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fkpq3x5p.js → worktree-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jwr30sdr.js → worktree-jwr30sdr.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → worktree-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-nh4v3znn.js → worktree-nh4v3znn.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-p71gwv9c.js → worktree-p71gwv9c.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-syrav9an.js → worktree-syrav9an.js} +0 -0
- /package/dist/chunks/{repository-cache-t03h4f5z.js → worktree-t03h4f5z.js} +0 -0
- /package/dist/chunks/{repository-cache-ty7weeps.js → worktree-ty7weeps.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-vtarvj67.js → worktree-vtarvj67.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-z0h12gs8.js → worktree-z0h12gs8.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → worktree-z9919s4g.js} +0 -0
- /package/dist/chunks/{repository-cache-zxpyjp51.js → worktree-zxpyjp51.js} +0 -0
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node78
|
|
9
|
+
} from "./worktree-n1cw8e13.js";
|
|
10
10
|
import {
|
|
11
11
|
Content4
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-a22re53n.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-4pyp9zr9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service34,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node39,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service34 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -331,13 +331,13 @@ var nthNewline = (bytes, count) => {
|
|
|
331
331
|
return index + 1;
|
|
332
332
|
}
|
|
333
333
|
};
|
|
334
|
-
var layer = Layer.effect(
|
|
335
|
-
const environment = yield*
|
|
336
|
-
return
|
|
334
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
335
|
+
const environment = yield* Service75;
|
|
336
|
+
return Service34.of({
|
|
337
337
|
list: environment.files.list,
|
|
338
338
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
339
339
|
});
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
341
|
+
var node39 = makeLocationNode({ service: Service34, layer, deps: [node78] });
|
|
342
342
|
|
|
343
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
343
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service34, read2, node39, exports_read_filesystem };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-0ma9gw4f.js";
|
|
4
4
|
import {
|
|
5
5
|
ID18,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./worktree-b2qcjbew.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service16,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
20
|
layer: () => layer9,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node18
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -37,11 +37,11 @@ class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service16 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var layer9 = Layer.effect(
|
|
42
|
+
var layer9 = Layer.effect(Service16, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
44
|
+
const integrations = yield* Service82;
|
|
45
45
|
const findConnection = (provider, methods = ["key"]) => integrations.get(ID18.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
46
46
|
const source = Effect.fnUntraced(function* (engine) {
|
|
47
47
|
const connection = yield* findConnection(engine.provider);
|
|
@@ -81,12 +81,12 @@ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
81
81
|
...access
|
|
82
82
|
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: found.provider })));
|
|
83
83
|
});
|
|
84
|
-
return
|
|
84
|
+
return Service16.of({ models, session });
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
87
|
-
service:
|
|
86
|
+
var node18 = makeLocationNode({
|
|
87
|
+
service: Service16,
|
|
88
88
|
layer: layer9,
|
|
89
|
-
deps: [
|
|
89
|
+
deps: [node86, requestExecutor2]
|
|
90
90
|
});
|
|
91
91
|
var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
|
|
92
92
|
var sessionAccess = (provider, credential) => {
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export { InvalidRequestError2, UnavailableError2,
|
|
111
|
+
export { InvalidRequestError2, UnavailableError2, Service16, layer9, node18, exports_voice };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID13 = Session.ID;
|
|
5
|
+
var Info13 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID13, Info13, SessionSchema2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-w2eysc6j.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
register3
|
|
6
|
+
} from "./worktree-xxschbft.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/exa.ts
|
|
12
12
|
var exports_exa = {};
|
|
13
13
|
__export(exports_exa, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin42,
|
|
15
15
|
WebSearchExa: () => exports_exa,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://mcp.exa.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -30,16 +30,16 @@ var McpOutput = Schema.Struct({
|
|
|
30
30
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
31
31
|
}))
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Plugin42 = define({
|
|
34
34
|
id: "opencode.websearch.exa",
|
|
35
35
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
36
36
|
const http = yield* HttpClient.HttpClient;
|
|
37
|
-
yield*
|
|
37
|
+
yield* register3(ctx, {
|
|
38
38
|
id: "exa",
|
|
39
39
|
name: "Exa",
|
|
40
40
|
env: "EXA_API_KEY",
|
|
41
41
|
execute: (input, credential) => Effect.gen(function* () {
|
|
42
|
-
const url = new URL(
|
|
42
|
+
const url = new URL(endpoint5);
|
|
43
43
|
if (credential?.type === "key")
|
|
44
44
|
url.searchParams.set("exaApiKey", credential.key);
|
|
45
45
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -69,4 +69,4 @@ function parseResults(text) {
|
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { endpoint5, Plugin42, exports_exa };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make30,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-r7zrbnjn.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-fffv3p7h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
17
|
var exports_instructions3 = {};
|
|
@@ -113,7 +113,7 @@ var key = Key3.make("core/codemode");
|
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
114
|
var make23 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make30({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service90
|
|
3
|
+
} from "./worktree-at8vr1jg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Event19
|
|
6
|
+
} from "./worktree-rqyv1z04.js";
|
|
7
7
|
import {
|
|
8
8
|
key2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-6dqyy18z.js";
|
|
10
10
|
import {
|
|
11
11
|
interval2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-c32zfq3f.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/refresh.ts
|
|
18
18
|
var exports_refresh = {};
|
|
@@ -25,8 +25,8 @@ __export(exports_refresh, {
|
|
|
25
25
|
});
|
|
26
26
|
import { Duration, Effect, Equal, Fiber, FiberHandle, Semaphore, Stream } from "effect";
|
|
27
27
|
var onSwitch2 = (integrationID, effect) => Effect.gen(function* () {
|
|
28
|
-
const bus = yield*
|
|
29
|
-
yield* bus.subscribe(
|
|
28
|
+
const bus = yield* Service90;
|
|
29
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => effect), Effect.forkScoped({ startImmediately: true }));
|
|
30
30
|
});
|
|
31
31
|
var reloadIfChanged2 = (load, reload) => load.pipe(Effect.flatMap((changed) => changed ? reload : Effect.void));
|
|
32
32
|
var switched2 = (load, apply) => Effect.gen(function* () {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service42,
|
|
3
|
+
node46
|
|
4
|
+
} from "./worktree-x5t3tk8c.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make30,
|
|
9
9
|
listUpdate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-r7zrbnjn.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions5 = {};
|
|
17
|
+
__export(exports_instructions5, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
+
Service: () => Service32,
|
|
20
|
+
node: () => node37
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -53,18 +53,18 @@ var update = listUpdate2({
|
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class Service32 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
57
57
|
}
|
|
58
|
-
var layer = Layer.effect(
|
|
59
|
-
const references = yield*
|
|
60
|
-
return
|
|
58
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
59
|
+
const references = yield* Service42;
|
|
60
|
+
return Service32.of({
|
|
61
61
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
62
62
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
63
63
|
name: reference.name,
|
|
64
64
|
path: reference.path,
|
|
65
65
|
description: reference.description
|
|
66
66
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
67
|
-
return
|
|
67
|
+
return make30({
|
|
68
68
|
key: Key3.make("core/reference-guidance"),
|
|
69
69
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
70
70
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -77,6 +77,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
}));
|
|
80
|
-
var
|
|
80
|
+
var node37 = makeLocationNode({ service: Service32, layer, deps: [node46] });
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { Service32, node37, exports_instructions5 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service91,
|
|
3
|
+
node95
|
|
4
|
+
} from "./worktree-pz7ryx86.js";
|
|
5
5
|
import {
|
|
6
6
|
RecoverySchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-e1ccxrq8.js";
|
|
8
8
|
import {
|
|
9
9
|
JobTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-kzczzf4v.js";
|
|
11
11
|
import {
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-sfstx19v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessage2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-gftt206x.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/job.ts
|
|
22
22
|
var exports_job = {};
|
|
23
23
|
__export(exports_job, {
|
|
24
24
|
Job: () => exports_job,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service47,
|
|
26
26
|
make: () => make28,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node50
|
|
28
28
|
});
|
|
29
29
|
import { asc, eq, or } from "drizzle-orm";
|
|
30
30
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
@@ -40,7 +40,7 @@ var Background = Schema.Struct({
|
|
|
40
40
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
41
41
|
var COMPLETED_LIMIT = 25;
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service47 extends Context.Service()("@opencode/Job") {
|
|
44
44
|
}
|
|
45
45
|
function snapshot(job) {
|
|
46
46
|
return {
|
|
@@ -99,7 +99,7 @@ function decrementSession(input, sessionID) {
|
|
|
99
99
|
return next;
|
|
100
100
|
}
|
|
101
101
|
var make28 = Effect.gen(function* () {
|
|
102
|
-
const db = (yield*
|
|
102
|
+
const db = (yield* Service91).db;
|
|
103
103
|
const state = {
|
|
104
104
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
105
105
|
scope: yield* Scope.Scope
|
|
@@ -392,7 +392,7 @@ var make28 = Effect.gen(function* () {
|
|
|
392
392
|
next.delete(entry[0]);
|
|
393
393
|
return next;
|
|
394
394
|
})));
|
|
395
|
-
return
|
|
395
|
+
return Service47.of({
|
|
396
396
|
get,
|
|
397
397
|
start,
|
|
398
398
|
wait,
|
|
@@ -407,7 +407,7 @@ var make28 = Effect.gen(function* () {
|
|
|
407
407
|
completeBackground
|
|
408
408
|
});
|
|
409
409
|
});
|
|
410
|
-
var layer = Layer.effect(
|
|
411
|
-
var
|
|
410
|
+
var layer = Layer.effect(Service47, make28);
|
|
411
|
+
var node50 = makeGlobalNode({ service: Service47, layer, deps: [node95] });
|
|
412
412
|
|
|
413
|
-
export {
|
|
413
|
+
export { Service47, make28, node50, exports_job };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-92j0c8pv.js";
|
|
5
5
|
import {
|
|
6
6
|
ID18,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./worktree-b2qcjbew.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
17
|
Info: () => Info7,
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
18
|
+
Service: () => Service27,
|
|
19
|
+
UnavailableError: () => UnavailableError5,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer13,
|
|
22
|
+
node: () => node30
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -31,21 +31,21 @@ import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
var Info7 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError5 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service27 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer13 = Layer.effect(Service27, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service82;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
45
|
const connection = yield* integrations.connection.active(ID18.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError5({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer11 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError5({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer11 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service27.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node30 = makeLocationNode({
|
|
72
|
+
service: Service27,
|
|
73
|
+
layer: layer13,
|
|
74
|
+
deps: [node86, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError5({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError5({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export { Info7,
|
|
133
|
+
export { Info7, UnavailableError5, Service27, layer13, node30, exports_usage_limits };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-0gg55sk6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./worktree-g4sksxkq.js";
|
|
7
7
|
import {
|
|
8
8
|
Service77
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-sycm2b37.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-r7zrbnjn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
File3,
|
|
15
|
+
Service67
|
|
16
|
+
} from "./worktree-7y2ake26.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin7
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,16 +31,16 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin7 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service67;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const config = yield* Service77;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
|
-
const location = yield*
|
|
43
|
+
const location = yield* Service86;
|
|
44
44
|
const watcher = yield* Service78;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
@@ -66,13 +66,13 @@ var Plugin26 = define({
|
|
|
66
66
|
yield* updates.pipe(Stream.runForEach(publish), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
}
|
|
68
68
|
const read = Effect.fn("ConfigInstructionPlugin.read")(function* (filepath) {
|
|
69
|
-
return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new
|
|
69
|
+
return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new File3({ path: filepath, content })), Effect.catchIf((error) => error.reason._tag === "NotFound" || FSUtil.isAccessDenied(error), (error) => Effect.logDebug("instruction file skipped", { path: filepath, reason: error.reason._tag }).pipe(Effect.as(error.reason._tag === "NotFound" ? undefined : "denied"))));
|
|
70
70
|
});
|
|
71
71
|
const globalSource = Effect.fn("ConfigInstructionPlugin.globalSource")(function* () {
|
|
72
72
|
if (!discovery.global || !(yield* fs.isFile(globalFile)))
|
|
73
73
|
return [];
|
|
74
74
|
const file = yield* read(globalFile);
|
|
75
|
-
return file instanceof
|
|
75
|
+
return file instanceof File3 ? [file] : [];
|
|
76
76
|
});
|
|
77
77
|
const projectSource = Effect.fn("ConfigInstructionPlugin.projectSource")(function* () {
|
|
78
78
|
if (!project)
|
|
@@ -82,7 +82,7 @@ var Plugin26 = define({
|
|
|
82
82
|
const files = yield* Effect.forEach(discovered, read, { concurrency: "unbounded" });
|
|
83
83
|
if (files.some((file) => file === undefined))
|
|
84
84
|
return unavailable3;
|
|
85
|
-
return files.filter((file) => file instanceof
|
|
85
|
+
return files.filter((file) => file instanceof File3);
|
|
86
86
|
});
|
|
87
87
|
const match = Effect.fn("ConfigInstructionPlugin.match")(function* (source) {
|
|
88
88
|
const expanded = source.startsWith("~/") ? path.join(global.home, source.slice(2)) : source;
|
|
@@ -117,7 +117,7 @@ var Plugin26 = define({
|
|
|
117
117
|
continue;
|
|
118
118
|
watched.add(resolved);
|
|
119
119
|
const file = yield* read(resolved);
|
|
120
|
-
if (file instanceof
|
|
120
|
+
if (file instanceof File3)
|
|
121
121
|
files.push(file);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -136,7 +136,7 @@ var Plugin26 = define({
|
|
|
136
136
|
const reconfigure = Effect.fn("ConfigInstructionPlugin.reconfigure")(function* () {
|
|
137
137
|
const entries = yield* config.entries();
|
|
138
138
|
const sources = Array.from(new Set(entries.flatMap((entry) => entry.type === "document" ? entry.info.instructions ?? [] : [])));
|
|
139
|
-
const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new
|
|
139
|
+
const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new File3({ path: url, content })), Effect.catchCause((cause) => Effect.logWarning("failed to fetch instruction url", { url, cause }).pipe(Effect.as(configured.remote.get(url))))), { concurrency: 4 });
|
|
140
140
|
configured.sources = sources;
|
|
141
141
|
configured.remote = new Map(fetched.filter((file) => file !== undefined).map((file) => [file.path, file]));
|
|
142
142
|
}, (effect) => lock.withPermit(effect));
|
|
@@ -180,4 +180,4 @@ function isUrl(source) {
|
|
|
180
180
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Plugin7, exports_instruction };
|