@opencode/core 0.0.0-dev-20215 → 0.0.0-dev-20217
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 +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{worktree-gnhsmmqn.js → generate-01x1ys4d.js} +6 -6
- package/dist/chunks/{worktree-1chzq234.js → generate-05g83p89.js} +5 -5
- package/dist/chunks/{worktree-vx8g7p8m.js → generate-07770t2t.js} +8 -8
- package/dist/chunks/{worktree-5xv65hkg.js → generate-07xv2kp7.js} +30 -30
- package/dist/chunks/{worktree-bng40jb9.js → generate-0ddzsve8.js} +9 -9
- package/dist/chunks/generate-0mesazry.js +4 -0
- package/dist/chunks/{worktree-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-yskbjwxr.js → generate-0srm5d79.js} +25 -25
- package/dist/chunks/{worktree-0j68vngr.js → generate-12d20hvf.js} +10 -10
- package/dist/chunks/{worktree-0bdrcw2s.js → generate-13dh974y.js} +2 -2
- package/dist/chunks/{worktree-3t7mm76h.js → generate-18r2kxzz.js} +20 -20
- package/dist/chunks/{worktree-r8xr0va3.js → generate-1acjjqhc.js} +4 -4
- package/dist/chunks/{worktree-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-fferps3m.js → generate-1e2chcff.js} +20 -20
- package/dist/chunks/{worktree-d216944b.js → generate-1g7epwpd.js} +4 -4
- package/dist/chunks/{worktree-21r38tys.js → generate-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-2402vzrj.js → generate-2402vzrj.js} +1 -1
- package/dist/chunks/{worktree-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-6f5meky0.js → generate-2ba3d3jd.js} +42 -42
- package/dist/chunks/{worktree-4nhngmcq.js → generate-2fdjjf2d.js} +29 -29
- package/dist/chunks/{worktree-3e18wkss.js → generate-2twqppr1.js} +27 -27
- package/dist/chunks/{worktree-7t5fpg5d.js → generate-2ya16xyf.js} +10 -10
- package/dist/chunks/{worktree-0r0ksm42.js → generate-311tnbd3.js} +16 -16
- package/dist/chunks/{worktree-eyz64kwr.js → generate-32ymn5e1.js} +6 -6
- package/dist/chunks/{worktree-caszb10r.js → generate-33tnhc2v.js} +24 -24
- package/dist/chunks/{worktree-psf552px.js → generate-3ezsjsrq.js} +22 -22
- package/dist/chunks/{worktree-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-fex7j0m5.js → generate-3k1dm8q8.js} +11 -11
- package/dist/chunks/{worktree-72mty36f.js → generate-3rcsyed8.js} +11 -11
- package/dist/chunks/{worktree-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-92zh7pxv.js → generate-3znwyx7d.js} +11 -11
- package/dist/chunks/{worktree-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{worktree-0bfcnrg1.js → generate-427t97hr.js} +1 -1
- package/dist/chunks/{worktree-vc7dggtw.js → generate-43m90sy1.js} +20 -20
- package/dist/chunks/{worktree-5xhdg7n0.js → generate-43vx0ncx.js} +20 -20
- package/dist/chunks/{worktree-01nwxe82.js → generate-450mh6qg.js} +11 -11
- package/dist/chunks/{worktree-jz5sxy2v.js → generate-4541pte3.js} +6 -6
- package/dist/chunks/{worktree-7sxxv0k9.js → generate-4b4retmw.js} +11 -11
- package/dist/chunks/{worktree-n8zk10z2.js → generate-4k8ah3ry.js} +16 -16
- package/dist/chunks/{worktree-gx48bf3k.js → generate-4mfjhpc7.js} +8 -8
- package/dist/chunks/{worktree-51kfgev1.js → generate-4p1vpwjc.js} +13 -13
- package/dist/chunks/{worktree-a4p2e6yr.js → generate-4pkwzc2k.js} +6 -6
- package/dist/chunks/{worktree-hxghybcg.js → generate-4pm1yn44.js} +6 -6
- package/dist/chunks/generate-4z3x0xya.js +252 -0
- package/dist/chunks/{worktree-0v5qhdm7.js → generate-50ydhzxp.js} +40 -40
- package/dist/chunks/{worktree-d4gc91s6.js → generate-51s6j6q9.js} +19 -19
- package/dist/chunks/{worktree-s8h5ed1j.js → generate-5492h712.js} +17 -17
- package/dist/chunks/{worktree-ya6t0hrg.js → generate-56teqqsg.js} +20 -20
- package/dist/chunks/{worktree-d9s573fh.js → generate-57ez7d0k.js} +2 -2
- package/dist/chunks/{worktree-kmnyjx2j.js → generate-5cvwhdy7.js} +18 -18
- package/dist/chunks/{worktree-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-gq56w217.js → generate-5gtszx91.js} +5 -5
- package/dist/chunks/{worktree-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-r775761k.js → generate-5zjd4ppb.js} +23 -23
- package/dist/chunks/{worktree-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{worktree-v75ben0y.js → generate-6bse4mnq.js} +14 -14
- package/dist/chunks/{worktree-njhqdk9p.js → generate-6hjx5zpb.js} +9 -9
- package/dist/chunks/{worktree-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-3t40p5r2.js → generate-6rxe94kc.js} +18 -18
- package/dist/chunks/{worktree-rkdvqggb.js → generate-6xw3seg4.js} +5 -5
- package/dist/chunks/{worktree-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-rkprpv83.js → generate-7fkffz83.js} +4 -4
- package/dist/chunks/{worktree-wagw3cnt.js → generate-7mnmsw4a.js} +26 -26
- package/dist/chunks/{worktree-s6qgj9yb.js → generate-7pfvvhkc.js} +11 -11
- package/dist/chunks/{worktree-5kwfr1e0.js → generate-7qr8wanm.js} +12 -12
- package/dist/chunks/{worktree-q3t37ft6.js → generate-7w99qc9d.js} +3 -3
- package/dist/chunks/{worktree-rf68yed4.js → generate-81pvwmvt.js} +4 -4
- package/dist/chunks/{worktree-1zj7c1b9.js → generate-842jftfa.js} +36 -36
- package/dist/chunks/{worktree-t2yvaxt4.js → generate-84f8pt8n.js} +4 -4
- package/dist/chunks/{worktree-tcezcvh9.js → generate-89znhe33.js} +4 -4
- package/dist/chunks/{worktree-3cvzpexn.js → generate-8ahxe1yx.js} +16 -16
- package/dist/chunks/{worktree-k7s9b0vb.js → generate-8bpqntr2.js} +3 -3
- package/dist/chunks/{worktree-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-rp0b7fvm.js → generate-8esc5efs.js} +39 -39
- package/dist/chunks/{worktree-ex8c9819.js → generate-8fp4c2z7.js} +9 -9
- package/dist/chunks/{worktree-6893nb2p.js → generate-8hw9841t.js} +29 -29
- package/dist/chunks/{worktree-hdkzdw1f.js → generate-8q07pp0g.js} +20 -20
- package/dist/chunks/{worktree-c39c3jzn.js → generate-8vkxkxfw.js} +12 -12
- package/dist/chunks/{worktree-6krmax6q.js → generate-8xm938at.js} +5 -5
- package/dist/chunks/{worktree-qany4v32.js → generate-9051msma.js} +35 -35
- package/dist/chunks/{worktree-y2zgx20r.js → generate-91hm5t32.js} +3 -3
- package/dist/chunks/{worktree-e32cc78a.js → generate-92c2ry4b.js} +82 -82
- package/dist/chunks/{worktree-gfvb90ym.js → generate-94ek1h2f.js} +2 -2
- package/dist/chunks/{worktree-pvecmqrq.js → generate-9cfetbmm.js} +48 -48
- package/dist/chunks/{worktree-k4xjzc9h.js → generate-9eqcqd4c.js} +7 -7
- package/dist/chunks/{worktree-3c8jswt4.js → generate-9py21ez6.js} +19 -19
- package/dist/chunks/{worktree-ekhm0sea.js → generate-9ype0whe.js} +7 -7
- package/dist/chunks/{worktree-8qbj2xnf.js → generate-a63atnq5.js} +18 -18
- package/dist/chunks/{worktree-9t5s1r97.js → generate-a8x64na4.js} +9 -9
- package/dist/chunks/{worktree-3he9s93f.js → generate-a913ty5s.js} +2 -2
- package/dist/chunks/{worktree-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-rxmj2525.js → generate-ac05d0px.js} +5 -5
- package/dist/chunks/{worktree-b5pxe27k.js → generate-acpncztj.js} +29 -29
- package/dist/chunks/{worktree-3vhzm9vc.js → generate-acy463b0.js} +13 -13
- package/dist/chunks/{worktree-95v9dhdk.js → generate-ahs2gfn5.js} +14 -14
- package/dist/chunks/{worktree-vz7d5c1g.js → generate-ap4hnkh0.js} +8 -8
- package/dist/chunks/{worktree-0fzv9h34.js → generate-apvj6j8r.js} +28 -28
- package/dist/chunks/{worktree-ewbjc8wa.js → generate-as9020bb.js} +21 -21
- package/dist/chunks/{worktree-bqrh5ykt.js → generate-asb11nsr.js} +7 -7
- package/dist/chunks/{worktree-d9vsz0nw.js → generate-ascb784g.js} +16 -16
- package/dist/chunks/{worktree-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-1hgzjtp2.js → generate-b7vfyjp8.js} +8 -8
- package/dist/chunks/{worktree-n9hm6cyq.js → generate-bd8gmehc.js} +13 -13
- package/dist/chunks/{worktree-gx5nrd37.js → generate-bqjmqm67.js} +13 -13
- package/dist/chunks/{worktree-96ak3467.js → generate-bvbhr0nb.js} +17 -17
- package/dist/chunks/{worktree-yvpmtcpk.js → generate-by1j3ey7.js} +10 -10
- package/dist/chunks/{worktree-j3b38fkc.js → generate-c7xb4h4h.js} +8 -8
- package/dist/chunks/{worktree-magykp64.js → generate-cavr175a.js} +4 -4
- package/dist/chunks/{worktree-27zhgsem.js → generate-cb53fham.js} +4 -4
- package/dist/chunks/{worktree-s1xp2azn.js → generate-ck1n40bc.js} +32 -32
- package/dist/chunks/{worktree-54tcyq79.js → generate-ckecvw8r.js} +2 -2
- package/dist/chunks/{worktree-2gcp25fc.js → generate-cqh59s6n.js} +24 -24
- package/dist/chunks/{worktree-wedrxhxr.js → generate-ctdb5eh8.js} +3 -3
- package/dist/chunks/{worktree-2384dzxb.js → generate-cya50jfb.js} +26 -26
- package/dist/chunks/{worktree-gdv4qzn0.js → generate-d9ncfxft.js} +37 -37
- package/dist/chunks/{worktree-hnr8f6ws.js → generate-d9sgy5v4.js} +4 -4
- package/dist/chunks/{worktree-n4r3xatb.js → generate-dhmh7aw6.js} +4 -4
- package/dist/chunks/{worktree-cpneeje0.js → generate-djszqvmq.js} +9 -9
- package/dist/chunks/{worktree-axtbgcsn.js → generate-dkhp2rv1.js} +5 -5
- package/dist/chunks/{worktree-sqgjnw45.js → generate-dz42haa5.js} +1 -1
- package/dist/chunks/{worktree-jwtb7ds2.js → generate-e34fvbdd.js} +50 -50
- package/dist/chunks/{worktree-ytnjtmra.js → generate-e7v8jp1m.js} +3 -3
- package/dist/chunks/{worktree-qysgwets.js → generate-e9kfhk2a.js} +11 -11
- package/dist/chunks/{worktree-ecfe7b91.js → generate-ecfe7b91.js} +2 -2
- package/dist/chunks/{worktree-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-1arnrgt5.js → generate-ejradr83.js} +11 -11
- package/dist/chunks/{worktree-80n4v3ph.js → generate-er2bz0cg.js} +11 -11
- package/dist/chunks/{worktree-xycfn4ya.js → generate-ert96eax.js} +15 -15
- package/dist/chunks/{worktree-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-gafemadt.js → generate-exm6h1mn.js} +84 -84
- package/dist/chunks/{worktree-2ggx711d.js → generate-f2yegfjx.js} +23 -23
- package/dist/chunks/{worktree-0d4mnv31.js → generate-fcn9dpeq.js} +17 -17
- package/dist/chunks/{worktree-kvkgejfx.js → generate-fhqwpy9z.js} +17 -17
- package/dist/chunks/{worktree-3j8dagdk.js → generate-fjmvr8bc.js} +31 -31
- package/dist/chunks/{worktree-p37cw4rj.js → generate-g0445xdp.js} +8 -8
- package/dist/chunks/{worktree-8m4g0388.js → generate-g07qyce6.js} +26 -26
- package/dist/chunks/{worktree-r23pbb8t.js → generate-g4amcqm5.js} +26 -26
- package/dist/chunks/{worktree-vtgtp4yy.js → generate-g8jasmdt.js} +8 -8
- package/dist/chunks/{worktree-q3d9qgrv.js → generate-ga8r5h9c.js} +5 -5
- package/dist/chunks/{worktree-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-7gt3e72m.js → generate-gfg0xv4g.js} +20 -20
- package/dist/chunks/{worktree-aybmmbc8.js → generate-gkdtqfkd.js} +23 -23
- package/dist/chunks/{worktree-a2qe2ev9.js → generate-gs3s1a1g.js} +8 -8
- package/dist/chunks/{worktree-q86ksqw5.js → generate-gs9kevq0.js} +29 -29
- package/dist/chunks/{worktree-yyb7tjpc.js → generate-gv6a8nnw.js} +2 -2
- package/dist/chunks/{worktree-f77nxt0h.js → generate-gyanhw85.js} +22 -22
- package/dist/chunks/generate-gyce5qg1.js +18 -0
- package/dist/chunks/{worktree-2sscpfbp.js → generate-h26v9h8p.js} +8 -8
- package/dist/chunks/{worktree-44h5tttr.js → generate-h6r3nrb9.js} +4 -4
- package/dist/chunks/{worktree-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-jypr9n4v.js → generate-hkap8016.js} +24 -24
- package/dist/chunks/{worktree-ggceqynt.js → generate-hvf24zfz.js} +11 -11
- package/dist/chunks/{worktree-f7j90zp2.js → generate-j3s2z371.js} +9 -9
- package/dist/chunks/{worktree-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-bw9zjykr.js → generate-jkp0d30b.js} +6 -6
- package/dist/chunks/{worktree-674nz3pn.js → generate-jp253xqa.js} +24 -24
- package/dist/chunks/{worktree-kh5y7dsa.js → generate-k2jz26yg.js} +30 -30
- package/dist/chunks/{worktree-k3c624dm.js → generate-k3c624dm.js} +3 -3
- package/dist/chunks/{worktree-xznnvfjn.js → generate-k3w3vasa.js} +16 -16
- package/dist/chunks/{worktree-7eezvbx7.js → generate-k49da67q.js} +21 -21
- package/dist/chunks/{worktree-0rbtyk3w.js → generate-k4sxmhnt.js} +10 -10
- package/dist/chunks/{worktree-gken7ajx.js → generate-k685mvzk.js} +20 -20
- package/dist/chunks/{worktree-65tps2j5.js → generate-kcxpvb8p.js} +3 -3
- package/dist/chunks/{worktree-3k8b8397.js → generate-kgh91f7z.js} +17 -17
- package/dist/chunks/{worktree-vdcyv8vc.js → generate-knzkxb6b.js} +8 -8
- package/dist/chunks/{worktree-sssfkgzr.js → generate-m06qwvac.js} +11 -11
- package/dist/chunks/{worktree-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-gs4tkc79.js → generate-m6f3t844.js} +8 -8
- package/dist/chunks/{worktree-fe8ssjsg.js → generate-m9g2aspd.js} +165 -165
- package/dist/chunks/{worktree-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-659sfxq9.js → generate-magsh8sv.js} +20 -20
- package/dist/chunks/{worktree-33w4ejhs.js → generate-mfqp6xfm.js} +9 -9
- package/dist/chunks/{worktree-1bbkgx8g.js → generate-mhkvc446.js} +3 -3
- package/dist/chunks/{worktree-vkxhpebf.js → generate-mjs36gnf.js} +9 -9
- package/dist/chunks/{worktree-zfps0aje.js → generate-mvksx64m.js} +4 -4
- package/dist/chunks/{worktree-qgqfqnbd.js → generate-mwaxn094.js} +12 -12
- package/dist/chunks/{worktree-jwjamgbd.js → generate-nacwttbk.js} +22 -22
- package/dist/chunks/{worktree-jca4demv.js → generate-nng2ktcm.js} +2 -2
- package/dist/chunks/{worktree-fv23f2g8.js → generate-ntpdddm1.js} +3 -3
- package/dist/chunks/{worktree-xg31f8ct.js → generate-nv0fppfx.js} +12 -12
- package/dist/chunks/{worktree-ejmtyfyw.js → generate-nzxz9wjq.js} +24 -24
- package/dist/chunks/{worktree-ezg02vs1.js → generate-p0waxsk2.js} +13 -13
- package/dist/chunks/{worktree-gpb9r3qt.js → generate-p5wrwqkj.js} +10 -10
- package/dist/chunks/{worktree-60z3krt2.js → generate-p7mnw8s9.js} +13 -13
- package/dist/chunks/{worktree-t4mbtemh.js → generate-pecb0brz.js} +5 -5
- package/dist/chunks/{worktree-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-waa26gy5.js → generate-pnd8syx4.js} +16 -16
- package/dist/chunks/{worktree-q10fqe6z.js → generate-ptzcsgsd.js} +11 -11
- package/dist/chunks/{worktree-shcgk7se.js → generate-q427x2gx.js} +6 -6
- package/dist/chunks/{worktree-qkk2rr8y.js → generate-q715b6mx.js} +35 -35
- package/dist/chunks/generate-q809hsec.js +26 -0
- package/dist/chunks/{worktree-3zkmgewa.js → generate-qfraas54.js} +16 -16
- package/dist/chunks/{worktree-2k8khapm.js → generate-qgn6gcr1.js} +5 -5
- package/dist/chunks/{worktree-8cmvxv2n.js → generate-qjnxxf51.js} +5 -5
- package/dist/chunks/{worktree-drwq78ky.js → generate-qqeeq2t9.js} +7 -7
- package/dist/chunks/{worktree-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-pd6w8b01.js → generate-qvejx1kn.js} +25 -25
- package/dist/chunks/{worktree-h22tcczk.js → generate-qy806v9e.js} +8 -8
- package/dist/chunks/{worktree-dx8w7vfp.js → generate-qytgzfxz.js} +8 -8
- package/dist/chunks/{worktree-qrevjn02.js → generate-r24g8med.js} +25 -25
- package/dist/chunks/{worktree-k33k5sgz.js → generate-r75q3gpe.js} +1 -1
- package/dist/chunks/{worktree-1ft64m98.js → generate-r88x53ge.js} +9 -9
- package/dist/chunks/{worktree-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-3qaj82j9.js → generate-reg6q42h.js} +5 -5
- package/dist/chunks/{worktree-k6qbet7y.js → generate-rentz0qj.js} +37 -37
- package/dist/chunks/{worktree-eaj1djv9.js → generate-rhjbct0v.js} +8 -8
- package/dist/chunks/{worktree-n3h0vr51.js → generate-rnn46403.js} +8 -8
- package/dist/chunks/{worktree-e81dr17b.js → generate-rp7q1zw1.js} +4 -4
- package/dist/chunks/{worktree-w4arg62q.js → generate-rph3zd4r.js} +4 -4
- package/dist/chunks/{worktree-4da46de2.js → generate-rx7m66c2.js} +22 -22
- package/dist/chunks/{worktree-961mqe0b.js → generate-rzm02ymc.js} +10 -10
- package/dist/chunks/{worktree-pttk24fx.js → generate-s5aemwk0.js} +52 -52
- package/dist/chunks/{worktree-vrxvw0ry.js → generate-s78g7wkk.js} +45 -45
- package/dist/chunks/{worktree-n45vtd7p.js → generate-s9nqcr01.js} +8 -8
- package/dist/chunks/{worktree-eeaf82dq.js → generate-sp5zyyma.js} +7 -7
- package/dist/chunks/{worktree-b047h9s9.js → generate-sv2872v9.js} +17 -17
- package/dist/chunks/{worktree-jjk7p82s.js → generate-sxsh3am5.js} +26 -26
- package/dist/chunks/{worktree-s30fyz93.js → generate-syf57q56.js} +4 -4
- package/dist/chunks/{worktree-kj6zq9q4.js → generate-t1pd95j1.js} +11 -11
- package/dist/chunks/{worktree-e14rzxnr.js → generate-t6csv5s6.js} +27 -27
- package/dist/chunks/{worktree-bct739vz.js → generate-t9zs3egg.js} +4 -4
- package/dist/chunks/{worktree-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-shhg5kc4.js → generate-td32dgmv.js} +27 -27
- package/dist/chunks/{worktree-tpp8915p.js → generate-tdjs8jyr.js} +27 -27
- package/dist/chunks/{worktree-swsbd73k.js → generate-tdrse6tx.js} +15 -15
- package/dist/chunks/{worktree-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-dj68pnee.js → generate-tfzngn12.js} +4 -4
- package/dist/chunks/{worktree-t2vpa3bp.js → generate-tn0aqsam.js} +5 -5
- package/dist/chunks/{worktree-em8v7a32.js → generate-tn8xebgv.js} +27 -27
- package/dist/chunks/{worktree-dx2x7qh9.js → generate-ttxxjw3g.js} +35 -35
- package/dist/chunks/{worktree-tvtrv512.js → generate-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-nn6yf1qt.js → generate-tw2a575y.js} +313 -313
- package/dist/chunks/{worktree-qecp8fbz.js → generate-twzr1p2j.js} +11 -11
- package/dist/chunks/{worktree-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-a8nvjzqv.js → generate-vq6291rg.js} +14 -14
- package/dist/chunks/{worktree-7b6f2pz4.js → generate-vr21nvq1.js} +3 -3
- package/dist/chunks/{worktree-s2ynmxvy.js → generate-vy4zg7qh.js} +5 -5
- package/dist/chunks/{worktree-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
- package/dist/chunks/{worktree-f1kzstbv.js → generate-w398z9p4.js} +26 -26
- package/dist/chunks/{worktree-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-fgewnttk.js → generate-w6dttbvj.js} +6 -6
- package/dist/chunks/{worktree-x3x9tpbc.js → generate-w7rfck3m.js} +20 -20
- package/dist/chunks/{worktree-cn3880dm.js → generate-wa6z1zpc.js} +3 -3
- package/dist/chunks/{worktree-pgp1nwjn.js → generate-wa9g86nq.js} +4 -4
- package/dist/chunks/{worktree-zj4nggsa.js → generate-wcgwreqh.js} +35 -35
- package/dist/chunks/{worktree-psazpmmj.js → generate-wd3x2cqz.js} +2 -2
- package/dist/chunks/{worktree-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-1jvcwpzv.js → generate-wq9jd0w3.js} +4 -4
- package/dist/chunks/{worktree-f9ag4zkz.js → generate-wre1nsef.js} +23 -23
- package/dist/chunks/{worktree-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-9zraknnh.js → generate-x3v8xk0a.js} +30 -30
- package/dist/chunks/{worktree-9e5ez0z2.js → generate-x4w2k346.js} +15 -15
- package/dist/chunks/{worktree-dt5mtb60.js → generate-x8y3gv38.js} +11 -11
- package/dist/chunks/{worktree-r5v4xwkj.js → generate-xa838nr5.js} +46 -46
- package/dist/chunks/{worktree-m75a1scj.js → generate-xd34mfmm.js} +11 -11
- package/dist/chunks/{worktree-t4km5p4j.js → generate-xfvyxkvp.js} +17 -17
- package/dist/chunks/{worktree-fj30x8t9.js → generate-xge24dse.js} +16 -16
- package/dist/chunks/{worktree-dmqcgk4z.js → generate-xkntkrq7.js} +5 -5
- package/dist/chunks/{worktree-ktvcadya.js → generate-xpxvvxwe.js} +15 -15
- package/dist/chunks/{worktree-kbrhjmmj.js → generate-xvp1j2dc.js} +6 -35
- package/dist/chunks/{worktree-1xpaaevk.js → generate-xztnf58b.js} +19 -19
- package/dist/chunks/{worktree-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-e9r79r8d.js → generate-y3cbw9ke.js} +9 -9
- package/dist/chunks/{worktree-y71avatq.js → generate-y71avatq.js} +1 -1
- package/dist/chunks/{worktree-cxn44tg0.js → generate-ya37k36g.js} +3 -3
- package/dist/chunks/{worktree-pc7a78kv.js → generate-ybra3gbx.js} +69 -69
- package/dist/chunks/{worktree-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → generate-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-bjtzbw4r.js → generate-z07pqspn.js} +3 -3
- package/dist/chunks/{worktree-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-c8jj867k.js → generate-z3nay82g.js} +8 -8
- package/dist/chunks/{worktree-gyqt3txq.js → generate-z3pwkdgp.js} +20 -20
- package/dist/chunks/{worktree-z63w68vq.js → generate-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-dqt0xvez.js → generate-zbv76mee.js} +4 -4
- package/dist/chunks/{worktree-w7ams0n7.js → generate-zcrnxhy5.js} +43 -43
- package/dist/chunks/{worktree-rq775frq.js → generate-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-mjk1w6qm.js → generate-zprz1ztb.js} +5 -5
- package/dist/chunks/{worktree-0k3fqexr.js → generate-zqs4559c.js} +10 -10
- package/dist/chunks/{worktree-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-pcn71y31.js → generate-zrh9pnak.js} +8 -8
- package/dist/chunks/{worktree-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- 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 +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- 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 +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- 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 +124 -124
- 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 +124 -124
- 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 -104
- 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 +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +4 -4
- 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 +79 -79
- 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 +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +126 -126
- 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 +96 -96
- package/dist/model.js +100 -100
- 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 +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +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 +2 -2
- 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 +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- 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 +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- 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 +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- 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 +4 -4
- 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 +170 -170
- 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 +5 -5
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- 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 +9 -9
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- 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 +119 -119
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- 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 +122 -122
- 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 +16 -16
- package/dist/types/session/runner/retry.d.ts +2 -2
- 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 +3 -3
- 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 +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 +91 -91
- 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 +79 -79
- 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 -8
- package/dist/chunks/worktree-4chajvys.js +0 -252
- package/dist/chunks/worktree-6kdq0pjd.js +0 -4
- package/dist/chunks/worktree-qc068m1q.js +0 -18
- package/dist/chunks/worktree-qj6bq7hm.js +0 -26
- /package/dist/chunks/{worktree-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → generate-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./generate-s5aemwk0.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input8,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin44,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name8
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name8 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input8 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input12 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input8.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin44 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service65;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name8,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input8,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin15 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name8,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name8, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input8, Plugin44, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-vr21nvq1.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-84f8pt8n.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info30,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service78,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node82
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service78 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info30({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service78.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info30({
|
|
80
|
+
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service78, node82, exports_credential };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-h26v9h8p.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80,
|
|
9
9
|
node84
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-a913ty5s.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service65,
|
|
13
|
+
node68
|
|
14
|
+
} from "./generate-s5aemwk0.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service16,
|
|
26
|
+
node: () => node18,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service16 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
54
|
const location = yield* Service80;
|
|
55
|
-
const permission = yield*
|
|
55
|
+
const permission = yield* Service65;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service16.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node18 = makeLocationNode({ service: Service16, layer, deps: [FSUtil.node, node84, node68] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service16, resolvePath2, node18, exports_file_access };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./generate-d9ncfxft.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service7
|
|
6
|
+
} from "./generate-sxsh3am5.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin7
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin7 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service40;
|
|
26
|
+
const compaction = yield* Service7;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin46 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin7, exports_compaction };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service40
|
|
7
|
+
} from "./generate-d9ncfxft.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service59
|
|
13
|
+
} from "./generate-k49da67q.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service50
|
|
16
|
+
} from "./generate-fhqwpy9z.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service65
|
|
19
|
+
} from "./generate-s5aemwk0.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service16,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-x4w2k346.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service43,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-ascb784g.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service38
|
|
37
|
+
} from "./generate-rentz0qj.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service19
|
|
40
|
+
} from "./generate-exm6h1mn.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./generate-cb53fham.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./generate-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input7,
|
|
53
|
+
Plugin: () => Plugin43,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name7
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name7 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input7 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin43 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service19;
|
|
123
|
+
const jobs = yield* Service50;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service59;
|
|
126
|
+
const access = yield* Service16;
|
|
127
|
+
const shell = yield* Service38;
|
|
128
|
+
const shellSelect = yield* Service43;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service65;
|
|
131
|
+
const config = yield* Service40;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin8 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name7,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin8 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name7,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input7,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -206,7 +206,7 @@ var Plugin8 = {
|
|
|
206
206
|
const run = Effect.gen(function* () {
|
|
207
207
|
const result = yield* shell.result(info);
|
|
208
208
|
if (!result.capture)
|
|
209
|
-
return yield* new
|
|
209
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
210
210
|
const output = output2(result);
|
|
211
211
|
return {
|
|
212
212
|
...output,
|
|
@@ -220,7 +220,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
220
220
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
221
221
|
const job = yield* jobs.start({
|
|
222
222
|
id: info.id,
|
|
223
|
-
type:
|
|
223
|
+
type: name7,
|
|
224
224
|
title: info.command,
|
|
225
225
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
226
226
|
recovery: {
|
|
@@ -250,7 +250,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
250
250
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
const hook = (event) => Effect.gen(function* () {
|
|
253
|
-
const tool = event.tools[
|
|
253
|
+
const tool = event.tools[name7];
|
|
254
254
|
if (!tool)
|
|
255
255
|
return;
|
|
256
256
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -261,4 +261,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
261
261
|
})
|
|
262
262
|
};
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin43, exports_shell2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./generate-5cvwhdy7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./generate-d9ncfxft.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-4pm1yn44.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin15
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin15 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service40;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service41;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin36 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin15, exports_compatibility };
|