@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,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-p0t9pk22.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-wfwqsfnv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID3
|
|
11
|
+
} from "./bus-qapv375x.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service55,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node57
|
|
16
|
+
} from "./bus-kyjhmbv9.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./bus-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event3,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info3,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service14,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node17
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info3 = Pty.Info;
|
|
45
45
|
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID3
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID3
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service14 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service83;
|
|
62
62
|
const location = yield* Service80;
|
|
63
|
-
const shell = yield*
|
|
63
|
+
const shell = yield* Service55;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID3.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service14.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node17 = makeLocationNode({
|
|
274
|
+
service: Service14,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node87, node84,
|
|
276
|
+
deps: [node87, node84, node57]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node17, exports_pty, Event3 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-p0t9pk22.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-wfwqsfnv.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,7 +26,7 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info4,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
31
|
Service: () => Service17,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
@@ -36,7 +36,7 @@ import path from "path";
|
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -170,4 +170,4 @@ var node20 = makeLocationNode({
|
|
|
170
170
|
deps: [FSUtil.node, node84, node87]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service17, node20, exports_vcs };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-wfwqsfnv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service56
|
|
11
|
+
} from "./bus-bhndscsn.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service72
|
|
14
|
+
} from "./bus-nf8ztekt.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service15,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-65wt44ph.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service67
|
|
22
|
+
} from "./bus-6zh0kd8a.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service66,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-nznwhm2a.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./bus-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin37,
|
|
42
|
+
name: () => name2,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name2 = "patch";
|
|
89
|
+
var Input2 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin37 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service56;
|
|
112
|
+
const access = yield* Service66;
|
|
113
|
+
const fileMutation = yield* Service15;
|
|
114
|
+
const formatter = yield* Service72;
|
|
115
115
|
const location = yield* Service80;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service67;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin30 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name2, Input2, Applied2, Output2, toModelContent2, Plugin37, exports_patch };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./bus-aajya80x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service24
|
|
6
|
+
} from "./bus-ax6ydr4f.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make9 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service24;
|
|
24
|
+
const jobs = yield* Service43;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service61
|
|
4
|
+
} from "./bus-39jysb05.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./bus-kyjhmbv9.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
|
+
Plugin: () => Plugin19
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin19 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service61;
|
|
27
|
+
const shell = yield* Service55;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin38 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin19, exports_shell };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./bus-39jysb05.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./bus-txc1zf78.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin14
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin14 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service61;
|
|
29
|
+
const managed = yield* Service48;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin36 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin14, exports_policy };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-p0t9pk22.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event19
|
|
7
|
+
} from "./bus-1z0p4hs7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-smgbhx6z.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-h6r3nrb9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service48
|
|
17
|
+
} from "./bus-txc1zf78.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
mergeOverlay2,
|
|
21
21
|
mergeHeaders2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./bus-rh2sckgg.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
ID4,
|
|
25
25
|
Input13,
|
|
26
26
|
Response2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./bus-dhaja7z9.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/opencode.ts
|
|
30
30
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -39,7 +39,7 @@ var methodID = MethodID2.make("device");
|
|
|
39
39
|
var RemoteResponse = Schema.Struct({
|
|
40
40
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
41
41
|
websearch: Schema.Struct({
|
|
42
|
-
providerID:
|
|
42
|
+
providerID: ID4
|
|
43
43
|
}).pipe(Schema.optional),
|
|
44
44
|
experimental: Schema.Struct({
|
|
45
45
|
policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
|
|
@@ -64,7 +64,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
64
64
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
65
65
|
function oauth(http) {
|
|
66
66
|
return {
|
|
67
|
-
integrationID:
|
|
67
|
+
integrationID: ID14.make("opencode"),
|
|
68
68
|
method: {
|
|
69
69
|
id: methodID,
|
|
70
70
|
type: "oauth",
|
|
@@ -120,7 +120,7 @@ var OpencodePlugin2 = define({
|
|
|
120
120
|
effect: Effect.fn(function* (ctx) {
|
|
121
121
|
const bus = yield* Service83;
|
|
122
122
|
const http = yield* HttpClient.HttpClient;
|
|
123
|
-
const managed = yield*
|
|
123
|
+
const managed = yield* Service48;
|
|
124
124
|
const loading = Semaphore.makeUnsafe(1);
|
|
125
125
|
let snapshot = { config: undefined, connection: undefined, organization: undefined };
|
|
126
126
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -153,7 +153,7 @@ var OpencodePlugin2 = define({
|
|
|
153
153
|
providers.update(providerID, (provider) => {
|
|
154
154
|
if (source && source.provider !== provider)
|
|
155
155
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
156
|
-
provider.integrationID =
|
|
156
|
+
provider.integrationID = ID14.make("opencode");
|
|
157
157
|
if (item.canonical !== undefined)
|
|
158
158
|
provider.canonical = item.canonical;
|
|
159
159
|
if (item.name !== undefined)
|
|
@@ -223,7 +223,7 @@ var OpencodePlugin2 = define({
|
|
|
223
223
|
sourceConnection: snapshot.connection
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
|
-
const item = providers.get(
|
|
226
|
+
const item = providers.get(ID13.opencode);
|
|
227
227
|
if (!item)
|
|
228
228
|
return;
|
|
229
229
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -235,7 +235,7 @@ var OpencodePlugin2 = define({
|
|
|
235
235
|
});
|
|
236
236
|
});
|
|
237
237
|
yield* ctx.model.transform((models) => {
|
|
238
|
-
const item = models.provider.get(
|
|
238
|
+
const item = models.provider.get(ID13.opencode);
|
|
239
239
|
if (!item)
|
|
240
240
|
return;
|
|
241
241
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -291,7 +291,7 @@ var OpencodePlugin2 = define({
|
|
|
291
291
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
292
292
|
});
|
|
293
293
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
294
|
-
yield* bus.subscribe(
|
|
294
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
295
295
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
296
296
|
})
|
|
297
297
|
});
|