@opencode/core 0.0.0-dev-21441 → 0.0.0-dev-21458
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-034tev2y.js → ripgrep-034tev2y.js} +2 -2
- package/dist/chunks/{model-khvb0rwv.js → ripgrep-06m8zqpz.js} +24 -24
- package/dist/chunks/{model-87d4rxkd.js → ripgrep-07n27ccy.js} +22 -22
- package/dist/chunks/{model-0vbcp93d.js → ripgrep-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-1nxqr4r9.js → ripgrep-1a2y92ex.js} +45 -45
- package/dist/chunks/{model-1ep2p91f.js → ripgrep-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-w77emq9p.js → ripgrep-1gbrraea.js} +18 -18
- package/dist/chunks/{model-7d2a7xbs.js → ripgrep-1nwxscpy.js} +5 -5
- package/dist/chunks/{model-qrp2wwz7.js → ripgrep-1rs87y8d.js} +26 -26
- package/dist/chunks/{model-skg07gn4.js → ripgrep-1rw66me6.js} +21 -21
- package/dist/chunks/{model-4rqs6yce.js → ripgrep-1sqf9bkf.js} +8 -8
- package/dist/chunks/{model-2z6g8rew.js → ripgrep-1vp80wqe.js} +4 -4
- package/dist/chunks/{model-77yby8k2.js → ripgrep-1xpgrxnn.js} +13 -13
- package/dist/chunks/{model-2amemk0s.js → ripgrep-21sepexc.js} +16 -16
- package/dist/chunks/{model-4zjt8g5w.js → ripgrep-230q3gjt.js} +27 -27
- package/dist/chunks/{model-4qx9rxvs.js → ripgrep-245v63zg.js} +11 -11
- package/dist/chunks/{model-q0qyqwgx.js → ripgrep-28k0q56j.js} +20 -20
- package/dist/chunks/{model-xftgp53z.js → ripgrep-2h0q315h.js} +12 -12
- package/dist/chunks/{model-te2qnrax.js → ripgrep-2n3wn4cc.js} +25 -25
- package/dist/chunks/{model-4tv8d2yj.js → ripgrep-2r6y34sj.js} +3 -3
- package/dist/chunks/{model-30xa8m6v.js → ripgrep-33m7zff6.js} +4 -4
- package/dist/chunks/{model-7428ym6e.js → ripgrep-3fnjy7d5.js} +38 -38
- package/dist/chunks/{model-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-3hwn7j4h.js → ripgrep-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-jcdh4pz8.js → ripgrep-4bh89e3b.js} +5 -5
- package/dist/chunks/{model-27b5n917.js → ripgrep-4d2gzzb2.js} +5 -5
- package/dist/chunks/{model-hwdjztbp.js → ripgrep-4kvg6bn8.js} +18 -18
- package/dist/chunks/{model-qx1ath16.js → ripgrep-4rb4nh12.js} +22 -22
- package/dist/chunks/{model-hcmqm60a.js → ripgrep-4w1f8scj.js} +32 -32
- package/dist/chunks/{model-e9fdq14h.js → ripgrep-5246atra.js} +11 -11
- package/dist/chunks/{model-f4bf12x2.js → ripgrep-53tbswfk.js} +37 -37
- package/dist/chunks/{model-54ma36ye.js → ripgrep-54ma36ye.js} +1 -1
- package/dist/chunks/{model-5m9w47nd.js → ripgrep-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-2akrk0qn.js → ripgrep-5rkje03p.js} +6 -6
- package/dist/chunks/{model-jy4cskw3.js → ripgrep-5tw2jtmr.js} +15 -15
- package/dist/chunks/{model-0dkhwkzm.js → ripgrep-5wbw6pv9.js} +11 -11
- package/dist/chunks/{model-qgn6gcr1.js → ripgrep-607tc6va.js} +5 -5
- package/dist/chunks/{model-6827pfxn.js → ripgrep-6827pfxn.js} +1 -1
- package/dist/chunks/{model-z9xssfm8.js → ripgrep-68w3xa91.js} +3 -3
- package/dist/chunks/{model-spzr18gk.js → ripgrep-68w7pmtx.js} +13 -13
- package/dist/chunks/{model-6ac9zck1.js → ripgrep-6ac9zck1.js} +2 -2
- package/dist/chunks/{model-j5w2yx54.js → ripgrep-6ehbgqat.js} +6 -6
- package/dist/chunks/{model-2vtc1qv7.js → ripgrep-6m78wcz4.js} +33 -33
- package/dist/chunks/{model-8faye2d5.js → ripgrep-6sdx5bv6.js} +3 -3
- package/dist/chunks/{model-jn9d9ctp.js → ripgrep-6t9ywwra.js} +9 -9
- package/dist/chunks/{model-6xb47vfp.js → ripgrep-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-bpxfg8jv.js → ripgrep-725dzmat.js} +20 -20
- package/dist/chunks/{model-775gj3j1.js → ripgrep-775gj3j1.js} +2 -2
- package/dist/chunks/{model-kknjmmkb.js → ripgrep-7bjfyzh8.js} +49 -49
- package/dist/chunks/{model-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-8yj6gt86.js → ripgrep-7em0bpab.js} +19 -19
- package/dist/chunks/{model-rkprpv83.js → ripgrep-7fkffz83.js} +4 -4
- package/dist/chunks/{model-2y6xfkhh.js → ripgrep-7hppxa70.js} +1 -1
- package/dist/chunks/{model-b58xtxx6.js → ripgrep-7t3xedjm.js} +21 -21
- package/dist/chunks/{model-m256j290.js → ripgrep-7v685v47.js} +43 -43
- package/dist/chunks/{model-8ppdvrmr.js → ripgrep-7vyf5e2n.js} +29 -29
- package/dist/chunks/{model-xqpjqq35.js → ripgrep-7x97mf13.js} +20 -20
- package/dist/chunks/{model-w1eejvng.js → ripgrep-84txncab.js} +5 -5
- package/dist/chunks/{model-zbj3bdxr.js → ripgrep-868jxd9s.js} +32 -32
- package/dist/chunks/{model-dq6h6djq.js → ripgrep-897yn8js.js} +3 -3
- package/dist/chunks/{model-89znhe33.js → ripgrep-89znhe33.js} +1 -1
- package/dist/chunks/{model-8m6m0r52.js → ripgrep-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-8mywswrd.js → ripgrep-8mywswrd.js} +1 -1
- package/dist/chunks/{model-qkxbdw2e.js → ripgrep-8vya4b9k.js} +43 -43
- package/dist/chunks/{model-s1qgsmy4.js → ripgrep-8w0fc9v5.js} +22 -22
- package/dist/chunks/{model-5ja1d4ns.js → ripgrep-8w348b9w.js} +7 -7
- package/dist/chunks/{model-xx3qrjat.js → ripgrep-8xxtntea.js} +11 -11
- package/dist/chunks/{model-x9d5zs2r.js → ripgrep-906y5cdw.js} +7 -7
- package/dist/chunks/{model-e4w4kj9m.js → ripgrep-9cn598b5.js} +5 -5
- package/dist/chunks/{model-cgbdwjd7.js → ripgrep-9f2mr1jq.js} +11 -11
- package/dist/chunks/{model-2dk47r97.js → ripgrep-9ha6dkfn.js} +13 -13
- package/dist/chunks/{model-bx0gyb4h.js → ripgrep-9hwaqfsw.js} +5 -5
- package/dist/chunks/{model-c6tn7fe1.js → ripgrep-9jdajzrt.js} +24 -24
- package/dist/chunks/{model-xe4x800z.js → ripgrep-9vr292v9.js} +7 -7
- package/dist/chunks/{model-1w8evpxr.js → ripgrep-9wetr4xy.js} +10 -10
- package/dist/chunks/{model-9wev2pgg.js → ripgrep-9wev2pgg.js} +1 -1
- package/dist/chunks/{model-0ry3h72d.js → ripgrep-9wn2agq9.js} +30 -30
- package/dist/chunks/{model-a20pjse5.js → ripgrep-a20pjse5.js} +3 -3
- package/dist/chunks/{model-rnn7w1p4.js → ripgrep-abzgq1nw.js} +7 -7
- package/dist/chunks/{model-azwe5p1w.js → ripgrep-addxnjmp.js} +4 -4
- package/dist/chunks/{model-ca7w653e.js → ripgrep-ag4rn41e.js} +4 -4
- package/dist/chunks/{model-am1tmpj5.js → ripgrep-am1tmpj5.js} +2 -2
- package/dist/chunks/{model-0xpx2h3j.js → ripgrep-amt7ef5n.js} +8 -8
- package/dist/chunks/{model-kzfz4mgv.js → ripgrep-anw46eb6.js} +6 -6
- package/dist/chunks/{model-pw60dnzh.js → ripgrep-apt503cy.js} +9 -9
- package/dist/chunks/{model-z3qwewxj.js → ripgrep-ar5c37sv.js} +21 -21
- package/dist/chunks/{model-exttmg6k.js → ripgrep-b0k3m5sv.js} +52 -52
- package/dist/chunks/{model-rcepm1f5.js → ripgrep-b19v66bv.js} +24 -24
- package/dist/chunks/{model-xqwg9xjb.js → ripgrep-b6rsy5zn.js} +18 -18
- package/dist/chunks/{model-34596wkg.js → ripgrep-bfrs3k34.js} +4 -4
- package/dist/chunks/{model-ev10eca8.js → ripgrep-bq4j2sbx.js} +41 -41
- package/dist/chunks/{model-y72932aq.js → ripgrep-bstm3mwn.js} +15 -15
- package/dist/chunks/{model-p7rtpkhv.js → ripgrep-bvkvrv05.js} +28 -28
- package/dist/chunks/{model-fdms3n6w.js → ripgrep-bydnjh3t.js} +9 -9
- package/dist/chunks/{model-bzeyqsqd.js → ripgrep-bzeyqsqd.js} +1 -1
- package/dist/chunks/{model-dsbszv0b.js → ripgrep-bzywf3e9.js} +5 -5
- package/dist/chunks/{model-tsspjr8t.js → ripgrep-c99e4gbg.js} +15 -15
- package/dist/chunks/{model-0dhmp2yd.js → ripgrep-ce3ajj6n.js} +25 -25
- package/dist/chunks/{model-mwez8230.js → ripgrep-cne4vwe6.js} +23 -23
- package/dist/chunks/{model-e23enc76.js → ripgrep-csqw7sk8.js} +15 -15
- package/dist/chunks/{model-f8ak2qw6.js → ripgrep-cv5sbdhn.js} +14 -14
- package/dist/chunks/{model-nyz2bd3h.js → ripgrep-cw4w83nc.js} +10 -10
- package/dist/chunks/{model-n58kta93.js → ripgrep-cz0dahpr.js} +11 -11
- package/dist/chunks/{model-r2m716tb.js → ripgrep-d4he2qe1.js} +9 -9
- package/dist/chunks/{model-njf7xda2.js → ripgrep-d9xyp96y.js} +8 -8
- package/dist/chunks/{model-1xasrt0z.js → ripgrep-dadd6d4y.js} +16 -16
- package/dist/chunks/{model-mwbfd4d0.js → ripgrep-dd2wt6q1.js} +25 -25
- package/dist/chunks/{model-zye99vjm.js → ripgrep-dd35sy3n.js} +2 -2
- package/dist/chunks/{model-5b8v8zrf.js → ripgrep-df173w7t.js} +11 -11
- package/dist/chunks/{model-dgzq35zb.js → ripgrep-dgzq35zb.js} +3 -3
- package/dist/chunks/{model-v2naxce5.js → ripgrep-dpf25vxh.js} +17 -17
- package/dist/chunks/{model-y71avatq.js → ripgrep-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-hbb7npd7.js → ripgrep-dq407baf.js} +6 -6
- package/dist/chunks/{model-wsw3qazc.js → ripgrep-dt0gb5zd.js} +23 -23
- package/dist/chunks/{model-w8tsas1h.js → ripgrep-dx1ezjzk.js} +8 -8
- package/dist/chunks/{model-w234dzpk.js → ripgrep-dzrdd8y4.js} +1 -1
- package/dist/chunks/{model-b8gd3dkx.js → ripgrep-e0b2kra3.js} +11 -11
- package/dist/chunks/{model-m39x472g.js → ripgrep-e2qvw7zx.js} +12 -12
- package/dist/chunks/{model-ay72y2y9.js → ripgrep-e696dwzt.js} +11 -11
- package/dist/chunks/{model-e80seqcp.js → ripgrep-e80seqcp.js} +1 -1
- package/dist/chunks/{model-dp7s877j.js → ripgrep-edj082x0.js} +6 -6
- package/dist/chunks/{model-eej6y6fw.js → ripgrep-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-86adn4hf.js → ripgrep-ekrj3q3n.js} +19 -19
- package/dist/chunks/{model-r7nsrefv.js → ripgrep-emzsebxx.js} +6 -6
- package/dist/chunks/{model-5vj573xy.js → ripgrep-enrp405z.js} +19 -19
- package/dist/chunks/{model-3c7a270v.js → ripgrep-etg1n2kx.js} +326 -326
- package/dist/chunks/{model-tevdrw4n.js → ripgrep-eydep5ty.js} +12 -12
- package/dist/chunks/{model-gctjtgeh.js → ripgrep-f34pdxph.js} +25 -25
- package/dist/chunks/{model-ztysxpw9.js → ripgrep-f9ewqnvf.js} +36 -36
- package/dist/chunks/{model-fcy631f0.js → ripgrep-fcy631f0.js} +1 -1
- package/dist/chunks/{model-8f2rgp07.js → ripgrep-ff0c8932.js} +11 -11
- package/dist/chunks/{model-v7jr1a0f.js → ripgrep-fh3hfgk9.js} +11 -11
- package/dist/chunks/{model-m8v7608e.js → ripgrep-fnfphwr6.js} +9 -9
- package/dist/chunks/ripgrep-g32r42h9.js +257 -0
- package/dist/chunks/{model-dwapqv7g.js → ripgrep-gbqxypma.js} +26 -26
- package/dist/chunks/{model-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-qb0nxf2n.js → ripgrep-gdbaa3vm.js} +17 -17
- package/dist/chunks/{model-ktx3g641.js → ripgrep-gs3jaab1.js} +27 -27
- package/dist/chunks/{model-ngts6ef0.js → ripgrep-gs3s1a1g.js} +8 -8
- package/dist/chunks/ripgrep-gyce5qg1.js +18 -0
- package/dist/chunks/{model-15kwxkkw.js → ripgrep-h0pyfwgt.js} +32 -32
- package/dist/chunks/{model-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-avvce0kw.js → ripgrep-hc033k72.js} +4 -4
- package/dist/chunks/{model-d8wdsj84.js → ripgrep-hcwzd9ve.js} +5 -5
- package/dist/chunks/{model-t2vetksk.js → ripgrep-hdavf2z4.js} +9 -9
- package/dist/chunks/{model-pw8bav78.js → ripgrep-hdgw5fjw.js} +8 -8
- package/dist/chunks/{model-yvhtzdrt.js → ripgrep-hes8zqkx.js} +11 -11
- package/dist/chunks/{model-d2e8srxd.js → ripgrep-hfrgt7j1.js} +20 -20
- package/dist/chunks/{model-6ytk35w5.js → ripgrep-hg8tkm75.js} +8 -8
- package/dist/chunks/{model-hgz4x7wa.js → ripgrep-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-ftyq7w3n.js → ripgrep-hmgps8tw.js} +26 -26
- package/dist/chunks/{model-fh73kyk7.js → ripgrep-hsmryvj1.js} +4 -4
- package/dist/chunks/{model-85wqss2v.js → ripgrep-hxcjpjn2.js} +23 -23
- package/dist/chunks/{model-nckr5t4x.js → ripgrep-jp9kzq14.js} +4 -4
- package/dist/chunks/{model-nhf8j9q0.js → ripgrep-jszh17ab.js} +23 -23
- package/dist/chunks/{model-9zh18pxw.js → ripgrep-jwpb8arh.js} +14 -14
- package/dist/chunks/{model-n16tn8ct.js → ripgrep-jwv7ab79.js} +6 -6
- package/dist/chunks/{model-jgm9yn5c.js → ripgrep-k63sy5rb.js} +20 -20
- package/dist/chunks/{model-k5rzg22z.js → ripgrep-kax56nr6.js} +13 -13
- package/dist/chunks/{model-ny8edt06.js → ripgrep-khmqacep.js} +4 -4
- package/dist/chunks/{model-6bsfpg63.js → ripgrep-kkve0fs6.js} +34 -34
- package/dist/chunks/{model-tzbng3th.js → ripgrep-kmgpx441.js} +14 -14
- package/dist/chunks/{model-6f4br6b4.js → ripgrep-kpd84ec7.js} +15 -15
- package/dist/chunks/{model-kwb1v3vj.js → ripgrep-kwb1v3vj.js} +1 -1
- package/dist/chunks/{model-81e2q9d2.js → ripgrep-m1jhgcxs.js} +6 -6
- package/dist/chunks/{model-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-maspj1v3.js → ripgrep-maspj1v3.js} +1 -1
- package/dist/chunks/{model-7emsy3e5.js → ripgrep-mg37qacw.js} +14 -14
- package/dist/chunks/{model-z6m6eyhw.js → ripgrep-mktar7aj.js} +6 -6
- package/dist/chunks/{model-08jnn3k2.js → ripgrep-mr9jz2wx.js} +23 -23
- package/dist/chunks/{model-fqhbsnr5.js → ripgrep-ms93yq6r.js} +8 -8
- package/dist/chunks/{model-gqpz6z8g.js → ripgrep-mzrmbcee.js} +28 -28
- package/dist/chunks/{model-p6mr1rmw.js → ripgrep-n7qpxvtd.js} +35 -35
- package/dist/chunks/{model-c5kkdnkt.js → ripgrep-n8gj4qy5.js} +21 -21
- package/dist/chunks/{model-z8y91tz7.js → ripgrep-nj7hqrdc.js} +12 -12
- package/dist/chunks/{model-nz56sr1f.js → ripgrep-nz56sr1f.js} +2 -2
- package/dist/chunks/{model-a3azppd8.js → ripgrep-p2kzfj7d.js} +23 -23
- package/dist/chunks/{model-9hn6k4tm.js → ripgrep-p42hj8p8.js} +8 -8
- package/dist/chunks/{model-3z0hjn58.js → ripgrep-p8mhfpfb.js} +9 -9
- package/dist/chunks/{model-gscfk59s.js → ripgrep-pazj47g9.js} +4 -4
- package/dist/chunks/{model-wmsy6ejg.js → ripgrep-pev3esbk.js} +43 -43
- package/dist/chunks/{model-v7z2bvyd.js → ripgrep-pgp1nwjn.js} +4 -4
- package/dist/chunks/{model-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{model-5w4y226k.js → ripgrep-pmpk6q9r.js} +11 -11
- package/dist/chunks/{model-jew53rqn.js → ripgrep-ppdavc1e.js} +183 -183
- package/dist/chunks/{model-q6ad194x.js → ripgrep-pwt87mrq.js} +17 -17
- package/dist/chunks/{model-fa88cff1.js → ripgrep-q3myhh1r.js} +44 -44
- package/dist/chunks/{model-yqbdvskr.js → ripgrep-qcqpgb6f.js} +19 -19
- package/dist/chunks/{model-drwq78ky.js → ripgrep-qqeeq2t9.js} +7 -7
- package/dist/chunks/{model-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{model-yjnk86sx.js → ripgrep-qw7cqan8.js} +73 -73
- package/dist/chunks/{model-7rsrdkkd.js → ripgrep-r4fw60a8.js} +5 -5
- package/dist/chunks/{model-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-t550f9t1.js → ripgrep-rhjbct0v.js} +4 -4
- package/dist/chunks/{model-2395y7e1.js → ripgrep-rjsqaxa7.js} +8 -8
- package/dist/chunks/{model-py3gqn7c.js → ripgrep-rn08qtw3.js} +14 -14
- package/dist/chunks/{model-90vjyywb.js → ripgrep-rncype5f.js} +20 -20
- package/dist/chunks/{model-phs6h013.js → ripgrep-rxkx3yrv.js} +18 -18
- package/dist/chunks/{model-te35nyvt.js → ripgrep-ryb7mfzk.js} +21 -21
- package/dist/chunks/{model-1xc2j506.js → ripgrep-sdzwknx0.js} +29 -29
- package/dist/chunks/{model-8xxqt97s.js → ripgrep-spcybxfk.js} +12 -12
- package/dist/chunks/{model-9s88q58m.js → ripgrep-sqq24m9r.js} +20 -20
- package/dist/chunks/{model-89bp7pxy.js → ripgrep-ssc22y53.js} +37 -37
- package/dist/chunks/{model-tg52m06j.js → ripgrep-stw0ktd7.js} +4 -4
- package/dist/chunks/{model-4w56xpem.js → ripgrep-swz7b57b.js} +2 -2
- package/dist/chunks/{model-syv4x271.js → ripgrep-syv4x271.js} +1 -1
- package/dist/chunks/{model-xx1330xd.js → ripgrep-t1qm87d4.js} +50 -50
- package/dist/chunks/ripgrep-t23bw0vy.js +26 -0
- package/dist/chunks/{model-t6vsspdg.js → ripgrep-t2fc4mz5.js} +7 -7
- package/dist/chunks/{model-k4rzk3de.js → ripgrep-t6z5h8be.js} +23 -23
- package/dist/chunks/{model-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-53b0axgb.js → ripgrep-tdqqk9tn.js} +24 -24
- package/dist/chunks/{model-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{model-dbqzdb30.js → ripgrep-tfx4s5nm.js} +9 -9
- package/dist/chunks/{model-54x82z2x.js → ripgrep-tkmw8vhp.js} +18 -18
- package/dist/chunks/{model-tm0kqsz3.js → ripgrep-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-bmr56wjg.js → ripgrep-txm3e8qz.js} +4 -4
- package/dist/chunks/{model-tyytaxap.js → ripgrep-tyytaxap.js} +1 -1
- package/dist/chunks/{model-m2t04kmm.js → ripgrep-tzvv02w3.js} +58 -58
- package/dist/chunks/{model-8f3yd2r3.js → ripgrep-v0ymv6m8.js} +16 -16
- package/dist/chunks/{model-v210v162.js → ripgrep-v210v162.js} +2 -2
- package/dist/chunks/{model-v7p4zvkq.js → ripgrep-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-b66sbxdz.js → ripgrep-v9ep9kw5.js} +41 -41
- package/dist/chunks/{model-h9snv32e.js → ripgrep-vbc0n61v.js} +26 -26
- package/dist/chunks/{model-7fhvptcd.js → ripgrep-vbgdajqt.js} +5 -5
- package/dist/chunks/{model-c3rxg466.js → ripgrep-vdmef0hv.js} +36 -36
- package/dist/chunks/{model-n1vev70q.js → ripgrep-vdxz864t.js} +37 -37
- package/dist/chunks/{model-vep9yay1.js → ripgrep-vep9yay1.js} +1 -1
- package/dist/chunks/{model-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{model-n9xrk5dn.js → ripgrep-vhm2adcw.js} +25 -25
- package/dist/chunks/{model-rgdzsb23.js → ripgrep-vnwvh6x6.js} +24 -24
- package/dist/chunks/{model-cxnntska.js → ripgrep-vr617c86.js} +83 -83
- package/dist/chunks/{model-5a9tc6z0.js → ripgrep-vrwbrhmt.js} +24 -24
- package/dist/chunks/{model-yk480cxy.js → ripgrep-vy2epn4a.js} +4 -4
- package/dist/chunks/{model-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-2n2s27fs.js → ripgrep-w19xc5wf.js} +15 -15
- package/dist/chunks/{model-y8hhzqsr.js → ripgrep-w1yzj816.js} +18 -18
- package/dist/chunks/{model-1pxz8ven.js → ripgrep-w39jehkq.js} +5 -5
- package/dist/chunks/{model-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-tbrkfg2j.js → ripgrep-w7vtcvrx.js} +35 -35
- package/dist/chunks/{model-wakvkjy4.js → ripgrep-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-kzr27bp7.js → ripgrep-wbcvfxpg.js} +31 -31
- package/dist/chunks/{model-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{model-8xb7wkp5.js → ripgrep-wh5v440s.js} +5 -5
- package/dist/chunks/{model-bjx1sjef.js → ripgrep-wjr9rjd7.js} +6 -6
- package/dist/chunks/{model-rdkdw8j4.js → ripgrep-ww55sn04.js} +16 -16
- package/dist/chunks/{model-zxqf7zeg.js → ripgrep-xb6ffzw0.js} +9 -9
- package/dist/chunks/{model-v37eec1m.js → ripgrep-xdh6s9ed.js} +11 -11
- package/dist/chunks/{model-b4nzaj04.js → ripgrep-xj1aydcy.js} +5 -5
- package/dist/chunks/{model-brrmpkdk.js → ripgrep-xkajykm3.js} +13 -13
- package/dist/chunks/{model-xw9fg8fb.js → ripgrep-xw9fg8fb.js} +2 -2
- package/dist/chunks/{model-0kpm6ny7.js → ripgrep-y0g19xg0.js} +17 -17
- package/dist/chunks/{model-pew5zx78.js → ripgrep-y11negt3.js} +5 -5
- package/dist/chunks/{model-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-rrb7xk1e.js → ripgrep-y24qngx4.js} +11 -11
- package/dist/chunks/{model-ysh87z2r.js → ripgrep-y4fgtena.js} +88 -88
- package/dist/chunks/{model-tz64kvcc.js → ripgrep-y6jtz2hz.js} +13 -13
- package/dist/chunks/{model-eahhehpg.js → ripgrep-y6mhz57t.js} +4 -4
- package/dist/chunks/{model-ra67jj04.js → ripgrep-y7nndgyc.js} +9 -9
- package/dist/chunks/{model-3m9ff5cy.js → ripgrep-y8ycp07x.js} +14 -14
- package/dist/chunks/{model-f68rgk4v.js → ripgrep-yav0wb01.js} +8 -8
- package/dist/chunks/{model-m5qzm2bd.js → ripgrep-yb81whfj.js} +30 -30
- package/dist/chunks/{model-pr0snp0j.js → ripgrep-ycn2m60h.js} +12 -12
- package/dist/chunks/{model-awq6q12e.js → ripgrep-ye89p72n.js} +14 -14
- package/dist/chunks/{model-avhh8dq0.js → ripgrep-yggz4gjb.js} +48 -48
- package/dist/chunks/{model-br1q80at.js → ripgrep-yn7c86qb.js} +50 -50
- package/dist/chunks/{model-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-z18fegx4.js → ripgrep-z18fegx4.js} +1 -1
- package/dist/chunks/{model-svdetgap.js → ripgrep-z96h84jq.js} +29 -29
- package/dist/chunks/{model-qn4zc13r.js → ripgrep-zdxaswdy.js} +9 -9
- package/dist/chunks/{model-wt7gg852.js → ripgrep-zh2s0dj1.js} +13 -13
- package/dist/chunks/{model-pwfw76w7.js → ripgrep-zqecfbxk.js} +14 -14
- package/dist/chunks/{model-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-5kyqk3pq.js → ripgrep-zzdkzef9.js} +14 -14
- 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 +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +104 -104
- 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 +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +91 -91
- 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 +95 -95
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- 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 +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +137 -137
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +86 -86
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/model-1x11rq2a.js +0 -18
- package/dist/chunks/model-33hq420q.js +0 -257
- package/dist/chunks/model-3tt614cf.js +0 -26
- /package/dist/chunks/{model-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → ripgrep-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3t0ybcrp.js → ripgrep-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → ripgrep-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → ripgrep-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → ripgrep-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jze0r7bz.js → ripgrep-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → ripgrep-m18g726c.js} +0 -0
- /package/dist/chunks/{model-m5jcjszt.js → ripgrep-m5jcjszt.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-pkyv6v7h.js → ripgrep-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-pyv0edze.js → ripgrep-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → ripgrep-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wjj7prxr.js → ripgrep-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → ripgrep-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./ripgrep-vrwbrhmt.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info8
|
|
9
|
+
} from "./ripgrep-rjsqaxa7.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-stw0ktd7.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service46
|
|
16
|
+
} from "./ripgrep-yn7c86qb.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-8m6m0r52.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin19
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info8);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin19 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service46;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin18 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID10.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID10.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin19, exports_agent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse4,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse4(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse5(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse4(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-2r6y34sj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./ripgrep-eydep5ty.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service32
|
|
9
|
+
} from "./ripgrep-6ehbgqat.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-mktar7aj.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service68
|
|
29
|
+
} from "./ripgrep-jwpb8arh.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service31
|
|
34
|
+
} from "./ripgrep-qcqpgb6f.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service28
|
|
37
|
+
} from "./ripgrep-vdxz864t.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./ripgrep-v0ymv6m8.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./ripgrep-dt0gb5zd.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./ripgrep-tfx4s5nm.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./ripgrep-xb6ffzw0.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
|
-
const bus = yield*
|
|
66
|
+
const bus = yield* Service85;
|
|
67
67
|
const database = yield* Service86;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service68;
|
|
69
|
+
const instances = yield* Service32;
|
|
70
|
+
const execution = yield* Service28;
|
|
71
|
+
const admission = yield* Service31;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError9({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -147,7 +147,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
147
147
|
});
|
|
148
148
|
if (existing)
|
|
149
149
|
return existing;
|
|
150
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
150
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service32, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
151
151
|
if (session.revert)
|
|
152
152
|
yield* commit2(bus, session);
|
|
153
153
|
return yield* admission.admit({
|
|
@@ -163,7 +163,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
163
163
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
164
164
|
const session = yield* get(sessionID);
|
|
165
165
|
const running = yield* Effect.gen(function* () {
|
|
166
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
166
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service32, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
167
167
|
text: `User shell command failed to start:
|
|
168
168
|
${input.command}
|
|
169
169
|
|
|
@@ -192,7 +192,7 @@ ${error.message}`,
|
|
|
192
192
|
});
|
|
193
193
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
194
194
|
const session = yield* get(sessionID);
|
|
195
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
195
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service32, instances));
|
|
196
196
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
197
197
|
sessionID,
|
|
198
198
|
id: skill.id,
|
|
@@ -249,13 +249,13 @@ ${error.message}`,
|
|
|
249
249
|
const session = yield* get(sessionID);
|
|
250
250
|
if (yield* execution.isActive(sessionID))
|
|
251
251
|
return yield* new BusyError2({ sessionID });
|
|
252
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
252
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service32, instances), Effect.provideService(Service86, database), Effect.provideService(Service85, bus));
|
|
253
253
|
});
|
|
254
254
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
255
255
|
const session = yield* get(sessionID);
|
|
256
256
|
if (yield* execution.isActive(sessionID))
|
|
257
257
|
return yield* new BusyError2({ sessionID });
|
|
258
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
258
|
+
yield* clear2(session).pipe(Effect.provideService(Service32, instances), Effect.provideService(Service85, bus));
|
|
259
259
|
return yield* execution.wake(sessionID);
|
|
260
260
|
});
|
|
261
261
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-t1qm87d4.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service70
|
|
4
|
+
} from "./ripgrep-vrwbrhmt.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service76
|
|
8
|
+
} from "./ripgrep-ssc22y53.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service46
|
|
12
|
+
} from "./ripgrep-yn7c86qb.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-m5jcjszt.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service48
|
|
18
|
+
} from "./ripgrep-rn08qtw3.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service66
|
|
22
|
+
} from "./ripgrep-b0k3m5sv.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service14
|
|
25
|
+
} from "./ripgrep-y4fgtena.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./ripgrep-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
30
|
Service12
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./ripgrep-9f2mr1jq.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./ripgrep-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: () => Input12,
|
|
40
|
+
Output: () => Output8,
|
|
41
|
+
Plugin: () => Plugin47,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description5,
|
|
44
|
+
name: () => name12
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name12 = "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 Input12 = 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 Input6 = 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 Output8 = 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 description5 = [
|
|
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,15 +86,15 @@ var description2 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin47 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
92
|
+
const sessions = yield* Service14;
|
|
93
|
+
const jobs = yield* Service48;
|
|
94
|
+
const agents = yield* Service70;
|
|
95
|
+
const config = yield* Service46;
|
|
96
|
+
const permission = yield* Service66;
|
|
97
|
+
const models = yield* Service76;
|
|
98
98
|
const subagents = yield* Service12;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -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: name12,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description5,
|
|
121
|
+
input: Input12,
|
|
122
|
+
output: Output8,
|
|
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: name12,
|
|
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: ID10.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,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name12 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name12];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name12, Input12, Output8, description5, Plugin47, exports_subagent };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-xdh6s9ed.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./ripgrep-eydep5ty.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./ripgrep-wbcvfxpg.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-sdzwknx0.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service77
|
|
22
|
+
} from "./ripgrep-6m78wcz4.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID12,
|
|
25
|
+
Info21
|
|
26
|
+
} from "./ripgrep-ssc22y53.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID13.gitlab;
|
|
39
|
+
var integrationID = ID14.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,8 +57,8 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
61
|
-
const bus = yield*
|
|
60
|
+
const providers = yield* Service77;
|
|
61
|
+
const bus = yield* Service85;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
64
64
|
const loaded = {};
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info21.default(providerID, ID12.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID13.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service46
|
|
4
|
+
} from "./ripgrep-yn7c86qb.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin33,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin33 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service46;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin14 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin33, exports_warming };
|