@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
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service84,
|
|
9
9
|
node88
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-c5ggqzvz.js";
|
|
11
11
|
import {
|
|
12
12
|
Service82,
|
|
13
13
|
node86
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-0w0hsyng.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service46,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node49,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,18 +34,18 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service46 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service84;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID6.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service46.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node49 = makeLocationNode({
|
|
153
|
+
service: Service46,
|
|
154
154
|
layer,
|
|
155
155
|
deps: [FSUtil.node, node88, Global.node, node86]
|
|
156
156
|
});
|
|
157
|
-
var noopLayer2 = Layer.succeed(
|
|
157
|
+
var noopLayer2 = Layer.succeed(Service46, Service46.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer2 = Layer.succeed(Service33, Service33.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error2({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID6, Error2, Service46, node49, noopLayer2, exports_snapshot2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-0zcqa60s.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-682gxy8b.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event8,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info8,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service45,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available3,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node48,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -35,13 +35,13 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Context, Effect, Layer } from "effect";
|
|
37
37
|
import { Skill } from "@opencode/schema/skill";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event8 } from "@opencode/schema/skill";
|
|
39
39
|
var DirectorySource2 = Skill.DirectorySource;
|
|
40
40
|
var UrlSource2 = Skill.UrlSource;
|
|
41
41
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
42
42
|
var Source4 = Skill.Source;
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var Info8 = Skill.Info;
|
|
44
|
+
var ID5 = Skill.ID;
|
|
45
45
|
var Name2 = Skill.Name;
|
|
46
46
|
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
47
47
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -78,33 +78,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
78
78
|
};
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service45 extends Context.Service()("@opencode/Skill") {
|
|
82
82
|
}
|
|
83
|
-
var layer = Layer.effect(
|
|
83
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
84
84
|
const bus = yield* Service85;
|
|
85
85
|
const state = create3({
|
|
86
86
|
name: "skill",
|
|
87
87
|
initial: () => ({ skills: new Map }),
|
|
88
88
|
editor: (editor) => ({
|
|
89
89
|
list: () => Array.from(editor.skills.values()),
|
|
90
|
-
get: (id) => editor.skills.get(
|
|
90
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
91
91
|
add: (skill) => {
|
|
92
92
|
editor.skills.set(skill.id, { ...skill });
|
|
93
93
|
},
|
|
94
94
|
update: (id, update) => {
|
|
95
|
-
const current = editor.skills.get(
|
|
95
|
+
const current = editor.skills.get(ID5.make(id));
|
|
96
96
|
if (!current)
|
|
97
97
|
return;
|
|
98
98
|
update(current);
|
|
99
|
-
current.id =
|
|
99
|
+
current.id = ID5.make(id);
|
|
100
100
|
},
|
|
101
101
|
remove: (id) => {
|
|
102
|
-
editor.skills.delete(
|
|
102
|
+
editor.skills.delete(ID5.make(id));
|
|
103
103
|
}
|
|
104
104
|
}),
|
|
105
105
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service45.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -115,10 +115,10 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
115
115
|
})
|
|
116
116
|
});
|
|
117
117
|
}));
|
|
118
|
-
var
|
|
119
|
-
service:
|
|
118
|
+
var node48 = makeLocationNode({
|
|
119
|
+
service: Service45,
|
|
120
120
|
layer,
|
|
121
121
|
deps: [node89]
|
|
122
122
|
});
|
|
123
123
|
|
|
124
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
124
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID5, Name2, available3, toModelOutput3, prepare3, Service45, node48, exports_skill5, Event8 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-ndc46fve.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service55,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node57
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID12,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service55 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service55, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service55.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node57 = makeLocationNode({ service: Service55, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service55, locationLayer2, node57, exports_aisdk };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-vp00rtyr.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make4 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make5 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make4();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make4, OllamaPlugin2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-b30s6mje.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-bjx1sjef.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin6,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin6 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin21 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin21 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin6, exports_firecrawl };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
@@ -8,9 +8,9 @@ __export(exports_app, {
|
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
10
|
configured: () => configured7,
|
|
11
|
-
layer: () =>
|
|
11
|
+
layer: () => layer23,
|
|
12
12
|
make: () => make19,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node66,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer:
|
|
33
|
-
var
|
|
31
|
+
var layer23 = (input) => Layer.succeed(Metadata2, make19(input));
|
|
32
|
+
var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer23(input), deps: [] });
|
|
33
|
+
var node66 = configured7();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make19, useragent2,
|
|
35
|
+
export { Metadata2, make19, useragent2, layer23, configured7, node66, exports_app };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service50,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service50 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service50, exports_runner };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info19
|
|
7
|
+
} from "./formatter-7cx595n2.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
ConfigAgentV1: () => exports_agent4,
|
|
16
|
-
Info: () =>
|
|
16
|
+
Info: () => Info15
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info19)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info15 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info15, exports_agent4 };
|