@opencode/core 0.0.0-dev-20022 → 0.0.0-dev-20023
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{pty-ph20cxtq.js → bus-02khppbe.js} +9 -9
- package/dist/chunks/{pty-0m0tvs7x.js → bus-036p5t1s.js} +4 -4
- package/dist/chunks/{pty-f73rjn58.js → bus-06x8he3q.js} +4 -4
- package/dist/chunks/{pty-q581keqr.js → bus-0c5h751b.js} +2 -2
- package/dist/chunks/{pty-0996nyz8.js → bus-0jq9fyba.js} +9 -9
- package/dist/chunks/{pty-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-ba5vgn6q.js → bus-1588s453.js} +11 -11
- package/dist/chunks/{pty-jx22f0nz.js → bus-183eyv49.js} +11 -11
- package/dist/chunks/{pty-3pj6bshw.js → bus-1bnc86tq.js} +16 -16
- package/dist/chunks/{pty-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-rvxas66n.js → bus-1gd24jtv.js} +11 -11
- package/dist/chunks/{pty-ct8v1tk1.js → bus-1nf4mfax.js} +5 -5
- package/dist/chunks/{pty-wtzj1gsr.js → bus-1qyqr2yd.js} +11 -11
- package/dist/chunks/{pty-58qkwrp9.js → bus-1z0p4hs7.js} +30 -30
- package/dist/chunks/{pty-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{pty-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-2egezm5d.js → bus-2be9bx68.js} +48 -48
- package/dist/chunks/{pty-7q0vyatq.js → bus-2c2pthh1.js} +4 -4
- package/dist/chunks/{pty-5rz2hsq0.js → bus-2e9rpkgh.js} +7 -7
- package/dist/chunks/{pty-659e5h2p.js → bus-2hegk72a.js} +20 -20
- package/dist/chunks/{pty-8f3q2yke.js → bus-2rsdr3cn.js} +22 -22
- package/dist/chunks/{pty-zdyh66ht.js → bus-2zcvrg1e.js} +5 -5
- package/dist/chunks/{pty-mzrm7ehw.js → bus-32psr599.js} +43 -43
- package/dist/chunks/{pty-y1qgwz29.js → bus-39jysb05.js} +38 -38
- package/dist/chunks/{pty-8kyrbpf3.js → bus-3agsheqw.js} +44 -44
- package/dist/chunks/{pty-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-g1eer3dm.js → bus-3pg5tcmy.js} +13 -13
- package/dist/chunks/{pty-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-m7477pm4.js → bus-3y3dqax9.js} +11 -11
- package/dist/chunks/{pty-dg5bcj4q.js → bus-3ykzfd22.js} +7 -7
- package/dist/chunks/{pty-3zsf4n22.js → bus-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-x7qrp6ew.js → bus-3zt4sf8n.js} +39 -39
- package/dist/chunks/{pty-2v48e9j0.js → bus-44bq749c.js} +13 -13
- package/dist/chunks/{pty-44ke2mar.js → bus-44ke2mar.js} +2 -2
- package/dist/chunks/{pty-6sq4hjqm.js → bus-4dynb0b2.js} +13 -13
- package/dist/chunks/{pty-rbwjahas.js → bus-4gpm7wt7.js} +4 -4
- package/dist/chunks/{pty-46akpagb.js → bus-4mj681nk.js} +19 -19
- package/dist/chunks/{pty-zt18mrv4.js → bus-4qnbfv01.js} +26 -26
- package/dist/chunks/{pty-86yg7tfg.js → bus-4zdj9ayc.js} +5 -5
- package/dist/chunks/{pty-bga77shd.js → bus-5295gdn1.js} +29 -29
- package/dist/chunks/{pty-n5rcb3g0.js → bus-55f96cqf.js} +9 -9
- package/dist/chunks/{pty-57ez7d0k.js → bus-57ez7d0k.js} +2 -2
- package/dist/chunks/{pty-egeb53tp.js → bus-58mhhvvc.js} +34 -34
- package/dist/chunks/{pty-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-ke2qywb5.js → bus-5dc1jw76.js} +8 -8
- package/dist/chunks/{pty-5ekn9679.js → bus-5ekn9679.js} +1 -1
- package/dist/chunks/{pty-0yew5m2c.js → bus-5ms58nc1.js} +14 -14
- package/dist/chunks/{pty-3jkw6mfp.js → bus-5qdsfvwm.js} +12 -12
- package/dist/chunks/{pty-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-3aakhrf3.js → bus-62knkx65.js} +19 -19
- package/dist/chunks/{pty-g083pv08.js → bus-62qsqm8s.js} +38 -38
- package/dist/chunks/{pty-ktt0ngdq.js → bus-65wt44ph.js} +12 -12
- package/dist/chunks/{pty-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{pty-1xqbjk83.js → bus-68zbwets.js} +24 -24
- package/dist/chunks/{pty-zb34m256.js → bus-6ezpw46y.js} +3 -3
- package/dist/chunks/{pty-jwna9w0v.js → bus-6gs2bj3z.js} +1 -1
- package/dist/chunks/{pty-2402vzrj.js → bus-6h73sxmp.js} +5 -5
- package/dist/chunks/{pty-9cxpqc5g.js → bus-6mne9kvv.js} +16 -16
- package/dist/chunks/{pty-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-54h147px.js → bus-6q6ah1za.js} +17 -17
- package/dist/chunks/{pty-2980bn8j.js → bus-6xh1kcp9.js} +8 -8
- package/dist/chunks/{pty-zet2pf0s.js → bus-6zh0kd8a.js} +40 -40
- package/dist/chunks/{pty-0gnd4t8k.js → bus-75d4r5r9.js} +6 -6
- package/dist/chunks/{pty-3jj8eh0k.js → bus-79d8ddz7.js} +5 -5
- package/dist/chunks/{pty-gdbk8ja4.js → bus-79pm3y1j.js} +23 -23
- package/dist/chunks/{pty-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-92azg307.js → bus-7d2a7xbs.js} +5 -5
- package/dist/chunks/{pty-2k8khapm.js → bus-7dqw4kz8.js} +5 -5
- package/dist/chunks/{pty-6qp9w1vx.js → bus-7g3h6q7t.js} +16 -16
- package/dist/chunks/{pty-0jqtpwb9.js → bus-7hd0q4g8.js} +15 -15
- package/dist/chunks/{pty-v4jw97dc.js → bus-7j92jdde.js} +4 -4
- package/dist/chunks/{pty-d9bxkxqe.js → bus-7py2syng.js} +43 -43
- package/dist/chunks/{pty-zrq8kphx.js → bus-7s451enq.js} +8 -8
- package/dist/chunks/{pty-27273vr0.js → bus-7s8ytp8a.js} +14 -14
- package/dist/chunks/{pty-bvdvfsqm.js → bus-7t99ryxb.js} +26 -26
- package/dist/chunks/{pty-00832hy7.js → bus-89bb6baa.js} +8 -8
- package/dist/chunks/{pty-3rp2m6fs.js → bus-8afkf39b.js} +83 -83
- package/dist/chunks/{pty-8d0p2m37.js → bus-8d0p2m37.js} +3 -3
- package/dist/chunks/{pty-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-w7tz9xnv.js → bus-8jqfghx0.js} +11 -11
- package/dist/chunks/{pty-dj2t23y0.js → bus-8p4f9s12.js} +2 -2
- package/dist/chunks/{pty-jjhzpb55.js → bus-8xted83r.js} +6 -6
- package/dist/chunks/{pty-92nyndd7.js → bus-955hz2z1.js} +22 -22
- package/dist/chunks/{pty-346pdbfk.js → bus-96vzaj3m.js} +18 -18
- package/dist/chunks/{pty-b8smpw7b.js → bus-9fgnx2y2.js} +8 -8
- package/dist/chunks/{pty-s6j1pmrh.js → bus-9vqvxtq4.js} +10 -10
- package/dist/chunks/bus-9zdhvgqs.js +18 -0
- package/dist/chunks/{pty-5c4hm403.js → bus-a1bz86dw.js} +3 -3
- package/dist/chunks/{pty-73tb2d7t.js → bus-a1gpj94z.js} +3 -3
- package/dist/chunks/{pty-9kmbd9mt.js → bus-a3r4dcrj.js} +2 -2
- package/dist/chunks/{pty-0zqn79kw.js → bus-a7gqq3g2.js} +15 -15
- package/dist/chunks/{pty-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-2azrqq3g.js → bus-aajya80x.js} +17 -17
- package/dist/chunks/{pty-68rggvtd.js → bus-ajkakq68.js} +25 -25
- package/dist/chunks/{pty-0073hawd.js → bus-asmhqfh7.js} +16 -16
- package/dist/chunks/{pty-2saetqtj.js → bus-ax6ydr4f.js} +80 -80
- package/dist/chunks/{pty-snpaajsm.js → bus-axjyegnf.js} +7 -7
- package/dist/chunks/{pty-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-mj9w7m3d.js → bus-befbg1h9.js} +31 -31
- package/dist/chunks/{pty-3y23f4vy.js → bus-bhndscsn.js} +21 -21
- package/dist/chunks/{pty-xfbfr6ja.js → bus-bpv1pw5j.js} +30 -30
- package/dist/chunks/{pty-kajhh18t.js → bus-bqjst2ga.js} +9 -9
- package/dist/chunks/{pty-fsvv4bbc.js → bus-c83tnrm1.js} +8 -8
- package/dist/chunks/{pty-m0jqrx5p.js → bus-cfpkc3c9.js} +2 -2
- package/dist/chunks/{pty-x79swths.js → bus-cfsneazd.js} +3 -3
- package/dist/chunks/{pty-2tfmgkzg.js → bus-cq37gk0t.js} +4 -4
- package/dist/chunks/{pty-7w270t0f.js → bus-cqtsyhxp.js} +170 -170
- package/dist/chunks/{pty-r9b74k7g.js → bus-ct6yytk4.js} +15 -15
- package/dist/chunks/{pty-yx5pzx7y.js → bus-d07mke8v.js} +30 -30
- package/dist/chunks/{pty-8wd5j64y.js → bus-d8tee39x.js} +27 -27
- package/dist/chunks/{pty-drcaqnnk.js → bus-dhaja7z9.js} +23 -23
- package/dist/chunks/{pty-09c9b37t.js → bus-djgdsjb0.js} +12 -12
- package/dist/chunks/{pty-12zx0m1n.js → bus-dmmh7n23.js} +11 -11
- package/dist/chunks/{pty-59xa7gwf.js → bus-dp3wkqpm.js} +21 -21
- package/dist/chunks/{pty-dq0v80fr.js → bus-dq0v80fr.js} +5 -5
- package/dist/chunks/{pty-3vj84w1g.js → bus-dqvyvseb.js} +6 -6
- package/dist/chunks/{pty-epch955d.js → bus-drdm7q8r.js} +30 -30
- package/dist/chunks/{pty-t2hpc9xa.js → bus-dvvx8exq.js} +3 -3
- package/dist/chunks/{pty-ver4gz2z.js → bus-e13bpq8t.js} +9 -9
- package/dist/chunks/{pty-zj32sk49.js → bus-e1j67ccp.js} +16 -16
- package/dist/chunks/{pty-3aycrrq3.js → bus-ebvfnkrm.js} +11 -11
- package/dist/chunks/{pty-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-r504yxa7.js → bus-eh8n600s.js} +24 -24
- package/dist/chunks/{pty-wd3qynhg.js → bus-ehk9kapw.js} +1 -1
- package/dist/chunks/{pty-st7m3259.js → bus-ehzvax51.js} +6 -6
- package/dist/chunks/{pty-ryyzgwk8.js → bus-ek46zrte.js} +8 -8
- package/dist/chunks/{pty-jy93wyqx.js → bus-em8ywp9g.js} +20 -20
- package/dist/chunks/{pty-erw5rpbs.js → bus-erw5rpbs.js} +2 -2
- package/dist/chunks/{pty-n3pf2vtm.js → bus-etjvrvcv.js} +24 -24
- package/dist/chunks/{pty-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-0xxz59sm.js → bus-f13p3gpw.js} +15 -15
- package/dist/chunks/{pty-fxrkpyt4.js → bus-f5rde0mf.js} +9 -9
- package/dist/chunks/{pty-hdnk95c8.js → bus-f828m53h.js} +2 -2
- package/dist/chunks/{pty-p4yd6ave.js → bus-fgr0da6t.js} +4 -4
- package/dist/chunks/{pty-qa3qhgw8.js → bus-fm2qvscf.js} +4 -4
- package/dist/chunks/{pty-epbjbybc.js → bus-fpk9swdv.js} +24 -24
- package/dist/chunks/{pty-98g0w5b8.js → bus-fxda7p1p.js} +23 -23
- package/dist/chunks/{pty-pa8pe2x7.js → bus-g0445xdp.js} +8 -8
- package/dist/chunks/{pty-fe8rbqv5.js → bus-g56pgxge.js} +3 -3
- package/dist/chunks/{pty-gas3a14q.js → bus-g9rsppv7.js} +26 -26
- package/dist/chunks/{pty-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-wzj8vn37.js → bus-ggn63ca0.js} +7 -7
- package/dist/chunks/{pty-phtqmmnp.js → bus-gsz04hhj.js} +8 -8
- package/dist/chunks/{pty-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-f99sh2kf.js → bus-h282rwby.js} +46 -46
- package/dist/chunks/{pty-3hwnxrrs.js → bus-h2apygcd.js} +11 -11
- package/dist/chunks/{pty-j8dv7h16.js → bus-h5d0nsap.js} +27 -27
- package/dist/chunks/{pty-5mtzsd3b.js → bus-h6r3nrb9.js} +4 -4
- package/dist/chunks/{pty-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-1m7ag7te.js → bus-hfysmbcm.js} +29 -29
- package/dist/chunks/{pty-qn4ba14w.js → bus-hnr5yq9h.js} +5 -5
- package/dist/chunks/{pty-szq8ceg0.js → bus-hvvsh4tm.js} +25 -25
- package/dist/chunks/{pty-ksqmtdz9.js → bus-j1srxjvx.js} +9 -9
- package/dist/chunks/{pty-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-ve2cr55v.js → bus-j66yn2fw.js} +22 -22
- package/dist/chunks/{pty-yentpcn4.js → bus-jb3kqqtq.js} +12 -12
- package/dist/chunks/{pty-rkdax40c.js → bus-jcgqybrx.js} +7 -7
- package/dist/chunks/{pty-mf9m2v67.js → bus-jexxy024.js} +3 -3
- package/dist/chunks/{pty-h2r7bbkd.js → bus-k0gdq8ga.js} +8 -8
- package/dist/chunks/{pty-k3c624dm.js → bus-k3c624dm.js} +3 -3
- package/dist/chunks/{pty-qbm6e03e.js → bus-k4dqtr2a.js} +26 -26
- package/dist/chunks/{pty-s5aaq3x4.js → bus-k8e10kf0.js} +29 -29
- package/dist/chunks/{pty-tt8fbnq7.js → bus-k9dr5fag.js} +23 -23
- package/dist/chunks/{pty-wvtedn3t.js → bus-kdq6h4dx.js} +4 -4
- package/dist/chunks/{pty-y1332vc0.js → bus-kjqwwhjn.js} +12 -12
- package/dist/chunks/{pty-0hhen1xp.js → bus-km16yc9p.js} +18 -18
- package/dist/chunks/{pty-yv88yh0p.js → bus-kscz57pn.js} +20 -20
- package/dist/chunks/{pty-qhkmyjn7.js → bus-kt2mtnna.js} +10 -10
- package/dist/chunks/{pty-rph3zd4r.js → bus-kxpygcw9.js} +4 -4
- package/dist/chunks/{pty-8yen0vmk.js → bus-kyjhmbv9.js} +19 -19
- package/dist/chunks/{pty-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-0xw899c0.js → bus-m5kg83s1.js} +5 -5
- package/dist/chunks/{pty-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-37wxtrb2.js → bus-mcgja72h.js} +47 -47
- package/dist/chunks/{pty-1ygqh575.js → bus-mfqp6xfm.js} +6 -6
- package/dist/chunks/{pty-gq06jwkj.js → bus-mhqk2p2z.js} +24 -24
- package/dist/chunks/{pty-csk9s71t.js → bus-mnt867w7.js} +28 -28
- package/dist/chunks/{pty-7ktegkxn.js → bus-mnzpjgw7.js} +4 -4
- package/dist/chunks/{pty-qb7rnsyw.js → bus-mrq6z0ak.js} +20 -20
- package/dist/chunks/{pty-tnen7gxg.js → bus-mxkyhxjm.js} +11 -11
- package/dist/chunks/{pty-eg2tb1rm.js → bus-mzrbxmyd.js} +11 -11
- package/dist/chunks/{pty-277eer69.js → bus-n2srvep7.js} +4 -4
- package/dist/chunks/{pty-04921szq.js → bus-n8q5m16v.js} +15 -15
- package/dist/chunks/{pty-awc8k5we.js → bus-nf8ztekt.js} +14 -14
- package/dist/chunks/{pty-2ge9317b.js → bus-nghttz5c.js} +17 -17
- package/dist/chunks/{pty-netwxqmf.js → bus-nr669dq2.js} +8 -8
- package/dist/chunks/{pty-0f9afca0.js → bus-nxhqveyz.js} +5 -5
- package/dist/chunks/{pty-ehr488c1.js → bus-nxx48bkr.js} +9 -9
- package/dist/chunks/{pty-f8neaav3.js → bus-nznwhm2a.js} +15 -15
- package/dist/chunks/{pty-d2vrte26.js → bus-p0t9pk22.js} +4 -4
- package/dist/chunks/{pty-9pbg9mfa.js → bus-p1nvkxcp.js} +14 -14
- package/dist/chunks/{pty-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-xz01qsb9.js → bus-pk6g247z.js} +6 -6
- package/dist/chunks/{pty-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/bus-pkqtqxbs.js +252 -0
- package/dist/chunks/{pty-pzegqnfy.js → bus-pn1r49m7.js} +3 -3
- package/dist/chunks/bus-qapv375x.js +4 -0
- package/dist/chunks/{pty-0msbkmgc.js → bus-qeey90fn.js} +5 -5
- package/dist/chunks/{pty-mynkytfk.js → bus-qfzsj00a.js} +3 -3
- package/dist/chunks/{pty-nq7qbqzc.js → bus-qg0jgkcp.js} +9 -9
- package/dist/chunks/{pty-phas83vg.js → bus-qj733f4v.js} +42 -42
- package/dist/chunks/{pty-jw80jp6b.js → bus-qj8eh1ht.js} +4 -4
- package/dist/chunks/{pty-h57fftbf.js → bus-qmd4qmz6.js} +45 -45
- package/dist/chunks/{pty-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-mf44wyvt.js → bus-qvreyy9g.js} +5 -5
- package/dist/chunks/{pty-2mn4zdxt.js → bus-qzaqzf4z.js} +20 -20
- package/dist/chunks/{pty-tza9tqr6.js → bus-r2axq500.js} +24 -24
- package/dist/chunks/{pty-2sejkfem.js → bus-r2m716tb.js} +9 -9
- package/dist/chunks/{pty-axaeyqk5.js → bus-r4st4fg3.js} +20 -20
- package/dist/chunks/{pty-rm94z0n9.js → bus-rcan3sss.js} +20 -20
- package/dist/chunks/{pty-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-t8qq9kf4.js → bus-rg9k3tks.js} +14 -14
- package/dist/chunks/{pty-d5jh8j72.js → bus-rh2sckgg.js} +27 -27
- package/dist/chunks/{pty-eaj1djv9.js → bus-rhjbct0v.js} +8 -8
- package/dist/chunks/{pty-zqpv39rv.js → bus-rv5xwt73.js} +12 -12
- package/dist/chunks/{pty-c5k9fkg4.js → bus-s17gp5yc.js} +3 -3
- package/dist/chunks/{pty-97evzm9t.js → bus-s2avjtxg.js} +13 -13
- package/dist/chunks/{pty-cde1zna5.js → bus-sgt19s1v.js} +21 -21
- package/dist/chunks/{pty-2sn7f2k5.js → bus-sjfgsjz9.js} +20 -20
- package/dist/chunks/{pty-s321g855.js → bus-smgbhx6z.js} +29 -29
- package/dist/chunks/bus-sn7pzh75.js +26 -0
- package/dist/chunks/{pty-dg2cj1yd.js → bus-ssdqnhy0.js} +4 -4
- package/dist/chunks/{pty-awmg9ays.js → bus-ste6s18m.js} +9 -9
- package/dist/chunks/{pty-9gea571p.js → bus-sxzvkvgj.js} +6 -6
- package/dist/chunks/{pty-dj9sq318.js → bus-t0fxg8b9.js} +5 -5
- package/dist/chunks/{pty-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{pty-621g1y7c.js → bus-tpatgnyt.js} +24 -24
- package/dist/chunks/{pty-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-1p7f10vm.js → bus-txc1zf78.js} +8 -8
- package/dist/chunks/{pty-k53npxr2.js → bus-v3sgzvyr.js} +1 -1
- package/dist/chunks/{pty-954536qd.js → bus-v7v4jk8m.js} +10 -10
- package/dist/chunks/{pty-dsc9f08d.js → bus-vavc4npn.js} +33 -33
- package/dist/chunks/{pty-sx1n432n.js → bus-ve4pfa0n.js} +4 -4
- package/dist/chunks/{pty-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-8fgcpw95.js → bus-vh6g4kyg.js} +13 -13
- package/dist/chunks/{pty-fts96dv9.js → bus-vnpdrrhw.js} +21 -21
- package/dist/chunks/{pty-1813d5zh.js → bus-vtt0yr3x.js} +11 -11
- package/dist/chunks/{pty-vtxr0yy2.js → bus-vtxr0yy2.js} +2 -2
- package/dist/chunks/{pty-aqy70tp0.js → bus-vxvdqqhg.js} +9 -9
- package/dist/chunks/{pty-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-6ncdq8ek.js → bus-vze1te8n.js} +10 -10
- package/dist/chunks/{pty-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-53p5tbhc.js → bus-wc3p6akr.js} +32 -32
- package/dist/chunks/{pty-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{pty-xw5r7cj0.js → bus-wfwqsfnv.js} +2 -2
- package/dist/chunks/{pty-7aycs900.js → bus-wj426n11.js} +15 -15
- package/dist/chunks/{pty-00nz894e.js → bus-wjtcmmcc.js} +20 -20
- package/dist/chunks/{pty-8hcybcw4.js → bus-wrt06kej.js} +4 -4
- package/dist/chunks/{pty-rnxv7mtd.js → bus-wtj175dr.js} +11 -11
- package/dist/chunks/{pty-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-q2ezvbr5.js → bus-x6j13p6x.js} +3 -3
- package/dist/chunks/{pty-1wvf8tm7.js → bus-xbtr9dqn.js} +37 -37
- package/dist/chunks/{pty-xwcccng5.js → bus-xbzz39h7.js} +31 -31
- package/dist/chunks/{pty-xfkkasph.js → bus-xfkkasph.js} +1 -1
- package/dist/chunks/{pty-6d6xcght.js → bus-xkrbr206.js} +8 -8
- package/dist/chunks/{pty-se4kmwxk.js → bus-xkyz092v.js} +3 -3
- package/dist/chunks/{pty-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-ss96nb5e.js → bus-y4b15vep.js} +8 -8
- package/dist/chunks/{pty-y71avatq.js → bus-y71avatq.js} +1 -1
- package/dist/chunks/{pty-xv60kj6n.js → bus-y78y3r0z.js} +5 -5
- package/dist/chunks/{pty-smza16da.js → bus-yag3facz.js} +27 -27
- package/dist/chunks/{pty-97fmyryk.js → bus-ybhbtxjg.js} +3 -3
- package/dist/chunks/{pty-xfdcv1z1.js → bus-yd4vk3cp.js} +11 -11
- package/dist/chunks/{pty-sdcgvf1x.js → bus-yfbfw99s.js} +15 -15
- package/dist/chunks/{pty-3qkhrecg.js → bus-yg3nrnme.js} +17 -17
- package/dist/chunks/{pty-hcexmw40.js → bus-yg6nt6v4.js} +8 -8
- package/dist/chunks/{pty-1acjjqhc.js → bus-yp2x3t23.js} +4 -4
- package/dist/chunks/{pty-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-yrznvahk.js → bus-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-bd54m8y3.js → bus-yv7qswmh.js} +28 -28
- package/dist/chunks/{pty-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-4g643n2g.js → bus-z4gbawvg.js} +67 -67
- package/dist/chunks/{pty-z63w68vq.js → bus-z63w68vq.js} +2 -2
- package/dist/chunks/{pty-xrav937z.js → bus-zc4m99dd.js} +13 -13
- package/dist/chunks/{pty-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-t621a335.js → bus-zkkcedaa.js} +327 -327
- package/dist/chunks/{pty-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-05v741zn.js → bus-zth7gqw3.js} +25 -25
- package/dist/chunks/{pty-ksjahays.js → bus-zxcnjva9.js} +28 -28
- package/dist/chunks/{pty-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +91 -91
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +98 -98
- 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/id/id.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 +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- 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-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- 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 +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +84 -84
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/pty-6kdq0pjd.js +0 -4
- package/dist/chunks/pty-739gz0q2.js +0 -252
- package/dist/chunks/pty-7fj5dwt0.js +0 -18
- package/dist/chunks/pty-s5qac7qv.js +0 -26
- /package/dist/chunks/{pty-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service62,
|
|
3
|
+
node65
|
|
4
|
+
} from "./bus-em8ywp9g.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-wfwqsfnv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node64
|
|
12
|
+
} from "./bus-39jysb05.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service2,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer4,
|
|
28
|
+
node: () => node3
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service61;
|
|
40
|
+
const watcher = yield* Service62;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service80;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service2.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node3 = makeLocationNode({
|
|
74
|
+
service: Service2,
|
|
75
|
+
layer: layer4,
|
|
76
|
+
deps: [node64, FSUtil.node, node65, node84]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service2,
|
|
80
|
+
layer: Layer.succeed(Service2, Service2.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service2, layer4, node3, empty2, exports_source };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-xkyz092v.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info22,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service68,
|
|
21
|
+
node: () => node71
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info22 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service68 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID9.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service68.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node71 = makeGlobalNode({ service: Service68, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID9, Info22, ListInput4, AddInput2, Service68, node71, exports_saved };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-mzrbxmyd.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-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: () => Plugin26,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
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/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "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 Plugin26 = 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 Plugin8 = 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, endpoint6, "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 Plugin8 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin26, exports_firecrawl };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-rh2sckgg.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-k8e10kf0.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info17
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info17 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info14 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info17, exports_command5 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service70
|
|
4
|
+
} from "./bus-dp3wkqpm.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-wfwqsfnv.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service61
|
|
10
|
+
} from "./bus-39jysb05.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service55,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-kyjhmbv9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service24
|
|
17
|
+
} from "./bus-ax6ydr4f.js";
|
|
18
18
|
import {
|
|
19
19
|
make9
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-5dc1jw76.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin11
|
|
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/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin11 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service61;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,9 +56,9 @@ var Plugin41 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
59
|
+
const shell = yield* Service55;
|
|
60
|
+
const sessions = yield* Service24;
|
|
61
|
+
const agents = yield* Service70;
|
|
62
62
|
const subagents = yield* make9;
|
|
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()));
|
|
@@ -80,7 +80,7 @@ var Plugin41 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin11, exports_command };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-rh2sckgg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info26,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-k8e10kf0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load2
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get2(baseURL, apiKey, existing) {
|
|
58
|
+
return derive2(baseURL, await load2(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load2(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive2(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID12.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info26.make({
|
|
98
|
+
...Info26.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node6
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node6 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node6, bound2, exports_instance2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./bus-k8e10kf0.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-xkyz092v.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node60
|
|
12
|
+
} from "./bus-xkrbr206.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID6,
|
|
25
|
+
Info: () => Info9,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service57,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured7,
|
|
30
|
+
node: () => node59
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID6 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info9 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID6,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info30 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID6,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service57 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured7 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service57,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node60]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info9({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service57.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID6.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node59 = configured7();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID6, Info9, NotFound3, CreateConflict2, Service57, configured7, node59, exports_workspace };
|