@opencode/core 0.0.0-dev-19764 → 0.0.0-dev-19767
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{snapshot-wh9qkd2q.js → worktree-0e1gq3bc.js} +10 -10
- package/dist/chunks/{snapshot-tjhefs4s.js → worktree-0gkyeg4t.js} +27 -27
- package/dist/chunks/{snapshot-351s78pd.js → worktree-0kzr3yfx.js} +7 -7
- package/dist/chunks/{snapshot-75pyeabn.js → worktree-0mczw89w.js} +5 -5
- package/dist/chunks/{snapshot-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{snapshot-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
- package/dist/chunks/{snapshot-x5mqk2mr.js → worktree-0yn9kbqd.js} +13 -13
- package/dist/chunks/{snapshot-rkhy5kra.js → worktree-101vsq39.js} +11 -11
- package/dist/chunks/{snapshot-wj1v7459.js → worktree-151xc3da.js} +17 -17
- package/dist/chunks/{snapshot-jvnghvnw.js → worktree-166kng33.js} +8 -8
- package/dist/chunks/{snapshot-vs0kt9qj.js → worktree-1amrr7ey.js} +3 -3
- package/dist/chunks/{snapshot-mhkvc446.js → worktree-1bbkgx8g.js} +3 -3
- package/dist/chunks/{snapshot-p0kmpbry.js → worktree-1c4g78wp.js} +41 -41
- package/dist/chunks/{snapshot-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{snapshot-gf7f2369.js → worktree-1mjwcf4w.js} +8 -8
- package/dist/chunks/{snapshot-581qaqgj.js → worktree-1vk3brhq.js} +11 -11
- package/dist/chunks/{snapshot-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{snapshot-fhs97t90.js → worktree-24dd53tp.js} +9 -9
- package/dist/chunks/{snapshot-88sz8qcd.js → worktree-26k5bknw.js} +4 -4
- package/dist/chunks/{snapshot-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{snapshot-7sbn2nrf.js → worktree-2aet7wja.js} +8 -8
- package/dist/chunks/{snapshot-bjwtmsxg.js → worktree-2hckyyez.js} +181 -181
- package/dist/chunks/{snapshot-2wr7a4zh.js → worktree-2khg11rk.js} +41 -41
- package/dist/chunks/{snapshot-j8qgp22b.js → worktree-2kr5eys4.js} +2 -2
- package/dist/chunks/{snapshot-1ygqh575.js → worktree-33w4ejhs.js} +6 -6
- package/dist/chunks/{snapshot-htyb7pk9.js → worktree-351z34b3.js} +10 -10
- package/dist/chunks/{snapshot-5nyprcjq.js → worktree-38bsz5b6.js} +33 -33
- package/dist/chunks/{snapshot-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{snapshot-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{snapshot-efv4s0g0.js → worktree-3k6sfp50.js} +6 -6
- package/dist/chunks/{snapshot-res40x03.js → worktree-3ktbe3hf.js} +9 -9
- package/dist/chunks/{snapshot-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{snapshot-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{snapshot-wecp16b7.js → worktree-3zgscayf.js} +35 -35
- package/dist/chunks/{snapshot-nkr3c0qp.js → worktree-415h19gn.js} +3 -3
- package/dist/chunks/{snapshot-1mtvnjxb.js → worktree-4bgp2aek.js} +33 -33
- package/dist/chunks/{snapshot-epv923hw.js → worktree-4gsbf2fy.js} +27 -27
- package/dist/chunks/{snapshot-hxg70vay.js → worktree-4hxng2fz.js} +95 -95
- package/dist/chunks/{snapshot-6h3wybc7.js → worktree-4vp46et4.js} +6 -6
- package/dist/chunks/{snapshot-57ez7d0k.js → worktree-57ez7d0k.js} +2 -2
- package/dist/chunks/{snapshot-ggeyn75h.js → worktree-58s60hfc.js} +9 -9
- package/dist/chunks/{snapshot-3sywykg8.js → worktree-5c4wcsgy.js} +73 -73
- package/dist/chunks/{snapshot-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{snapshot-xm9w7m4m.js → worktree-5egw3kcn.js} +10 -10
- package/dist/chunks/{snapshot-bct739vz.js → worktree-5q02cxx3.js} +4 -4
- package/dist/chunks/{snapshot-e3qxr5gk.js → worktree-5qd3pb7m.js} +2 -2
- package/dist/chunks/{snapshot-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{snapshot-fbpv3gtq.js → worktree-5v9kt04s.js} +21 -21
- package/dist/chunks/{snapshot-2k8khapm.js → worktree-607tc6va.js} +5 -5
- package/dist/chunks/{snapshot-rrx6gbpx.js → worktree-63vazbh0.js} +13 -13
- package/dist/chunks/{snapshot-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{snapshot-2402vzrj.js → worktree-6h73sxmp.js} +5 -5
- package/dist/chunks/{snapshot-0996nyz8.js → worktree-6hjx5zpb.js} +5 -5
- package/dist/chunks/{snapshot-zvtcw9kw.js → worktree-6kbabvtn.js} +6 -6
- package/dist/chunks/worktree-6kdq0pjd.js +4 -0
- package/dist/chunks/{snapshot-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{snapshot-94c9dcy8.js → worktree-6t9jm67f.js} +12 -12
- package/dist/chunks/{snapshot-zv20b68g.js → worktree-6wt9h67w.js} +62 -62
- package/dist/chunks/{snapshot-ft919fq2.js → worktree-6x3wj1ns.js} +47 -47
- package/dist/chunks/{snapshot-jbqp0ndx.js → worktree-76kr4s17.js} +5 -5
- package/dist/chunks/{snapshot-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{snapshot-pnsm033q.js → worktree-7d7kf9r8.js} +13 -13
- package/dist/chunks/{snapshot-va8x9q3g.js → worktree-7dyhy7q1.js} +30 -30
- package/dist/chunks/{snapshot-sp6162m5.js → worktree-7p34082x.js} +18 -18
- package/dist/chunks/{snapshot-s714yq90.js → worktree-7rgj22wf.js} +26 -26
- package/dist/chunks/{snapshot-6sh1ew48.js → worktree-7s6gk46a.js} +9 -9
- package/dist/chunks/{snapshot-ae7jk870.js → worktree-7svxd7hr.js} +28 -28
- package/dist/chunks/{snapshot-frcy3q3h.js → worktree-7vt8smsy.js} +24 -24
- package/dist/chunks/{snapshot-vjjfm3h2.js → worktree-81gxmrf7.js} +10 -10
- package/dist/chunks/{snapshot-3c48t5r1.js → worktree-86v3dky3.js} +22 -22
- package/dist/chunks/{snapshot-y1vj7k2w.js → worktree-89m3s2m0.js} +5 -5
- package/dist/chunks/{snapshot-89znhe33.js → worktree-89znhe33.js} +1 -1
- package/dist/chunks/{snapshot-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{snapshot-8p4f9s12.js → worktree-8p4f9s12.js} +2 -2
- package/dist/chunks/{snapshot-mt86ky0j.js → worktree-8pb4qd8n.js} +23 -23
- package/dist/chunks/{snapshot-faw7sx1p.js → worktree-8s9esm8s.js} +12 -12
- package/dist/chunks/{snapshot-5km6923r.js → worktree-8sayz2ry.js} +4 -4
- package/dist/chunks/{snapshot-jj7g1fgg.js → worktree-8vmd40gx.js} +32 -32
- package/dist/chunks/{snapshot-tt4mfncj.js → worktree-973s4paq.js} +3 -3
- package/dist/chunks/{snapshot-r1pvgz74.js → worktree-97grsc5w.js} +11 -11
- package/dist/chunks/{snapshot-at7dy2hw.js → worktree-99jpd8te.js} +12 -12
- package/dist/chunks/{snapshot-e7987fdb.js → worktree-9h6zs5c6.js} +29 -29
- package/dist/chunks/{snapshot-pa8pe2x7.js → worktree-9hn6k4tm.js} +8 -8
- package/dist/chunks/{snapshot-5pjpf2rc.js → worktree-9pnj26g7.js} +28 -28
- package/dist/chunks/{snapshot-ftb7f8ac.js → worktree-9s8wz9g9.js} +3 -3
- package/dist/chunks/{snapshot-p4mnxf58.js → worktree-9vh5rqp9.js} +3 -3
- package/dist/chunks/{snapshot-gqknc3n4.js → worktree-9vkyr3gp.js} +8 -8
- package/dist/chunks/{snapshot-a1bz86dw.js → worktree-a1bz86dw.js} +3 -3
- package/dist/chunks/{snapshot-xdk9p2qn.js → worktree-a8bn8zg0.js} +21 -21
- package/dist/chunks/{snapshot-bfapsvch.js → worktree-aa3v2t1f.js} +11 -11
- package/dist/chunks/{snapshot-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{snapshot-207ajt2h.js → worktree-aeb4sny1.js} +5 -5
- package/dist/chunks/{snapshot-kf2jyg0f.js → worktree-as812ba0.js} +32 -32
- package/dist/chunks/{snapshot-k64xx7v0.js → worktree-aswfnv87.js} +22 -22
- package/dist/chunks/{snapshot-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{snapshot-scq4khx8.js → worktree-b97cbvw3.js} +1 -1
- package/dist/chunks/{snapshot-x8z4mr01.js → worktree-bccs4bt1.js} +17 -17
- package/dist/chunks/{snapshot-szgy4byf.js → worktree-bha4atvq.js} +4 -4
- package/dist/chunks/{snapshot-wwp4x31x.js → worktree-bvnyc1t2.js} +58 -58
- package/dist/chunks/{snapshot-7dqep7dt.js → worktree-byvb6gjv.js} +17 -17
- package/dist/chunks/{snapshot-tn0aqsam.js → worktree-c78bbtc9.js} +5 -5
- package/dist/chunks/{snapshot-fr3t0d7t.js → worktree-c7dfawsb.js} +32 -32
- package/dist/chunks/{snapshot-446tpth2.js → worktree-cax7e9hb.js} +11 -11
- package/dist/chunks/{snapshot-kgajfdja.js → worktree-cdjzdxw3.js} +28 -28
- package/dist/chunks/{snapshot-cfpkc3c9.js → worktree-cfpkc3c9.js} +2 -2
- package/dist/chunks/{snapshot-4dgbcxzg.js → worktree-cpj0znwe.js} +4 -4
- package/dist/chunks/{snapshot-3cz8rj72.js → worktree-cr07tj7n.js} +5 -5
- package/dist/chunks/{snapshot-ztkfav3z.js → worktree-cvw7k98w.js} +9 -9
- package/dist/chunks/{snapshot-xk6xaacw.js → worktree-cw2x2bjr.js} +1 -1
- package/dist/chunks/{snapshot-c765mh8b.js → worktree-cwa6csj7.js} +9 -9
- package/dist/chunks/{snapshot-01va1f3z.js → worktree-cwyz1c8d.js} +11 -11
- package/dist/chunks/{snapshot-440emva9.js → worktree-d04advaa.js} +9 -9
- package/dist/chunks/{snapshot-jfqtm2ew.js → worktree-d216944b.js} +7 -7
- package/dist/chunks/{snapshot-r9mjafdz.js → worktree-d64tg2r5.js} +24 -24
- package/dist/chunks/{snapshot-t1tfeg7z.js → worktree-d9kvw835.js} +6 -6
- package/dist/chunks/{snapshot-wbmqe53j.js → worktree-dbba7j6z.js} +10 -10
- package/dist/chunks/{snapshot-yr0r9rzs.js → worktree-dc1e58jh.js} +43 -43
- package/dist/chunks/{snapshot-277eer69.js → worktree-dj68pnee.js} +4 -4
- package/dist/chunks/{snapshot-b3yej2dp.js → worktree-drdwtp1b.js} +14 -14
- package/dist/chunks/{snapshot-w2rnr668.js → worktree-e2qcy9fz.js} +24 -24
- package/dist/chunks/{snapshot-95w894pf.js → worktree-e7dyj58f.js} +6 -6
- package/dist/chunks/{snapshot-03133x3a.js → worktree-e9g3nry7.js} +28 -28
- package/dist/chunks/{snapshot-t550f9t1.js → worktree-eaj1djv9.js} +8 -8
- package/dist/chunks/{snapshot-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{snapshot-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
- package/dist/chunks/{snapshot-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{snapshot-8x3w3g8n.js → worktree-f17z2c8t.js} +8 -8
- package/dist/chunks/{snapshot-f828m53h.js → worktree-f828m53h.js} +2 -2
- package/dist/chunks/{snapshot-6pzw4973.js → worktree-faj2svbs.js} +9 -9
- package/dist/chunks/{snapshot-8rbkvf2j.js → worktree-fam2aybr.js} +23 -23
- package/dist/chunks/{snapshot-v79sn3xm.js → worktree-fdcdwsmf.js} +11 -11
- package/dist/chunks/{snapshot-kj3y1y0m.js → worktree-fqpen2k4.js} +12 -12
- package/dist/chunks/{snapshot-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{snapshot-bqj53dzg.js → worktree-fzc0zagk.js} +14 -14
- package/dist/chunks/{snapshot-n0q66vsf.js → worktree-g6nrwhst.js} +11 -11
- package/dist/chunks/{snapshot-yqqtqqed.js → worktree-gbnkcvp8.js} +23 -23
- package/dist/chunks/{snapshot-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{snapshot-g2y161wv.js → worktree-gft05b0a.js} +5 -5
- package/dist/chunks/{snapshot-yam5k1bw.js → worktree-ggex864g.js} +4 -4
- package/dist/chunks/{snapshot-y5df08dr.js → worktree-gmjq4p6e.js} +12 -12
- package/dist/chunks/{snapshot-mbn3np8p.js → worktree-gnjcy9v4.js} +21 -21
- package/dist/chunks/{snapshot-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
- package/dist/chunks/{snapshot-9bn5q4dg.js → worktree-gynbp3j3.js} +9 -9
- package/dist/chunks/{snapshot-xfdd6g1y.js → worktree-h0j9vckn.js} +87 -87
- package/dist/chunks/{snapshot-v0mhzyhk.js → worktree-h2pnfxb2.js} +18 -18
- package/dist/chunks/{snapshot-eg2xbpx5.js → worktree-h4bptjw1.js} +3 -3
- package/dist/chunks/{snapshot-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{snapshot-wz24kbdr.js → worktree-hkygx1vj.js} +28 -28
- package/dist/chunks/{snapshot-h7qgt2qa.js → worktree-hnx402aw.js} +5 -5
- package/dist/chunks/{snapshot-fc3hj1hz.js → worktree-hpa29ags.js} +11 -11
- package/dist/chunks/{snapshot-ffkmejj6.js → worktree-hrtbhf2d.js} +21 -21
- package/dist/chunks/{snapshot-q7fyfxhz.js → worktree-ht336jn2.js} +30 -30
- package/dist/chunks/{snapshot-dt7sf2t2.js → worktree-hw9rayzm.js} +36 -36
- package/dist/chunks/{snapshot-j5w2yx54.js → worktree-hwe7x4em.js} +6 -6
- package/dist/chunks/{snapshot-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{snapshot-hwca9pcn.js → worktree-j6mf8xpf.js} +23 -23
- package/dist/chunks/{snapshot-mmpv6r03.js → worktree-j72rwyf1.js} +15 -15
- package/dist/chunks/{snapshot-sfef216m.js → worktree-j972s74s.js} +11 -11
- package/dist/chunks/{snapshot-dxwpfr55.js → worktree-ja7kfczc.js} +28 -28
- package/dist/chunks/{snapshot-em9d1scw.js → worktree-jca4demv.js} +2 -2
- package/dist/chunks/{snapshot-7cx721ez.js → worktree-jj06xv0y.js} +38 -38
- package/dist/chunks/{snapshot-0v85mbt5.js → worktree-jja466qr.js} +19 -19
- package/dist/chunks/{snapshot-1pfd9v32.js → worktree-jq6rrm66.js} +4 -4
- package/dist/chunks/{snapshot-tbdttw7j.js → worktree-jwbs44k2.js} +42 -42
- package/dist/chunks/{snapshot-4jb2hfvf.js → worktree-ka43yy4c.js} +16 -16
- package/dist/chunks/{snapshot-y8pgb3nv.js → worktree-kgy5z1s6.js} +34 -34
- package/dist/chunks/{snapshot-acmkfkts.js → worktree-kh43tbq9.js} +30 -30
- package/dist/chunks/{snapshot-1fc8gdfv.js → worktree-kncab3ca.js} +8 -8
- package/dist/chunks/{snapshot-vg4nwgpm.js → worktree-kqs2tyv4.js} +24 -24
- package/dist/chunks/{snapshot-qkrk4za9.js → worktree-krf6f92z.js} +1 -1
- package/dist/chunks/{snapshot-x38fx7kw.js → worktree-m25ehp29.js} +20 -20
- package/dist/chunks/{snapshot-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{snapshot-sz0hm3w5.js → worktree-m6zv4rm2.js} +20 -20
- package/dist/chunks/{snapshot-q7wkvvj2.js → worktree-m7fm29bt.js} +7 -7
- package/dist/chunks/{snapshot-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{snapshot-wgrnrd7p.js → worktree-ma5b8j4s.js} +31 -31
- package/dist/chunks/{snapshot-87m5nb3r.js → worktree-mkry6x9x.js} +15 -15
- package/dist/chunks/{snapshot-hmgezczx.js → worktree-mn5995mw.js} +5 -5
- package/dist/chunks/{snapshot-xnt05fp8.js → worktree-mwt0hxwz.js} +25 -25
- package/dist/chunks/{snapshot-ad1t3088.js → worktree-mzatw618.js} +35 -35
- package/dist/chunks/{snapshot-31vvj4c3.js → worktree-n4jz3xah.js} +19 -19
- package/dist/chunks/{snapshot-4qk2gb51.js → worktree-n8j2gzbp.js} +3 -3
- package/dist/chunks/{snapshot-6ekt4h1g.js → worktree-ndqsnc2r.js} +35 -35
- package/dist/chunks/{snapshot-9zga13gt.js → worktree-necmxhx4.js} +23 -23
- package/dist/chunks/{snapshot-ctwdrck2.js → worktree-ng27n122.js} +6 -6
- package/dist/chunks/{snapshot-dp3szwdw.js → worktree-nmmfddzk.js} +12 -12
- package/dist/chunks/{snapshot-nzks3jc8.js → worktree-nzks3jc8.js} +3 -3
- package/dist/chunks/{snapshot-p28j5sbe.js → worktree-p28j5sbe.js} +2 -2
- package/dist/chunks/{snapshot-4pw3ma1d.js → worktree-p32pf1ka.js} +47 -47
- package/dist/chunks/{snapshot-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{snapshot-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{snapshot-j215vtjh.js → worktree-pyv0448z.js} +8 -8
- package/dist/chunks/{snapshot-31314d8d.js → worktree-q001hfjm.js} +26 -26
- package/dist/chunks/{snapshot-ppw6hb80.js → worktree-q3t37ft6.js} +3 -3
- package/dist/chunks/worktree-q509s3k3.js +18 -0
- package/dist/chunks/{snapshot-avc8n21j.js → worktree-q52v1zkd.js} +13 -13
- package/dist/chunks/{snapshot-f1kpr4sr.js → worktree-q6xbbyq7.js} +28 -28
- package/dist/chunks/{snapshot-t7x5nbme.js → worktree-q9pnxbc2.js} +15 -15
- package/dist/chunks/{snapshot-pbq54n87.js → worktree-qfqkpq0b.js} +14 -14
- package/dist/chunks/{snapshot-57b9ws8p.js → worktree-qqeeq2t9.js} +4 -4
- package/dist/chunks/{snapshot-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{snapshot-geaa2ca8.js → worktree-qz10dfen.js} +9 -9
- package/dist/chunks/{snapshot-hb92k4z9.js → worktree-qz1kxtc0.js} +17 -17
- package/dist/chunks/worktree-r0hfn8wq.js +252 -0
- package/dist/chunks/{snapshot-7ef3j03a.js → worktree-r424jv4c.js} +4 -4
- package/dist/chunks/{snapshot-8wmhz1g8.js → worktree-ra1f23w6.js} +25 -25
- package/dist/chunks/{snapshot-nfpfdzzq.js → worktree-rb662jkw.js} +12 -12
- package/dist/chunks/{snapshot-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{snapshot-d1khqved.js → worktree-rgs851g5.js} +5 -5
- package/dist/chunks/{snapshot-b4hx36v0.js → worktree-rx78v32q.js} +19 -19
- package/dist/chunks/{snapshot-5s70k0xw.js → worktree-rzd1wbq6.js} +20 -20
- package/dist/chunks/{snapshot-3ythc6yv.js → worktree-s0esgemt.js} +4 -4
- package/dist/chunks/{snapshot-23tvpxmv.js → worktree-s8322d80.js} +15 -15
- package/dist/chunks/{snapshot-v2vtsgem.js → worktree-ss5j40bg.js} +17 -17
- package/dist/chunks/{snapshot-hdcb5cfr.js → worktree-svenkxb1.js} +10 -10
- package/dist/chunks/{snapshot-7j91f9t1.js → worktree-sw0n0a6k.js} +29 -29
- package/dist/chunks/{snapshot-42jghq3e.js → worktree-sybsj1vd.js} +18 -18
- package/dist/chunks/{snapshot-rq9byz5d.js → worktree-t744w8jc.js} +15 -15
- package/dist/chunks/{snapshot-anq6cyaa.js → worktree-tajkn4gv.js} +9 -9
- package/dist/chunks/{snapshot-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{snapshot-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{snapshot-939y1bpb.js → worktree-te6g59r9.js} +5 -5
- package/dist/chunks/{snapshot-qzaekqmp.js → worktree-tkp03cf9.js} +11 -11
- package/dist/chunks/{snapshot-x3gm437e.js → worktree-tmdzkf58.js} +44 -44
- package/dist/chunks/{snapshot-t2hbhjts.js → worktree-tmezp53v.js} +11 -11
- package/dist/chunks/{snapshot-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{snapshot-kd1ce5f7.js → worktree-v4tzcak4.js} +19 -19
- package/dist/chunks/{snapshot-srsxpff9.js → worktree-vb8m6727.js} +16 -16
- package/dist/chunks/{snapshot-zfxc739q.js → worktree-vcaqzj1m.js} +23 -23
- package/dist/chunks/{snapshot-252xb3nn.js → worktree-vcy486hh.js} +19 -19
- package/dist/chunks/{snapshot-7nfkg4wm.js → worktree-vdgcs2tf.js} +30 -30
- package/dist/chunks/{snapshot-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{snapshot-nt088kqk.js → worktree-vfmzn6hv.js} +48 -48
- package/dist/chunks/{snapshot-vg5x372e.js → worktree-vjkgxth0.js} +317 -317
- package/dist/chunks/{snapshot-h83t4dj1.js → worktree-vtk7nzxk.js} +46 -46
- package/dist/chunks/{snapshot-w3k29ccc.js → worktree-vtmwze1j.js} +13 -13
- package/dist/chunks/{snapshot-9e5kb4vq.js → worktree-vvm2z6z1.js} +19 -19
- package/dist/chunks/{snapshot-2vrqs54j.js → worktree-vy10ba8t.js} +27 -27
- package/dist/chunks/{snapshot-d1vmr0nd.js → worktree-vz8nqtp5.js} +28 -28
- package/dist/chunks/{snapshot-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{snapshot-rssfmsaf.js → worktree-w1kb69s9.js} +3 -3
- package/dist/chunks/{snapshot-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{snapshot-aa7ryvh3.js → worktree-w5s35esc.js} +13 -13
- package/dist/chunks/{snapshot-820cv1w4.js → worktree-w676nq5f.js} +13 -13
- package/dist/chunks/{snapshot-p728z8wp.js → worktree-w8ykr7pr.js} +40 -40
- package/dist/chunks/worktree-wbb80fv7.js +26 -0
- package/dist/chunks/{snapshot-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{snapshot-npx8w61n.js → worktree-wg1w1cgy.js} +4 -4
- package/dist/chunks/{snapshot-wkd7exrg.js → worktree-wg7aatbm.js} +9 -9
- package/dist/chunks/{snapshot-tw8f8nrh.js → worktree-wvgpkr3z.js} +5 -5
- package/dist/chunks/{snapshot-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{snapshot-7mbtkcjw.js → worktree-x3n1z10k.js} +19 -19
- package/dist/chunks/{snapshot-dgn3bjhr.js → worktree-xd9rknpb.js} +15 -15
- package/dist/chunks/{snapshot-ak9msbxp.js → worktree-xkrbr206.js} +8 -8
- package/dist/chunks/{snapshot-brywjafr.js → worktree-xn1g1etc.js} +10 -10
- package/dist/chunks/{snapshot-t17qe94z.js → worktree-xr43neyx.js} +11 -11
- package/dist/chunks/{snapshot-7dk8f9rn.js → worktree-xrkx1905.js} +18 -18
- package/dist/chunks/{snapshot-9g9mfadh.js → worktree-xrvwyrv1.js} +32 -32
- package/dist/chunks/{snapshot-20d44xk5.js → worktree-xw714m32.js} +18 -18
- package/dist/chunks/{snapshot-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{snapshot-036p5t1s.js → worktree-y35sf2j4.js} +4 -4
- package/dist/chunks/{snapshot-rdpbcj86.js → worktree-y394sqab.js} +301 -301
- package/dist/chunks/{snapshot-y71avatq.js → worktree-y71avatq.js} +1 -1
- package/dist/chunks/{snapshot-p16sg8he.js → worktree-y7668axm.js} +23 -23
- package/dist/chunks/{snapshot-qs001aqx.js → worktree-y7x142mt.js} +11 -11
- package/dist/chunks/{snapshot-yp2x3t23.js → worktree-yp2x3t23.js} +1 -1
- package/dist/chunks/{snapshot-s9va87sy.js → worktree-ypmw8e4w.js} +8 -8
- package/dist/chunks/{snapshot-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{snapshot-s4enseaf.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{snapshot-8z9z5b5g.js → worktree-yta3sn21.js} +4 -4
- package/dist/chunks/{snapshot-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{snapshot-0c1dc0pg.js → worktree-z2bs4c1s.js} +21 -21
- package/dist/chunks/{snapshot-rcf757kd.js → worktree-z4cdtg64.js} +5 -5
- package/dist/chunks/{snapshot-29x78va6.js → worktree-z63w68vq.js} +6 -6
- package/dist/chunks/{snapshot-nh3gpk50.js → worktree-z8amnqnv.js} +11 -11
- package/dist/chunks/{snapshot-ytx20b0y.js → worktree-zart4t36.js} +36 -36
- package/dist/chunks/{snapshot-m70sbz6t.js → worktree-zcrspsvn.js} +4 -4
- package/dist/chunks/{snapshot-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{snapshot-q5a6zh2e.js → worktree-zkgb1gnz.js} +46 -46
- package/dist/chunks/{snapshot-3tq5qxbk.js → worktree-zqx8wcya.js} +6 -6
- package/dist/chunks/{snapshot-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{snapshot-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- 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 +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- 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 +90 -90
- 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/id/id.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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/snapshot-19kwwqgw.js +0 -26
- package/dist/chunks/snapshot-1tm0r3ht.js +0 -4
- package/dist/chunks/snapshot-51r0acr2.js +0 -252
- package/dist/chunks/snapshot-phz3h32g.js +0 -18
- /package/dist/chunks/{snapshot-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{snapshot-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{snapshot-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{snapshot-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{snapshot-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{snapshot-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{snapshot-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{snapshot-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{snapshot-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{snapshot-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{snapshot-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{snapshot-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{snapshot-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{snapshot-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{snapshot-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{snapshot-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{snapshot-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{snapshot-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{snapshot-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{snapshot-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{snapshot-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{snapshot-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{snapshot-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{snapshot-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{snapshot-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{snapshot-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{snapshot-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{snapshot-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{snapshot-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{snapshot-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{snapshot-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{snapshot-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{snapshot-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{snapshot-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{snapshot-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{snapshot-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{snapshot-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{snapshot-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{snapshot-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{snapshot-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{snapshot-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{snapshot-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{snapshot-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{snapshot-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{snapshot-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{snapshot-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{snapshot-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{snapshot-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{snapshot-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{snapshot-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{snapshot-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{snapshot-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{snapshot-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{snapshot-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{snapshot-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{snapshot-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{snapshot-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{snapshot-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{snapshot-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{snapshot-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{snapshot-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{snapshot-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{snapshot-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{snapshot-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{snapshot-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{snapshot-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{snapshot-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{snapshot-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{snapshot-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{snapshot-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{snapshot-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{snapshot-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{snapshot-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{snapshot-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{snapshot-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{snapshot-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{snapshot-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{snapshot-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{snapshot-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{snapshot-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{snapshot-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{snapshot-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{snapshot-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{snapshot-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{snapshot-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{snapshot-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{snapshot-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{snapshot-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{snapshot-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{snapshot-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{snapshot-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{snapshot-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{snapshot-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{snapshot-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{snapshot-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./worktree-ja7kfczc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./worktree-6wt9h67w.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./worktree-e9g3nry7.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input4,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin6,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description2,
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name4 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input4 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin6 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service72;
|
|
53
|
+
const forms = yield* Service65;
|
|
54
|
+
const websearch = yield* Service15;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name4,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description2,
|
|
59
|
+
input: Input4,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name4,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name4];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name4, NO_RESULTS2, description2, Input4, Plugin6, exports_websearch };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node4
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node4 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node4, bound2, exports_instance2 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./worktree-qfqkpq0b.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service47,
|
|
12
|
+
node50
|
|
13
|
+
} from "./worktree-7svxd7hr.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -22,20 +22,20 @@ __export(exports_filesystem, {
|
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry4,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event10,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput3,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError5,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service46,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node49
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -62,7 +62,7 @@ var Content3 = Schema.Struct({
|
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput3 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event10 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service46 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service46, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service77;
|
|
95
|
+
const search = yield* Service47;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service46.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node49 = makeLocationNode({
|
|
144
|
+
service: Service46,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node81, node50]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError5, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event10, Service46, node49, exports_filesystem, Entry4, Match2, Submatch2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-6x3wj1ns.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./worktree-y394sqab.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID7.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./worktree-mkry6x9x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service16
|
|
6
|
+
} from "./worktree-4hxng2fz.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make10 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service16;
|
|
24
|
+
const jobs = yield* Service45;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info12,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info12 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info12, exports_permission };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-j972s74s.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service64
|
|
7
|
+
} from "./worktree-4bgp2aek.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID8,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-8vmd40gx.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID7
|
|
14
|
+
} from "./worktree-y394sqab.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID7.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID8.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service64;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID8.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service79
|
|
3
|
-
} from "./snapshot-pbq54n87.js";
|
|
4
1
|
import {
|
|
5
2
|
Service77
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./worktree-qfqkpq0b.js";
|
|
4
|
+
import {
|
|
5
|
+
Service55
|
|
6
|
+
} from "./worktree-e2qcy9fz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service54,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-w676nq5f.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service53
|
|
14
|
+
} from "./worktree-sybsj1vd.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service72
|
|
17
|
+
} from "./worktree-6wt9h67w.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service70,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-h2pnfxb2.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./worktree-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input6,
|
|
34
|
+
Output: () => Output4,
|
|
35
|
+
Plugin: () => Plugin8,
|
|
36
|
+
name: () => name6
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name6 = "edit";
|
|
43
|
+
var Input6 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input10 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output4 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin8 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service70;
|
|
110
|
+
const fileMutation = yield* Service54;
|
|
111
|
+
const environment = yield* Service55;
|
|
112
|
+
const formatter = yield* Service53;
|
|
113
|
+
const location = yield* Service77;
|
|
114
|
+
const permission = yield* Service72;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name6,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input6,
|
|
120
|
+
output: Output4,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin44 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name6, Input6, Output4, Plugin8, exports_edit };
|