@opencode/core 0.0.0-dev-20213 → 0.0.0-dev-20215
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{permission-3vdha7ev.js → worktree-01nwxe82.js} +11 -11
- package/dist/chunks/{permission-kwy1393n.js → worktree-0bdrcw2s.js} +2 -2
- package/dist/chunks/{permission-427t97hr.js → worktree-0bfcnrg1.js} +1 -1
- package/dist/chunks/{permission-1mdmpwnd.js → worktree-0d4mnv31.js} +17 -17
- package/dist/chunks/{permission-0e93ex8d.js → worktree-0fzv9h34.js} +18 -18
- package/dist/chunks/{permission-7ajw325d.js → worktree-0j68vngr.js} +10 -10
- package/dist/chunks/{permission-qvz1qsfj.js → worktree-0k3fqexr.js} +7 -7
- package/dist/chunks/{permission-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{permission-6qr54s4x.js → worktree-0r0ksm42.js} +18 -18
- package/dist/chunks/{permission-dtjm6rxg.js → worktree-0rbtyk3w.js} +10 -10
- package/dist/chunks/{permission-4c7gxc1e.js → worktree-0v5qhdm7.js} +48 -48
- package/dist/chunks/{permission-y58vyra2.js → worktree-1arnrgt5.js} +8 -8
- package/dist/chunks/{permission-eq1pz5kg.js → worktree-1bbkgx8g.js} +3 -3
- package/dist/chunks/{permission-h4s9yzmg.js → worktree-1chzq234.js} +5 -5
- package/dist/chunks/{permission-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{permission-66d4mk0n.js → worktree-1ft64m98.js} +9 -9
- package/dist/chunks/{permission-azpvescy.js → worktree-1hgzjtp2.js} +8 -8
- package/dist/chunks/{permission-2f1p5z3m.js → worktree-1jvcwpzv.js} +4 -4
- package/dist/chunks/{permission-c3xmfx7z.js → worktree-1xpaaevk.js} +23 -23
- package/dist/chunks/{permission-dzwwpm14.js → worktree-1zj7c1b9.js} +35 -41
- package/dist/chunks/{permission-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{permission-sfw1rfb7.js → worktree-2384dzxb.js} +25 -25
- package/dist/chunks/{permission-6h73sxmp.js → worktree-2402vzrj.js} +5 -5
- package/dist/chunks/{permission-phg2e2sn.js → worktree-27zhgsem.js} +4 -4
- package/dist/chunks/{permission-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-vyyd9re9.js → worktree-2gcp25fc.js} +27 -27
- package/dist/chunks/{permission-5mtpdy66.js → worktree-2ggx711d.js} +23 -23
- package/dist/chunks/{permission-2k8khapm.js → worktree-2k8khapm.js} +1 -1
- package/dist/chunks/{permission-2kfwyj8t.js → worktree-2sscpfbp.js} +36 -36
- package/dist/chunks/{permission-1ygqh575.js → worktree-33w4ejhs.js} +6 -6
- package/dist/chunks/{permission-b8z6cgx4.js → worktree-3c8jswt4.js} +23 -23
- package/dist/chunks/{permission-0j1gq5q0.js → worktree-3cvzpexn.js} +19 -19
- package/dist/chunks/{permission-qhqpvhks.js → worktree-3e18wkss.js} +33 -33
- package/dist/chunks/{permission-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-2yjs42jw.js → worktree-3he9s93f.js} +14 -14
- package/dist/chunks/{permission-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-e3vvqy9k.js → worktree-3j8dagdk.js} +33 -33
- package/dist/chunks/{permission-90yk3ysx.js → worktree-3k8b8397.js} +11 -11
- package/dist/chunks/{permission-f62qkzqr.js → worktree-3qaj82j9.js} +5 -5
- package/dist/chunks/{permission-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-j5b7jc6z.js → worktree-3t40p5r2.js} +14 -14
- package/dist/chunks/{permission-cbt43t9n.js → worktree-3t7mm76h.js} +20 -20
- package/dist/chunks/{permission-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-2e6ckx7j.js → worktree-3vhzm9vc.js} +15 -15
- package/dist/chunks/{permission-hhfcwf9e.js → worktree-3zkmgewa.js} +16 -16
- package/dist/chunks/{permission-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-4dgbcxzg.js → worktree-44h5tttr.js} +4 -4
- package/dist/chunks/worktree-4chajvys.js +252 -0
- package/dist/chunks/{permission-9cn86291.js → worktree-4da46de2.js} +27 -27
- package/dist/chunks/{permission-2f3cmjw6.js → worktree-4nhngmcq.js} +35 -35
- package/dist/chunks/{permission-v1phcrt4.js → worktree-51kfgev1.js} +15 -15
- package/dist/chunks/{permission-ckecvw8r.js → worktree-54tcyq79.js} +2 -2
- package/dist/chunks/{permission-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-0s95rqpb.js → worktree-5kwfr1e0.js} +25 -25
- package/dist/chunks/{permission-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{permission-v7fphmzy.js → worktree-5xhdg7n0.js} +20 -20
- package/dist/chunks/{permission-nh53w5qr.js → worktree-5xv65hkg.js} +33 -33
- package/dist/chunks/{permission-edqzwk7r.js → worktree-60z3krt2.js} +13 -13
- package/dist/chunks/{permission-8ra6m1eq.js → worktree-659sfxq9.js} +13 -13
- package/dist/chunks/{permission-9n7em7a6.js → worktree-65tps2j5.js} +15 -15
- package/dist/chunks/{permission-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{permission-7zmt5esb.js → worktree-674nz3pn.js} +26 -26
- package/dist/chunks/{permission-8vkgrzpx.js → worktree-6893nb2p.js} +308 -308
- package/dist/chunks/{permission-3kc2a4v3.js → worktree-6f5meky0.js} +44 -44
- package/dist/chunks/worktree-6kdq0pjd.js +4 -0
- package/dist/chunks/{permission-1n2xgvd9.js → worktree-6krmax6q.js} +5 -5
- package/dist/chunks/{permission-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{permission-6ckptgem.js → worktree-72mty36f.js} +11 -11
- package/dist/chunks/{permission-atf3k7a1.js → worktree-7b6f2pz4.js} +3 -3
- package/dist/chunks/{permission-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-n8zrmqva.js → worktree-7eezvbx7.js} +24 -24
- package/dist/chunks/{permission-dh3byjre.js → worktree-7gt3e72m.js} +22 -22
- package/dist/chunks/{permission-kwdb2g4j.js → worktree-7sxxv0k9.js} +15 -15
- package/dist/chunks/{permission-xzf49dj8.js → worktree-7t5fpg5d.js} +12 -12
- package/dist/chunks/{permission-kd9ezq8v.js → worktree-80n4v3ph.js} +11 -11
- package/dist/chunks/{permission-0r7yqxbf.js → worktree-8cmvxv2n.js} +5 -5
- package/dist/chunks/{permission-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{permission-0cncm6aq.js → worktree-8m4g0388.js} +26 -26
- package/dist/chunks/{permission-d6xxazjr.js → worktree-8qbj2xnf.js} +16 -16
- package/dist/chunks/{permission-p8nvvwdr.js → worktree-92zh7pxv.js} +9 -9
- package/dist/chunks/{permission-sb7tcqzb.js → worktree-95v9dhdk.js} +14 -14
- package/dist/chunks/{permission-s4wvmj1w.js → worktree-961mqe0b.js} +11 -11
- package/dist/chunks/{permission-wfvt68ck.js → worktree-96ak3467.js} +15 -15
- package/dist/chunks/{permission-8dshm500.js → worktree-9e5ez0z2.js} +18 -24
- package/dist/chunks/{permission-fy4kd91z.js → worktree-9t5s1r97.js} +9 -9
- package/dist/chunks/{permission-ar2nsrmg.js → worktree-9zraknnh.js} +30 -30
- package/dist/chunks/{permission-gs3s1a1g.js → worktree-a2qe2ev9.js} +8 -8
- package/dist/chunks/{permission-pczk21ak.js → worktree-a4p2e6yr.js} +6 -6
- package/dist/chunks/{permission-3b4xyg7r.js → worktree-a8nvjzqv.js} +8 -8
- package/dist/chunks/{permission-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-s1xcavbq.js → worktree-axtbgcsn.js} +5 -5
- package/dist/chunks/{permission-hcxar3dy.js → worktree-aybmmbc8.js} +31 -31
- package/dist/chunks/{permission-0kbqr9rx.js → worktree-b047h9s9.js} +17 -17
- package/dist/chunks/{permission-cysjgskk.js → worktree-b5pxe27k.js} +26 -26
- package/dist/chunks/{permission-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{permission-j83byb14.js → worktree-bct739vz.js} +4 -4
- package/dist/chunks/{permission-z07pqspn.js → worktree-bjtzbw4r.js} +3 -3
- package/dist/chunks/{permission-2f8yw4sv.js → worktree-bng40jb9.js} +9 -9
- package/dist/chunks/{permission-d87fqded.js → worktree-bqrh5ykt.js} +9 -9
- package/dist/chunks/{permission-gjmk74th.js → worktree-bw9zjykr.js} +6 -6
- package/dist/chunks/{permission-9qxp4dy9.js → worktree-c39c3jzn.js} +12 -12
- package/dist/chunks/{permission-w3nq1sqw.js → worktree-c8jj867k.js} +9 -9
- package/dist/chunks/{permission-3e4s6ymp.js → worktree-caszb10r.js} +24 -24
- package/dist/chunks/{permission-e7wwe935.js → worktree-cn3880dm.js} +3 -3
- package/dist/chunks/{permission-djszqvmq.js → worktree-cpneeje0.js} +9 -9
- package/dist/chunks/{permission-jfzzff3q.js → worktree-cxn44tg0.js} +3 -3
- package/dist/chunks/{permission-t6vsspdg.js → worktree-d216944b.js} +4 -4
- package/dist/chunks/{permission-bvma8vez.js → worktree-d4gc91s6.js} +16 -16
- package/dist/chunks/{permission-2w6fc0zt.js → worktree-d9s573fh.js} +7 -7
- package/dist/chunks/{permission-pjym4tm7.js → worktree-d9vsz0nw.js} +17 -17
- package/dist/chunks/{permission-277eer69.js → worktree-dj68pnee.js} +4 -4
- package/dist/chunks/{permission-dmqcgk4z.js → worktree-dmqcgk4z.js} +2 -2
- package/dist/chunks/{permission-3t5wgsns.js → worktree-dqt0xvez.js} +5 -8
- package/dist/chunks/{permission-xfkkasph.js → worktree-drwq78ky.js} +4 -4
- package/dist/chunks/{permission-akzxnx93.js → worktree-dt5mtb60.js} +11 -11
- package/dist/chunks/{permission-bcj24as6.js → worktree-dx2x7qh9.js} +35 -35
- package/dist/chunks/{permission-c3aqhckj.js → worktree-dx8w7vfp.js} +10 -10
- package/dist/chunks/{permission-bhjmc7t3.js → worktree-e14rzxnr.js} +33 -33
- package/dist/chunks/{permission-rjq23j7t.js → worktree-e32cc78a.js} +86 -86
- package/dist/chunks/{permission-waz4nkqe.js → worktree-e81dr17b.js} +4 -4
- package/dist/chunks/{permission-q83vp15h.js → worktree-e9r79r8d.js} +9 -9
- package/dist/chunks/{permission-rhjbct0v.js → worktree-eaj1djv9.js} +8 -8
- package/dist/chunks/{permission-ecfe7b91.js → worktree-ecfe7b91.js} +2 -2
- package/dist/chunks/{permission-bm1f71yt.js → worktree-eeaf82dq.js} +8 -8
- package/dist/chunks/{permission-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-6kda1prh.js → worktree-ejmtyfyw.js} +26 -26
- package/dist/chunks/{permission-a5zd3thz.js → worktree-ekhm0sea.js} +7 -7
- package/dist/chunks/{permission-ahnsdqkq.js → worktree-em8v7a32.js} +30 -30
- package/dist/chunks/{permission-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{permission-x9wbmrd5.js → worktree-ewbjc8wa.js} +21 -21
- package/dist/chunks/{permission-g8h1n5y5.js → worktree-ex8c9819.js} +9 -9
- package/dist/chunks/{permission-k9avtbwf.js → worktree-eyz64kwr.js} +7 -14
- package/dist/chunks/{permission-2wsqpdn5.js → worktree-ezg02vs1.js} +13 -13
- package/dist/chunks/{permission-6nkvgkq9.js → worktree-f1kzstbv.js} +26 -26
- package/dist/chunks/{permission-byy3mcv6.js → worktree-f77nxt0h.js} +22 -22
- package/dist/chunks/{permission-nq7qbqzc.js → worktree-f7j90zp2.js} +2 -2
- package/dist/chunks/{permission-ry74s6py.js → worktree-f9ag4zkz.js} +23 -23
- package/dist/chunks/{permission-30t0f9bf.js → worktree-fe8ssjsg.js} +174 -174
- package/dist/chunks/{permission-64j1dnk2.js → worktree-fex7j0m5.js} +13 -13
- package/dist/chunks/{permission-qtt8rjvb.js → worktree-fferps3m.js} +17 -17
- package/dist/chunks/{permission-b8hzf7nw.js → worktree-fgewnttk.js} +8 -8
- package/dist/chunks/{permission-b5q3ry10.js → worktree-fj30x8t9.js} +21 -21
- package/dist/chunks/{permission-dt5ft21v.js → worktree-fv23f2g8.js} +3 -3
- package/dist/chunks/{permission-5zgzw0qf.js → worktree-gafemadt.js} +89 -89
- package/dist/chunks/{permission-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-t23bgkkb.js → worktree-gdv4qzn0.js} +41 -41
- package/dist/chunks/{permission-94ek1h2f.js → worktree-gfvb90ym.js} +2 -2
- package/dist/chunks/{permission-wsa7qf31.js → worktree-ggceqynt.js} +11 -11
- package/dist/chunks/{permission-7t6cswfs.js → worktree-gken7ajx.js} +14 -14
- package/dist/chunks/{permission-001w0r38.js → worktree-gnhsmmqn.js} +6 -6
- package/dist/chunks/{permission-bwhsz0as.js → worktree-gpb9r3qt.js} +9 -9
- package/dist/chunks/{permission-68c3zqnv.js → worktree-gq56w217.js} +5 -5
- package/dist/chunks/{permission-fw2v9256.js → worktree-gs4tkc79.js} +8 -8
- package/dist/chunks/{permission-5ryghfxb.js → worktree-gx48bf3k.js} +8 -8
- package/dist/chunks/{permission-zbnnn9xp.js → worktree-gx5nrd37.js} +13 -13
- package/dist/chunks/{permission-gqaynh57.js → worktree-gyqt3txq.js} +18 -18
- package/dist/chunks/{permission-d159wxah.js → worktree-h22tcczk.js} +8 -8
- package/dist/chunks/{permission-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-m1av9y51.js → worktree-hdkzdw1f.js} +16 -16
- package/dist/chunks/{permission-5kvqrqtt.js → worktree-hnr8f6ws.js} +4 -4
- package/dist/chunks/{permission-ggn2q8wb.js → worktree-hxghybcg.js} +6 -6
- package/dist/chunks/{permission-v7s9yhmd.js → worktree-j3b38fkc.js} +5 -5
- package/dist/chunks/{permission-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{permission-nng2ktcm.js → worktree-jca4demv.js} +2 -2
- package/dist/chunks/{permission-tvgvprj8.js → worktree-jjk7p82s.js} +28 -28
- package/dist/chunks/{permission-ft0hsrhm.js → worktree-jwjamgbd.js} +22 -22
- package/dist/chunks/{permission-fhp4k3j9.js → worktree-jwtb7ds2.js} +54 -54
- package/dist/chunks/{permission-m9q6nt69.js → worktree-jypr9n4v.js} +24 -24
- package/dist/chunks/{permission-va5qff5x.js → worktree-jz5sxy2v.js} +6 -6
- package/dist/chunks/{permission-296txdq9.js → worktree-k33k5sgz.js} +1 -1
- package/dist/chunks/{permission-k3c624dm.js → worktree-k3c624dm.js} +3 -3
- package/dist/chunks/{permission-2b0a6zyh.js → worktree-k4xjzc9h.js} +7 -7
- package/dist/chunks/{permission-jp1j8mt2.js → worktree-k6qbet7y.js} +42 -42
- package/dist/chunks/{permission-c1w29199.js → worktree-k7s9b0vb.js} +3 -3
- package/dist/chunks/{permission-efhxkz2r.js → worktree-kbrhjmmj.js} +6 -22
- package/dist/chunks/{permission-hasdsx5m.js → worktree-kh5y7dsa.js} +26 -26
- package/dist/chunks/{permission-gs60z27v.js → worktree-kj6zq9q4.js} +8 -8
- package/dist/chunks/{permission-4wa8rwpk.js → worktree-kmnyjx2j.js} +20 -20
- package/dist/chunks/{permission-swpyer75.js → worktree-ktvcadya.js} +12 -12
- package/dist/chunks/{permission-r1najpkt.js → worktree-kvkgejfx.js} +14 -14
- package/dist/chunks/{permission-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{permission-52ydpxj4.js → worktree-m75a1scj.js} +11 -11
- package/dist/chunks/{permission-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-cavr175a.js → worktree-magykp64.js} +4 -4
- package/dist/chunks/{permission-bgbzcg1n.js → worktree-mjk1w6qm.js} +5 -5
- package/dist/chunks/{permission-sbfe9m0d.js → worktree-n3h0vr51.js} +8 -8
- package/dist/chunks/{permission-0te0zncg.js → worktree-n45vtd7p.js} +10 -10
- package/dist/chunks/{permission-baaqp4zd.js → worktree-n4r3xatb.js} +4 -4
- package/dist/chunks/{permission-9qepf6xg.js → worktree-n8zk10z2.js} +12 -12
- package/dist/chunks/{permission-s4sz7mfv.js → worktree-n9hm6cyq.js} +17 -17
- package/dist/chunks/{permission-0jq9fyba.js → worktree-njhqdk9p.js} +9 -9
- package/dist/chunks/{permission-zy255zeq.js → worktree-nn6yf1qt.js} +318 -318
- package/dist/chunks/{permission-p37cw4rj.js → worktree-p37cw4rj.js} +1 -1
- package/dist/chunks/{permission-3p3dzcr7.js → worktree-pc7a78kv.js} +72 -72
- package/dist/chunks/{permission-vy6b5em3.js → worktree-pcn71y31.js} +8 -8
- package/dist/chunks/{permission-mws41bry.js → worktree-pd6w8b01.js} +23 -23
- package/dist/chunks/{permission-0br3sbwn.js → worktree-pgp1nwjn.js} +4 -4
- package/dist/chunks/{permission-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{permission-wd3x2cqz.js → worktree-psazpmmj.js} +2 -2
- package/dist/chunks/{permission-mmnvkg4r.js → worktree-psf552px.js} +22 -22
- package/dist/chunks/{permission-by1p8q1p.js → worktree-pttk24fx.js} +54 -54
- package/dist/chunks/{permission-fv1d8yds.js → worktree-pvecmqrq.js} +48 -48
- package/dist/chunks/{permission-mzqkw4fg.js → worktree-q10fqe6z.js} +10 -10
- package/dist/chunks/{permission-ae12mqtr.js → worktree-q3d9qgrv.js} +5 -5
- package/dist/chunks/{permission-7w99qc9d.js → worktree-q3t37ft6.js} +3 -3
- package/dist/chunks/{permission-2gwzkvcr.js → worktree-q86ksqw5.js} +29 -29
- package/dist/chunks/{permission-dwd5gn3v.js → worktree-qany4v32.js} +39 -39
- package/dist/chunks/worktree-qc068m1q.js +18 -0
- package/dist/chunks/{permission-tts6w2c0.js → worktree-qecp8fbz.js} +11 -11
- package/dist/chunks/{permission-1sag5cbk.js → worktree-qgqfqnbd.js} +12 -12
- package/dist/chunks/worktree-qj6bq7hm.js +26 -0
- package/dist/chunks/{permission-bv5rrht5.js → worktree-qkk2rr8y.js} +38 -38
- package/dist/chunks/{permission-fdcp7117.js → worktree-qrevjn02.js} +32 -32
- package/dist/chunks/{permission-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-5yqs442z.js → worktree-qysgwets.js} +11 -11
- package/dist/chunks/{permission-2tdz4740.js → worktree-r23pbb8t.js} +26 -26
- package/dist/chunks/{permission-ej53mqpx.js → worktree-r5v4xwkj.js} +39 -39
- package/dist/chunks/{permission-444gg6f1.js → worktree-r775761k.js} +23 -23
- package/dist/chunks/{permission-1acjjqhc.js → worktree-r8xr0va3.js} +4 -4
- package/dist/chunks/{permission-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-rd9rk3dn.js → worktree-rf68yed4.js} +4 -4
- package/dist/chunks/{permission-2xwkyk0m.js → worktree-rkdvqggb.js} +5 -5
- package/dist/chunks/{permission-8sze2n9a.js → worktree-rkprpv83.js} +6 -6
- package/dist/chunks/{permission-z10j5g1a.js → worktree-rp0b7fvm.js} +30 -30
- package/dist/chunks/{permission-zeh9ct20.js → worktree-rq775frq.js} +2 -2
- package/dist/chunks/{permission-awhgk454.js → worktree-rxmj2525.js} +5 -5
- package/dist/chunks/{permission-cfgnp1rp.js → worktree-s1xp2azn.js} +32 -32
- package/dist/chunks/{permission-4y72ap3v.js → worktree-s2ynmxvy.js} +12 -12
- package/dist/chunks/{permission-syf57q56.js → worktree-s30fyz93.js} +4 -4
- package/dist/chunks/{permission-ycjqhn27.js → worktree-s6qgj9yb.js} +11 -11
- package/dist/chunks/{permission-5szfgc5e.js → worktree-s8h5ed1j.js} +17 -17
- package/dist/chunks/{permission-3vtdnh8g.js → worktree-shcgk7se.js} +6 -6
- package/dist/chunks/{permission-w54cm820.js → worktree-shhg5kc4.js} +21 -21
- package/dist/chunks/{permission-7qafvgtc.js → worktree-sqgjnw45.js} +1 -1
- package/dist/chunks/{permission-g3gqqgf2.js → worktree-sssfkgzr.js} +11 -11
- package/dist/chunks/{permission-1egaj4wt.js → worktree-swsbd73k.js} +15 -15
- package/dist/chunks/{permission-dj9sq318.js → worktree-t2vpa3bp.js} +5 -5
- package/dist/chunks/{permission-9hrb99b0.js → worktree-t2yvaxt4.js} +4 -4
- package/dist/chunks/{permission-3cemp78t.js → worktree-t4km5p4j.js} +23 -23
- package/dist/chunks/{permission-4phm5153.js → worktree-t4mbtemh.js} +5 -5
- package/dist/chunks/{permission-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{permission-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{permission-e8bjwr6g.js → worktree-tpp8915p.js} +32 -32
- package/dist/chunks/{permission-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{permission-ayqmgy5k.js → worktree-v75ben0y.js} +11 -11
- package/dist/chunks/{permission-bd96rvy0.js → worktree-vc7dggtw.js} +20 -20
- package/dist/chunks/{permission-jkv26egb.js → worktree-vdcyv8vc.js} +10 -10
- package/dist/chunks/{permission-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-pyqpzv5h.js → worktree-vkxhpebf.js} +9 -9
- package/dist/chunks/{permission-274ea90s.js → worktree-vrxvw0ry.js} +43 -43
- package/dist/chunks/{permission-fad6j005.js → worktree-vtgtp4yy.js} +8 -8
- package/dist/chunks/{permission-07770t2t.js → worktree-vx8g7p8m.js} +8 -8
- package/dist/chunks/{permission-m3zza4qd.js → worktree-vz7d5c1g.js} +8 -8
- package/dist/chunks/{permission-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{permission-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
- package/dist/chunks/{permission-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-j15mfg1p.js → worktree-w4arg62q.js} +6 -6
- package/dist/chunks/{permission-ecw0cacm.js → worktree-w7ams0n7.js} +43 -43
- package/dist/chunks/{permission-7tfdw4kn.js → worktree-waa26gy5.js} +19 -19
- package/dist/chunks/{permission-n75dgb1y.js → worktree-wagw3cnt.js} +36 -36
- package/dist/chunks/{permission-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{permission-jyjnbdry.js → worktree-wedrxhxr.js} +6 -6
- package/dist/chunks/{permission-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{permission-5v6ecpn9.js → worktree-x3x9tpbc.js} +17 -17
- package/dist/chunks/{permission-01ffsn2j.js → worktree-xg31f8ct.js} +15 -15
- package/dist/chunks/{permission-0qxhqs63.js → worktree-xycfn4ya.js} +20 -20
- package/dist/chunks/{permission-6aesvrx9.js → worktree-xznnvfjn.js} +20 -20
- package/dist/chunks/{permission-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-9f7mwg51.js → worktree-y2zgx20r.js} +3 -3
- package/dist/chunks/{permission-y71avatq.js → worktree-y71avatq.js} +1 -1
- package/dist/chunks/{permission-13apfhb0.js → worktree-ya6t0hrg.js} +20 -20
- package/dist/chunks/{permission-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{permission-yrznvahk.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{permission-w491vddx.js → worktree-yskbjwxr.js} +25 -25
- package/dist/chunks/{permission-5x1p32da.js → worktree-ytnjtmra.js} +3 -3
- package/dist/chunks/{permission-2cmr90kh.js → worktree-yvpmtcpk.js} +7 -7
- package/dist/chunks/{permission-gv6a8nnw.js → worktree-yyb7tjpc.js} +2 -2
- package/dist/chunks/{permission-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-z63w68vq.js → worktree-z63w68vq.js} +2 -2
- package/dist/chunks/{permission-mvksx64m.js → worktree-zfps0aje.js} +4 -4
- package/dist/chunks/{permission-ktajhw28.js → worktree-zj4nggsa.js} +35 -35
- package/dist/chunks/{permission-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-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 +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -106
- package/dist/file-mutation.js +94 -94
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +99 -99
- 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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- 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 +96 -96
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +6 -8
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +5 -117
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +138 -138
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +91 -91
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/file-access.d.ts +0 -5
- package/dist/types/location-services.d.ts +0 -1
- package/dist/types/session/error.d.ts +0 -4
- package/dist/types/session/runner/index.d.ts +2 -2
- package/dist/types/session/runner/retry.d.ts +0 -5
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +92 -92
- 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/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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -14
- package/dist/chunks/permission-4v7qdvcn.js +0 -18
- package/dist/chunks/permission-9mjahchf.js +0 -252
- package/dist/chunks/permission-g3ch1sn9.js +0 -26
- package/dist/chunks/permission-qapv375x.js +0 -4
- package/dist/location-mutation.js +0 -118
- package/dist/types/location-mutation.d.ts +0 -3
- package/dist/types/util/array.d.ts +0 -1
- package/dist/types/util/process-lock-ffi.bun.d.ts +0 -12
- package/dist/types/util/process-lock-ffi.node.d.ts +0 -12
- package/dist/types/util/process-lock-ffi.workerd.d.ts +0 -12
- package/dist/types/util/process-lock.d.ts +0 -20
- package/dist/util/array.js +0 -12
- package/dist/util/process-lock-ffi.bun.js +0 -51
- package/dist/util/process-lock-ffi.node.js +0 -44
- package/dist/util/process-lock-ffi.workerd.js +0 -10
- package/dist/util/process-lock.js +0 -121
- /package/dist/chunks/{permission-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-34c7v6d4.js → worktree-34c7v6d4.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node84
|
|
7
|
+
} from "./worktree-3he9s93f.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service23,
|
|
10
|
+
node26
|
|
11
|
+
} from "./worktree-3t40p5r2.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options2,
|
|
25
|
+
Service: () => Service16,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer8,
|
|
29
|
+
node: () => node19,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service16 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service80;
|
|
63
|
+
const ripgrep = yield* Service23;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service16.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service80;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service16.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service16.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service80;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service16, layer: layer8(options), deps: [node84, node26] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node19 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service16, ripgrepLayer2, fffLayer2, layer8, configured2, node19, exports_search };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-t2yvaxt4.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event20,
|
|
18
|
+
ID: () => ID16,
|
|
19
|
+
Info: () => Info31,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service78,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node82
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event20 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID16 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID16.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info31 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service78 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info31.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID16.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service78.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID16.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID16.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID16, Name3, defaultID2, Color2, Info31, Service78, node82, exports_agent4, Event20 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-kj6zq9q4.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin19,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin19 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin6 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin6 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin19, exports_firecrawl };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-q3t37ft6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,20 +19,19 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError10,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
26
26
|
StepFailedError: () => StepFailedError2,
|
|
27
|
-
SyntheticConflictError: () => SyntheticConflictError2
|
|
28
|
-
UserInterruptedError: () => UserInterruptedError2
|
|
27
|
+
SyntheticConflictError: () => SyntheticConflictError2
|
|
29
28
|
});
|
|
30
29
|
import { Schema } from "effect";
|
|
31
30
|
import { Agent } from "@opencode/schema/agent";
|
|
32
31
|
import { Skill } from "@opencode/schema/skill";
|
|
33
32
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
33
|
|
|
35
|
-
class
|
|
34
|
+
class NotFoundError10 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
35
|
sessionID: SessionSchema2.ID
|
|
37
36
|
}) {
|
|
38
37
|
}
|
|
@@ -77,12 +76,6 @@ class StepFailedError2 extends Schema.TaggedError()("Session.StepFailedError", {
|
|
|
77
76
|
}
|
|
78
77
|
}
|
|
79
78
|
|
|
80
|
-
class UserInterruptedError2 extends Schema.TaggedError()("Session.UserInterruptedError", {}) {
|
|
81
|
-
get message() {
|
|
82
|
-
return "Session interrupted by user";
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
79
|
class PromptConflictError2 extends Schema.TaggedError()("Session.PromptConflictError", {
|
|
87
80
|
sessionID: SessionSchema2.ID,
|
|
88
81
|
messageID: SessionMessage2.ID
|
|
@@ -123,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
116
|
}) {
|
|
124
117
|
}
|
|
125
118
|
|
|
126
|
-
export {
|
|
119
|
+
export { NotFoundError10, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service74,
|
|
3
|
+
node78,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-1ft64m98.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node66
|
|
9
|
+
} from "./worktree-bw9zjykr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service71
|
|
12
|
+
} from "./worktree-3e18wkss.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-4chajvys.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service74, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service71);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node66.replace(Layer.succeed(Service62, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node78.replace(Layer.succeed(Service74, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-7b6f2pz4.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node53
|
|
12
|
+
} from "./worktree-vx8g7p8m.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID6,
|
|
25
|
+
Info: () => Info18,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service49,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured9,
|
|
30
|
+
node: () => node52
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID6 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info18 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID6,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info25 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID6,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service49 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service49,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node53]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info18({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service49.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID6.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node52 = configured9();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID6, Info18, NotFound3, CreateConflict2, Service49, configured9, node52, exports_workspace };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID7,
|
|
9
9
|
Name2,
|
|
10
10
|
available2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service57,
|
|
12
|
+
node62
|
|
13
|
+
} from "./worktree-gyqt3txq.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions5 = {};
|
|
20
|
+
__export(exports_instructions5, {
|
|
21
|
+
Service: () => Service36,
|
|
22
|
+
SkillInstructions: () => exports_instructions5,
|
|
23
|
+
node: () => node40
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID7,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service36 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service57;
|
|
67
|
+
return Service36.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
71
|
-
key:
|
|
70
|
+
return make21({
|
|
71
|
+
key: Key4.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node40 = makeLocationNode({ service: Service36, layer, deps: [node62] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service36, node40, exports_instructions5 };
|