@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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-0w0hsyng.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./formatter-gyrxp0ts.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service66
|
|
9
|
+
} from "./formatter-xj0ka1v1.js";
|
|
10
10
|
import {
|
|
11
11
|
make10
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-e80seqcp.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin47
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,11 +29,11 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin47 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service67;
|
|
36
|
+
const formatter = yield* Service66;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const location = yield* Service82;
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin47, exports_formatter };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./formatter-gyrxp0ts.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service80
|
|
13
|
+
} from "./formatter-5gwznhg8.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service64
|
|
16
|
+
} from "./formatter-v0b295w1.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service57
|
|
19
|
+
} from "./formatter-682gxy8b.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service16,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-ejgr9gnj.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service62,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./formatter-42rf9s8q.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service42
|
|
37
|
+
} from "./formatter-eakdd8w5.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service26
|
|
40
|
+
} from "./formatter-5bkyxj6g.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan3
|
|
43
|
+
} from "./formatter-heqwx97d.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./formatter-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input2,
|
|
53
|
+
Plugin: () => Plugin18,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name2
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name2 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input2 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin18 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service26;
|
|
124
|
+
const jobs = yield* Service64;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service80;
|
|
127
|
+
const access = yield* Service16;
|
|
128
|
+
const shell = yield* Service42;
|
|
129
|
+
const shellSelect = yield* Service62;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service57;
|
|
132
|
+
const config = yield* Service67;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -140,7 +140,7 @@ var Plugin13 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -148,7 +148,7 @@ var Plugin13 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name2,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin13 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name2,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input2,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin13 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name2,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name2];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin18, exports_shell };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./formatter-xcd0eash.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-ht5y0zrb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service42
|
|
9
|
+
} from "./formatter-eakdd8w5.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service52;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service42), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-0zcqa60s.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-0w0hsyng.js";
|
|
9
9
|
import {
|
|
10
10
|
ID9,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service60,
|
|
12
|
+
node62
|
|
13
|
+
} from "./formatter-r0yrvwzz.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError8
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-4adehn3m.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service59,
|
|
19
|
+
node61
|
|
20
|
+
} from "./formatter-me3jp302.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service58,
|
|
26
|
+
node60
|
|
27
|
+
} from "./formatter-p3z1s7cv.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service61,
|
|
30
|
+
node63
|
|
31
|
+
} from "./formatter-5y480sgp.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./formatter-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission = {};
|
|
@@ -42,26 +42,26 @@ __export(exports_permission, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
45
|
+
Event: () => Event9,
|
|
46
46
|
ID: () => ID7,
|
|
47
|
-
NotFoundError: () =>
|
|
47
|
+
NotFoundError: () => NotFoundError6,
|
|
48
48
|
Permission: () => exports_permission,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service57,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node59
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event9 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
67
|
var ID7 = Permission.ID;
|
|
@@ -110,7 +110,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
113
|
+
class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
114
|
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service57 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service85;
|
|
132
132
|
const location = yield* Service82;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service60;
|
|
134
|
+
const sessions = yield* Service59;
|
|
135
|
+
const saved = yield* Service58;
|
|
136
|
+
const hooks = yield* Service61;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError6({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service57.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node59 = makeLocationNode({
|
|
303
|
+
service: Service57,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node89, node86,
|
|
305
|
+
deps: [node89, node86, node62, node61, node60, node63]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2,
|
|
308
|
+
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service57, node59, exports_permission, Rule2, Ruleset2, Event9 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID9,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service60
|
|
4
|
+
} from "./formatter-r0yrvwzz.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-0w0hsyng.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service67
|
|
10
|
+
} from "./formatter-gyrxp0ts.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service62,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-42rf9s8q.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service26
|
|
17
|
+
} from "./formatter-5bkyxj6g.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service12
|
|
20
|
+
} from "./formatter-t4x3hxzy.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-8m6m0r52.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command2 = {};
|
|
30
30
|
__export(exports_command2, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin43
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin43 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service67;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,10 +56,10 @@ var Plugin36 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service82;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service62;
|
|
60
|
+
const sessions = yield* Service26;
|
|
61
|
+
const agents = yield* Service60;
|
|
62
|
+
const subagents = yield* Service12;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin43, exports_command2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service76
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-k1b4tbj2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./formatter-682gxy8b.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -54,12 +54,12 @@ var Plugin50 = {
|
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
56
|
const forms = yield* Service76;
|
|
57
|
-
const permission = yield*
|
|
57
|
+
const permission = yield* Service57;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export { name14, description6,
|
|
120
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,33 +1,33 @@
|
|
|
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
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-x661k3y3.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-2xr74ag8.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
aisdk2,
|
|
21
21
|
Service72
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./formatter-ndc46fve.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID11,
|
|
25
|
+
Info20
|
|
26
|
+
} from "./formatter-n6j8zy7f.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID12.gitlab;
|
|
39
|
+
var integrationID = ID13.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info20.default(providerID, ID11.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID12.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|