@opencode/core 0.0.0-dev-21458 → 0.0.0-dev-21460
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/{ripgrep-hg8tkm75.js → repository-cache-01p087vs.js} +8 -8
- package/dist/chunks/{ripgrep-4d2gzzb2.js → repository-cache-03vjgxp8.js} +3 -3
- package/dist/chunks/{ripgrep-hc033k72.js → repository-cache-09ypmjbv.js} +4 -4
- package/dist/chunks/{ripgrep-53tbswfk.js → repository-cache-0b36yc2a.js} +39 -39
- package/dist/chunks/{ripgrep-vbgdajqt.js → repository-cache-0e8pwxm1.js} +3 -3
- package/dist/chunks/{ripgrep-xj1aydcy.js → repository-cache-0fhevdjt.js} +5 -5
- package/dist/chunks/{ripgrep-rhjbct0v.js → repository-cache-0gdmqesm.js} +4 -4
- package/dist/chunks/{ripgrep-bfrs3k34.js → repository-cache-0krdeasz.js} +4 -4
- package/dist/chunks/{ripgrep-8w348b9w.js → repository-cache-0q346xwt.js} +7 -7
- package/dist/chunks/{ripgrep-9hwaqfsw.js → repository-cache-0r3c1bmw.js} +5 -5
- package/dist/chunks/{ripgrep-ms93yq6r.js → repository-cache-0tzy42a9.js} +8 -8
- package/dist/chunks/{ripgrep-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
- package/dist/chunks/{ripgrep-9f2mr1jq.js → repository-cache-0xxnzx42.js} +11 -11
- package/dist/chunks/{ripgrep-am1tmpj5.js → repository-cache-0zxm2zaw.js} +10 -10
- package/dist/chunks/{ripgrep-fnfphwr6.js → repository-cache-1kccv5dj.js} +7 -7
- package/dist/chunks/{ripgrep-ssc22y53.js → repository-cache-1n547s99.js} +27 -27
- package/dist/chunks/{ripgrep-b19v66bv.js → repository-cache-1p6gkt63.js} +15 -15
- package/dist/chunks/{ripgrep-w39jehkq.js → repository-cache-1pxz8ven.js} +5 -5
- package/dist/chunks/{ripgrep-hsmryvj1.js → repository-cache-1rft7swv.js} +4 -4
- package/dist/chunks/{ripgrep-1ep2p91f.js → repository-cache-27w5k9zf.js} +2 -2
- package/dist/chunks/{ripgrep-t6z5h8be.js → repository-cache-2fpbmj4a.js} +17 -17
- package/dist/chunks/{ripgrep-607tc6va.js → repository-cache-2k8khapm.js} +5 -5
- package/dist/chunks/{ripgrep-vdmef0hv.js → repository-cache-2vwvyx2g.js} +36 -36
- package/dist/chunks/{ripgrep-jwpb8arh.js → repository-cache-2wt8nezh.js} +17 -17
- package/dist/chunks/{ripgrep-hes8zqkx.js → repository-cache-31g1jsst.js} +9 -9
- package/dist/chunks/{ripgrep-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3hwn7j4h.js → repository-cache-3hwn7j4h.js} +2 -2
- package/dist/chunks/{ripgrep-9wetr4xy.js → repository-cache-3m1qjwf2.js} +8 -8
- package/dist/chunks/{ripgrep-868jxd9s.js → repository-cache-3mypk436.js} +32 -32
- package/dist/chunks/{ripgrep-hmgps8tw.js → repository-cache-3n5vhy7z.js} +24 -24
- package/dist/chunks/{ripgrep-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-sqq24m9r.js → repository-cache-3wsyhczt.js} +32 -32
- package/dist/chunks/{ripgrep-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-b0k3m5sv.js → repository-cache-42q84ag7.js} +40 -40
- package/dist/chunks/{ripgrep-m1jhgcxs.js → repository-cache-450x4k77.js} +3 -3
- package/dist/chunks/{ripgrep-n7qpxvtd.js → repository-cache-46xapkgq.js} +21 -21
- package/dist/chunks/{ripgrep-dd35sy3n.js → repository-cache-4n1wqqn5.js} +2 -2
- package/dist/chunks/{ripgrep-4bh89e3b.js → repository-cache-4pka7j6v.js} +5 -5
- package/dist/chunks/{ripgrep-qcqpgb6f.js → repository-cache-4r758bxz.js} +31 -31
- package/dist/chunks/{ripgrep-8xxtntea.js → repository-cache-4tjj4m8n.js} +11 -11
- package/dist/chunks/{ripgrep-rxkx3yrv.js → repository-cache-4tsdpayj.js} +31 -31
- package/dist/chunks/{ripgrep-amt7ef5n.js → repository-cache-4zjv7vh9.js} +8 -8
- package/dist/chunks/{ripgrep-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
- package/dist/chunks/{ripgrep-6m78wcz4.js → repository-cache-5ky00pdm.js} +26 -26
- package/dist/chunks/{ripgrep-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{ripgrep-e80seqcp.js → repository-cache-5rzwp8tz.js} +3 -3
- package/dist/chunks/{ripgrep-4w1f8scj.js → repository-cache-5zn069ks.js} +20 -20
- package/dist/chunks/{ripgrep-1gbrraea.js → repository-cache-63rqhaqj.js} +14 -14
- package/dist/chunks/{ripgrep-6827pfxn.js → repository-cache-6827pfxn.js} +1 -1
- package/dist/chunks/{ripgrep-6ac9zck1.js → repository-cache-6ac9zck1.js} +2 -2
- package/dist/chunks/{ripgrep-7fkffz83.js → repository-cache-6pc27hjz.js} +8 -8
- package/dist/chunks/{ripgrep-6xb47vfp.js → repository-cache-6xb47vfp.js} +1 -1
- package/dist/chunks/{ripgrep-e0b2kra3.js → repository-cache-6yncxzed.js} +11 -11
- package/dist/chunks/{ripgrep-kkve0fs6.js → repository-cache-6ypv3jsn.js} +34 -34
- package/dist/chunks/{ripgrep-cne4vwe6.js → repository-cache-70q6x9sh.js} +23 -23
- package/dist/chunks/{ripgrep-775gj3j1.js → repository-cache-775gj3j1.js} +2 -2
- package/dist/chunks/{ripgrep-ycn2m60h.js → repository-cache-7amepzc8.js} +11 -11
- package/dist/chunks/{ripgrep-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-bzywf3e9.js → repository-cache-7c5qva4r.js} +3 -3
- package/dist/chunks/{ripgrep-dzrdd8y4.js → repository-cache-7nm86vqr.js} +1 -1
- package/dist/chunks/{ripgrep-zzdkzef9.js → repository-cache-7q1pjkp3.js} +12 -12
- package/dist/chunks/{ripgrep-dadd6d4y.js → repository-cache-7q5zkc9a.js} +19 -19
- package/dist/chunks/{ripgrep-vbc0n61v.js → repository-cache-7q7gc744.js} +21 -21
- package/dist/chunks/{ripgrep-eydep5ty.js → repository-cache-7yn4yp07.js} +16 -16
- package/dist/chunks/{ripgrep-y6mhz57t.js → repository-cache-80scg3y3.js} +4 -4
- package/dist/chunks/{ripgrep-89znhe33.js → repository-cache-89znhe33.js} +1 -1
- package/dist/chunks/{ripgrep-230q3gjt.js → repository-cache-8cgdxtst.js} +19 -19
- package/dist/chunks/{ripgrep-swz7b57b.js → repository-cache-8hr3x0db.js} +2 -2
- package/dist/chunks/{ripgrep-8m6m0r52.js → repository-cache-8m6m0r52.js} +1 -1
- package/dist/chunks/{ripgrep-8mywswrd.js → repository-cache-8mywswrd.js} +1 -1
- package/dist/chunks/{ripgrep-xw9fg8fb.js → repository-cache-8vcf4cwr.js} +2 -2
- package/dist/chunks/{ripgrep-kax56nr6.js → repository-cache-8wejdmph.js} +11 -11
- package/dist/chunks/{ripgrep-gs3s1a1g.js → repository-cache-92swnv4m.js} +8 -8
- package/dist/chunks/{ripgrep-5rkje03p.js → repository-cache-98m99f87.js} +6 -6
- package/dist/chunks/{ripgrep-wh5v440s.js → repository-cache-9gbxqhfr.js} +3 -3
- package/dist/chunks/{ripgrep-bq4j2sbx.js → repository-cache-9n3ec7dh.js} +43 -43
- package/dist/chunks/{ripgrep-vr617c86.js → repository-cache-9nw2rpfz.js} +85 -85
- package/dist/chunks/{ripgrep-9cn598b5.js → repository-cache-9rmnry6z.js} +5 -5
- package/dist/chunks/{ripgrep-vhm2adcw.js → repository-cache-9t8688mm.js} +21 -21
- package/dist/chunks/{ripgrep-t1qm87d4.js → repository-cache-9ts5gs6y.js} +50 -50
- package/dist/chunks/{ripgrep-9wev2pgg.js → repository-cache-9wev2pgg.js} +1 -1
- package/dist/chunks/{ripgrep-a20pjse5.js → repository-cache-a20pjse5.js} +3 -3
- package/dist/chunks/{ripgrep-5tw2jtmr.js → repository-cache-a2abd7c8.js} +15 -15
- package/dist/chunks/{ripgrep-gdbaa3vm.js → repository-cache-a7fmgszc.js} +15 -15
- package/dist/chunks/{ripgrep-cz0dahpr.js → repository-cache-a7rvq0vj.js} +8 -8
- package/dist/chunks/{ripgrep-rncype5f.js → repository-cache-aa3p0grs.js} +19 -19
- package/dist/chunks/{ripgrep-9wn2agq9.js → repository-cache-acpej7js.js} +25 -25
- package/dist/chunks/{ripgrep-034tev2y.js → repository-cache-aj7mw0zk.js} +2 -2
- package/dist/chunks/{ripgrep-h0pyfwgt.js → repository-cache-ar1cg2aj.js} +34 -34
- package/dist/chunks/{ripgrep-emzsebxx.js → repository-cache-awbtvej0.js} +6 -6
- package/dist/chunks/{ripgrep-1sqf9bkf.js → repository-cache-axfvp7va.js} +8 -8
- package/dist/chunks/{ripgrep-yav0wb01.js → repository-cache-b0nz1egw.js} +8 -8
- package/dist/chunks/{ripgrep-06m8zqpz.js → repository-cache-b5cvzhy7.js} +27 -27
- package/dist/chunks/{ripgrep-1a2y92ex.js → repository-cache-b5pzk1w6.js} +28 -28
- package/dist/chunks/{ripgrep-zdxaswdy.js → repository-cache-b97d4gnm.js} +9 -9
- package/dist/chunks/{ripgrep-qw7cqan8.js → repository-cache-bcsnmsfv.js} +65 -65
- package/dist/chunks/{ripgrep-3fnjy7d5.js → repository-cache-begd6zth.js} +22 -22
- package/dist/chunks/{ripgrep-tkmw8vhp.js → repository-cache-bfnqc4d0.js} +15 -15
- package/dist/chunks/{ripgrep-anw46eb6.js → repository-cache-bfvhqt57.js} +6 -6
- package/dist/chunks/{ripgrep-gs3jaab1.js → repository-cache-bh8xtp3j.js} +27 -27
- package/dist/chunks/{ripgrep-245v63zg.js → repository-cache-bhdq219t.js} +11 -11
- package/dist/chunks/{ripgrep-hdavf2z4.js → repository-cache-bk7cr9nn.js} +9 -9
- package/dist/chunks/{ripgrep-bzeyqsqd.js → repository-cache-bzeyqsqd.js} +1 -1
- package/dist/chunks/{ripgrep-mr9jz2wx.js → repository-cache-c1p87g8p.js} +33 -33
- package/dist/chunks/{ripgrep-7bjfyzh8.js → repository-cache-c2qmhs8t.js} +45 -45
- package/dist/chunks/{ripgrep-4rb4nh12.js → repository-cache-c2stk2mm.js} +17 -17
- package/dist/chunks/{ripgrep-pazj47g9.js → repository-cache-c39s302y.js} +4 -4
- package/dist/chunks/{ripgrep-nj7hqrdc.js → repository-cache-cg54xxwj.js} +12 -12
- package/dist/chunks/{ripgrep-v0ymv6m8.js → repository-cache-cj61rx2c.js} +16 -16
- package/dist/chunks/{ripgrep-pwt87mrq.js → repository-cache-cmvvh89a.js} +11 -11
- package/dist/chunks/{ripgrep-vrwbrhmt.js → repository-cache-cq0ra0jh.js} +24 -24
- package/dist/chunks/{ripgrep-y11negt3.js → repository-cache-cqe88zww.js} +1 -1
- package/dist/chunks/{ripgrep-mg37qacw.js → repository-cache-d26ntzqk.js} +14 -14
- package/dist/chunks/{ripgrep-7v685v47.js → repository-cache-d7fp9s3w.js} +37 -37
- package/dist/chunks/{ripgrep-w19xc5wf.js → repository-cache-day0cpb0.js} +17 -17
- package/dist/chunks/{ripgrep-df173w7t.js → repository-cache-djg74ehg.js} +11 -11
- package/dist/chunks/{ripgrep-dpkg50ah.js → repository-cache-dpkg50ah.js} +1 -1
- package/dist/chunks/{ripgrep-y4fgtena.js → repository-cache-dpt9takt.js} +84 -84
- package/dist/chunks/{ripgrep-qqeeq2t9.js → repository-cache-drwq78ky.js} +7 -7
- package/dist/chunks/{ripgrep-kpd84ec7.js → repository-cache-dtnbwmg7.js} +11 -11
- package/dist/chunks/{ripgrep-ppdavc1e.js → repository-cache-e0hwqygg.js} +142 -142
- package/dist/chunks/{ripgrep-7t3xedjm.js → repository-cache-e4514827.js} +34 -34
- package/dist/chunks/{ripgrep-bstm3mwn.js → repository-cache-e6xd5sk6.js} +13 -13
- package/dist/chunks/{ripgrep-vep9yay1.js → repository-cache-e7gxy7fd.js} +4 -4
- package/dist/chunks/{ripgrep-cw4w83nc.js → repository-cache-ecj0sxev.js} +13 -13
- package/dist/chunks/{ripgrep-eej6y6fw.js → repository-cache-eej6y6fw.js} +2 -2
- package/dist/chunks/{ripgrep-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-bvkvrv05.js → repository-cache-eh4p6hf5.js} +31 -31
- package/dist/chunks/{ripgrep-1rw66me6.js → repository-cache-erjn3gam.js} +18 -18
- package/dist/chunks/{ripgrep-y24qngx4.js → repository-cache-es79jehb.js} +11 -11
- package/dist/chunks/{ripgrep-ww55sn04.js → repository-cache-etbdxt5c.js} +13 -13
- package/dist/chunks/{ripgrep-ff0c8932.js → repository-cache-f9056yzv.js} +11 -11
- package/dist/chunks/{ripgrep-2r6y34sj.js → repository-cache-f9h0bmn8.js} +11 -11
- package/dist/chunks/{ripgrep-e2qvw7zx.js → repository-cache-faasdkpb.js} +14 -14
- package/dist/chunks/{ripgrep-fcy631f0.js → repository-cache-fcy631f0.js} +1 -1
- package/dist/chunks/{ripgrep-ryb7mfzk.js → repository-cache-fdrztmbp.js} +18 -18
- package/dist/chunks/{ripgrep-abzgq1nw.js → repository-cache-fk6x8bjb.js} +7 -7
- package/dist/chunks/{ripgrep-dt0gb5zd.js → repository-cache-fmsvjh24.js} +21 -21
- package/dist/chunks/{ripgrep-dpf25vxh.js → repository-cache-fn3caeej.js} +12 -12
- package/dist/chunks/{ripgrep-1xpgrxnn.js → repository-cache-fr5g4ae7.js} +13 -13
- package/dist/chunks/{ripgrep-hdgw5fjw.js → repository-cache-g5wgwq6x.js} +8 -8
- package/dist/chunks/{ripgrep-ar5c37sv.js → repository-cache-g8bf95t1.js} +14 -14
- package/dist/chunks/{ripgrep-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-csqw7sk8.js → repository-cache-gf5160ad.js} +15 -15
- package/dist/chunks/{ripgrep-cv5sbdhn.js → repository-cache-ghnq0868.js} +18 -18
- package/dist/chunks/{ripgrep-68w7pmtx.js → repository-cache-gn85dn78.js} +10 -10
- package/dist/chunks/{ripgrep-dx1ezjzk.js → repository-cache-gne8f8zx.js} +8 -8
- package/dist/chunks/{ripgrep-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-07n27ccy.js → repository-cache-h9hmxamh.js} +25 -25
- package/dist/chunks/{ripgrep-5246atra.js → repository-cache-hcbxgsym.js} +6 -6
- package/dist/chunks/{ripgrep-rjsqaxa7.js → repository-cache-hcv80w8f.js} +6 -6
- package/dist/chunks/{ripgrep-hgz4x7wa.js → repository-cache-hgz4x7wa.js} +1 -1
- package/dist/chunks/{ripgrep-apt503cy.js → repository-cache-hsgb4j0v.js} +6 -6
- package/dist/chunks/{ripgrep-6t9ywwra.js → repository-cache-hwjkc1fd.js} +7 -7
- package/dist/chunks/{ripgrep-f9ewqnvf.js → repository-cache-hxnv0h4d.js} +30 -30
- package/dist/chunks/{ripgrep-725dzmat.js → repository-cache-j4xwnxxe.js} +22 -22
- package/dist/chunks/{ripgrep-q3myhh1r.js → repository-cache-j7e7jnf7.js} +22 -22
- package/dist/chunks/{ripgrep-f34pdxph.js → repository-cache-jgfm49py.js} +82 -28
- package/dist/chunks/{ripgrep-v9ep9kw5.js → repository-cache-jknb9njf.js} +31 -31
- package/dist/chunks/{ripgrep-7vyf5e2n.js → repository-cache-jp7rf1q7.js} +25 -25
- package/dist/chunks/{ripgrep-28k0q56j.js → repository-cache-jsdm87ms.js} +22 -22
- package/dist/chunks/{ripgrep-tzvv02w3.js → repository-cache-k0xvjywy.js} +54 -54
- package/dist/chunks/{ripgrep-68w3xa91.js → repository-cache-k332vpf5.js} +1 -1
- package/dist/chunks/{ripgrep-y8ycp07x.js → repository-cache-k7frbprm.js} +10 -10
- package/dist/chunks/{ripgrep-hxcjpjn2.js → repository-cache-ka6d3s58.js} +23 -23
- package/dist/chunks/{ripgrep-4kvg6bn8.js → repository-cache-kaa2ns5k.js} +23 -23
- package/dist/chunks/{ripgrep-1nwxscpy.js → repository-cache-kerhshr9.js} +5 -5
- package/dist/chunks/{ripgrep-n8gj4qy5.js → repository-cache-khan5c8r.js} +21 -21
- package/dist/chunks/{ripgrep-khmqacep.js → repository-cache-khmqacep.js} +1 -1
- package/dist/chunks/{ripgrep-dq407baf.js → repository-cache-kmj26603.js} +3 -3
- package/dist/chunks/{ripgrep-ag4rn41e.js → repository-cache-kne8f3cn.js} +4 -4
- package/dist/chunks/{ripgrep-kwb1v3vj.js → repository-cache-kwb1v3vj.js} +1 -1
- package/dist/chunks/repository-cache-ky0e2j5w.js +523 -0
- package/dist/chunks/{ripgrep-w7vtcvrx.js → repository-cache-m2r0nwr4.js} +33 -33
- package/dist/chunks/{ripgrep-2h0q315h.js → repository-cache-m8r31wvh.js} +12 -12
- package/dist/chunks/{ripgrep-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-maspj1v3.js → repository-cache-maspj1v3.js} +1 -1
- package/dist/chunks/{ripgrep-7em0bpab.js → repository-cache-maxwxnrc.js} +22 -22
- package/dist/chunks/{ripgrep-mktar7aj.js → repository-cache-mktar7aj.js} +3 -3
- package/dist/chunks/{ripgrep-dd2wt6q1.js → repository-cache-mre6e2bz.js} +22 -22
- package/dist/chunks/{ripgrep-897yn8js.js → repository-cache-mt8bq6wm.js} +3 -3
- package/dist/chunks/{ripgrep-r4fw60a8.js → repository-cache-mv2tdfz1.js} +2 -2
- package/dist/chunks/{ripgrep-6ehbgqat.js → repository-cache-mx9vqzsb.js} +6 -6
- package/dist/chunks/{ripgrep-spcybxfk.js → repository-cache-n42ws626.js} +12 -12
- package/dist/chunks/{ripgrep-b6rsy5zn.js → repository-cache-n89rhept.js} +18 -18
- package/dist/chunks/{ripgrep-pmpk6q9r.js → repository-cache-na2qt776.js} +11 -11
- package/dist/chunks/{ripgrep-c99e4gbg.js → repository-cache-neter18e.js} +12 -12
- package/dist/chunks/{ripgrep-zqecfbxk.js → repository-cache-njn7svrx.js} +11 -11
- package/dist/chunks/{ripgrep-nz56sr1f.js → repository-cache-nz56sr1f.js} +2 -2
- package/dist/chunks/{ripgrep-hcwzd9ve.js → repository-cache-p4ev34c6.js} +3 -3
- package/dist/chunks/{ripgrep-dgzq35zb.js → repository-cache-p50c7myx.js} +3 -3
- package/dist/chunks/{ripgrep-p42hj8p8.js → repository-cache-pa8pe2x7.js} +8 -8
- package/dist/chunks/{ripgrep-5wbw6pv9.js → repository-cache-pjrd54q9.js} +13 -13
- package/dist/chunks/{ripgrep-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-y0g19xg0.js → repository-cache-q3q02nra.js} +44 -19
- package/dist/chunks/repository-cache-q509s3k3.js +18 -0
- package/dist/chunks/{ripgrep-fh3hfgk9.js → repository-cache-q9nxkgyw.js} +18 -18
- package/dist/chunks/{ripgrep-sdzwknx0.js → repository-cache-qaejpsje.js} +26 -26
- package/dist/chunks/{ripgrep-d4he2qe1.js → repository-cache-qmqgtz8f.js} +9 -9
- package/dist/chunks/{ripgrep-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-zh2s0dj1.js → repository-cache-qwwrvzk6.js} +13 -13
- package/dist/chunks/{ripgrep-k63sy5rb.js → repository-cache-r5mam93n.js} +12 -12
- package/dist/chunks/{ripgrep-9jdajzrt.js → repository-cache-rb3bf4ta.js} +21 -21
- package/dist/chunks/repository-cache-rdknsxcs.js +26 -0
- package/dist/chunks/{ripgrep-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-yb81whfj.js → repository-cache-re7drvpd.js} +32 -32
- package/dist/chunks/{ripgrep-jp9kzq14.js → repository-cache-rhgbdkcw.js} +4 -4
- package/dist/chunks/{ripgrep-xdh6s9ed.js → repository-cache-rs7cjgc2.js} +11 -11
- package/dist/chunks/{ripgrep-xb6ffzw0.js → repository-cache-rzvtppca.js} +9 -9
- package/dist/chunks/{ripgrep-21sepexc.js → repository-cache-s3s0e237.js} +11 -11
- package/dist/chunks/{ripgrep-pev3esbk.js → repository-cache-s441vsqw.js} +45 -45
- package/dist/chunks/{ripgrep-hfrgt7j1.js → repository-cache-s5q4smqk.js} +23 -23
- package/dist/chunks/{ripgrep-8w0fc9v5.js → repository-cache-s8764fh1.js} +16 -16
- package/dist/chunks/{ripgrep-tfx4s5nm.js → repository-cache-shgfme6y.js} +9 -9
- package/dist/chunks/{ripgrep-stw0ktd7.js → repository-cache-sk60w5yp.js} +4 -4
- package/dist/chunks/{ripgrep-7hppxa70.js → repository-cache-stgww97k.js} +1 -1
- package/dist/chunks/{ripgrep-9ha6dkfn.js → repository-cache-sy8aafnh.js} +12 -12
- package/dist/chunks/{ripgrep-syv4x271.js → repository-cache-syv4x271.js} +1 -1
- package/dist/chunks/{ripgrep-z96h84jq.js → repository-cache-t445km54.js} +22 -22
- package/dist/chunks/{ripgrep-t2fc4mz5.js → repository-cache-t6vsspdg.js} +7 -7
- package/dist/chunks/{ripgrep-rn08qtw3.js → repository-cache-t9gapptp.js} +16 -16
- package/dist/chunks/{ripgrep-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-tdstcens.js → repository-cache-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-kmgpx441.js → repository-cache-thdw9z92.js} +11 -11
- package/dist/chunks/{ripgrep-tm0kqsz3.js → repository-cache-tm0kqsz3.js} +1 -1
- package/dist/chunks/{ripgrep-vdxz864t.js → repository-cache-tq6mjjtf.js} +42 -42
- package/dist/chunks/{ripgrep-txm3e8qz.js → repository-cache-txm3e8qz.js} +1 -1
- package/dist/chunks/{ripgrep-tyytaxap.js → repository-cache-tyytaxap.js} +1 -1
- package/dist/chunks/repository-cache-v19kdf3f.js +257 -0
- package/dist/chunks/{ripgrep-v210v162.js → repository-cache-v210v162.js} +2 -2
- package/dist/chunks/{ripgrep-v7p4zvkq.js → repository-cache-v7p4zvkq.js} +2 -2
- package/dist/chunks/{ripgrep-gbqxypma.js → repository-cache-vca9tefh.js} +28 -28
- package/dist/chunks/{ripgrep-jwv7ab79.js → repository-cache-ve45bn9x.js} +6 -6
- package/dist/chunks/{ripgrep-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-pgp1nwjn.js → repository-cache-vfjhn2wd.js} +4 -4
- package/dist/chunks/{ripgrep-d9xyp96y.js → repository-cache-vws1dc27.js} +8 -8
- package/dist/chunks/{ripgrep-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-enrp405z.js → repository-cache-vzvdzsp8.js} +16 -16
- package/dist/chunks/{ripgrep-84txncab.js → repository-cache-w1eejvng.js} +5 -5
- package/dist/chunks/{ripgrep-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-8vya4b9k.js → repository-cache-w5v1nc2x.js} +43 -43
- package/dist/chunks/{ripgrep-9vr292v9.js → repository-cache-w95yk9fa.js} +12 -12
- package/dist/chunks/{ripgrep-1vp80wqe.js → repository-cache-w97r3myk.js} +4 -4
- package/dist/chunks/{ripgrep-xkajykm3.js → repository-cache-waj948mc.js} +13 -13
- package/dist/chunks/{ripgrep-wakvkjy4.js → repository-cache-wakvkjy4.js} +1 -1
- package/dist/chunks/{ripgrep-tdqqk9tn.js → repository-cache-wb3npxmx.js} +21 -21
- package/dist/chunks/{ripgrep-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-6sdx5bv6.js → repository-cache-wdj21rq2.js} +3 -3
- package/dist/chunks/{ripgrep-33m7zff6.js → repository-cache-wg8mj883.js} +4 -4
- package/dist/chunks/{ripgrep-wjr9rjd7.js → repository-cache-wjr9rjd7.js} +2 -2
- package/dist/chunks/{ripgrep-1rs87y8d.js → repository-cache-x5n6rhaq.js} +21 -21
- package/dist/chunks/{ripgrep-addxnjmp.js → repository-cache-x661k3y3.js} +4 -4
- package/dist/chunks/{ripgrep-wbcvfxpg.js → repository-cache-x99b0ndd.js} +33 -33
- package/dist/chunks/{ripgrep-p8mhfpfb.js → repository-cache-xdx7acry.js} +9 -9
- package/dist/chunks/{ripgrep-906y5cdw.js → repository-cache-xsd5t8ts.js} +7 -7
- package/dist/chunks/{ripgrep-ye89p72n.js → repository-cache-xvpfz61x.js} +2 -2
- package/dist/chunks/{ripgrep-yn7c86qb.js → repository-cache-xwvq48yb.js} +46 -46
- package/dist/chunks/{ripgrep-ce3ajj6n.js → repository-cache-xzcw8fss.js} +33 -33
- package/dist/chunks/{ripgrep-7x97mf13.js → repository-cache-xzmr40r3.js} +17 -17
- package/dist/chunks/{ripgrep-e696dwzt.js → repository-cache-xzyddccp.js} +11 -11
- package/dist/chunks/{ripgrep-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-ekrj3q3n.js → repository-cache-y1seeq9p.js} +15 -15
- package/dist/chunks/{ripgrep-2n3wn4cc.js → repository-cache-y2vmg8pj.js} +12 -12
- package/dist/chunks/{ripgrep-edj082x0.js → repository-cache-y35aym2w.js} +6 -6
- package/dist/chunks/{ripgrep-bydnjh3t.js → repository-cache-y56ehv6b.js} +9 -9
- package/dist/chunks/{ripgrep-y7nndgyc.js → repository-cache-y7nndgyc.js} +2 -2
- package/dist/chunks/{ripgrep-p2kzfj7d.js → repository-cache-y7wkqyfh.js} +16 -16
- package/dist/chunks/{ripgrep-jszh17ab.js → repository-cache-yhyj8seq.js} +17 -17
- package/dist/chunks/{ripgrep-vy2epn4a.js → repository-cache-ypjr4kpw.js} +2 -2
- package/dist/chunks/{ripgrep-w1yzj816.js → repository-cache-yyj6wd33.js} +21 -21
- package/dist/chunks/{ripgrep-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-z18fegx4.js → repository-cache-z18fegx4.js} +1 -1
- package/dist/chunks/{ripgrep-mzrmbcee.js → repository-cache-z7e4qa79.js} +28 -28
- package/dist/chunks/{ripgrep-yggz4gjb.js → repository-cache-z8b9xacy.js} +47 -47
- package/dist/chunks/{ripgrep-y6jtz2hz.js → repository-cache-zkbbq4dt.js} +18 -18
- package/dist/chunks/{ripgrep-vnwvh6x6.js → repository-cache-zmtrh7z6.js} +21 -21
- package/dist/chunks/{ripgrep-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +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 +116 -116
- package/dist/config/plugin/command.js +212 -212
- 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 +115 -115
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +114 -114
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- 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 +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- 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 +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/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 +81 -81
- 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 +1 -1
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- 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 +221 -221
- 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 +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- 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 +87 -87
- package/dist/job.js +80 -80
- 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 +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +140 -140
- 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 +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +4 -4
- 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 +116 -116
- 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 +118 -118
- package/dist/plugin/provider/opencode.js +103 -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 +171 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -347
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- 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 +3 -3
- package/dist/session/runner/step.js +126 -126
- 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 +77 -77
- 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 +162 -162
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- 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 +16 -16
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/plugin/provider/opencode.d.ts +2 -1
- package/dist/types/voice.d.ts +30 -1
- 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 +1 -1
- 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 +82 -82
- 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/ripgrep-etg1n2kx.js +0 -517
- package/dist/chunks/ripgrep-g32r42h9.js +0 -257
- package/dist/chunks/ripgrep-gyce5qg1.js +0 -18
- package/dist/chunks/ripgrep-t23bw0vy.js +0 -26
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3t0ybcrp.js → repository-cache-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-m18g726c.js → repository-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{ripgrep-m5jcjszt.js → repository-cache-m5jcjszt.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-pkyv6v7h.js → repository-cache-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{ripgrep-pyv0edze.js → repository-cache-pyv0edze.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wjj7prxr.js → repository-cache-wjj7prxr.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service61,
|
|
3
|
+
node63
|
|
4
|
+
} from "./repository-cache-t9gapptp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service17,
|
|
7
|
+
node20
|
|
8
|
+
} from "./repository-cache-dpt9takt.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-6xb47vfp.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
@@ -26,8 +26,8 @@ import { Node } from "@opencode/util/effect/app-node";
|
|
|
26
26
|
class Service12 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service17;
|
|
30
|
+
const jobs = yield* Service61;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -67,7 +67,7 @@ var make = Effect.gen(function* () {
|
|
|
67
67
|
var node14 = Node.makeGlobalNode({
|
|
68
68
|
service: Service12,
|
|
69
69
|
layer: Layer.effect(Service12, make),
|
|
70
|
-
deps: [
|
|
70
|
+
deps: [node20, node63]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
73
|
export { Service12, node14, exports_subagent_job };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
match2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-y1fvbwt7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/managed-policy.ts
|
|
9
9
|
var exports_managed_policy = {};
|
|
10
10
|
__export(exports_managed_policy, {
|
|
11
11
|
ManagedPolicy: () => exports_managed_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service55,
|
|
13
13
|
decision: () => decision2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
node: () =>
|
|
14
|
+
layer: () => layer22,
|
|
15
|
+
node: () => node57,
|
|
16
16
|
statements: () => statements2
|
|
17
17
|
});
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
19
19
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Service55 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var layer22 = Layer.effect(Service55, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service55.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node57 = makeGlobalNode({ service: Service55, layer: layer22, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
|
|
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
|
|
|
50
50
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service55, layer22, node57, statements2, decision2, exports_managed_policy };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
Service82
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-xvpfz61x.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-wb3npxmx.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin21,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin21 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service82;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin21, exports_hg };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./repository-cache-7yn4yp07.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service82,
|
|
11
11
|
node86
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-xvpfz61x.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service72,
|
|
20
|
+
node76,
|
|
21
|
+
Event15
|
|
22
|
+
} from "./repository-cache-5ky00pdm.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,26 +30,26 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event14,
|
|
34
34
|
Family: () => Family2,
|
|
35
35
|
ID: () => ID12,
|
|
36
|
-
Info: () =>
|
|
36
|
+
Info: () => Info20,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service71,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
45
|
-
parse: () =>
|
|
44
|
+
node: () => node75,
|
|
45
|
+
parse: () => parse4,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
48
48
|
import { Model } from "@opencode/schema/model";
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
52
|
+
import { Event as Event14 } from "@opencode/schema/model";
|
|
53
53
|
var ID12 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
@@ -67,13 +67,13 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
67
67
|
};
|
|
68
68
|
var Cost2 = Model.Cost;
|
|
69
69
|
var Ref2 = Model.Ref;
|
|
70
|
-
var
|
|
70
|
+
var Info20 = Model.Info;
|
|
71
71
|
|
|
72
|
-
class
|
|
72
|
+
class Service71 extends Context.Service()("@opencode/Model") {
|
|
73
73
|
}
|
|
74
|
-
var layer = Layer.effect(
|
|
75
|
-
const providers = yield*
|
|
76
|
-
const bus = yield*
|
|
74
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
75
|
+
const providers = yield* Service72;
|
|
76
|
+
const bus = yield* Service84;
|
|
77
77
|
const location = yield* Service82;
|
|
78
78
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
79
79
|
let input;
|
|
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
120
120
|
const models = writable(providerID);
|
|
121
121
|
if (!models)
|
|
122
122
|
return;
|
|
123
|
-
const model = draft(providerID, modelID) ??
|
|
123
|
+
const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
|
|
124
124
|
update(model);
|
|
125
125
|
model.id = modelID;
|
|
126
126
|
model.providerID = providerID;
|
|
@@ -216,8 +216,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
216
216
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
217
217
|
});
|
|
218
218
|
});
|
|
219
|
-
yield* bus.subscribe(
|
|
220
|
-
return
|
|
219
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
220
|
+
return Service71.of({
|
|
221
221
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
222
222
|
reload,
|
|
223
223
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
236
236
|
})
|
|
237
237
|
});
|
|
238
238
|
}));
|
|
239
|
-
var
|
|
239
|
+
var node75 = makeLocationNode({ service: Service71, layer, deps: [node76, node88, node86] });
|
|
240
240
|
var PREFERRED_FREE = [
|
|
241
241
|
"big-pickle",
|
|
242
242
|
"deepseek-v4.1-flash-free",
|
|
@@ -260,7 +260,7 @@ function compatibility2(input) {
|
|
|
260
260
|
return;
|
|
261
261
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function parse4(input) {
|
|
264
264
|
const index = input.indexOf("/");
|
|
265
265
|
return {
|
|
266
266
|
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
@@ -268,4 +268,4 @@ function parse5(input) {
|
|
|
268
268
|
};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2,
|
|
271
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info20, Service71, node75, supportsText2, compatibility2, parse4, exports_model2, Event14 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service86,
|
|
6
|
-
node90
|
|
7
|
-
} from "./ripgrep-2r6y34sj.js";
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
8
4
|
import {
|
|
9
5
|
Service85,
|
|
10
6
|
node89
|
|
11
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-f9h0bmn8.js";
|
|
12
8
|
import {
|
|
13
9
|
Service84,
|
|
14
10
|
node88
|
|
15
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-7yn4yp07.js";
|
|
12
|
+
import {
|
|
13
|
+
Service86,
|
|
14
|
+
node90
|
|
15
|
+
} from "./repository-cache-cg54xxwj.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput5,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-v210v162.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-cache-aj7mw0zk.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-cache-8vcf4cwr.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -100,10 +100,10 @@ function fromRow(row) {
|
|
|
100
100
|
}
|
|
101
101
|
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service86;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
|
-
const bus = yield*
|
|
106
|
-
const db = (yield*
|
|
105
|
+
const bus = yield* Service84;
|
|
106
|
+
const db = (yield* Service85).db;
|
|
107
107
|
const announcing = new Set;
|
|
108
108
|
const persist = Effect.fnUntraced(function* (project) {
|
|
109
109
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -309,7 +309,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
309
309
|
var node87 = makeGlobalNode({
|
|
310
310
|
service: Service83,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [
|
|
312
|
+
deps: [node88, node89, FSUtil.node, node90, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info10,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info10 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info10, exports_mcp5 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-k7frbprm.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make10 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make7 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make10();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make10, LMStudioPlugin2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-aj7mw0zk.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-rs7cjgc2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./repository-cache-7yn4yp07.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service74
|
|
11
|
+
} from "./repository-cache-x99b0ndd.js";
|
|
12
12
|
import {
|
|
13
13
|
ID14,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-qaejpsje.js";
|
|
16
16
|
import {
|
|
17
17
|
ID13,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-5ky00pdm.js";
|
|
20
20
|
import {
|
|
21
21
|
ID12,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info20
|
|
24
|
+
} from "./repository-cache-1n547s99.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-cache-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./repository-cache-54ma36ye.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-cache-bfvhqt57.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -179,8 +179,8 @@ function listen(server) {
|
|
|
179
179
|
var ChatGPTPlugin2 = define({
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
|
-
const bus = yield*
|
|
183
|
-
const credentials = yield*
|
|
182
|
+
const bus = yield* Service84;
|
|
183
|
+
const credentials = yield* Service74;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model,
|
|
328
|
+
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info20.default(ID13.openai, ID12.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options8,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options8 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options8, Spec2, exports_plugin3 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./repository-cache-7yn4yp07.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-xvpfz61x.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service41,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node44
|
|
13
|
+
} from "./repository-cache-maxwxnrc.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput2,
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID2,
|
|
28
|
+
Info: () => Info3,
|
|
29
|
+
NotFoundError: () => NotFoundError2,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
32
|
-
UpdateInput: () =>
|
|
33
|
-
node: () =>
|
|
31
|
+
Service: () => Service15,
|
|
32
|
+
UpdateInput: () => UpdateInput2,
|
|
33
|
+
node: () => node17
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
42
|
+
var ID2 = Pty.ID;
|
|
43
|
+
var Info3 = Pty.Info;
|
|
44
|
+
var CreateInput2 = Pty.CreateInput;
|
|
45
|
+
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID2
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service15 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
59
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service84;
|
|
61
61
|
const location = yield* Service82;
|
|
62
|
-
const shell = yield*
|
|
62
|
+
const shell = yield* Service41;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID2.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service15.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node17 = makeLocationNode({
|
|
273
|
+
service: Service15,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node88, node86, node44]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID2, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node17, exports_pty, Event2 };
|