@opencode/core 0.0.0-dev-21244 → 0.0.0-dev-21252
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 +85 -85
- 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/{formatter-f534ymt6.js → pty-04zfcyt8.js} +11 -11
- package/dist/chunks/{formatter-gr37njw6.js → pty-09mdhsg2.js} +11 -11
- package/dist/chunks/{formatter-m3w3e65b.js → pty-0jxg87fr.js} +6 -6
- package/dist/chunks/{formatter-xj0ka1v1.js → pty-0prfbnza.js} +15 -15
- package/dist/chunks/{formatter-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{formatter-xc2rqamm.js → pty-16nt522w.js} +32 -32
- package/dist/chunks/{formatter-c2jwe8x1.js → pty-17h4d3k8.js} +25 -25
- package/dist/chunks/{formatter-yp2x3t23.js → pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{formatter-w92k2e0p.js → pty-1p07q0wb.js} +6 -6
- package/dist/chunks/{formatter-t4x3hxzy.js → pty-1s33mprc.js} +19 -19
- package/dist/chunks/{formatter-k6eyzvgr.js → pty-1v2js5qj.js} +13 -13
- package/dist/chunks/pty-25875qsz.js +97 -0
- package/dist/chunks/{formatter-4adehn3m.js → pty-273j735v.js} +6 -6
- package/dist/chunks/{formatter-8ddypp76.js → pty-2edtnx9x.js} +9 -9
- package/dist/chunks/{formatter-qtjmeqcc.js → pty-2ggmd3qz.js} +9 -9
- package/dist/chunks/{formatter-kp329rnm.js → pty-2vfvkkyx.js} +4 -4
- package/dist/chunks/{formatter-5tx2tm3v.js → pty-2vx1pgcs.js} +19 -19
- package/dist/chunks/{formatter-rs9wx55j.js → pty-2x278s08.js} +33 -33
- package/dist/chunks/{formatter-0tcnq6v6.js → pty-38m8qhc5.js} +9 -9
- package/dist/chunks/{formatter-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-8p41qfym.js → pty-3hsqsy3q.js} +20 -20
- package/dist/chunks/{formatter-3hwn7j4h.js → pty-3hwn7j4h.js} +2 -2
- package/dist/chunks/{formatter-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{formatter-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{formatter-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{formatter-3vtk7r3y.js → pty-4ar0dv3a.js} +20 -20
- package/dist/chunks/{formatter-4537tsak.js → pty-4bm5ja14.js} +4 -4
- package/dist/chunks/{formatter-g8nc3xyp.js → pty-4k4fvchf.js} +14 -14
- package/dist/chunks/{formatter-phz50fbd.js → pty-4xdpab2z.js} +5 -5
- package/dist/chunks/{formatter-p3z1s7cv.js → pty-4yqhvzx8.js} +27 -27
- package/dist/chunks/{formatter-xcd0eash.js → pty-51f5btjf.js} +6 -6
- package/dist/chunks/{formatter-wqvrfkn5.js → pty-56swpcfg.js} +11 -11
- package/dist/chunks/{formatter-57b9ws8p.js → pty-57b9ws8p.js} +1 -1
- package/dist/chunks/{formatter-qv499rce.js → pty-59j4ht07.js} +23 -23
- package/dist/chunks/{formatter-9k0q07qp.js → pty-5g9mj0x8.js} +36 -36
- package/dist/chunks/{formatter-5y480sgp.js → pty-5gzjtbzb.js} +8 -8
- package/dist/chunks/{formatter-my89cahe.js → pty-5k0aebbb.js} +22 -22
- package/dist/chunks/{formatter-x7bd6s3f.js → pty-5kgk83bb.js} +27 -27
- package/dist/chunks/{formatter-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{formatter-pt0v59x6.js → pty-5mq5fr1q.js} +11 -11
- package/dist/chunks/{formatter-v0b295w1.js → pty-5p4ea1z6.js} +16 -16
- package/dist/chunks/{formatter-jav1j83y.js → pty-5pa1jwxy.js} +12 -12
- package/dist/chunks/{formatter-1z4aes97.js → pty-5pckqsa0.js} +21 -21
- package/dist/chunks/{formatter-sb8qnayt.js → pty-5py0qphe.js} +19 -19
- package/dist/chunks/{formatter-bry1x5ad.js → pty-5q287mz9.js} +17 -17
- package/dist/chunks/{formatter-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{formatter-21cye1se.js → pty-5rqr18hk.js} +18 -18
- package/dist/chunks/{formatter-7jy01c2j.js → pty-5vvprwm6.js} +4 -4
- package/dist/chunks/{formatter-6ras8vtd.js → pty-613s401q.js} +22 -22
- package/dist/chunks/pty-619r8v3y.js +18 -0
- package/dist/chunks/{formatter-6827pfxn.js → pty-6827pfxn.js} +1 -1
- package/dist/chunks/{formatter-c5ggqzvz.js → pty-6kgydgrk.js} +12 -12
- package/dist/chunks/{formatter-p30hmy3j.js → pty-6sk5sj01.js} +25 -25
- package/dist/chunks/{formatter-f3wsxmbf.js → pty-6ts7sypm.js} +12 -12
- package/dist/chunks/{formatter-vp00rtyr.js → pty-6w7ed4zb.js} +14 -14
- package/dist/chunks/{formatter-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{formatter-b30s6mje.js → pty-75ar5t22.js} +11 -11
- package/dist/chunks/{formatter-svxhdcjy.js → pty-75v6ymbe.js} +11 -11
- package/dist/chunks/{formatter-775gj3j1.js → pty-775gj3j1.js} +2 -2
- package/dist/chunks/{formatter-ttfzm2et.js → pty-79efq26t.js} +20 -20
- package/dist/chunks/{formatter-ft3hqk2c.js → pty-79qaa2kf.js} +9 -9
- package/dist/chunks/{formatter-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-zjww4jny.js → pty-7d4ryxry.js} +25 -25
- package/dist/chunks/{formatter-d8c6spkq.js → pty-7jvyjmqp.js} +45 -45
- package/dist/chunks/{formatter-95c9qt52.js → pty-7qcm40ym.js} +11 -11
- package/dist/chunks/{formatter-84txncab.js → pty-84txncab.js} +1 -1
- package/dist/chunks/{formatter-yvvvp4gn.js → pty-89bb6baa.js} +8 -8
- package/dist/chunks/{formatter-1b9h5v8t.js → pty-8btm942h.js} +2 -2
- package/dist/chunks/{formatter-yz8mk3e2.js → pty-8c229cqm.js} +49 -49
- package/dist/chunks/{formatter-j34dxvpb.js → pty-8dff8bqa.js} +5 -5
- package/dist/chunks/{formatter-yyht7rfr.js → pty-8djhns2y.js} +3 -3
- package/dist/chunks/{formatter-xcexsawf.js → pty-8fmtb3sq.js} +35 -35
- package/dist/chunks/{formatter-8m6m0r52.js → pty-8m6m0r52.js} +1 -1
- package/dist/chunks/{formatter-yyjkxqgj.js → pty-8n5y01rv.js} +4 -4
- package/dist/chunks/{formatter-pg2r46xe.js → pty-8t56p07m.js} +23 -23
- package/dist/chunks/{formatter-5epte933.js → pty-8whp40kv.js} +3 -3
- package/dist/chunks/{formatter-szd00bka.js → pty-8xqdgpeg.js} +4 -4
- package/dist/chunks/{formatter-14tvmdth.js → pty-9587ae3r.js} +7 -7
- package/dist/chunks/{formatter-zrq3bjv4.js → pty-9kr8jvk4.js} +9 -9
- package/dist/chunks/{formatter-jm77avtd.js → pty-9m0hg6kw.js} +3 -3
- package/dist/chunks/{formatter-gd0tnyjc.js → pty-9vrga451.js} +1 -1
- package/dist/chunks/{formatter-w3wbfgm7.js → pty-9z80hxc4.js} +29 -29
- package/dist/chunks/{formatter-kqezzyfk.js → pty-a5jmndgx.js} +23 -23
- package/dist/chunks/{formatter-whwq5x3g.js → pty-aepr7q13.js} +185 -185
- package/dist/chunks/{formatter-q9s9zqn4.js → pty-ah7q5eh6.js} +10 -10
- package/dist/chunks/{formatter-heqwx97d.js → pty-ajfgb3zy.js} +6 -6
- package/dist/chunks/{formatter-yx0rmv9r.js → pty-ax36eyar.js} +8 -8
- package/dist/chunks/pty-b31pqyrf.js +26 -0
- package/dist/chunks/{formatter-vj5p38yv.js → pty-b3qw4ny2.js} +23 -18
- package/dist/chunks/{formatter-wyvwawjm.js → pty-b532nts2.js} +44 -44
- package/dist/chunks/{formatter-83wzpacr.js → pty-b5s7rv85.js} +21 -21
- package/dist/chunks/{formatter-7m4642cz.js → pty-b8fv3x8g.js} +14 -14
- package/dist/chunks/{formatter-y1m8s9mq.js → pty-be2m8mkb.js} +25 -25
- package/dist/chunks/{formatter-s91efq40.js → pty-bmv70x53.js} +32 -32
- package/dist/chunks/{formatter-d66rdyfa.js → pty-bqqqx74r.js} +42 -42
- package/dist/chunks/{formatter-2qgrx7zj.js → pty-bsg7vvxy.js} +17 -17
- package/dist/chunks/{formatter-rk974gg7.js → pty-bx3wj5v5.js} +21 -21
- package/dist/chunks/{formatter-bzeyqsqd.js → pty-bzeyqsqd.js} +1 -1
- package/dist/chunks/{formatter-98gbvst6.js → pty-bzqqb8ta.js} +3 -3
- package/dist/chunks/{formatter-rj3eygr5.js → pty-c41wscbt.js} +2 -2
- package/dist/chunks/{formatter-ans500eg.js → pty-c4mkfy92.js} +4 -4
- package/dist/chunks/{formatter-e80seqcp.js → pty-c7zza6wf.js} +3 -3
- package/dist/chunks/{formatter-sa8ekw3f.js → pty-c8ax2afj.js} +2 -2
- package/dist/chunks/{formatter-wp4vtpe6.js → pty-carp9cx2.js} +15 -15
- package/dist/chunks/{formatter-d1a28jh7.js → pty-d1a28jh7.js} +2 -2
- package/dist/chunks/{formatter-5gwznhg8.js → pty-d54gtgr2.js} +24 -24
- package/dist/chunks/{formatter-hfbyhya8.js → pty-d6ex36fs.js} +10 -10
- package/dist/chunks/{formatter-n6j8zy7f.js → pty-dbe6ax9h.js} +34 -34
- package/dist/chunks/{formatter-znhp5m3s.js → pty-dbvaw56v.js} +40 -40
- package/dist/chunks/{formatter-rzkcke2z.js → pty-dng94c05.js} +34 -34
- package/dist/chunks/{formatter-y71avatq.js → pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{formatter-jg6jwpe0.js → pty-dwy6gwr4.js} +4 -4
- package/dist/chunks/{formatter-bbkhz5x0.js → pty-dys7k0s0.js} +11 -11
- package/dist/chunks/{formatter-6kt042be.js → pty-dyx7hmrq.js} +19 -19
- package/dist/chunks/{formatter-0gdmqesm.js → pty-eaj1djv9.js} +8 -8
- package/dist/chunks/{formatter-eej6y6fw.js → pty-eej6y6fw.js} +2 -2
- package/dist/chunks/{formatter-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{formatter-w1ba7bfx.js → pty-eh6ej367.js} +5 -5
- package/dist/chunks/{formatter-0w0hsyng.js → pty-emdb9ywx.js} +16 -16
- package/dist/chunks/{formatter-x835q0ad.js → pty-emtnyy8a.js} +18 -18
- package/dist/chunks/{formatter-me3jp302.js → pty-ep1c6evs.js} +19 -19
- package/dist/chunks/{formatter-c1fqxshp.js → pty-es1vcfrp.js} +3 -3
- package/dist/chunks/{formatter-44ak30pa.js → pty-espax8zg.js} +4 -4
- package/dist/chunks/{formatter-wpqhxtcy.js → pty-ev6dmhwt.js} +13 -13
- package/dist/chunks/{formatter-eakdd8w5.js → pty-ewzhehhx.js} +51 -51
- package/dist/chunks/{formatter-6bfs7xd7.js → pty-exxz27fe.js} +28 -28
- package/dist/chunks/{formatter-cpgtpatm.js → pty-eyqpj6mq.js} +11 -11
- package/dist/chunks/{formatter-p37cw4rj.js → pty-eys57y9b.js} +8 -8
- package/dist/chunks/{formatter-9pvd7fay.js → pty-eywv91wk.js} +31 -31
- package/dist/chunks/{formatter-r9y2scxt.js → pty-f59ep6tb.js} +11 -11
- package/dist/chunks/{formatter-kk4m4jz5.js → pty-f83dkk6g.js} +6 -6
- package/dist/chunks/{formatter-64ksbt32.js → pty-f8bebqmw.js} +9 -9
- package/dist/chunks/{formatter-fcy631f0.js → pty-fcy631f0.js} +1 -1
- package/dist/chunks/{formatter-c907h1r8.js → pty-fna3snnf.js} +26 -26
- package/dist/chunks/{formatter-hq3c8me3.js → pty-fxaymqdw.js} +4 -4
- package/dist/chunks/{formatter-6yz0wx8n.js → pty-g6yfr6ja.js} +5 -5
- package/dist/chunks/{formatter-hmzjb8dj.js → pty-gb91ecjr.js} +18 -18
- package/dist/chunks/{formatter-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{formatter-d20vf659.js → pty-gecaqdc7.js} +13 -13
- package/dist/chunks/{formatter-r0yrvwzz.js → pty-ghttpbhe.js} +27 -27
- package/dist/chunks/{formatter-yn9r1x73.js → pty-ghzt5075.js} +25 -25
- package/dist/chunks/{formatter-qne3fa44.js → pty-gj71zhbs.js} +5 -5
- package/dist/chunks/{formatter-ssx21478.js → pty-gp4w86nb.js} +22 -22
- package/dist/chunks/{formatter-gex9dnn3.js → pty-gq21vk3h.js} +20 -20
- package/dist/chunks/{formatter-x661k3y3.js → pty-gqtdsdt7.js} +4 -4
- package/dist/chunks/{formatter-5bkyxj6g.js → pty-h0bbvnbm.js} +98 -98
- package/dist/chunks/{formatter-5z12t68t.js → pty-h0c8h6v4.js} +17 -17
- package/dist/chunks/{formatter-za681khs.js → pty-h62q6qsm.js} +13 -13
- package/dist/chunks/{formatter-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{formatter-q8ksm80s.js → pty-h9sr2fx8.js} +40 -40
- package/dist/chunks/{formatter-hbv5rvvj.js → pty-h9t9rr5j.js} +8 -8
- package/dist/chunks/{formatter-ex98dt4j.js → pty-hccfxqt2.js} +22 -22
- package/dist/chunks/{formatter-hgz4x7wa.js → pty-hgz4x7wa.js} +1 -1
- package/dist/chunks/{formatter-sdjxx6pg.js → pty-hskj05ts.js} +36 -36
- package/dist/chunks/{formatter-j09zfasm.js → pty-j09zfasm.js} +3 -3
- package/dist/chunks/{formatter-p18ep857.js → pty-j1e1vdpa.js} +18 -18
- package/dist/chunks/{formatter-1y9yjfpn.js → pty-j4x75x50.js} +15 -15
- package/dist/chunks/{formatter-2xr74ag8.js → pty-j5y9yxpr.js} +33 -33
- package/dist/chunks/{formatter-xmrxjf82.js → pty-j7jn4qex.js} +32 -32
- package/dist/chunks/{formatter-9b22j2js.js → pty-j8hg5m6j.js} +14 -14
- package/dist/chunks/{formatter-2thwhjsv.js → pty-jqzezgch.js} +13 -13
- package/dist/chunks/{formatter-0v1kw2g7.js → pty-jym867d0.js} +14 -14
- package/dist/chunks/{formatter-q1yb1hsa.js → pty-k0dv98ax.js} +17 -17
- package/dist/chunks/{formatter-nvcb2me1.js → pty-k283101k.js} +9 -9
- package/dist/chunks/{formatter-7mg7dxek.js → pty-k4j5e150.js} +19 -19
- package/dist/chunks/{formatter-py38g5de.js → pty-k7vqg6gp.js} +10 -10
- package/dist/chunks/{formatter-yz37vbp4.js → pty-k8h85fj7.js} +2 -2
- package/dist/chunks/{formatter-tw9chead.js → pty-kawxgbzv.js} +18 -18
- package/dist/chunks/{formatter-63qcved5.js → pty-kgrkq9ry.js} +48 -48
- package/dist/chunks/{formatter-d4vyzb3t.js → pty-khtxvdmw.js} +34 -34
- package/dist/chunks/{formatter-5mr4v717.js → pty-kmnwckzv.js} +11 -11
- package/dist/chunks/{formatter-aky1dekn.js → pty-knfhyvcc.js} +11 -11
- package/dist/chunks/{formatter-cdnjftw5.js → pty-kr25s46q.js} +5 -5
- package/dist/chunks/{formatter-fc29xzdc.js → pty-kt7fyp0h.js} +62 -62
- package/dist/chunks/{formatter-kwb1v3vj.js → pty-kwb1v3vj.js} +1 -1
- package/dist/chunks/{formatter-jekssrtq.js → pty-m1z5ek08.js} +5 -5
- package/dist/chunks/{formatter-y4t3c8zk.js → pty-m35e3w0r.js} +13 -13
- package/dist/chunks/{formatter-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-maspj1v3.js → pty-maspj1v3.js} +1 -1
- package/dist/chunks/{formatter-sh5y8zvm.js → pty-mf5sjjt4.js} +1 -1
- package/dist/chunks/{formatter-wjcqngme.js → pty-mftp4jgp.js} +13 -13
- package/dist/chunks/{formatter-nev18w5c.js → pty-mgq3c1d5.js} +5 -5
- package/dist/chunks/{formatter-mzfw0pb0.js → pty-mgxskf66.js} +37 -37
- package/dist/chunks/{formatter-r4ekbdnr.js → pty-mhwem8sv.js} +25 -25
- package/dist/chunks/{formatter-d3xt2zh4.js → pty-mqrd7sth.js} +5 -5
- package/dist/chunks/{formatter-ftwm2p4f.js → pty-ms4hbghf.js} +50 -50
- package/dist/chunks/{formatter-d9yrqh4n.js → pty-mthh58nh.js} +31 -31
- package/dist/chunks/{formatter-kcdx8ksy.js → pty-mx4xths8.js} +32 -32
- package/dist/chunks/{formatter-147shrta.js → pty-n1900k66.js} +1 -1
- package/dist/chunks/{formatter-q1xe5xm5.js → pty-nb8d4sea.js} +8 -8
- package/dist/chunks/{formatter-ea05sntr.js → pty-nqvxt6f2.js} +13 -13
- package/dist/chunks/{formatter-1z0c123x.js → pty-nzsdqqv9.js} +36 -36
- package/dist/chunks/{formatter-8f9p3crs.js → pty-p62ktq1b.js} +22 -22
- package/dist/chunks/{formatter-vywgh4c6.js → pty-pgf8gcr8.js} +35 -35
- package/dist/chunks/{formatter-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{formatter-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-f60jq6s2.js → pty-pyp098nx.js} +16 -16
- package/dist/chunks/{formatter-pzjmh3bc.js → pty-q0tnd1dz.js} +15 -15
- package/dist/chunks/{formatter-qgc12pw2.js → pty-qe7qwmvw.js} +46 -46
- package/dist/chunks/{formatter-7dqw4kz8.js → pty-qgn6gcr1.js} +5 -5
- package/dist/chunks/{formatter-zxczbdfd.js → pty-qj9dcjzw.js} +5 -5
- package/dist/chunks/{formatter-a7mmyf9t.js → pty-qk7mv1xs.js} +7 -7
- package/dist/chunks/{formatter-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{formatter-nxwm516h.js → pty-qrsxyz47.js} +11 -11
- package/dist/chunks/{formatter-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{formatter-wcpje083.js → pty-qsswj7nd.js} +9 -9
- package/dist/chunks/{formatter-0y9f2m8n.js → pty-r86349qm.js} +6 -6
- package/dist/chunks/{formatter-54ma36ye.js → pty-r94pvvab.js} +4 -4
- package/dist/chunks/{formatter-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{formatter-q34x7v2p.js → pty-rgg94day.js} +25 -25
- package/dist/chunks/{formatter-86y4chpd.js → pty-rqhgjz8j.js} +19 -19
- package/dist/chunks/{formatter-mphgtbj1.js → pty-ry6831an.js} +9 -9
- package/dist/chunks/{formatter-4z58m4b4.js → pty-rywzfdxh.js} +4 -4
- package/dist/chunks/{formatter-mmfyj663.js → pty-sbb270gk.js} +5 -5
- package/dist/chunks/{formatter-2fb2gztx.js → pty-sj1k89gn.js} +22 -22
- package/dist/chunks/{formatter-syv4x271.js → pty-syv4x271.js} +1 -1
- package/dist/chunks/{formatter-42rf9s8q.js → pty-sz1e9eqn.js} +26 -26
- package/dist/chunks/{formatter-5xac84sq.js → pty-t5bkfr6y.js} +23 -23
- package/dist/chunks/{formatter-appvh9ax.js → pty-t8c3xmsp.js} +6 -6
- package/dist/chunks/{formatter-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{formatter-89znhe33.js → pty-tcezcvh9.js} +4 -4
- package/dist/chunks/{formatter-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{formatter-h83rqqxa.js → pty-tenjkvjc.js} +19 -19
- package/dist/chunks/{formatter-rert0e01.js → pty-tkb22qbm.js} +2 -2
- package/dist/chunks/{formatter-tm0kqsz3.js → pty-tm0kqsz3.js} +1 -1
- package/dist/chunks/{formatter-hbb7npd7.js → pty-tt8gc4fv.js} +6 -6
- package/dist/chunks/{formatter-vyf7jw62.js → pty-txbw3nms.js} +3 -3
- package/dist/chunks/{formatter-qapzhrk9.js → pty-tye2g5vs.js} +10 -10
- package/dist/chunks/{formatter-tyytaxap.js → pty-tyytaxap.js} +1 -1
- package/dist/chunks/{formatter-cebn8wab.js → pty-v2r51t0g.js} +8 -8
- package/dist/chunks/{formatter-a2ew8a62.js → pty-v5dkyp31.js} +4 -4
- package/dist/chunks/{formatter-v7p4zvkq.js → pty-v7p4zvkq.js} +2 -2
- package/dist/chunks/{formatter-a8k9xfsm.js → pty-v8wcx65a.js} +32 -32
- package/dist/chunks/{formatter-xxqjg4x2.js → pty-vak501x5.js} +75 -75
- package/dist/chunks/{formatter-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{formatter-kxk813jh.js → pty-vfjbdpbc.js} +22 -22
- package/dist/chunks/{formatter-jxqhfc7z.js → pty-vfmy936b.js} +12 -12
- package/dist/chunks/{formatter-8cr7kka4.js → pty-vj4msk15.js} +30 -30
- package/dist/chunks/{formatter-sg02e71r.js → pty-vjkhbcr1.js} +22 -22
- package/dist/chunks/{formatter-p07cp82q.js → pty-vq0fwg4j.js} +17 -17
- package/dist/chunks/{formatter-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{formatter-rbqdpnz1.js → pty-w0pcsx04.js} +5 -5
- package/dist/chunks/{formatter-gyrxp0ts.js → pty-w2veat89.js} +52 -52
- package/dist/chunks/{formatter-h289jyzk.js → pty-w3t90m8a.js} +16 -16
- package/dist/chunks/{formatter-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-ahej7gkg.js → pty-w579sh2t.js} +26 -26
- package/dist/chunks/{formatter-7cx595n2.js → pty-waskdk5r.js} +9 -9
- package/dist/chunks/{formatter-dqkkx36v.js → pty-wcnw1vw1.js} +4 -4
- package/dist/chunks/{formatter-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-qdrw3gfp.js → pty-wez1ajrw.js} +7 -7
- package/dist/chunks/{formatter-0zcqa60s.js → pty-wq2f1mye.js} +16 -16
- package/dist/chunks/{formatter-zct15kyb.js → pty-wrh894z7.js} +31 -31
- package/dist/chunks/{formatter-ndc46fve.js → pty-ws3rr3fx.js} +35 -35
- package/dist/chunks/{formatter-a5399v6v.js → pty-wy73jbek.js} +13 -13
- package/dist/chunks/{formatter-ejgr9gnj.js → pty-x0tkdd4v.js} +18 -18
- package/dist/chunks/{formatter-v210v162.js → pty-x5jhdhzv.js} +5 -5
- package/dist/chunks/{formatter-gd1hgps2.js → pty-xg5ymnxc.js} +4 -4
- package/dist/chunks/{formatter-fgy909bt.js → pty-xnpn367r.js} +5 -5
- package/dist/chunks/{formatter-xgsj2745.js → pty-xrdmrr14.js} +5 -5
- package/dist/chunks/{formatter-fdms3n6w.js → pty-xrpg47n6.js} +9 -9
- package/dist/chunks/{formatter-swf92kzb.js → pty-xw6wytjz.js} +21 -21
- package/dist/chunks/{formatter-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{formatter-kmn2wpkp.js → pty-y6yhjvhw.js} +13 -13
- package/dist/chunks/{formatter-682gxy8b.js → pty-y7j6ns4a.js} +63 -63
- package/dist/chunks/{formatter-be0x380s.js → pty-y7vwj9hc.js} +36 -36
- package/dist/chunks/{formatter-f63t7jgq.js → pty-y94agb53.js} +32 -32
- package/dist/chunks/{formatter-k1b4tbj2.js → pty-ydh080vk.js} +28 -28
- package/dist/chunks/pty-yjxftd19.js +257 -0
- package/dist/chunks/{formatter-8n5tnz3w.js → pty-ypw97atq.js} +340 -336
- package/dist/chunks/{formatter-0cbn14fb.js → pty-yq97mf54.js} +22 -22
- package/dist/chunks/{formatter-bjx1sjef.js → pty-ywt8jp22.js} +9 -9
- package/dist/chunks/{formatter-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-3fc6dm20.js → pty-z18fegx4.js} +4 -4
- package/dist/chunks/{formatter-qacrhxhp.js → pty-z2b2xe7d.js} +6 -6
- package/dist/chunks/{formatter-baaqp4zd.js → pty-zcrspsvn.js} +4 -4
- package/dist/chunks/{formatter-4ty81hg4.js → pty-zdj3kqwc.js} +47 -47
- package/dist/chunks/{formatter-c916s19f.js → pty-znp2av2g.js} +88 -88
- package/dist/chunks/{formatter-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{formatter-pxtr2dvv.js → pty-ztsrdpdj.js} +5 -5
- package/dist/chunks/{formatter-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{formatter-93cy2f7w.js → pty-zz1sb3nm.js} +27 -27
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- 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 +208 -208
- 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 +116 -116
- 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 +118 -118
- 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 +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- 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 +87 -87
- package/dist/database/database.js +74 -74
- 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 +84 -82
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -369
- 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 +95 -95
- 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 +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 +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- 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 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -357
- package/dist/location.js +89 -89
- 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 +127 -127
- 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 +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +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 +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -331
- 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 +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 +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 +349 -348
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +103 -103
- 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 +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- 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 +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +155 -155
- 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 +218 -218
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- 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 +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- 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 +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- 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 +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +111 -111
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/todo.js +147 -0
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +110 -110
- 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/tool/plugin/todo.d.ts +29 -0
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- 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 +7 -7
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/formatter-gt2yvw7a.js +0 -26
- package/dist/chunks/formatter-ht5y0zrb.js +0 -18
- package/dist/chunks/formatter-z5mqx5tk.js +0 -257
- /package/dist/chunks/{formatter-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{formatter-2bv980vf.js → pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-84wd9syh.js → pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hcxmzztb.js → pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jze0r7bz.js → pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-m18g726c.js → pty-m18g726c.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-pkyv6v7h.js → pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{formatter-pyv0edze.js → pty-pyv0edze.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wjj7prxr.js → pty-wjj7prxr.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./pty-wq2f1mye.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service62,
|
|
7
|
+
node66
|
|
8
|
+
} from "./pty-jqzezgch.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
20
|
Event: () => Event4,
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
21
|
+
ID: () => ID3,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,9 +28,9 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service20,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node23
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
@@ -38,19 +38,19 @@ import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Event as Event4 } from "@opencode/schema/websearch";
|
|
41
|
-
var
|
|
41
|
+
var ID3 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID3
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID3,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service20 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service81;
|
|
70
|
+
const kv = yield* Service62;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service20.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node23 = makeLocationNode({
|
|
188
|
+
service: Service20,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node85, node66]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID3, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service20, node23, exports_websearch3, Event4 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/environment/unavailable.ts
|
|
6
6
|
var exports_unavailable = {};
|
|
7
7
|
__export(exports_unavailable, {
|
|
8
8
|
EnvironmentUnavailable: () => exports_unavailable,
|
|
9
|
-
layer: () =>
|
|
9
|
+
layer: () => layer6,
|
|
10
10
|
spawner: () => spawner2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Layer, PlatformError } from "effect";
|
|
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
|
|
|
17
17
|
method: "spawn",
|
|
18
18
|
description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
|
|
19
19
|
})));
|
|
20
|
-
var
|
|
20
|
+
var layer6 = Layer.succeed(ChildProcessSpawner, spawner2);
|
|
21
21
|
|
|
22
|
-
export { spawner2,
|
|
22
|
+
export { spawner2, layer6, exports_unavailable };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-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: () => Info11,
|
|
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 Info11 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info11, exports_mcp5 };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service58,
|
|
8
|
+
node60
|
|
9
|
+
} from "./pty-d54gtgr2.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service23,
|
|
24
|
+
node: () => node26
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service23 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ 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(Service23, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service58;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service23.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node26 = makeLocationNode({ service: Service23, layer, deps: [node60, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service23, node26, exports_ripgrep };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service63,
|
|
3
|
+
node67
|
|
4
|
+
} from "./pty-7jvyjmqp.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-8whp40kv.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service43,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node45,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service43 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service63;
|
|
59
|
+
return Service43.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node45 = makeLocationNode({ service: Service43, layer, deps: [node67] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service43, resolved2, node45, exports_model };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./pty-wq2f1mye.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event20,
|
|
18
|
+
ID: () => ID16,
|
|
19
|
+
Info: () => Info27,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service76,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node80
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event20 } from "@opencode/schema/agent";
|
|
29
|
+
var ID16 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID16.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info27 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service76 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service81;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
41
41
|
initial: () => ({ agents: new Map }),
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info27.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
64
64
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
65
65
|
if (configured)
|
|
66
66
|
return configured;
|
|
67
|
-
const build = selectable(data.agents.get(
|
|
67
|
+
const build = selectable(data.agents.get(ID16.make("build")));
|
|
68
68
|
if (build)
|
|
69
69
|
return build;
|
|
70
70
|
for (const agent of data.agents.values()) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service76.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID16.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
88
88
|
if (id !== undefined) {
|
|
89
|
-
const selected =
|
|
89
|
+
const selected = ID16.make(id);
|
|
90
90
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
91
91
|
}
|
|
92
92
|
const info = selectedDefault();
|
|
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
var
|
|
104
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node85] });
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { ID16, Name3, defaultID2, Color2, Info27, Service76, node80, exports_agent4, Event20 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-75ar5t22.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./pty-wq2f1mye.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./pty-nzsdqqv9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-j5y9yxpr.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID7,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-ws3rr3fx.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
get4
|
|
26
|
+
} from "./pty-r94pvvab.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-0jxg87fr.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
50
50
|
}));
|
|
51
51
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
52
52
|
var browser = (app) => ({
|
|
53
|
-
integrationID:
|
|
53
|
+
integrationID: ID8.make("openai"),
|
|
54
54
|
method: {
|
|
55
55
|
id: browserMethodID,
|
|
56
56
|
type: "oauth",
|
|
@@ -123,7 +123,7 @@ function addressInUse(error) {
|
|
|
123
123
|
return "code" in error && error.code === "EADDRINUSE";
|
|
124
124
|
}
|
|
125
125
|
var headless = (app) => ({
|
|
126
|
-
integrationID:
|
|
126
|
+
integrationID: ID8.make("openai"),
|
|
127
127
|
method: {
|
|
128
128
|
id: headlessMethodID,
|
|
129
129
|
type: "oauth",
|
|
@@ -165,10 +165,10 @@ var headless = (app) => ({
|
|
|
165
165
|
}),
|
|
166
166
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
167
167
|
});
|
|
168
|
-
var
|
|
168
|
+
var OpenAIPlugin2 = define({
|
|
169
169
|
id: "opencode.provider.openai",
|
|
170
170
|
effect: Effect.fn(function* (ctx) {
|
|
171
|
-
const bus = yield*
|
|
171
|
+
const bus = yield* Service81;
|
|
172
172
|
const loading = Semaphore.makeUnsafe(1);
|
|
173
173
|
let chatgpt;
|
|
174
174
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -183,9 +183,9 @@ var OpenAIPlugin3 = define({
|
|
|
183
183
|
editor.method.update(headless(ctx.app));
|
|
184
184
|
});
|
|
185
185
|
yield* load();
|
|
186
|
-
const configured = yield* configuredSettings2(
|
|
186
|
+
const configured = yield* configuredSettings2(ID7.openai);
|
|
187
187
|
yield* ctx.provider.transform((providers) => {
|
|
188
|
-
const item = providers.get(
|
|
188
|
+
const item = providers.get(ID7.openai);
|
|
189
189
|
if (!item)
|
|
190
190
|
return;
|
|
191
191
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -205,7 +205,7 @@ var OpenAIPlugin3 = define({
|
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
207
|
yield* ctx.model.transform((models) => {
|
|
208
|
-
for (const model of models.list(
|
|
208
|
+
for (const model of models.list(ID7.openai)) {
|
|
209
209
|
models.update(model.providerID, model.id, (draft) => {
|
|
210
210
|
if (!chatgpt)
|
|
211
211
|
return;
|
|
@@ -235,15 +235,15 @@ var OpenAIPlugin3 = define({
|
|
|
235
235
|
return;
|
|
236
236
|
}));
|
|
237
237
|
evt.headers.originator = "opencode";
|
|
238
|
-
evt.headers["session-id"] = session ?
|
|
239
|
-
}), { providerID:
|
|
238
|
+
evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
|
|
239
|
+
}), { providerID: ID7.openai });
|
|
240
240
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
241
241
|
delete evt.options.maxTokens;
|
|
242
242
|
});
|
|
243
243
|
for (const name of ["context", "compaction"])
|
|
244
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
244
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID7.openai });
|
|
245
245
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
246
|
-
yield* bus.subscribe(
|
|
246
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
function headers(contentType, app) {
|
|
@@ -334,4 +334,4 @@ function claim(token) {
|
|
|
334
334
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
-
export {
|
|
337
|
+
export { OpenAIPlugin2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info10,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info10 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info17 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info10, exports_provider2 };
|