@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service85,
|
|
4
|
+
node89
|
|
5
|
+
} from "./ripgrep-eydep5ty.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./ripgrep-cw4w83nc.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event10,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service61,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node63,
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service61 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event10 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
57
57
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
58
58
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
61
61
|
const manifest = yield* inspect2(input.origin);
|
|
62
62
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
63
63
|
});
|
|
@@ -79,10 +79,10 @@ var Sources = Schema.Array(Schema.String);
|
|
|
79
79
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
80
80
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
|
-
var layer = Layer.effect(
|
|
82
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
85
|
-
const bus = yield*
|
|
84
|
+
const kv = yield* Service78;
|
|
85
|
+
const bus = yield* Service85;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
88
88
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
113
113
|
if (!changed)
|
|
114
114
|
return false;
|
|
115
115
|
yield* Ref.set(cache, next);
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event10.Updated, {}, { global: true });
|
|
117
117
|
return true;
|
|
118
118
|
}, (effect) => lock.withPermit(effect));
|
|
119
|
-
return
|
|
119
|
+
return Service61.of({
|
|
120
120
|
entries: load,
|
|
121
121
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
122
122
|
refresh,
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
129
129
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
130
130
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
131
131
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
132
|
-
yield* bus.publish(
|
|
132
|
+
yield* bus.publish(Event10.Updated, {}, { global: true });
|
|
133
133
|
return entry;
|
|
134
134
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
135
135
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
144
144
|
next.delete(origin);
|
|
145
145
|
return next;
|
|
146
146
|
});
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event10.Updated, {}, { global: true });
|
|
148
148
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
149
149
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
150
150
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var
|
|
160
|
+
var node63 = makeGlobalNode({ service: Service61, layer, deps: [httpClient, node82, node89] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service61, Event10, inspect2, resolve2, node63, exports_wellknown };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-z18fegx4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions3 = {};
|
|
18
|
+
__export(exports_instructions3, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
20
|
+
make: () => make14,
|
|
21
|
+
render: () => render3,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render3(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -46,7 +46,7 @@ ${tools.join(`
|
|
|
46
46
|
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render3(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,18 +111,18 @@ ${render2(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make14 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make20({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
121
|
+
initial: render3,
|
|
122
122
|
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render3, update3, make14, exports_instructions3 };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service64,
|
|
8
|
+
node66
|
|
9
|
+
} from "./ripgrep-9jdajzrt.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service63,
|
|
24
|
+
node: () => node65
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service63 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service64;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service63.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node65 = makeLocationNode({ service: Service63, layer, deps: [node66, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error4, InvalidPatternError2,
|
|
180
|
+
export { Error4, InvalidPatternError2, Service63, node65, exports_ripgrep };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-2r6y34sj.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service78,
|
|
17
|
+
node: () => node82
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service78 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service86).db;
|
|
26
|
-
return
|
|
26
|
+
return Service78.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node90] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service78, node82, exports_kv };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID4,
|
|
6
|
+
Service38
|
|
7
|
+
} from "./ripgrep-06m8zqpz.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-m5jcjszt.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-mktar7aj.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-dgzq35zb.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service38;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID4.make(from),
|
|
91
|
+
to: ID4.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service8,
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service8.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node10 = makeLocationNode({ service: Service8, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service8, node10, exports_location_watcher_policy };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-6m78wcz4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./ripgrep-ssc22y53.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin35,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin35 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service76;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin35, exports_verbosity };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Name2,
|
|
10
10
|
available2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service35,
|
|
12
|
+
node37
|
|
13
|
+
} from "./ripgrep-gbqxypma.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
19
|
var exports_instructions5 = {};
|
|
20
20
|
__export(exports_instructions5, {
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service24,
|
|
22
22
|
SkillInstructions: () => exports_instructions5,
|
|
23
23
|
node: () => node27
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID3,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -64,14 +64,14 @@ var update = (previous, current) => {
|
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class Service24 extends Context.Service()("@opencode/SkillInstructions") {
|
|
68
68
|
}
|
|
69
|
-
var layer = Layer.effect(
|
|
70
|
-
const skills = yield*
|
|
71
|
-
return
|
|
69
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
70
|
+
const skills = yield* Service35;
|
|
71
|
+
return Service24.of({
|
|
72
72
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
73
73
|
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
74
|
-
return
|
|
74
|
+
return make20({
|
|
75
75
|
key: Key3.make("core/skill-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
84
84
|
})
|
|
85
85
|
});
|
|
86
86
|
}));
|
|
87
|
-
var node27 = makeLocationNode({ service:
|
|
87
|
+
var node27 = makeLocationNode({ service: Service24, layer, deps: [node37] });
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service24, node27, exports_instructions5 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./ripgrep-b0k3m5sv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID3,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service35
|
|
10
|
+
} from "./ripgrep-gbqxypma.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill3 = {};
|
|
17
17
|
__export(exports_skill3, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input9,
|
|
19
|
+
Output: () => Output5,
|
|
20
|
+
Plugin: () => Plugin44,
|
|
21
21
|
SkillTool: () => exports_skill3,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description4,
|
|
23
|
+
name: () => name9,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name9 = "skill";
|
|
30
|
+
var Input9 = Schema.Struct({
|
|
31
|
+
id: ID3.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output5 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description4 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin44 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service35;
|
|
51
|
+
const permission = yield* Service66;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name9,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description4,
|
|
56
|
+
input: Input9,
|
|
57
|
+
output: Output5,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name9,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin48 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name9, Input9, Output5, description4, toModelOutput2, Plugin44, exports_skill3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-906y5cdw.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|