@opencode/core 0.0.0-dev-21748 → 0.0.0-dev-21756
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/websearch-00ve6mdn.js +18 -0
- package/dist/chunks/{file-retention-034tev2y.js → websearch-034tev2y.js} +2 -2
- package/dist/chunks/{file-retention-3mgb105e.js → websearch-0421tmwc.js} +9 -9
- package/dist/chunks/{file-retention-qer95tax.js → websearch-090ayew8.js} +16 -16
- package/dist/chunks/{file-retention-dvgja063.js → websearch-0hxcp4e6.js} +6 -6
- package/dist/chunks/{file-retention-f5bp1zt3.js → websearch-0jst9dmz.js} +18 -18
- package/dist/chunks/{file-retention-ry63fkbp.js → websearch-0kajrgn5.js} +8 -8
- package/dist/chunks/{file-retention-4xj5yeb9.js → websearch-0r7sceh0.js} +15 -15
- package/dist/chunks/{file-retention-s8tktxtj.js → websearch-0ty15b8r.js} +13 -13
- package/dist/chunks/{file-retention-1ep2p91f.js → websearch-1ep2p91f.js} +2 -2
- package/dist/chunks/{file-retention-xs35f6gm.js → websearch-1v0n44x7.js} +16 -16
- package/dist/chunks/websearch-1v3m6w2k.js +517 -0
- package/dist/chunks/{file-retention-1x2knyw4.js → websearch-1x2knyw4.js} +1 -1
- package/dist/chunks/{file-retention-wqscedq8.js → websearch-1y0wdj51.js} +4 -4
- package/dist/chunks/{file-retention-4yyqx4s3.js → websearch-1yf62w26.js} +1 -1
- package/dist/chunks/{file-retention-rbhan2a8.js → websearch-26ye1a0h.js} +41 -41
- package/dist/chunks/{file-retention-004rgtvd.js → websearch-2axrbrmc.js} +7 -7
- package/dist/chunks/{file-retention-0txt22rj.js → websearch-2bcte980.js} +5 -5
- package/dist/chunks/{file-retention-qgqvdsez.js → websearch-2f6dwfym.js} +21 -21
- package/dist/chunks/{file-retention-dbvdvcnm.js → websearch-2fkrhbg9.js} +25 -25
- package/dist/chunks/{file-retention-2z1j29yd.js → websearch-2z1j29yd.js} +1 -1
- package/dist/chunks/{file-retention-j4rz9p31.js → websearch-35myeakn.js} +11 -11
- package/dist/chunks/{file-retention-jfp7edqe.js → websearch-35sav4w0.js} +18 -18
- package/dist/chunks/{file-retention-w22yp63b.js → websearch-39kss88q.js} +9 -9
- package/dist/chunks/{file-retention-zpr39raf.js → websearch-3aw6bcdd.js} +26 -26
- package/dist/chunks/{file-retention-9wrzmk82.js → websearch-3bp5jjvw.js} +9 -9
- package/dist/chunks/{file-retention-pv64vp27.js → websearch-3g41ey7s.js} +11 -11
- package/dist/chunks/{file-retention-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-3nnrz6f6.js → websearch-3nnrz6f6.js} +1 -1
- package/dist/chunks/{file-retention-6zzg071e.js → websearch-3qn9w17a.js} +11 -11
- package/dist/chunks/{file-retention-2mrk5sk4.js → websearch-3rgj9tjs.js} +27 -27
- package/dist/chunks/{file-retention-pp47ehpg.js → websearch-3z074cxn.js} +7 -7
- package/dist/chunks/{file-retention-40za9wsf.js → websearch-40za9wsf.js} +2 -2
- package/dist/chunks/{file-retention-vq7nwj9a.js → websearch-4a126rg5.js} +24 -24
- package/dist/chunks/{file-retention-qv2ex6zx.js → websearch-4c9adx7x.js} +4 -4
- package/dist/chunks/{file-retention-rmd2jjvw.js → websearch-4hjg18t3.js} +4 -4
- package/dist/chunks/{file-retention-qcv3trs9.js → websearch-4jv1qxwj.js} +7 -7
- package/dist/chunks/{file-retention-06443jab.js → websearch-4p8v6gf7.js} +3 -3
- package/dist/chunks/{file-retention-jz4cjtb2.js → websearch-4r4bnvcy.js} +4 -4
- package/dist/chunks/{file-retention-gnswcmy6.js → websearch-4snbakks.js} +4 -4
- package/dist/chunks/{file-retention-4v008n1t.js → websearch-4v008n1t.js} +1 -1
- package/dist/chunks/{file-retention-7ax5pvs2.js → websearch-4x7cszc9.js} +20 -20
- package/dist/chunks/{file-retention-4xvmh7wp.js → websearch-4xvmh7wp.js} +3 -3
- package/dist/chunks/{file-retention-wvskh021.js → websearch-53b428tw.js} +11 -11
- package/dist/chunks/{file-retention-etc4v71r.js → websearch-53xcczwb.js} +10 -10
- package/dist/chunks/{file-retention-10s4rp80.js → websearch-54mwpwnj.js} +8 -8
- package/dist/chunks/{file-retention-bar9hexn.js → websearch-584q6htd.js} +6 -6
- package/dist/chunks/{file-retention-2y5s3d4p.js → websearch-5fjdabgp.js} +15 -15
- package/dist/chunks/{file-retention-5m9w47nd.js → websearch-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-retention-spxhva7x.js → websearch-5mmnsyp9.js} +13 -13
- package/dist/chunks/{file-retention-wyzcntk3.js → websearch-5pr32gd7.js} +37 -37
- package/dist/chunks/{file-retention-5e27t7kq.js → websearch-601m2pka.js} +31 -31
- package/dist/chunks/{file-retention-n0wndcqz.js → websearch-60ndzxv8.js} +33 -33
- package/dist/chunks/{file-retention-zvp9t4zy.js → websearch-61m88qqz.js} +33 -33
- package/dist/chunks/{file-retention-j1jygztj.js → websearch-67gksmdf.js} +30 -30
- package/dist/chunks/{file-retention-haz7d3nj.js → websearch-68k8pcn2.js} +16 -16
- package/dist/chunks/{file-retention-7p5j3bg8.js → websearch-6bqp8z2s.js} +17 -17
- package/dist/chunks/{file-retention-h1eg3vk4.js → websearch-6dbnd2pd.js} +24 -24
- package/dist/chunks/{file-retention-6esdw8yj.js → websearch-6esdw8yj.js} +1 -1
- package/dist/chunks/{file-retention-fjbza28h.js → websearch-6jm1rnt9.js} +75 -75
- package/dist/chunks/{file-retention-6pjqjmy2.js → websearch-6pjqjmy2.js} +1 -1
- package/dist/chunks/{file-retention-c03k9zs8.js → websearch-6rg7kjpy.js} +28 -28
- package/dist/chunks/{file-retention-vrcsa8qx.js → websearch-6twykydk.js} +9 -9
- package/dist/chunks/{file-retention-nrb1vmgh.js → websearch-6zrr0fnw.js} +25 -25
- package/dist/chunks/{file-retention-cebdmmc8.js → websearch-74m3x80w.js} +7 -7
- package/dist/chunks/{file-retention-nah043kf.js → websearch-770pw0s1.js} +4 -4
- package/dist/chunks/{file-retention-sjx4qwkt.js → websearch-77mes9hg.js} +13 -13
- package/dist/chunks/{file-retention-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-bx2edf7r.js → websearch-7jz0dh2k.js} +16 -16
- package/dist/chunks/{file-retention-ap543zt0.js → websearch-7vftsjfj.js} +23 -23
- package/dist/chunks/{file-retention-7w2ypzdf.js → websearch-7w2ypzdf.js} +1 -1
- package/dist/chunks/{file-retention-v2bxwf46.js → websearch-85sv36r4.js} +32 -32
- package/dist/chunks/{file-retention-b69pzmrp.js → websearch-876de6v3.js} +29 -29
- package/dist/chunks/{file-retention-jff6x0jb.js → websearch-8emm9fy9.js} +1 -1
- package/dist/chunks/{file-retention-h1y7dhnp.js → websearch-8rf240hq.js} +9 -9
- package/dist/chunks/{file-retention-8q24scts.js → websearch-8t9b736e.js} +17 -17
- package/dist/chunks/{file-retention-8wtp7s3z.js → websearch-8wtp7s3z.js} +1 -1
- package/dist/chunks/{file-retention-91rj84md.js → websearch-91rj84md.js} +1 -1
- package/dist/chunks/{file-retention-998yhzzq.js → websearch-998yhzzq.js} +3 -3
- package/dist/chunks/{file-retention-12vgd738.js → websearch-99v8e8rn.js} +4 -4
- package/dist/chunks/{file-retention-sgj3v8j3.js → websearch-9hj5qrya.js} +18 -18
- package/dist/chunks/{file-retention-96zt377w.js → websearch-9yt3qsdq.js} +33 -33
- package/dist/chunks/{file-retention-ncfxqt3s.js → websearch-a6959n1g.js} +10 -10
- package/dist/chunks/{file-retention-jj9caqwr.js → websearch-a7hcemwv.js} +8 -8
- package/dist/chunks/{file-retention-6ejhvxx1.js → websearch-aamv54pf.js} +32 -32
- package/dist/chunks/{file-retention-e7h3kv1s.js → websearch-adcxthm4.js} +27 -27
- package/dist/chunks/{file-retention-b50rsrab.js → websearch-afmnpta1.js} +5 -5
- package/dist/chunks/{file-retention-y81yjmmg.js → websearch-ahjrynj8.js} +16 -16
- package/dist/chunks/{file-retention-3js5sq8v.js → websearch-an558sqv.js} +4 -4
- package/dist/chunks/{file-retention-ayjs7tqn.js → websearch-ayjs7tqn.js} +2 -2
- package/dist/chunks/{file-retention-b0mv4wxm.js → websearch-b0mv4wxm.js} +2 -2
- package/dist/chunks/{file-retention-x43as62j.js → websearch-b5yc11pg.js} +17 -17
- package/dist/chunks/{file-retention-8v2hjwdb.js → websearch-b65mwzbx.js} +23 -23
- package/dist/chunks/{file-retention-27g2d1zk.js → websearch-b6ft8j34.js} +9 -9
- package/dist/chunks/{file-retention-5nnwax6m.js → websearch-b6vsg801.js} +5 -5
- package/dist/chunks/{file-retention-nf4f45p9.js → websearch-b868c8d8.js} +34 -34
- package/dist/chunks/{file-retention-kfd0jx8z.js → websearch-b87x680z.js} +17 -17
- package/dist/chunks/{file-retention-bg38yaka.js → websearch-bc0ymgk0.js} +43 -43
- package/dist/chunks/{file-retention-pm973k6d.js → websearch-befe4cf3.js} +4 -4
- package/dist/chunks/{file-retention-ar2j3j0f.js → websearch-bjhzkqyk.js} +4 -4
- package/dist/chunks/{file-retention-xvs21e7s.js → websearch-bn7kdvhq.js} +11 -11
- package/dist/chunks/{file-retention-vdrf2z40.js → websearch-bne87zw5.js} +25 -25
- package/dist/chunks/{file-retention-bstexjd6.js → websearch-bstexjd6.js} +1 -1
- package/dist/chunks/{file-retention-rw5cqjms.js → websearch-bxfrdttp.js} +30 -30
- package/dist/chunks/{file-retention-gsgdtt07.js → websearch-c3b0e464.js} +20 -20
- package/dist/chunks/{file-retention-c3cfh5w6.js → websearch-c3cfh5w6.js} +2 -2
- package/dist/chunks/{file-retention-be4vgese.js → websearch-c6r66q4n.js} +5 -5
- package/dist/chunks/{file-retention-na0a39nw.js → websearch-c9erfsw0.js} +43 -43
- package/dist/chunks/{file-retention-w1j6kydb.js → websearch-ceeb7cqk.js} +14 -14
- package/dist/chunks/{file-retention-78etnvtx.js → websearch-cv8jg5mf.js} +11 -11
- package/dist/chunks/{file-retention-nk9akxx5.js → websearch-cz1vwcws.js} +2 -2
- package/dist/chunks/{file-retention-tth2ngyv.js → websearch-czcebxpq.js} +60 -60
- package/dist/chunks/{file-retention-etzytfjk.js → websearch-d0ctn9ee.js} +21 -21
- package/dist/chunks/{file-retention-8jv5e0ry.js → websearch-d1dxzg06.js} +2 -2
- package/dist/chunks/{file-retention-c9t2ty9q.js → websearch-d2887f8n.js} +4 -4
- package/dist/chunks/{file-retention-d4v9tmah.js → websearch-d4v9tmah.js} +2 -2
- package/dist/chunks/{file-retention-nm20qxyr.js → websearch-d7qtxm9r.js} +18 -18
- package/dist/chunks/{file-retention-706d41vq.js → websearch-da9th9a0.js} +17 -17
- package/dist/chunks/{file-retention-wbs5jnf2.js → websearch-ddj2qmc2.js} +7 -7
- package/dist/chunks/{file-retention-remxw044.js → websearch-dhww0s6x.js} +1 -1
- package/dist/chunks/{file-retention-tpdxm5tk.js → websearch-dkcjkp08.js} +6 -6
- package/dist/chunks/{file-retention-n2zgan0r.js → websearch-dmk8nbcm.js} +8 -8
- package/dist/chunks/{file-retention-qada39n4.js → websearch-dswfp19d.js} +3 -3
- package/dist/chunks/{file-retention-0t1mekc8.js → websearch-e14ep8c2.js} +3 -3
- package/dist/chunks/{file-retention-fy85b4j6.js → websearch-e1g8z5n0.js} +9 -9
- package/dist/chunks/{file-retention-h401316e.js → websearch-e4k6zsy1.js} +45 -45
- package/dist/chunks/{file-retention-e834z07m.js → websearch-e834z07m.js} +1 -1
- package/dist/chunks/{file-retention-sbexhbnh.js → websearch-eb0nfaz4.js} +11 -11
- package/dist/chunks/{file-retention-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-6phpkkwx.js → websearch-efz7hhzt.js} +8 -8
- package/dist/chunks/{file-retention-wz1jcdgb.js → websearch-ejgxm2nm.js} +19 -19
- package/dist/chunks/{file-retention-vmfhgzt5.js → websearch-eqmd2tfz.js} +7 -7
- package/dist/chunks/{file-retention-10jjfj8e.js → websearch-eraf7cqm.js} +33 -33
- package/dist/chunks/{file-retention-yh5vc5ym.js → websearch-etj7xr5r.js} +25 -25
- package/dist/chunks/{file-retention-41ae5eq3.js → websearch-ezdmt8g7.js} +5 -5
- package/dist/chunks/{file-retention-m463fjkb.js → websearch-ezejdjmf.js} +10 -10
- package/dist/chunks/{file-retention-fffv3p7h.js → websearch-fffv3p7h.js} +1 -1
- package/dist/chunks/{file-retention-k5qr9t5z.js → websearch-fmnjzv27.js} +5 -5
- package/dist/chunks/{file-retention-p4j299q5.js → websearch-fq91yvwf.js} +17 -17
- package/dist/chunks/{file-retention-6bqt0z5z.js → websearch-fv6att8a.js} +12 -12
- package/dist/chunks/{file-retention-x3t9xer4.js → websearch-fvc4bqe2.js} +5 -5
- package/dist/chunks/{file-retention-v70qecbj.js → websearch-fz7prppb.js} +13 -13
- package/dist/chunks/{file-retention-wr3re1en.js → websearch-fznmdakp.js} +4 -4
- package/dist/chunks/{file-retention-jtgyhacv.js → websearch-g4fsskpn.js} +24 -24
- package/dist/chunks/{file-retention-g5h9c0rr.js → websearch-g5h9c0rr.js} +2 -2
- package/dist/chunks/{file-retention-ny5fjnrw.js → websearch-g6wnqzhb.js} +19 -19
- package/dist/chunks/{file-retention-aydsvzbb.js → websearch-ga92ybw9.js} +11 -11
- package/dist/chunks/{file-retention-8rzgfn7k.js → websearch-gecnmrws.js} +11 -11
- package/dist/chunks/{file-retention-t5qy80th.js → websearch-gjw9pjem.js} +18 -18
- package/dist/chunks/{file-retention-58j32a3p.js → websearch-gnk1ngs3.js} +20 -20
- package/dist/chunks/{file-retention-bjec6aaf.js → websearch-gnqtsnxp.js} +19 -19
- package/dist/chunks/{file-retention-51g9mfss.js → websearch-gyz3azbf.js} +12 -12
- package/dist/chunks/{file-retention-mh30raav.js → websearch-hch4wa3n.js} +4 -4
- package/dist/chunks/{file-retention-wetwfxab.js → websearch-hswty8r3.js} +24 -24
- package/dist/chunks/{file-retention-wzwsv8q3.js → websearch-hvwvq3df.js} +8 -8
- package/dist/chunks/{file-retention-g6hpx9wf.js → websearch-hwyh2kpq.js} +11 -11
- package/dist/chunks/{file-retention-8d2bz6m6.js → websearch-hy8c1z76.js} +4 -4
- package/dist/chunks/{file-retention-mtpeagzc.js → websearch-hzrfc1p4.js} +3 -3
- package/dist/chunks/{file-retention-j113cymg.js → websearch-j113cymg.js} +1 -1
- package/dist/chunks/{file-retention-2fbg880x.js → websearch-j6a70pje.js} +50 -50
- package/dist/chunks/{file-retention-hamx4eyd.js → websearch-j82mhg5v.js} +11 -11
- package/dist/chunks/{file-retention-y2tacs4v.js → websearch-jneg3k74.js} +8 -8
- package/dist/chunks/{file-retention-k814nvkf.js → websearch-k814nvkf.js} +1 -1
- package/dist/chunks/{file-retention-ex2ghmgq.js → websearch-kb4gstwj.js} +5 -5
- package/dist/chunks/{file-retention-kkgp9ksj.js → websearch-kbjsyctr.js} +29 -29
- package/dist/chunks/{file-retention-4944f0f3.js → websearch-kndc5src.js} +3 -3
- package/dist/chunks/{file-retention-jy10t676.js → websearch-kp0e8qdv.js} +23 -23
- package/dist/chunks/{file-retention-m1714858.js → websearch-m1714858.js} +1 -1
- package/dist/chunks/{file-retention-bn42ez4f.js → websearch-m8gc8z80.js} +15 -15
- package/dist/chunks/{file-retention-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-maspj1v3.js → websearch-maspj1v3.js} +1 -1
- package/dist/chunks/{file-retention-0pv52n9j.js → websearch-mfwfc967.js} +5 -5
- package/dist/chunks/{file-retention-1mn7gzbb.js → websearch-mjxc5aj5.js} +46 -46
- package/dist/chunks/{file-retention-t9mb6c21.js → websearch-mmqtdvrn.js} +4 -4
- package/dist/chunks/{file-retention-1b000e53.js → websearch-mptby4ra.js} +46 -46
- package/dist/chunks/websearch-ms1v96r1.js +257 -0
- package/dist/chunks/{file-retention-c8666r4c.js → websearch-mt3ysty9.js} +3 -3
- package/dist/chunks/{file-retention-kd261f9v.js → websearch-mvx17366.js} +11 -11
- package/dist/chunks/{file-retention-x6v8tecr.js → websearch-mzw1ndaz.js} +75 -75
- package/dist/chunks/{file-retention-n0p0277s.js → websearch-n0p0277s.js} +1 -1
- package/dist/chunks/{file-retention-1thmyanr.js → websearch-n7hthk3p.js} +25 -25
- package/dist/chunks/{file-retention-jbkw413w.js → websearch-n7wnam13.js} +8 -8
- package/dist/chunks/{file-retention-d1fhw6xp.js → websearch-nbv85aqk.js} +14 -14
- package/dist/chunks/{file-retention-90h4gxms.js → websearch-negnaxrt.js} +18 -18
- package/dist/chunks/{file-retention-x3xjyz42.js → websearch-neyf1ckr.js} +11 -11
- package/dist/chunks/{file-retention-a8qqmhn7.js → websearch-nq3mvejp.js} +7 -7
- package/dist/chunks/{file-retention-s9zqy389.js → websearch-nqaab5fx.js} +8 -8
- package/dist/chunks/{file-retention-tthyd1ww.js → websearch-nzcs0wzz.js} +10 -10
- package/dist/chunks/{file-retention-p015t6z3.js → websearch-p015t6z3.js} +2 -2
- package/dist/chunks/{file-retention-p7vhpwh8.js → websearch-p7vhpwh8.js} +1 -1
- package/dist/chunks/{file-retention-vw5yqba1.js → websearch-pbjsg7m1.js} +21 -21
- package/dist/chunks/{file-retention-pc1v25hk.js → websearch-pc1v25hk.js} +1 -1
- package/dist/chunks/{file-retention-j22gxa80.js → websearch-pd0633z0.js} +23 -23
- package/dist/chunks/{file-retention-9e6thw54.js → websearch-pk0v2zct.js} +19 -19
- package/dist/chunks/{file-retention-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-pjw5exqh.js → websearch-pv4tdx85.js} +11 -11
- package/dist/chunks/{file-retention-zjrmgn7z.js → websearch-pvn3retk.js} +15 -15
- package/dist/chunks/{file-retention-zfcxpxqg.js → websearch-pyg2ad4d.js} +49 -49
- package/dist/chunks/{file-retention-3xbbjsgy.js → websearch-q3bgpfy7.js} +2 -2
- package/dist/chunks/{file-retention-j4qs9z9f.js → websearch-q3vt6pnc.js} +12 -12
- package/dist/chunks/{file-retention-y31s63n5.js → websearch-q5ksxkha.js} +6 -6
- package/dist/chunks/{file-retention-3xv5yes5.js → websearch-q6bn7qw5.js} +6 -6
- package/dist/chunks/{file-retention-fvgj1da1.js → websearch-qcf9sep0.js} +7 -7
- package/dist/chunks/{file-retention-dx9hwm58.js → websearch-qfw0te7b.js} +15 -15
- package/dist/chunks/{file-retention-nbkd2rx6.js → websearch-qhsybjre.js} +12 -12
- package/dist/chunks/{file-retention-qjgzc4b4.js → websearch-qjgzc4b4.js} +1 -1
- package/dist/chunks/{file-retention-895yj7sv.js → websearch-qtmq7hg9.js} +38 -38
- package/dist/chunks/{file-retention-yszz6e3t.js → websearch-qvswfh9d.js} +25 -25
- package/dist/chunks/{file-retention-5tdnk8gt.js → websearch-qyrktak0.js} +30 -30
- package/dist/chunks/{file-retention-r0yr0wbs.js → websearch-r0yr0wbs.js} +1 -1
- package/dist/chunks/{file-retention-a1kcf5d2.js → websearch-r5q4n18f.js} +9 -9
- package/dist/chunks/{file-retention-rb9dy4dg.js → websearch-rb9dy4dg.js} +1 -1
- package/dist/chunks/{file-retention-j21s6pys.js → websearch-rjbe0a9e.js} +12 -12
- package/dist/chunks/{file-retention-8h66aeq1.js → websearch-rsdttbp5.js} +13 -13
- package/dist/chunks/{file-retention-rt5dr6hb.js → websearch-rt5dr6hb.js} +1 -1
- package/dist/chunks/{file-retention-8y08emeq.js → websearch-rv7ddw0n.js} +16 -16
- package/dist/chunks/{file-retention-xcbr4qhr.js → websearch-rwf9r3m0.js} +19 -19
- package/dist/chunks/{file-retention-nkr5r85d.js → websearch-rxrz6b15.js} +2 -2
- package/dist/chunks/{file-retention-81xmdkgf.js → websearch-sc8entjg.js} +9 -9
- package/dist/chunks/{file-retention-yyqm007w.js → websearch-sepw9312.js} +7 -7
- package/dist/chunks/{file-retention-0syxcydp.js → websearch-sf4dycwn.js} +9 -9
- package/dist/chunks/{file-retention-r2jew814.js → websearch-sfkj0ta1.js} +5 -5
- package/dist/chunks/{file-retention-t6qzkm7d.js → websearch-shnwrs1k.js} +34 -34
- package/dist/chunks/{file-retention-jjyvd6es.js → websearch-shvrd9z9.js} +30 -30
- package/dist/chunks/{file-retention-sqjzf8x2.js → websearch-sqjzf8x2.js} +1 -1
- package/dist/chunks/{file-retention-hmhshprh.js → websearch-sy9xwmw1.js} +8 -8
- package/dist/chunks/{file-retention-7b6m6kjp.js → websearch-syvntbhr.js} +21 -21
- package/dist/chunks/{file-retention-jv443j8m.js → websearch-t0h12fke.js} +14 -14
- package/dist/chunks/{file-retention-d2ckxhpm.js → websearch-t2c8c6tj.js} +11 -11
- package/dist/chunks/{file-retention-tczq8hjw.js → websearch-tczq8hjw.js} +1 -1
- package/dist/chunks/{file-retention-bbfkmt36.js → websearch-tdpgt7wh.js} +20 -20
- package/dist/chunks/{file-retention-vb1h3fk1.js → websearch-tez9md4y.js} +3 -3
- package/dist/chunks/{file-retention-v3vpydwx.js → websearch-tgsxr5er.js} +20 -20
- package/dist/chunks/{file-retention-qx10fapg.js → websearch-tn5rj4h4.js} +21 -21
- package/dist/chunks/{file-retention-0gka690g.js → websearch-tnqzh63d.js} +4 -4
- package/dist/chunks/{file-retention-tw8zr1ps.js → websearch-tw8zr1ps.js} +1 -1
- package/dist/chunks/{file-retention-twv2r8f4.js → websearch-twv2r8f4.js} +2 -2
- package/dist/chunks/{file-retention-9aytyba7.js → websearch-v2aqy3r9.js} +11 -11
- package/dist/chunks/{file-retention-v2r1d0zg.js → websearch-v2r1d0zg.js} +1 -1
- package/dist/chunks/{file-retention-52m7r17y.js → websearch-vbymnfc5.js} +14 -14
- package/dist/chunks/{file-retention-vd3b3yk9.js → websearch-vd3b3yk9.js} +1 -1
- package/dist/chunks/{file-retention-zjzg4f6c.js → websearch-ve5gzmd5.js} +1 -1
- package/dist/chunks/{file-retention-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-byrp127m.js → websearch-vgr3c4a7.js} +4 -4
- package/dist/chunks/{file-retention-a9kms1wj.js → websearch-vnmgdpj6.js} +2 -2
- package/dist/chunks/{file-retention-s774txbb.js → websearch-vnntc3sm.js} +35 -35
- package/dist/chunks/{file-retention-z781txa6.js → websearch-vq142dc8.js} +8 -8
- package/dist/chunks/{file-retention-fx2h2ek3.js → websearch-vs6d5gmb.js} +4 -4
- package/dist/chunks/{file-retention-40x2gp1a.js → websearch-vy9rjjkt.js} +18 -18
- package/dist/chunks/{file-retention-v3t7qrd6.js → websearch-vz1a888q.js} +181 -181
- package/dist/chunks/{file-retention-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-76cb1hcw.js → websearch-w8qtt4th.js} +4 -4
- package/dist/chunks/{file-retention-an0ed0qm.js → websearch-w9gfj7y9.js} +24 -24
- package/dist/chunks/{file-retention-wakvkjy4.js → websearch-wakvkjy4.js} +1 -1
- package/dist/chunks/{file-retention-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-b4ay2ffd.js → websearch-wfewkgqg.js} +39 -39
- package/dist/chunks/{file-retention-e5qrk7kc.js → websearch-wkpxpnd1.js} +33 -33
- package/dist/chunks/{file-retention-8775xmr7.js → websearch-xazjtzbh.js} +15 -15
- package/dist/chunks/{file-retention-xv753k3w.js → websearch-xfbpcgb3.js} +23 -23
- package/dist/chunks/{file-retention-fyg8cwdt.js → websearch-xqqxjzgs.js} +18 -18
- package/dist/chunks/{file-retention-vq1ppevj.js → websearch-xrc3640n.js} +8 -8
- package/dist/chunks/{file-retention-rqbwb7q3.js → websearch-y22e2amb.js} +15 -15
- package/dist/chunks/{file-retention-8q4csfv6.js → websearch-y4kbxhdq.js} +8 -8
- package/dist/chunks/{file-retention-2yeqtm01.js → websearch-y605yc6m.js} +23 -23
- package/dist/chunks/{file-retention-yb20nhc3.js → websearch-yb20nhc3.js} +1 -1
- package/dist/chunks/{file-retention-yg7ytxzr.js → websearch-yg7ytxzr.js} +2 -2
- package/dist/chunks/{file-retention-dhka8w8f.js → websearch-ygqqsqxe.js} +3 -3
- package/dist/chunks/{file-retention-wj0whgje.js → websearch-yhta6zhb.js} +8 -8
- package/dist/chunks/{file-retention-yydqqga9.js → websearch-yydqqga9.js} +1 -1
- package/dist/chunks/{file-retention-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-z38nccrw.js → websearch-z38nccrw.js} +1 -1
- package/dist/chunks/{file-retention-wkcmpner.js → websearch-z41z05dk.js} +6 -6
- package/dist/chunks/{file-retention-sdgwjry1.js → websearch-z7w4m9jf.js} +43 -43
- package/dist/chunks/{file-retention-zkg84ctx.js → websearch-zkg84ctx.js} +1 -1
- package/dist/chunks/{file-retention-9gkymt4j.js → websearch-zkgq49d1.js} +4 -4
- package/dist/chunks/{file-retention-pd5s7czc.js → websearch-zpe8k49a.js} +11 -11
- package/dist/chunks/{file-retention-4rnx58kd.js → websearch-zsgey489.js} +5 -5
- package/dist/chunks/{file-retention-e45fk36t.js → websearch-ztf6n3de.js} +4 -4
- package/dist/chunks/{file-retention-a6zs52qt.js → websearch-zxxqm14y.js} +14 -14
- package/dist/chunks/{file-retention-hvtqj62d.js → websearch-zzfxyc91.js} +28 -28
- package/dist/chunks/{file-retention-nk9n5r8p.js → websearch-zzhs96fs.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +87 -87
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +74 -74
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +153 -153
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +99 -99
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +4 -4
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +162 -162
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +3 -3
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/file-retention-0y56atyb.js +0 -257
- package/dist/chunks/file-retention-6zjm2phc.js +0 -18
- package/dist/chunks/file-retention-x90fzfq6.js +0 -517
- /package/dist/chunks/{file-retention-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → websearch-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2bv980vf.js → websearch-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5fjb7ams.js → websearch-5fjb7ams.js} +0 -0
- /package/dist/chunks/{file-retention-5qd3pb7m.js → websearch-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → websearch-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-84wd9syh.js → websearch-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a058387c.js → websearch-a058387c.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hcxmzztb.js → websearch-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jze0r7bz.js → websearch-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-m18g726c.js → websearch-m18g726c.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-pkyv6v7h.js → websearch-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-ve7vex1e.js → websearch-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wjj7prxr.js → websearch-wjj7prxr.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → websearch-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-q3bgpfy7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./websearch-c9erfsw0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service14
|
|
9
|
+
} from "./websearch-neyf1ckr.js";
|
|
10
10
|
import {
|
|
11
11
|
make10
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-pc1v25hk.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-6pjqjmy2.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./websearch-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin39
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,11 +29,11 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin39 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service48;
|
|
36
|
+
const formatter = yield* Service14;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const location = yield* Service82;
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin39, exports_formatter };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/environment/unavailable.ts
|
|
6
6
|
var exports_unavailable = {};
|
|
7
7
|
__export(exports_unavailable, {
|
|
8
8
|
EnvironmentUnavailable: () => exports_unavailable,
|
|
9
|
-
layer: () =>
|
|
9
|
+
layer: () => layer5,
|
|
10
10
|
spawner: () => spawner2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Layer, PlatformError } from "effect";
|
|
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
|
|
|
17
17
|
method: "spawn",
|
|
18
18
|
description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
|
|
19
19
|
})));
|
|
20
|
-
var
|
|
20
|
+
var layer5 = Layer.succeed(ChildProcessSpawner, spawner2);
|
|
21
21
|
|
|
22
|
-
export { spawner2,
|
|
22
|
+
export { spawner2, layer5, exports_unavailable };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service49,
|
|
3
|
+
node52
|
|
4
|
+
} from "./websearch-negnaxrt.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-q3bgpfy7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service48,
|
|
11
|
+
node51
|
|
12
|
+
} from "./websearch-c9erfsw0.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-6esdw8yj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service10,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer8,
|
|
28
|
+
node: () => node12
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service10 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer8 = Layer.effect(Service10, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service48;
|
|
40
|
+
const watcher = yield* Service49;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service82;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service10.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node12 = makeLocationNode({
|
|
74
|
+
service: Service10,
|
|
75
|
+
layer: layer8,
|
|
76
|
+
deps: [node51, FSUtil.node, node52, node86]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service10,
|
|
80
|
+
layer: Layer.succeed(Service10, Service10.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service10, layer8, node12, empty2, exports_source };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./websearch-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,64 +1,64 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-4p8v6gf7.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service85,
|
|
8
8
|
node89
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-vgr3c4a7.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
update2
|
|
18
|
+
} from "./websearch-b6vsg801.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./websearch-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./websearch-034tev2y.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./websearch-998yhzzq.js";
|
|
31
31
|
import {
|
|
32
32
|
apply2,
|
|
33
33
|
initialize3,
|
|
34
34
|
advanceEpoch2,
|
|
35
35
|
rewind2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./websearch-zkgq49d1.js";
|
|
37
37
|
import {
|
|
38
38
|
decodeMessageRowSync2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./websearch-ddj2qmc2.js";
|
|
40
40
|
import {
|
|
41
41
|
projectAdmitted2,
|
|
42
42
|
projectDelivered2,
|
|
43
43
|
projectCancelled2,
|
|
44
44
|
projectDeliveryChanged2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./websearch-hswty8r3.js";
|
|
46
46
|
import {
|
|
47
47
|
initialize2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./websearch-qfw0te7b.js";
|
|
49
49
|
import {
|
|
50
50
|
Slug2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./websearch-gebd4c9n.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./websearch-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/projector.ts
|
|
57
57
|
var exports_projector = {};
|
|
58
58
|
__export(exports_projector, {
|
|
59
59
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
60
60
|
SessionProjector: () => exports_projector,
|
|
61
|
-
node: () =>
|
|
61
|
+
node: () => node23
|
|
62
62
|
});
|
|
63
63
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
64
64
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -262,7 +262,7 @@ function run(db, event) {
|
|
|
262
262
|
updateCompaction: updateMessage,
|
|
263
263
|
appendMessage
|
|
264
264
|
};
|
|
265
|
-
yield*
|
|
265
|
+
yield* update2(adapter, event);
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
268
|
function insertMessage(db, event, message) {
|
|
@@ -482,6 +482,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
482
482
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
483
483
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
484
484
|
}));
|
|
485
|
-
var
|
|
485
|
+
var node23 = makeGlobalNode({ name: "session-projector", layer, deps: [node89, node90] });
|
|
486
486
|
|
|
487
|
-
export { SessionAlreadyProjected2,
|
|
487
|
+
export { SessionAlreadyProjected2, node23, exports_projector };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./websearch-ejgxm2nm.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
11
|
var exports_agent = {};
|
|
12
12
|
__export(exports_agent, {
|
|
13
13
|
AgentPlugin: () => exports_agent,
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin8
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -57,7 +57,7 @@ Rules:
|
|
|
57
57
|
- Never ask questions or add new questions
|
|
58
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
59
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
60
|
-
var
|
|
60
|
+
var Plugin8 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -67,32 +67,32 @@ var Plugin14 = define({
|
|
|
67
67
|
item.mode = "primary";
|
|
68
68
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
69
69
|
});
|
|
70
|
-
editor.update(
|
|
70
|
+
editor.update(ID8.make("general"), (item) => {
|
|
71
71
|
item.name = Name3.make("General");
|
|
72
72
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
73
73
|
item.mode = "subagent";
|
|
74
74
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
75
75
|
});
|
|
76
|
-
editor.update(
|
|
76
|
+
editor.update(ID8.make("explore"), (item) => {
|
|
77
77
|
item.name = Name3.make("Explore");
|
|
78
78
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
79
79
|
item.system = PROMPT_EXPLORE;
|
|
80
80
|
item.mode = "subagent";
|
|
81
81
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
82
82
|
});
|
|
83
|
-
editor.update(
|
|
83
|
+
editor.update(ID8.make("compaction"), (item) => {
|
|
84
84
|
item.name = Name3.make("Compaction");
|
|
85
85
|
item.mode = "primary";
|
|
86
86
|
item.hidden = true;
|
|
87
87
|
});
|
|
88
|
-
editor.update(
|
|
88
|
+
editor.update(ID8.make("title"), (item) => {
|
|
89
89
|
item.name = Name3.make("Title");
|
|
90
90
|
item.mode = "primary";
|
|
91
91
|
item.hidden = true;
|
|
92
92
|
item.system = PROMPT_TITLE;
|
|
93
93
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
94
94
|
});
|
|
95
|
-
editor.update(
|
|
95
|
+
editor.update(ID8.make("summary"), (item) => {
|
|
96
96
|
item.name = Name3.make("Summary");
|
|
97
97
|
item.mode = "primary";
|
|
98
98
|
item.hidden = true;
|
|
@@ -103,4 +103,4 @@ var Plugin14 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin8, exports_agent };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Plugin3
|
|
3
|
-
} from "./file-retention-wzwsv8q3.js";
|
|
4
|
-
import {
|
|
5
|
-
Plugin9
|
|
6
|
-
} from "./file-retention-9wrzmk82.js";
|
|
7
1
|
import {
|
|
8
2
|
Plugin6
|
|
9
|
-
} from "./
|
|
3
|
+
} from "./websearch-hvwvq3df.js";
|
|
10
4
|
import {
|
|
11
5
|
Plugin4
|
|
12
|
-
} from "./
|
|
6
|
+
} from "./websearch-3bp5jjvw.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin7
|
|
9
|
+
} from "./websearch-sc8entjg.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin3
|
|
12
|
+
} from "./websearch-y4kbxhdq.js";
|
|
13
13
|
import {
|
|
14
14
|
Plugin5
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-4c9adx7x.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/websearch/index.ts
|
|
18
18
|
var WebSearchPlugins2 = [
|
|
19
|
-
Plugin3,
|
|
20
|
-
Plugin9,
|
|
21
19
|
Plugin6,
|
|
22
20
|
Plugin4,
|
|
21
|
+
Plugin7,
|
|
22
|
+
Plugin3,
|
|
23
23
|
Plugin5
|
|
24
24
|
];
|
|
25
25
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-1y0wdj51.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info13
|
|
9
|
+
} from "./websearch-a7hcemwv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info10
|
|
12
|
+
} from "./websearch-an558sqv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info11
|
|
15
|
+
} from "./websearch-fvc4bqe2.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./websearch-p7vhpwh8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info12
|
|
21
|
+
} from "./websearch-afmnpta1.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./websearch-4r4bnvcy.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./websearch-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info10, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info11, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -440,7 +440,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
440
440
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
441
441
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
442
442
|
return [];
|
|
443
|
-
const provider = decodeValue(
|
|
443
|
+
const provider = decodeValue(Info12, raw, path, diagnostics);
|
|
444
444
|
if (provider === undefined)
|
|
445
445
|
return [];
|
|
446
446
|
const destination = providerID2(name);
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-jneg3k74.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./websearch-fffv3p7h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./websearch-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
22
|
-
update: () =>
|
|
17
|
+
var exports_instructions5 = {};
|
|
18
|
+
__export(exports_instructions5, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions5,
|
|
20
|
+
make: () => make14,
|
|
21
|
+
render: () => render3,
|
|
22
|
+
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render3(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -43,10 +43,10 @@ function render2(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render3(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -109,20 +109,20 @@ ${render2(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make14 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make21({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
122
|
-
changed:
|
|
121
|
+
initial: render3,
|
|
122
|
+
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render3, update3, make14, exports_instructions5 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID14,
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./websearch-shvrd9z9.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./websearch-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service17,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer10,
|
|
21
|
+
node: () => node19
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -37,12 +37,12 @@ class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service17 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer10 = Layer.effect(Service17, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
45
|
-
const findConnection = (provider) => integrations.get(
|
|
44
|
+
const integrations = yield* Service79;
|
|
45
|
+
const findConnection = (provider) => integrations.get(ID14.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || item.method === "key")));
|
|
46
46
|
const models = Effect.fn("Voice.models")(function* () {
|
|
47
47
|
const list = yield* Effect.forEach(Realtime.engines, (engine) => findConnection(engine.provider).pipe(Effect.map((connection) => ({
|
|
48
48
|
model: engine.model,
|
|
@@ -66,12 +66,12 @@ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
66
66
|
});
|
|
67
67
|
return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: engine.provider })));
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service17.of({ models, session });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node19 = makeLocationNode({
|
|
72
|
+
service: Service17,
|
|
73
|
+
layer: layer10,
|
|
74
|
+
deps: [node83, requestExecutor2]
|
|
75
75
|
});
|
|
76
76
|
var missingKeyMessage = {
|
|
77
77
|
openai: "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions.",
|
|
@@ -79,4 +79,4 @@ var missingKeyMessage = {
|
|
|
79
79
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export { InvalidRequestError2, UnavailableError2,
|
|
82
|
+
export { InvalidRequestError2, UnavailableError2, Service17, layer10, node19, exports_voice };
|