@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-p0t9pk22.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./bus-1z0p4hs7.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-vnpdrrhw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event18,
|
|
35
|
+
ID: () => ID14,
|
|
36
|
+
Info: () => Info29,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
|
+
node: () => node81
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
66
|
+
var ID14 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info29 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,19 +94,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID14,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service77 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
108
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service78;
|
|
110
110
|
const bus = yield* Service83;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
201
201
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
202
202
|
return [...credentials, ...env];
|
|
203
203
|
};
|
|
204
|
-
const project = (entry, connections) =>
|
|
204
|
+
const project = (entry, connections) => Info29.make({
|
|
205
205
|
id: entry.ref.id,
|
|
206
206
|
name: entry.ref.name,
|
|
207
207
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
285
285
|
const persistence = yield* createCredential({
|
|
286
286
|
integrationID: attempt.integrationID,
|
|
287
287
|
label: attempt.label,
|
|
288
|
-
value:
|
|
288
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
289
289
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
290
290
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
291
291
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
431
431
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
432
432
|
return CommandAttempt2.make({ attemptID, time });
|
|
433
433
|
});
|
|
434
|
-
return
|
|
434
|
+
return Service77.of({
|
|
435
435
|
transform: state.transform,
|
|
436
436
|
reload: state.reload,
|
|
437
437
|
revision: state.revision,
|
|
@@ -453,7 +453,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
453
453
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
454
454
|
if (connection.type === "env") {
|
|
455
455
|
const key = process.env[connection.name];
|
|
456
|
-
return key ?
|
|
456
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
457
457
|
}
|
|
458
458
|
const credential = yield* credentials.get(connection.id);
|
|
459
459
|
if (!credential)
|
|
@@ -486,7 +486,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
486
486
|
yield* createCredential({
|
|
487
487
|
integrationID: input.integrationID,
|
|
488
488
|
label: input.label,
|
|
489
|
-
value:
|
|
489
|
+
value: Key4.make({
|
|
490
490
|
type: "key",
|
|
491
491
|
key: input.key,
|
|
492
492
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
582
|
}));
|
|
583
|
-
var
|
|
584
|
-
service:
|
|
583
|
+
var node81 = makeLocationNode({
|
|
584
|
+
service: Service77,
|
|
585
585
|
layer,
|
|
586
|
-
deps: [
|
|
586
|
+
deps: [node82, node87, AppProcess.node]
|
|
587
587
|
});
|
|
588
588
|
|
|
589
|
-
export {
|
|
589
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin24
|
|
3
|
+
} from "./bus-yg6nt6v4.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin26
|
|
6
|
+
} from "./bus-f5rde0mf.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin23
|
|
9
|
+
} from "./bus-bqjst2ga.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin22
|
|
12
|
+
} from "./bus-6xh1kcp9.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin25
|
|
15
|
+
} from "./bus-ste6s18m.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin24,
|
|
20
|
+
Plugin26,
|
|
21
|
+
Plugin23,
|
|
22
|
+
Plugin22,
|
|
23
|
+
Plugin25
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info23,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info23 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -49,4 +49,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
49
49
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
50
50
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
51
51
|
|
|
52
|
-
export {
|
|
52
|
+
export { Info23, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -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/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin25,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
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 endpoint5 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin25 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin7 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin7 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint5, Plugin25, exports_tinyfish };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service42,
|
|
10
|
+
node: () => node44
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service42 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node44 = LayerNode.unbound(Service42, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service42, node44, exports_service2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info12
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info12 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info12, exports_attachment };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service47,
|
|
17
|
+
node49
|
|
18
|
+
} from "./bus-02khppbe.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service71,
|
|
21
|
+
node74
|
|
22
|
+
} from "./bus-7s451enq.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./bus-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./bus-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service46,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node48
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service46 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service71;
|
|
58
|
+
const image = yield* Service47;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service46.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node48 = makeLocationNode({
|
|
277
|
+
service: Service46,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node74, node49]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service46, node48, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/managed-policy.ts
|
|
6
6
|
var exports_managed_policy = {};
|
|
7
7
|
__export(exports_managed_policy, {
|
|
8
8
|
ManagedPolicy: () => exports_managed_policy,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service48,
|
|
10
|
+
node: () => node50
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service48 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service48, () => {
|
|
18
18
|
const state = { current: { statements: [] } };
|
|
19
|
-
return
|
|
19
|
+
return Service48.of({
|
|
20
20
|
current: () => state.current,
|
|
21
21
|
set: (next) => Effect.sync(() => {
|
|
22
22
|
state.current = next;
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
|
-
var
|
|
26
|
+
var node50 = makeGlobalNode({ service: Service48, layer, deps: [] });
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { Service48, node50, exports_managed_policy };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-xkyz092v.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service75,
|
|
17
|
+
node: () => node79
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service75 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service75.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node79 = makeGlobalNode({ service: Service75, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service75, node79, exports_kv };
|