@opencode/core 0.0.0-dev-21240 → 0.0.0-dev-21244
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/chunks/{location-ente2efs.js → formatter-0cbn14fb.js} +24 -24
- package/dist/chunks/{location-rhjbct0v.js → formatter-0gdmqesm.js} +4 -4
- package/dist/chunks/{location-4jbaex4p.js → formatter-0tcnq6v6.js} +11 -11
- package/dist/chunks/{location-jfn3ppc2.js → formatter-0v1kw2g7.js} +14 -14
- package/dist/chunks/{location-0emb60td.js → formatter-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-zm69bbn9.js → formatter-0w0hsyng.js} +2 -2
- package/dist/chunks/{location-m15ha2ry.js → formatter-0y9f2m8n.js} +6 -6
- package/dist/chunks/{location-trskfet7.js → formatter-0zcqa60s.js} +4 -4
- package/dist/chunks/{location-4cq1c4nh.js → formatter-147shrta.js} +1 -1
- package/dist/chunks/{location-gm5yckp5.js → formatter-14tvmdth.js} +7 -7
- package/dist/chunks/{location-sf7qeb8m.js → formatter-1b9h5v8t.js} +2 -2
- package/dist/chunks/{location-7cdnq8hx.js → formatter-1y9yjfpn.js} +13 -13
- package/dist/chunks/{location-h4e45ygc.js → formatter-1z0c123x.js} +28 -28
- package/dist/chunks/{location-9etjxb25.js → formatter-1z4aes97.js} +15 -15
- package/dist/chunks/{location-02kx3tbe.js → formatter-21cye1se.js} +18 -18
- package/dist/chunks/{location-3d48mnvn.js → formatter-2fb2gztx.js} +16 -16
- package/dist/chunks/{location-cq4af28t.js → formatter-2qgrx7zj.js} +15 -15
- package/dist/chunks/{location-8d765g8y.js → formatter-2thwhjsv.js} +10 -10
- package/dist/chunks/{location-38jcv3yh.js → formatter-2xr74ag8.js} +26 -26
- package/dist/chunks/{location-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3hwn7j4h.js → formatter-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-8p10m0h9.js → formatter-3vtk7r3y.js} +18 -18
- package/dist/chunks/{location-3zsf4n22.js → formatter-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-36sqq72v.js → formatter-42rf9s8q.js} +19 -19
- package/dist/chunks/{location-zy43x3f1.js → formatter-44ak30pa.js} +4 -4
- package/dist/chunks/{location-nb9p6b26.js → formatter-4537tsak.js} +4 -4
- package/dist/chunks/{location-n4k7r7f4.js → formatter-4adehn3m.js} +3 -3
- package/dist/chunks/{location-2e91r8ns.js → formatter-4ty81hg4.js} +43 -43
- package/dist/chunks/{location-4z58m4b4.js → formatter-4z58m4b4.js} +1 -1
- package/dist/chunks/{location-54ma36ye.js → formatter-54ma36ye.js} +1 -1
- package/dist/chunks/{location-xfkkasph.js → formatter-57b9ws8p.js} +7 -7
- package/dist/chunks/{location-6yva2bse.js → formatter-5bkyxj6g.js} +77 -77
- package/dist/chunks/{location-ss358qx3.js → formatter-5epte933.js} +3 -3
- package/dist/chunks/{location-zjmprxn1.js → formatter-5gwznhg8.js} +21 -21
- package/dist/chunks/{location-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-jdg1karv.js → formatter-5mr4v717.js} +11 -11
- package/dist/chunks/{location-ekd657r5.js → formatter-5tx2tm3v.js} +20 -20
- package/dist/chunks/{location-t67svzf9.js → formatter-5xac84sq.js} +23 -23
- package/dist/chunks/{location-2ktf0ed2.js → formatter-5y480sgp.js} +8 -8
- package/dist/chunks/{location-e4pt97mw.js → formatter-5z12t68t.js} +13 -13
- package/dist/chunks/{location-e7qaqr7r.js → formatter-63qcved5.js} +45 -45
- package/dist/chunks/{location-0rm38x63.js → formatter-64ksbt32.js} +9 -9
- package/dist/chunks/{location-6827pfxn.js → formatter-6827pfxn.js} +1 -1
- package/dist/chunks/{location-z1j2pzfs.js → formatter-682gxy8b.js} +35 -35
- package/dist/chunks/{location-1wyc8y7g.js → formatter-6bfs7xd7.js} +21 -21
- package/dist/chunks/{location-bdb3egq1.js → formatter-6kt042be.js} +9 -9
- package/dist/chunks/{location-np3vtmgz.js → formatter-6ras8vtd.js} +18 -18
- package/dist/chunks/{location-6xb47vfp.js → formatter-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-5twn198y.js → formatter-6yz0wx8n.js} +5 -5
- package/dist/chunks/{location-775gj3j1.js → formatter-775gj3j1.js} +2 -2
- package/dist/chunks/{location-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-1j6m29mr.js → formatter-7cx595n2.js} +4 -4
- package/dist/chunks/{location-7dqw4kz8.js → formatter-7dqw4kz8.js} +1 -1
- package/dist/chunks/{location-nq33nhzr.js → formatter-7jy01c2j.js} +4 -4
- package/dist/chunks/{location-9tc0jcfa.js → formatter-7m4642cz.js} +9 -9
- package/dist/chunks/{location-wan1txhx.js → formatter-7mg7dxek.js} +17 -17
- package/dist/chunks/{location-p0swpct4.js → formatter-83wzpacr.js} +14 -14
- package/dist/chunks/{location-84txncab.js → formatter-84txncab.js} +1 -1
- package/dist/chunks/{location-tq44hnx5.js → formatter-86y4chpd.js} +13 -13
- package/dist/chunks/{location-tcezcvh9.js → formatter-89znhe33.js} +4 -4
- package/dist/chunks/{location-7erj7fjt.js → formatter-8cr7kka4.js} +25 -25
- package/dist/chunks/{location-h8ngs2s3.js → formatter-8ddypp76.js} +9 -9
- package/dist/chunks/{location-kymtw6sz.js → formatter-8f9p3crs.js} +20 -20
- package/dist/chunks/{location-8m6m0r52.js → formatter-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-nmcmr329.js → formatter-8n5tnz3w.js} +316 -316
- package/dist/chunks/{location-j1j4kkfc.js → formatter-8p41qfym.js} +14 -14
- package/dist/chunks/{location-0cbjkd5m.js → formatter-93cy2f7w.js} +35 -27
- package/dist/chunks/{location-qgrkf2kv.js → formatter-95c9qt52.js} +11 -11
- package/dist/chunks/{location-4nk0sezm.js → formatter-98gbvst6.js} +3 -3
- package/dist/chunks/{location-q1w4ag7r.js → formatter-9b22j2js.js} +11 -11
- package/dist/chunks/{location-1be3me4v.js → formatter-9k0q07qp.js} +24 -24
- package/dist/chunks/{location-16qr8wfy.js → formatter-9pvd7fay.js} +26 -26
- package/dist/chunks/{location-a2ew8a62.js → formatter-a2ew8a62.js} +1 -1
- package/dist/chunks/{location-91erwma2.js → formatter-a5399v6v.js} +13 -13
- package/dist/chunks/{location-emfv9g84.js → formatter-a7mmyf9t.js} +7 -7
- package/dist/chunks/{location-ewmg55kq.js → formatter-a8k9xfsm.js} +25 -25
- package/dist/chunks/{location-z5vjvv3z.js → formatter-ahej7gkg.js} +22 -22
- package/dist/chunks/{location-hyem0413.js → formatter-aky1dekn.js} +11 -11
- package/dist/chunks/{location-7pp8v8cz.js → formatter-ans500eg.js} +4 -4
- package/dist/chunks/{location-zfhna5dg.js → formatter-appvh9ax.js} +9 -9
- package/dist/chunks/{location-3a0fe738.js → formatter-b30s6mje.js} +7 -7
- package/dist/chunks/{location-2vs2nh1n.js → formatter-baaqp4zd.js} +4 -4
- package/dist/chunks/{location-1xcwytz6.js → formatter-bbkhz5x0.js} +8 -8
- package/dist/chunks/{location-p3dsvwjj.js → formatter-be0x380s.js} +33 -33
- package/dist/chunks/{location-1ffvrpkg.js → formatter-bjx1sjef.js} +6 -6
- package/dist/chunks/{location-cqv5jj6t.js → formatter-bry1x5ad.js} +15 -15
- package/dist/chunks/{location-1ep4rre3.js → formatter-bzeyqsqd.js} +4 -4
- package/dist/chunks/{location-es1vcfrp.js → formatter-c1fqxshp.js} +3 -3
- package/dist/chunks/{location-vw4xzb9e.js → formatter-c2jwe8x1.js} +21 -21
- package/dist/chunks/{location-4hvcvget.js → formatter-c5ggqzvz.js} +5 -5
- package/dist/chunks/{location-xhg7ze7g.js → formatter-c907h1r8.js} +20 -20
- package/dist/chunks/{location-65fdem8g.js → formatter-c916s19f.js} +83 -83
- package/dist/chunks/{location-ehkp9wrv.js → formatter-cdnjftw5.js} +5 -5
- package/dist/chunks/{location-p4gjeqhz.js → formatter-cebn8wab.js} +5 -5
- package/dist/chunks/{location-eq88vr3p.js → formatter-cpgtpatm.js} +11 -11
- package/dist/chunks/{location-d1a28jh7.js → formatter-d1a28jh7.js} +2 -2
- package/dist/chunks/{location-ffgh9twm.js → formatter-d20vf659.js} +13 -13
- package/dist/chunks/{location-7wg9zefd.js → formatter-d3xt2zh4.js} +5 -5
- package/dist/chunks/{location-2cg16nxe.js → formatter-d4vyzb3t.js} +29 -29
- package/dist/chunks/{location-j5qwz8we.js → formatter-d66rdyfa.js} +40 -40
- package/dist/chunks/{location-hn53eq1n.js → formatter-d8c6spkq.js} +42 -42
- package/dist/chunks/{location-ykd62qee.js → formatter-d9yrqh4n.js} +33 -33
- package/dist/chunks/{location-w2pw2zr6.js → formatter-dqkkx36v.js} +4 -4
- package/dist/chunks/{location-e80seqcp.js → formatter-e80seqcp.js} +1 -1
- package/dist/chunks/{location-hadrdvqz.js → formatter-ea05sntr.js} +10 -10
- package/dist/chunks/{location-fz5mkw7q.js → formatter-eakdd8w5.js} +43 -43
- package/dist/chunks/{location-eej6y6fw.js → formatter-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-wb1vxtey.js → formatter-ejgr9gnj.js} +15 -15
- package/dist/chunks/{location-3qrn957t.js → formatter-ex98dt4j.js} +20 -20
- package/dist/chunks/{location-3zcnh6p5.js → formatter-f3wsxmbf.js} +14 -14
- package/dist/chunks/{location-t2zy804g.js → formatter-f534ymt6.js} +11 -11
- package/dist/chunks/{location-06pf4dgp.js → formatter-f60jq6s2.js} +16 -16
- package/dist/chunks/{location-b0tpm66f.js → formatter-f63t7jgq.js} +30 -30
- package/dist/chunks/{location-2g814kqn.js → formatter-fc29xzdc.js} +46 -46
- package/dist/chunks/{location-fcy631f0.js → formatter-fcy631f0.js} +1 -1
- package/dist/chunks/{location-6fatt4mk.js → formatter-fdms3n6w.js} +9 -9
- package/dist/chunks/{location-1ddym2mh.js → formatter-fgy909bt.js} +5 -5
- package/dist/chunks/{location-ft3hqk2c.js → formatter-ft3hqk2c.js} +2 -2
- package/dist/chunks/{location-pkr96zq9.js → formatter-ftwm2p4f.js} +50 -50
- package/dist/chunks/{location-dwvsy3nv.js → formatter-g8nc3xyp.js} +5 -5
- package/dist/chunks/{location-gd0tnyjc.js → formatter-gd0tnyjc.js} +1 -1
- package/dist/chunks/{location-646b8sf1.js → formatter-gd1hgps2.js} +4 -4
- package/dist/chunks/{location-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-paby7f9d.js → formatter-gex9dnn3.js} +17 -17
- package/dist/chunks/{location-531wkgpw.js → formatter-gr37njw6.js} +8 -8
- package/dist/chunks/formatter-gt2yvw7a.js +26 -0
- package/dist/chunks/{location-n477w9kb.js → formatter-gyrxp0ts.js} +41 -41
- package/dist/chunks/{location-czamcpfm.js → formatter-h289jyzk.js} +9 -9
- package/dist/chunks/{location-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-p9d54bvt.js → formatter-h83rqqxa.js} +11 -11
- package/dist/chunks/{location-fn9t717r.js → formatter-hbb7npd7.js} +3 -3
- package/dist/chunks/{location-ky3cgvwd.js → formatter-hbv5rvvj.js} +8 -8
- package/dist/chunks/{location-nwz3xn1w.js → formatter-heqwx97d.js} +7 -7
- package/dist/chunks/{location-4r5v39fv.js → formatter-hfbyhya8.js} +10 -10
- package/dist/chunks/{location-hgz4x7wa.js → formatter-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-q8va88r3.js → formatter-hmzjb8dj.js} +14 -14
- package/dist/chunks/{location-khmqacep.js → formatter-hq3c8me3.js} +4 -4
- package/dist/chunks/{location-ht5y0zrb.js → formatter-ht5y0zrb.js} +1 -1
- package/dist/chunks/{location-91qna3x0.js → formatter-j09zfasm.js} +3 -3
- package/dist/chunks/{location-fegk541e.js → formatter-j34dxvpb.js} +5 -5
- package/dist/chunks/{location-b7j1nepq.js → formatter-jav1j83y.js} +9 -9
- package/dist/chunks/{location-9qee0jk3.js → formatter-jekssrtq.js} +5 -5
- package/dist/chunks/{location-e06rrywx.js → formatter-jg6jwpe0.js} +4 -4
- package/dist/chunks/{location-xckvy3p8.js → formatter-jm77avtd.js} +3 -3
- package/dist/chunks/{location-82bv0hx8.js → formatter-jxqhfc7z.js} +10 -10
- package/dist/chunks/{location-5mh53trv.js → formatter-k1b4tbj2.js} +20 -20
- package/dist/chunks/{location-rwpyag6c.js → formatter-k6eyzvgr.js} +11 -11
- package/dist/chunks/{location-xx71wknj.js → formatter-kcdx8ksy.js} +32 -32
- package/dist/chunks/{location-2766hrpb.js → formatter-kk4m4jz5.js} +6 -6
- package/dist/chunks/{location-mmve37cn.js → formatter-kmn2wpkp.js} +10 -10
- package/dist/chunks/{location-qdxpp4ce.js → formatter-kp329rnm.js} +4 -4
- package/dist/chunks/{location-hz955cxv.js → formatter-kqezzyfk.js} +20 -20
- package/dist/chunks/{location-kwb1v3vj.js → formatter-kwb1v3vj.js} +1 -1
- package/dist/chunks/{location-aygc7d7x.js → formatter-kxk813jh.js} +11 -11
- package/dist/chunks/{location-dwa92pvc.js → formatter-m3w3e65b.js} +4 -4
- package/dist/chunks/{location-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-maspj1v3.js → formatter-maspj1v3.js} +1 -1
- package/dist/chunks/{location-wxgp157e.js → formatter-me3jp302.js} +12 -12
- package/dist/chunks/{location-5qvfym9p.js → formatter-mmfyj663.js} +3 -3
- package/dist/chunks/{location-pnkbpv6t.js → formatter-mphgtbj1.js} +9 -9
- package/dist/chunks/{location-2fz504me.js → formatter-my89cahe.js} +18 -18
- package/dist/chunks/{location-8x62mzeg.js → formatter-mzfw0pb0.js} +31 -31
- package/dist/chunks/{location-xw16hbb2.js → formatter-n6j8zy7f.js} +25 -25
- package/dist/chunks/{location-5s5bfnr6.js → formatter-ndc46fve.js} +22 -22
- package/dist/chunks/{location-xwjdvtn9.js → formatter-nev18w5c.js} +5 -5
- package/dist/chunks/{location-bqwheb6v.js → formatter-nvcb2me1.js} +11 -11
- package/dist/chunks/{location-0v7eyxsd.js → formatter-nxwm516h.js} +11 -11
- package/dist/chunks/{location-t3w66r2s.js → formatter-p07cp82q.js} +15 -15
- package/dist/chunks/{location-ztp3s23f.js → formatter-p18ep857.js} +22 -22
- package/dist/chunks/{location-bggc72t2.js → formatter-p30hmy3j.js} +21 -21
- package/dist/chunks/{location-pa8pe2x7.js → formatter-p37cw4rj.js} +8 -8
- package/dist/chunks/{location-pvd1kp2q.js → formatter-p3z1s7cv.js} +18 -18
- package/dist/chunks/{location-g3jf8veg.js → formatter-pg2r46xe.js} +24 -24
- package/dist/chunks/{location-gaa92h44.js → formatter-phz50fbd.js} +9 -9
- package/dist/chunks/{location-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{location-s8k2chda.js → formatter-pt0v59x6.js} +9 -9
- package/dist/chunks/{location-hx734pww.js → formatter-pxtr2dvv.js} +3 -3
- package/dist/chunks/{location-m8p5ty25.js → formatter-py38g5de.js} +8 -8
- package/dist/chunks/{location-n9mzspqs.js → formatter-pzjmh3bc.js} +13 -13
- package/dist/chunks/{location-cfd40scj.js → formatter-q1xe5xm5.js} +8 -8
- package/dist/chunks/{location-3ts4rwt9.js → formatter-q1yb1hsa.js} +18 -18
- package/dist/chunks/{location-ecvncs9t.js → formatter-q34x7v2p.js} +23 -23
- package/dist/chunks/{location-xk8qaj8b.js → formatter-q8ksm80s.js} +36 -36
- package/dist/chunks/{location-xxqqcrba.js → formatter-q9s9zqn4.js} +10 -10
- package/dist/chunks/{location-1n4r682m.js → formatter-qacrhxhp.js} +3 -3
- package/dist/chunks/{location-s8eppwwz.js → formatter-qapzhrk9.js} +8 -8
- package/dist/chunks/{location-y645j4dr.js → formatter-qdrw3gfp.js} +7 -7
- package/dist/chunks/{location-j143ef64.js → formatter-qgc12pw2.js} +43 -43
- package/dist/chunks/{location-qnc92qwc.js → formatter-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-fgx42ntb.js → formatter-qne3fa44.js} +5 -5
- package/dist/chunks/{location-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{location-fg19zjyy.js → formatter-qtjmeqcc.js} +7 -7
- package/dist/chunks/{location-qjxgyyqm.js → formatter-qv499rce.js} +12 -12
- package/dist/chunks/{location-j1nd8abd.js → formatter-r0yrvwzz.js} +15 -15
- package/dist/chunks/{location-26fskhr4.js → formatter-r4ekbdnr.js} +28 -28
- package/dist/chunks/{location-z3507kbh.js → formatter-r9y2scxt.js} +11 -11
- package/dist/chunks/{location-7y4n3x9r.js → formatter-rbqdpnz1.js} +5 -5
- package/dist/chunks/{location-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-tkb22qbm.js → formatter-rert0e01.js} +2 -2
- package/dist/chunks/{location-c41wscbt.js → formatter-rj3eygr5.js} +2 -2
- package/dist/chunks/{location-r64n44sy.js → formatter-rk974gg7.js} +21 -21
- package/dist/chunks/{location-34zpk2m0.js → formatter-rs9wx55j.js} +21 -21
- package/dist/chunks/{location-dn7gk5nr.js → formatter-rzkcke2z.js} +34 -34
- package/dist/chunks/{location-swsbk68p.js → formatter-s91efq40.js} +27 -27
- package/dist/chunks/{location-c8ax2afj.js → formatter-sa8ekw3f.js} +2 -2
- package/dist/chunks/{location-2ewxebqs.js → formatter-sb8qnayt.js} +14 -14
- package/dist/chunks/{location-839dsb85.js → formatter-sdjxx6pg.js} +31 -31
- package/dist/chunks/{location-z4005aq0.js → formatter-sg02e71r.js} +16 -16
- package/dist/chunks/{location-w382j1sg.js → formatter-sh5y8zvm.js} +1 -1
- package/dist/chunks/{location-yk2qpeaw.js → formatter-ssx21478.js} +25 -25
- package/dist/chunks/{location-0kh9z3js.js → formatter-svxhdcjy.js} +14 -14
- package/dist/chunks/{location-jrnq1yzd.js → formatter-swf92kzb.js} +20 -20
- package/dist/chunks/{location-syv4x271.js → formatter-syv4x271.js} +1 -1
- package/dist/chunks/{location-qny204zj.js → formatter-szd00bka.js} +1 -1
- package/dist/chunks/{location-vxcce85q.js → formatter-t4x3hxzy.js} +19 -19
- package/dist/chunks/{location-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/{location-tm0kqsz3.js → formatter-tm0kqsz3.js} +1 -1
- package/dist/chunks/{location-ekmn27dt.js → formatter-ttfzm2et.js} +27 -27
- package/dist/chunks/{location-dj69npnr.js → formatter-tw9chead.js} +15 -15
- package/dist/chunks/{location-tyytaxap.js → formatter-tyytaxap.js} +1 -1
- package/dist/chunks/{location-rsvjy1hm.js → formatter-v0b295w1.js} +16 -16
- package/dist/chunks/{location-rm4mkcw0.js → formatter-v210v162.js} +2 -2
- package/dist/chunks/{location-v7p4zvkq.js → formatter-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{location-pwx39njg.js → formatter-vj5p38yv.js} +16 -16
- package/dist/chunks/{location-yhszmqfx.js → formatter-vp00rtyr.js} +12 -12
- package/dist/chunks/{location-nz5xz1n7.js → formatter-vyf7jw62.js} +6 -6
- package/dist/chunks/{location-qkkeybah.js → formatter-vywgh4c6.js} +32 -32
- package/dist/chunks/{location-vzs5sf6e.js → formatter-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-4ekscj25.js → formatter-w1ba7bfx.js} +5 -5
- package/dist/chunks/{location-efattxwn.js → formatter-w3wbfgm7.js} +23 -23
- package/dist/chunks/{location-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-py3kkmfq.js → formatter-w92k2e0p.js} +8 -8
- package/dist/chunks/{location-vtt0yr3x.js → formatter-wcpje083.js} +15 -15
- package/dist/chunks/{location-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{location-630y3v0d.js → formatter-whwq5x3g.js} +165 -165
- package/dist/chunks/{location-ggpkv6dp.js → formatter-wjcqngme.js} +15 -15
- package/dist/chunks/{location-m7mg6z5e.js → formatter-wp4vtpe6.js} +23 -23
- package/dist/chunks/{location-x8nz1cbt.js → formatter-wpqhxtcy.js} +3 -3
- package/dist/chunks/{location-032jfrr5.js → formatter-wqvrfkn5.js} +8 -8
- package/dist/chunks/{location-p7d55m61.js → formatter-wyvwawjm.js} +40 -40
- package/dist/chunks/{location-mxvxcxwy.js → formatter-x661k3y3.js} +4 -4
- package/dist/chunks/{location-e2jk5y12.js → formatter-x7bd6s3f.js} +24 -24
- package/dist/chunks/{location-wzfw0r1q.js → formatter-x835q0ad.js} +11 -11
- package/dist/chunks/{location-ktyahk7g.js → formatter-xc2rqamm.js} +26 -26
- package/dist/chunks/{location-sxzvkvgj.js → formatter-xcd0eash.js} +6 -6
- package/dist/chunks/{location-c9pafwgt.js → formatter-xcexsawf.js} +28 -28
- package/dist/chunks/{location-w9vjgmgf.js → formatter-xgsj2745.js} +5 -5
- package/dist/chunks/{location-7zst7kbs.js → formatter-xj0ka1v1.js} +11 -11
- package/dist/chunks/{location-1m9tv0k3.js → formatter-xmrxjf82.js} +27 -27
- package/dist/chunks/{location-5g0zwpkx.js → formatter-xxqjg4x2.js} +67 -67
- package/dist/chunks/{location-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-bkbywy3k.js → formatter-y1m8s9mq.js} +24 -24
- package/dist/chunks/{location-ecntzyvb.js → formatter-y4t3c8zk.js} +13 -13
- package/dist/chunks/{location-y71avatq.js → formatter-y71avatq.js} +1 -1
- package/dist/chunks/{location-wk0bzpnn.js → formatter-yn9r1x73.js} +21 -21
- package/dist/chunks/{location-1acjjqhc.js → formatter-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-r61qxybf.js → formatter-yvvvp4gn.js} +8 -8
- package/dist/chunks/{location-ydgy0jv4.js → formatter-yx0rmv9r.js} +4 -4
- package/dist/chunks/{location-b59088ky.js → formatter-yyht7rfr.js} +3 -3
- package/dist/chunks/{location-npyv4msc.js → formatter-yyjkxqgj.js} +4 -4
- package/dist/chunks/{location-2s32b1pm.js → formatter-yz37vbp4.js} +2 -2
- package/dist/chunks/{location-gbeakqqf.js → formatter-yz8mk3e2.js} +45 -45
- package/dist/chunks/{location-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/formatter-z5mqx5tk.js +257 -0
- package/dist/chunks/{location-v5vvs3bk.js → formatter-za681khs.js} +11 -11
- package/dist/chunks/{location-27mmh661.js → formatter-zct15kyb.js} +8 -8
- package/dist/chunks/{location-m49t52b5.js → formatter-zjww4jny.js} +20 -20
- package/dist/chunks/{location-s2e8778m.js → formatter-znhp5m3s.js} +28 -28
- package/dist/chunks/{location-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-09zy2qv2.js → formatter-zrq3bjv4.js} +5 -5
- package/dist/chunks/{location-zct001gj.js → formatter-zxczbdfd.js} +5 -5
- package/dist/chunks/{location-zxq2ej10.js → formatter-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 +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 +116 -116
- package/dist/config/plugin/command.js +206 -206
- 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 +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 +3 -3
- package/dist/config/plugin/skill.js +136 -136
- 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 +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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- 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 +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 +72 -72
- 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 +2 -2
- 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 +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +6 -6
- 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 +93 -93
- 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 +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +357 -357
- 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 +111 -111
- package/dist/mcp/instructions.js +131 -131
- 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 +93 -93
- 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 +105 -105
- 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 +90 -90
- 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 +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -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 +123 -123
- 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 +1 -1
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +97 -97
- 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 +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +99 -99
- 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 +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +1 -1
- 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 +3 -3
- 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 +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- 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 +120 -120
- 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 +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +114 -114
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +89 -89
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +100 -100
- package/package.json +8 -8
- package/dist/chunks/location-j6js6ktv.js +0 -26
- package/dist/chunks/location-ng2x5jnt.js +0 -257
- /package/dist/chunks/{location-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2bv980vf.js → formatter-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3t0ybcrp.js → formatter-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e3qxr5gk.js → formatter-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jze0r7bz.js → formatter-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-m18g726c.js → formatter-m18g726c.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-pkyv6v7h.js → formatter-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-pyv0edze.js → formatter-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wjj7prxr.js → formatter-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-pyv0edze.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-j09zfasm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service48,
|
|
17
|
+
node51
|
|
18
|
+
} from "./formatter-mphgtbj1.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service61,
|
|
21
|
+
node63
|
|
22
|
+
} from "./formatter-5y480sgp.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./formatter-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./formatter-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content2,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service47,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node50
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content2, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service47 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service61;
|
|
58
|
+
const image = yield* Service48;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service47.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node50 = makeLocationNode({
|
|
277
|
+
service: Service47,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node63, node51]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service47, node50, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./formatter-gyrxp0ts.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service15,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-hfbyhya8.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin42
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin42 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const managed = yield*
|
|
33
|
+
const config = yield* Service67;
|
|
34
|
+
const managed = yield* Service15;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
37
37
|
yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -76,4 +76,4 @@ var Plugin43 = define({
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Plugin42, exports_policy };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-b30s6mje.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-0zcqa60s.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./formatter-1z0c123x.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-2xr74ag8.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID12,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-ndc46fve.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-54ma36ye.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-m3w3e65b.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: ID13.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: ID13.make("openai"),
|
|
127
127
|
method: {
|
|
128
128
|
id: headlessMethodID,
|
|
129
129
|
type: "oauth",
|
|
@@ -165,7 +165,7 @@ var headless = (app) => ({
|
|
|
165
165
|
}),
|
|
166
166
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
167
167
|
});
|
|
168
|
-
var
|
|
168
|
+
var OpenAIPlugin3 = define({
|
|
169
169
|
id: "opencode.provider.openai",
|
|
170
170
|
effect: Effect.fn(function* (ctx) {
|
|
171
171
|
const bus = yield* Service85;
|
|
@@ -183,9 +183,9 @@ var OpenAIPlugin2 = 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(ID12.openai);
|
|
187
187
|
yield* ctx.provider.transform((providers) => {
|
|
188
|
-
const item = providers.get(
|
|
188
|
+
const item = providers.get(ID12.openai);
|
|
189
189
|
if (!item)
|
|
190
190
|
return;
|
|
191
191
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -205,7 +205,7 @@ var OpenAIPlugin2 = 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(ID12.openai)) {
|
|
209
209
|
models.update(model.providerID, model.id, (draft) => {
|
|
210
210
|
if (!chatgpt)
|
|
211
211
|
return;
|
|
@@ -236,14 +236,14 @@ var OpenAIPlugin2 = define({
|
|
|
236
236
|
}));
|
|
237
237
|
evt.headers.originator = "opencode";
|
|
238
238
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID12.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: ID12.openai });
|
|
245
245
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
246
|
-
yield* bus.subscribe(
|
|
246
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.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 { OpenAIPlugin3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service43,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node46
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service43 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service43, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service43.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service66, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node46 = makeGlobalNode({ service: Service43, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service43, node46, exports_environment };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -11,7 +11,7 @@ __export(exports_driver, {
|
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make21,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node85,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node85 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node85, exports_driver };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./formatter-n6j8zy7f.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID11.make("gpt-5-chat-latest"), ID11.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-vp00rtyr.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 make5 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make6 = 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 = make5();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make5, LMStudioPlugin2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-5epte933.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-0zcqa60s.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service74,
|
|
11
|
+
node77
|
|
12
|
+
} from "./formatter-1z0c123x.js";
|
|
13
13
|
import {
|
|
14
14
|
Service82,
|
|
15
15
|
node86
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-0w0hsyng.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node83
|
|
20
|
+
} from "./formatter-5gwznhg8.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID15,
|
|
23
23
|
Service76,
|
|
24
24
|
node79
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./formatter-k1b4tbj2.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service73,
|
|
34
|
+
node76
|
|
35
|
+
} from "./formatter-2xr74ag8.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./formatter-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service35,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer15,
|
|
57
|
+
node: () => node38
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service35 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options3 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
114
|
+
var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
115
115
|
const location = yield* Service82;
|
|
116
|
-
const environment = yield*
|
|
116
|
+
const environment = yield* Service80;
|
|
117
117
|
const bus = yield* Service85;
|
|
118
118
|
const forms = yield* Service76;
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
119
|
+
const integration = yield* Service73;
|
|
120
|
+
const credentials = yield* Service74;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID13.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service74, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError4({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service74, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID15.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service80, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service35.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured3(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [node86,
|
|
535
|
+
service: Service35,
|
|
536
|
+
layer: layer15(options),
|
|
537
|
+
deps: [node86, node83, node89, node79, node76, node77]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node38 = configured3();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service35, Options3, layer15, configured3, node38, exports_mcp4 };
|