@opencode/core 0.0.0-dev-19901 → 0.0.0-dev-19903
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{tool-output-aa7sjynz.js → git-027nwmzm.js} +11 -11
- package/dist/chunks/{tool-output-jdgt8b9h.js → git-039wtrre.js} +20 -20
- package/dist/chunks/{tool-output-jk0t2mrd.js → git-0418zk9p.js} +20 -20
- package/dist/chunks/{tool-output-2t2mkpra.js → git-042kb97t.js} +14 -14
- package/dist/chunks/{tool-output-1hc11dc4.js → git-06dxphr1.js} +4 -4
- package/dist/chunks/{tool-output-a3j4x1tw.js → git-0bgk8r0f.js} +17 -17
- package/dist/chunks/{tool-output-hkfg6fzm.js → git-0f9afca0.js} +5 -5
- package/dist/chunks/{tool-output-vggs0s0j.js → git-0fv61ecr.js} +23 -23
- package/dist/chunks/{tool-output-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-output-0q0f95c6.js → git-0q0f95c6.js} +1 -1
- package/dist/chunks/{tool-output-vvzwb0bn.js → git-12kty0ww.js} +21 -21
- package/dist/chunks/{tool-output-wtrs3vw2.js → git-1497xpph.js} +21 -21
- package/dist/chunks/{tool-output-eeaf82dq.js → git-15nepkqg.js} +8 -8
- package/dist/chunks/{tool-output-d5cct5w2.js → git-1cdpybwa.js} +4 -4
- package/dist/chunks/{tool-output-1dazxqgg.js → git-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-output-s5kb3k8e.js → git-1ktgcqzb.js} +12 -12
- package/dist/chunks/{tool-output-pz8xdsk0.js → git-1nqgt6nd.js} +72 -72
- package/dist/chunks/{tool-output-fng9e0je.js → git-1s3p39g4.js} +6 -6
- package/dist/chunks/{tool-output-2dstrcn9.js → git-1sv95vc5.js} +8 -8
- package/dist/chunks/git-1tm0r3ht.js +4 -0
- package/dist/chunks/{tool-output-1ygqh575.js → git-1ygqh575.js} +2 -2
- package/dist/chunks/{tool-output-21r38tys.js → git-21r38tys.js} +1 -1
- package/dist/chunks/{tool-output-6h73sxmp.js → git-2402vzrj.js} +5 -5
- package/dist/chunks/{tool-output-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-output-dj9sq318.js → git-2f0bjgcj.js} +5 -5
- package/dist/chunks/{tool-output-ph842b28.js → git-2k71kv7p.js} +4 -4
- package/dist/chunks/{tool-output-8pj9g4aw.js → git-2pfzsskh.js} +10 -10
- package/dist/chunks/{tool-output-b51hwsdf.js → git-2zpp5gqn.js} +40 -40
- package/dist/chunks/{tool-output-yb7ywnjc.js → git-323vqbpc.js} +18 -18
- package/dist/chunks/{tool-output-4czfwtvw.js → git-34ss5zky.js} +10 -10
- package/dist/chunks/{tool-output-hcxtz2cn.js → git-351zfds2.js} +11 -11
- package/dist/chunks/{tool-output-enqehpm9.js → git-3d0dewsp.js} +38 -38
- package/dist/chunks/{tool-output-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-output-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-output-4dt747xw.js → git-3n5txjme.js} +15 -15
- package/dist/chunks/{tool-output-j313d1gp.js → git-3s5npdm4.js} +31 -31
- package/dist/chunks/{tool-output-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-output-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-output-hh2gqd14.js → git-43st4rky.js} +10 -10
- package/dist/chunks/{tool-output-knb7evpn.js → git-44ke2mar.js} +2 -2
- package/dist/chunks/{tool-output-z974etmn.js → git-4bxxhqwz.js} +24 -24
- package/dist/chunks/{tool-output-n0tq777j.js → git-4e8vs6eh.js} +8 -8
- package/dist/chunks/{tool-output-808ncq51.js → git-4gtmt3my.js} +9 -9
- package/dist/chunks/{tool-output-j5fs6qp9.js → git-4m9se1rc.js} +8 -8
- package/dist/chunks/{tool-output-4dhr5kmg.js → git-4shhyfcg.js} +24 -24
- package/dist/chunks/{tool-output-jhqs8np0.js → git-4tffx8e7.js} +19 -19
- package/dist/chunks/{tool-output-q3q4fawj.js → git-57ez7d0k.js} +7 -7
- package/dist/chunks/{tool-output-a1bz86dw.js → git-5c4hm403.js} +3 -3
- package/dist/chunks/{tool-output-4pg6vk4d.js → git-5cc6w1gd.js} +30 -30
- package/dist/chunks/{tool-output-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-output-mtwjx8d5.js → git-5dy7ce51.js} +5 -5
- package/dist/chunks/{tool-output-5t3nmthw.js → git-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-output-fqg3000w.js → git-649zx5ph.js} +50 -50
- package/dist/chunks/{tool-output-669tq793.js → git-669tq793.js} +1 -1
- package/dist/chunks/{tool-output-48z5eyx9.js → git-66np2a7g.js} +22 -22
- package/dist/chunks/{tool-output-meryqakt.js → git-6bs3d6h5.js} +6 -6
- package/dist/chunks/{tool-output-fx7xv9ry.js → git-6k54t28w.js} +4 -4
- package/dist/chunks/{tool-output-6msgmcgs.js → git-6msgmcgs.js} +1 -1
- package/dist/chunks/{tool-output-fk3g28fa.js → git-6tbkcq8e.js} +5 -5
- package/dist/chunks/{tool-output-1bbkgx8g.js → git-73tb2d7t.js} +3 -3
- package/dist/chunks/{tool-output-ktk6m7yv.js → git-74rrnwt7.js} +12 -12
- package/dist/chunks/{tool-output-mncc1266.js → git-79r9ttys.js} +42 -42
- package/dist/chunks/{tool-output-4p8fzzdy.js → git-7ac170kv.js} +4 -4
- package/dist/chunks/{tool-output-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-output-kq8anxe4.js → git-7csk8cvc.js} +11 -11
- package/dist/chunks/{tool-output-qgn6gcr1.js → git-7dqw4kz8.js} +5 -5
- package/dist/chunks/{tool-output-q9cdy8tv.js → git-7gnmq8tb.js} +9 -9
- package/dist/chunks/{tool-output-6f77yy2d.js → git-7v4dc6hc.js} +2 -2
- package/dist/chunks/{tool-output-z5ntc05q.js → git-7w99qc9d.js} +3 -3
- package/dist/chunks/{tool-output-4zzpnmyc.js → git-7ytt51fn.js} +14 -14
- package/dist/chunks/{tool-output-epaqsvmn.js → git-7z7az0f5.js} +4 -4
- package/dist/chunks/{tool-output-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-output-n1ktpaa9.js → git-8gx1pm1h.js} +19 -19
- package/dist/chunks/{tool-output-j78cd4c2.js → git-94tx7stp.js} +11 -11
- package/dist/chunks/{tool-output-epxzab81.js → git-98mg7qvv.js} +21 -21
- package/dist/chunks/{tool-output-bh0wz0k3.js → git-9c1agytg.js} +5 -5
- package/dist/chunks/{tool-output-r52tak3e.js → git-9dexqdqx.js} +3 -3
- package/dist/chunks/{tool-output-q2xhn23d.js → git-9mwc0pdy.js} +11 -11
- package/dist/chunks/{tool-output-fd0e6drk.js → git-9syry2ev.js} +36 -36
- package/dist/chunks/{tool-output-0dsvprc7.js → git-9x0v0705.js} +39 -39
- package/dist/chunks/{tool-output-k6mfdkmd.js → git-a0038gx3.js} +28 -28
- package/dist/chunks/{tool-output-7wht8r80.js → git-a5ya2r9j.js} +3 -3
- package/dist/chunks/{tool-output-hf2j770k.js → git-a8vyjn7h.js} +9 -9
- package/dist/chunks/{tool-output-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-output-081ek8fx.js → git-acpcwzyg.js} +3 -3
- package/dist/chunks/{tool-output-x7bv5qy9.js → git-aff0tsqy.js} +33 -33
- package/dist/chunks/{tool-output-06p361q7.js → git-aj065mjf.js} +3 -3
- package/dist/chunks/{tool-output-gr0cg7q6.js → git-ajk3q3qd.js} +25 -25
- package/dist/chunks/{tool-output-a359dbf8.js → git-amrd2r7h.js} +30 -30
- package/dist/chunks/{tool-output-gbwbz775.js → git-antav6gs.js} +5 -5
- package/dist/chunks/{tool-output-p2d6c6bb.js → git-aqc681er.js} +15 -15
- package/dist/chunks/git-atagsz1a.js +26 -0
- package/dist/chunks/{tool-output-mhm5nxpj.js → git-b05f6c20.js} +32 -32
- package/dist/chunks/{tool-output-hmc3077v.js → git-b11ys966.js} +17 -17
- package/dist/chunks/{tool-output-7k4p3msd.js → git-b3kcpas4.js} +28 -28
- package/dist/chunks/{tool-output-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-output-5j26zdd4.js → git-b7m1r73f.js} +44 -44
- package/dist/chunks/{tool-output-sg8a7ymw.js → git-b9czbbsq.js} +4 -4
- package/dist/chunks/{tool-output-xgq1v614.js → git-bavzqnzq.js} +6 -6
- package/dist/chunks/{tool-output-0gpx1yng.js → git-bf4h81wh.js} +68 -68
- package/dist/chunks/{tool-output-0b2dkfpa.js → git-bhjgvdqt.js} +28 -28
- package/dist/chunks/{tool-output-63d1yb06.js → git-bpgsx570.js} +11 -11
- package/dist/chunks/{tool-output-vbsn5z78.js → git-bq7ckpt2.js} +20 -20
- package/dist/chunks/{tool-output-hp296tng.js → git-bqsqrc54.js} +13 -13
- package/dist/chunks/{tool-output-jz5sxy2v.js → git-bscb95cy.js} +6 -6
- package/dist/chunks/{tool-output-g405kcwd.js → git-by185h06.js} +9 -9
- package/dist/chunks/{tool-output-fdms3n6w.js → git-bydnjh3t.js} +9 -9
- package/dist/chunks/{tool-output-2jz473v5.js → git-bz85s9hh.js} +1 -1
- package/dist/chunks/{tool-output-xkg5p1bf.js → git-c0scma1y.js} +19 -19
- package/dist/chunks/{tool-output-27qhgprp.js → git-c1hryaat.js} +13 -13
- package/dist/chunks/{tool-output-cwa6csj7.js → git-c765mh8b.js} +9 -9
- package/dist/chunks/{tool-output-ny6ggxa6.js → git-c8ncvz4f.js} +29 -29
- package/dist/chunks/{tool-output-333bq2wg.js → git-c9xfc2bp.js} +9 -9
- package/dist/chunks/{tool-output-yvqb1n05.js → git-cc75p45k.js} +6 -6
- package/dist/chunks/{tool-output-rvbptfp6.js → git-chq224vk.js} +8 -8
- package/dist/chunks/{tool-output-p37cw4rj.js → git-cmwkp3r5.js} +8 -8
- package/dist/chunks/{tool-output-3f39ggam.js → git-d5ebx1tt.js} +17 -17
- package/dist/chunks/{tool-output-6wk7cv4v.js → git-d9skpm4z.js} +26 -26
- package/dist/chunks/{tool-output-7s2v97aj.js → git-dafrvj9y.js} +10 -10
- package/dist/chunks/{tool-output-6mt29rwn.js → git-dbfv870a.js} +24 -24
- package/dist/chunks/{tool-output-wpfcz72r.js → git-dfx8dwsp.js} +3 -3
- package/dist/chunks/{tool-output-8p4f9s12.js → git-dj2t23y0.js} +2 -2
- package/dist/chunks/{tool-output-y71avatq.js → git-dpkg50ah.js} +4 -4
- package/dist/chunks/git-dxj72tfx.js +18 -0
- package/dist/chunks/{tool-output-nyvg7fdv.js → git-dz8h4260.js} +8 -8
- package/dist/chunks/{tool-output-kzr6x06e.js → git-e0vtkr8g.js} +6 -6
- package/dist/chunks/{tool-output-f6zdrpqa.js → git-e7nvtajr.js} +9 -9
- package/dist/chunks/{tool-output-dn23cswn.js → git-eab04pkv.js} +8 -8
- package/dist/chunks/{tool-output-t3bygzqy.js → git-ec8zkn27.js} +10 -10
- package/dist/chunks/{tool-output-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-output-7x0e4a3e.js → git-en4haw52.js} +7 -7
- package/dist/chunks/{tool-output-zskgmyr0.js → git-ep9bxrrg.js} +16 -16
- package/dist/chunks/{tool-output-erw5rpbs.js → git-erw5rpbs.js} +2 -2
- package/dist/chunks/{tool-output-etq0c3wd.js → git-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-output-v16qm9q2.js → git-etvbk3nd.js} +12 -12
- package/dist/chunks/{tool-output-7q2hdn5f.js → git-evdfgtfh.js} +5 -5
- package/dist/chunks/{tool-output-ngk7ft1f.js → git-ewff9sb5.js} +21 -21
- package/dist/chunks/{tool-output-3cxbdjpt.js → git-f0s9gk5b.js} +30 -30
- package/dist/chunks/{tool-output-zpztgtkd.js → git-f7d7heb6.js} +9 -9
- package/dist/chunks/{tool-output-1wvycs1y.js → git-f912p73c.js} +15 -15
- package/dist/chunks/{tool-output-19gaxc1a.js → git-fafk06hg.js} +43 -43
- package/dist/chunks/{tool-output-sa1fyfn4.js → git-fe8wzdxj.js} +13 -13
- package/dist/chunks/{tool-output-fhz5gfgy.js → git-fhz5gfgy.js} +2 -2
- package/dist/chunks/{tool-output-r6qre0sb.js → git-fmtkes5b.js} +32 -32
- package/dist/chunks/{tool-output-fxbjtjnd.js → git-fxbjtjnd.js} +1 -1
- package/dist/chunks/{tool-output-pz615jzp.js → git-g61ajybw.js} +35 -35
- package/dist/chunks/{tool-output-4ajrfae2.js → git-g867j5rj.js} +35 -35
- package/dist/chunks/{tool-output-44f1cw7y.js → git-g9dfax70.js} +11 -11
- package/dist/chunks/{tool-output-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-output-q8epdb8w.js → git-gd9hx4w4.js} +32 -32
- package/dist/chunks/{tool-output-dbchr83k.js → git-gna097a3.js} +7 -7
- package/dist/chunks/{tool-output-gv6a8nnw.js → git-gv6a8nnw.js} +2 -2
- package/dist/chunks/{tool-output-245b80zk.js → git-h25kgf1n.js} +16 -16
- package/dist/chunks/{tool-output-pd85y656.js → git-h29bkcyj.js} +15 -15
- package/dist/chunks/{tool-output-pb1eahw5.js → git-h2r7bbkd.js} +8 -8
- package/dist/chunks/{tool-output-3cp94b2x.js → git-h3df4jtv.js} +22 -22
- package/dist/chunks/{tool-output-cpj0znwe.js → git-h6r3nrb9.js} +4 -4
- package/dist/chunks/{tool-output-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-output-krqv6p8z.js → git-h811gqcx.js} +24 -24
- package/dist/chunks/{tool-output-qec9hvjm.js → git-h90kht10.js} +180 -180
- package/dist/chunks/{tool-output-f828m53h.js → git-hdnk95c8.js} +2 -2
- package/dist/chunks/{tool-output-0tmgye68.js → git-hf3bkrve.js} +9 -9
- package/dist/chunks/{tool-output-gws4b7r9.js → git-hg1650sb.js} +49 -49
- package/dist/chunks/{tool-output-30d0gec6.js → git-hn65cvtk.js} +12 -12
- package/dist/chunks/{tool-output-enshc74s.js → git-hqrkv6hr.js} +11 -11
- package/dist/chunks/{tool-output-90vha74g.js → git-hvw0c4dx.js} +20 -20
- package/dist/chunks/{tool-output-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-output-33zseqes.js → git-j5jt9zep.js} +14 -14
- package/dist/chunks/{tool-output-pnhjcye8.js → git-j7s8a3y2.js} +23 -23
- package/dist/chunks/{tool-output-p2gbehyw.js → git-jg18etp6.js} +5 -5
- package/dist/chunks/{tool-output-3bdjg33f.js → git-jnz4hg19.js} +9 -9
- package/dist/chunks/{tool-output-1rmaqtrx.js → git-jqnpsya4.js} +4 -4
- package/dist/chunks/{tool-output-28bqvbmz.js → git-jr9kt5xd.js} +5 -5
- package/dist/chunks/{tool-output-magykp64.js → git-jw80jp6b.js} +4 -4
- package/dist/chunks/{tool-output-xgm2h5c0.js → git-jxmk1xaj.js} +11 -11
- package/dist/chunks/{tool-output-qfqsp29t.js → git-k1s32fvt.js} +26 -26
- package/dist/chunks/{tool-output-k3c624dm.js → git-k3c624dm.js} +3 -3
- package/dist/chunks/{tool-output-34x4s2w1.js → git-k9avtbwf.js} +3 -3
- package/dist/chunks/{tool-output-0a1zy6wp.js → git-khvphsrh.js} +8 -8
- package/dist/chunks/{tool-output-n7vp38gt.js → git-kmm845r5.js} +4 -4
- package/dist/chunks/{tool-output-gmgzcr5s.js → git-kqefehct.js} +20 -20
- package/dist/chunks/{tool-output-pd65cknd.js → git-kw6mn35p.js} +28 -28
- package/dist/chunks/{tool-output-dqp45rz8.js → git-kznzvves.js} +18 -18
- package/dist/chunks/{tool-output-cfpkc3c9.js → git-m0jqrx5p.js} +2 -2
- package/dist/chunks/{tool-output-m3fdjcah.js → git-m3fdjcah.js} +1 -1
- package/dist/chunks/{tool-output-qkc1cvv7.js → git-m55gzfht.js} +35 -35
- package/dist/chunks/{tool-output-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-output-qamdyatg.js → git-md3jg0qp.js} +14 -14
- package/dist/chunks/{tool-output-8qmmky1n.js → git-mdjvh782.js} +6 -6
- package/dist/chunks/{tool-output-4e105jgy.js → git-mn6tw3kw.js} +82 -82
- package/dist/chunks/{tool-output-8fy70dyx.js → git-mrenjtm5.js} +32 -32
- package/dist/chunks/{tool-output-zav06jzw.js → git-n4r3xatb.js} +4 -4
- package/dist/chunks/{tool-output-r263x78e.js → git-n69xsk8s.js} +22 -22
- package/dist/chunks/{tool-output-ggwd74jc.js → git-nng2ktcm.js} +2 -2
- package/dist/chunks/{tool-output-fhs97t90.js → git-nq7qbqzc.js} +9 -9
- package/dist/chunks/{tool-output-crr7bgqk.js → git-nrxvsan6.js} +35 -35
- package/dist/chunks/{tool-output-phpw85vv.js → git-ntg2j34t.js} +8 -8
- package/dist/chunks/{tool-output-tbz0fdvh.js → git-p28j5sbe.js} +5 -5
- package/dist/chunks/{tool-output-etykttqy.js → git-p5dd841b.js} +28 -28
- package/dist/chunks/{tool-output-fymfmzvm.js → git-pcsj30ra.js} +23 -23
- package/dist/chunks/{tool-output-8vmcfqt4.js → git-pjkk14hr.js} +16 -16
- package/dist/chunks/{tool-output-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-output-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{tool-output-gbj63fq2.js → git-pr382p6v.js} +10 -10
- package/dist/chunks/{tool-output-jst88djk.js → git-pt0j3tr7.js} +20 -20
- package/dist/chunks/{tool-output-qp3v07n2.js → git-pw9v3g6d.js} +8 -8
- package/dist/chunks/{tool-output-b7tg6v9h.js → git-q5p5e0z4.js} +7 -7
- package/dist/chunks/{tool-output-c9fags9s.js → git-q6hnthzh.js} +26 -26
- package/dist/chunks/{tool-output-bpc8xye1.js → git-q8nspep2.js} +23 -23
- package/dist/chunks/{tool-output-7h5pm557.js → git-q9df8xkf.js} +23 -23
- package/dist/chunks/{tool-output-1g7epwpd.js → git-qa3qhgw8.js} +7 -7
- package/dist/chunks/{tool-output-xxkgr1pf.js → git-qb7gw741.js} +46 -46
- package/dist/chunks/{tool-output-1675q44e.js → git-qd25dy8f.js} +298 -298
- package/dist/chunks/{tool-output-fdc9xy8k.js → git-qj96v8ds.js} +39 -39
- package/dist/chunks/{tool-output-ftb756d7.js → git-qjy2jana.js} +9 -9
- package/dist/chunks/{tool-output-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-output-t3fdem4h.js → git-qstdfg4v.js} +16 -16
- package/dist/chunks/{tool-output-bzfzcg95.js → git-r7cq5eaz.js} +21 -21
- package/dist/chunks/{tool-output-1acjjqhc.js → git-r8xr0va3.js} +4 -4
- package/dist/chunks/{tool-output-pmr4s4kc.js → git-r98e92ep.js} +4 -4
- package/dist/chunks/{tool-output-5ejf4r5a.js → git-r9g7xawp.js} +5 -5
- package/dist/chunks/{tool-output-he6djx1j.js → git-racwxhen.js} +25 -25
- package/dist/chunks/{tool-output-2vd2dv33.js → git-rcmcqx8y.js} +24 -24
- package/dist/chunks/{tool-output-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-output-380fkrs4.js → git-redjg7jq.js} +10 -10
- package/dist/chunks/{tool-output-5218j1mp.js → git-rweyqa6c.js} +5 -5
- package/dist/chunks/{tool-output-3w4a2kbh.js → git-rys2qa45.js} +31 -31
- package/dist/chunks/{tool-output-jd5ad6jn.js → git-rzvbcmqs.js} +23 -23
- package/dist/chunks/{tool-output-02nrjc1r.js → git-s8d7rejh.js} +8 -8
- package/dist/chunks/{tool-output-e7bm6crp.js → git-sd1eqffg.js} +20 -20
- package/dist/chunks/{tool-output-k0qwsmnp.js → git-srmfg1be.js} +4 -4
- package/dist/chunks/{tool-output-n049gm8z.js → git-svvemcs6.js} +8 -8
- package/dist/chunks/{tool-output-ym688k4s.js → git-t0a8ey22.js} +42 -42
- package/dist/chunks/{tool-output-4vfg1jh9.js → git-t9nx39d4.js} +15 -15
- package/dist/chunks/{tool-output-nmpm9ry4.js → git-taaehm3f.js} +12 -12
- package/dist/chunks/{tool-output-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-output-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-output-j6ynvstg.js → git-td0n94qx.js} +13 -13
- package/dist/chunks/{tool-output-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{tool-output-hq8zt1th.js → git-tegs1ycp.js} +6 -6
- package/dist/chunks/{tool-output-17fex99v.js → git-th8ayh5h.js} +47 -47
- package/dist/chunks/git-ttez9jgf.js +252 -0
- package/dist/chunks/{tool-output-tvtrv512.js → git-tvtrv512.js} +1 -1
- package/dist/chunks/{tool-output-8gfzv65x.js → git-tz95769g.js} +54 -54
- package/dist/chunks/{tool-output-3hjdpwrp.js → git-v7g90mm9.js} +15 -15
- package/dist/chunks/{tool-output-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-output-khjxa8a8.js → git-vv868sj3.js} +19 -19
- package/dist/chunks/{tool-output-7wdyxh4v.js → git-vvj93n9v.js} +8 -8
- package/dist/chunks/{tool-output-4drgpw32.js → git-vykevjvn.js} +5 -5
- package/dist/chunks/{tool-output-yz94qm7h.js → git-vymzd7ej.js} +43 -43
- package/dist/chunks/{tool-output-vzcthcp8.js → git-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-output-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-output-qjnxxf51.js → git-wbkyxrgf.js} +5 -5
- package/dist/chunks/{tool-output-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{tool-output-d96v7e0b.js → git-wfkwfyq3.js} +22 -22
- package/dist/chunks/{tool-output-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-output-gx9e308d.js → git-x5bjv211.js} +3 -3
- package/dist/chunks/{tool-output-1ts8rgva.js → git-x73ycqwj.js} +9 -9
- package/dist/chunks/{tool-output-ww5tpm6f.js → git-x7rt4n2a.js} +13 -13
- package/dist/chunks/{tool-output-xdj8fn82.js → git-xb8n6r1f.js} +17 -17
- package/dist/chunks/{tool-output-496as97q.js → git-xcg3csh5.js} +35 -35
- package/dist/chunks/{tool-output-drwq78ky.js → git-xfkkasph.js} +4 -4
- package/dist/chunks/{tool-output-tk3z30t0.js → git-xgc3eqma.js} +26 -26
- package/dist/chunks/{tool-output-epkpsq8q.js → git-xrmjqyg6.js} +6 -6
- package/dist/chunks/{tool-output-06hvzpqw.js → git-xwvzvhz2.js} +24 -24
- package/dist/chunks/{tool-output-m73r9x6c.js → git-xxh2e4wm.js} +30 -30
- package/dist/chunks/{tool-output-f71ps7j0.js → git-xzv80epr.js} +11 -11
- package/dist/chunks/{tool-output-mkg7sf6a.js → git-y18wrbdh.js} +4 -4
- package/dist/chunks/{tool-output-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-output-8pkffp7a.js → git-yackpcce.js} +1 -1
- package/dist/chunks/{tool-output-y3w47xgk.js → git-yb6bkkrk.js} +27 -27
- package/dist/chunks/{tool-output-54d63j77.js → git-ybg6ac8c.js} +12 -12
- package/dist/chunks/{tool-output-tjjwpfh5.js → git-yr0pwqb0.js} +1 -1
- package/dist/chunks/{tool-output-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-output-yrznvahk.js → git-yrznvahk.js} +2 -2
- package/dist/chunks/{tool-output-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-output-z63w68vq.js → git-z63w68vq.js} +2 -2
- package/dist/chunks/{tool-output-b86wdy9s.js → git-z8wga6cg.js} +27 -27
- package/dist/chunks/{tool-output-41c5hffj.js → git-zcqy6b3d.js} +13 -13
- package/dist/chunks/{tool-output-zeh9ct20.js → git-zeh9ct20.js} +2 -2
- package/dist/chunks/{tool-output-wp04yf6p.js → git-zf50ty56.js} +50 -50
- package/dist/chunks/{tool-output-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-output-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +121 -121
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +98 -98
- 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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +86 -86
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +5 -5
- 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 +91 -91
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/tool-output-6kdq0pjd.js +0 -4
- package/dist/chunks/tool-output-9sh4wc5j.js +0 -18
- package/dist/chunks/tool-output-dk18nfnt.js +0 -252
- package/dist/chunks/tool-output-x57dpdjd.js +0 -26
- /package/dist/chunks/{tool-output-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-output-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-output-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-output-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-output-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-output-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-output-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-output-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-output-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-output-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-output-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-output-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-output-3w5fmr99.js → git-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-output-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-output-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-output-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-output-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-output-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-output-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-output-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-output-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-output-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-output-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-output-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-output-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-output-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-output-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-output-922hggd3.js → git-922hggd3.js} +0 -0
- /package/dist/chunks/{tool-output-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-output-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-output-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-output-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-output-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-output-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-output-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-output-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-output-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-output-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-output-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-output-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-output-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-output-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-output-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-output-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-output-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-output-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-output-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-output-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-output-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-output-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-output-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-output-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-output-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-output-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-output-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-output-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-output-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-output-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-output-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-output-hjbc5kem.js → git-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-output-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-output-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-output-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-output-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-output-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-output-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-output-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-output-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-output-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-output-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-output-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-output-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-output-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-output-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-output-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-output-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-output-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-output-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-output-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-output-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-output-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-output-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-output-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-output-twg0f83k.js → git-twg0f83k.js} +0 -0
- /package/dist/chunks/{tool-output-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-output-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-output-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-output-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-output-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-output-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-output-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-output-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-output-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-output-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-output-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-output-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./git-md3jg0qp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./git-pjkk14hr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID11,
|
|
11
|
+
Service72,
|
|
12
|
+
node76
|
|
13
|
+
} from "./git-xwvzvhz2.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError9
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-k9avtbwf.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service70,
|
|
19
|
+
node74
|
|
20
|
+
} from "./git-taaehm3f.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service71,
|
|
26
|
+
node75
|
|
27
|
+
} from "./git-t9nx39d4.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service73,
|
|
30
|
+
node77
|
|
31
|
+
} from "./git-4e8vs6eh.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./git-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
45
|
+
Event: () => Event14,
|
|
46
|
+
ID: () => ID8,
|
|
47
47
|
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service69,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node73
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event14 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID8 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
77
|
+
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID8.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID11.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID8,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID8,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
-
requestID:
|
|
114
|
+
requestID: ID8
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service69 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service82;
|
|
132
|
+
const location = yield* Service79;
|
|
133
|
+
const agents = yield* Service72;
|
|
134
|
+
const sessions = yield* Service70;
|
|
135
|
+
const saved = yield* Service71;
|
|
136
|
+
const hooks = yield* Service73;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID8.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID8.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service69.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node73 = makeLocationNode({
|
|
303
|
+
service: Service69,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node86, node83, node76, node74, node75, node77]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service69, node73, exports_permission2, Rule3, Ruleset2, Event14 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./git-md3jg0qp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./git-pjkk14hr.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service70,
|
|
14
|
+
node74
|
|
15
|
+
} from "./git-taaehm3f.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service10,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node12
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service10 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service82;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service70;
|
|
41
|
+
const location = yield* Service79;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service10.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node12 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node86, FSUtil.node, node83, node74]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service10, node12, exports_instructions };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-gna097a3.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-yackpcce.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make22(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make22, makeWithDefaults2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-7csk8cvc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID13
|
|
6
|
+
} from "./git-xcg3csh5.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID13.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-yackpcce.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-6bs3d6h5.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make10(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make10 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service81,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node85
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service81 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service81.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node85, exports_git3 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID11,
|
|
3
|
+
Service72
|
|
4
|
+
} from "./git-xwvzvhz2.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service74
|
|
8
|
+
} from "./git-m55gzfht.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./git-qb7gw741.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-7w99qc9d.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service63
|
|
18
|
+
} from "./git-b11ys966.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service69
|
|
22
|
+
} from "./git-649zx5ph.js";
|
|
23
23
|
import {
|
|
24
24
|
Service25
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./git-1nqgt6nd.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./git-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make9
|
|
31
|
+
} from "./git-e7nvtajr.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./git-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input6,
|
|
40
|
+
Output: () => Output4,
|
|
41
|
+
Plugin: () => Plugin41,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description4,
|
|
44
|
+
name: () => name6
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name6 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input6 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input7 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output4 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description4 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin41 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
92
|
const sessions = yield* Service25;
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
93
|
+
const jobs = yield* Service63;
|
|
94
|
+
const agents = yield* Service72;
|
|
95
|
+
const config = yield* Service53;
|
|
96
|
+
const permission = yield* Service69;
|
|
97
|
+
const models = yield* Service74;
|
|
98
|
+
const subagents = yield* make9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin42 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name6,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description4,
|
|
121
|
+
input: Input6,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin42 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name6,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin42 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID11.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name6];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name6, Input6, Output4, description4, Plugin41, exports_subagent };
|