@opencode/core 0.0.0-dev-19644 → 0.0.0-dev-19646
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +5 -5
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-retention-mtft99cd.js → location-services-0f9afca0.js} +5 -5
- package/dist/chunks/{file-retention-4cwyw9nt.js → location-services-0jr2e6y1.js} +26 -26
- package/dist/chunks/{file-retention-7dqw4kz8.js → location-services-0jwsre1p.js} +5 -5
- package/dist/chunks/{file-retention-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-retention-x5hkbppd.js → location-services-10ggzwzy.js} +21 -21
- package/dist/chunks/location-services-10w680va.js +478 -0
- package/dist/chunks/{file-retention-4gde0705.js → location-services-12q1t22t.js} +23 -23
- package/dist/chunks/{file-retention-azpwskpm.js → location-services-139zgem4.js} +22 -22
- package/dist/chunks/{file-retention-q0qep26h.js → location-services-167waerb.js} +3 -3
- package/dist/chunks/{file-retention-r8xr0va3.js → location-services-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-retention-73tb2d7t.js → location-services-1bbkgx8g.js} +3 -3
- package/dist/chunks/{file-retention-fvezrss0.js → location-services-1ch5qaya.js} +12 -12
- package/dist/chunks/{file-retention-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-wy0sms8q.js → location-services-1dnbpee6.js} +13 -13
- package/dist/chunks/{file-retention-hekbvwg7.js → location-services-1f98cwtd.js} +38 -38
- package/dist/chunks/{file-retention-0h3rvf5y.js → location-services-1p39h8sh.js} +30 -30
- package/dist/chunks/{file-retention-283sq9eb.js → location-services-1qghmjy0.js} +9 -9
- package/dist/chunks/{file-retention-ws2pr6e8.js → location-services-1rzrj0t8.js} +11 -11
- package/dist/chunks/{file-retention-5pny8g6e.js → location-services-1sxjw9hv.js} +22 -22
- package/dist/chunks/{file-retention-2angj6gv.js → location-services-1v6wmkfd.js} +12 -12
- package/dist/chunks/{file-retention-47kcz5j6.js → location-services-1y4p7nrp.js} +9 -9
- package/dist/chunks/{file-retention-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-qg0jgkcp.js → location-services-24dd53tp.js} +9 -9
- package/dist/chunks/{file-retention-030jzqrs.js → location-services-269f66cv.js} +1 -1
- package/dist/chunks/{file-retention-q8h7q9dm.js → location-services-28tn16s0.js} +32 -32
- package/dist/chunks/{file-retention-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-7et47hrm.js → location-services-2bah9vp1.js} +13 -13
- package/dist/chunks/{file-retention-mw934p8z.js → location-services-2bmpyzcd.js} +5 -5
- package/dist/chunks/{file-retention-63e4nz8m.js → location-services-2et47t4y.js} +15 -15
- package/dist/chunks/{file-retention-15bxggqa.js → location-services-2fajfwx1.js} +9 -9
- package/dist/chunks/{file-retention-1ctxmpem.js → location-services-2q8hmj7g.js} +17 -17
- package/dist/chunks/{file-retention-krbv9b1e.js → location-services-2rrz687z.js} +13 -13
- package/dist/chunks/{file-retention-56gdpj1q.js → location-services-33w4ejhs.js} +6 -6
- package/dist/chunks/{file-retention-38pjs6q7.js → location-services-39rqm1tv.js} +43 -43
- package/dist/chunks/{file-retention-r1eewcm5.js → location-services-3d4q28mx.js} +6 -6
- package/dist/chunks/{file-retention-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-wqnexqmt.js → location-services-3s77hqr9.js} +11 -11
- package/dist/chunks/{file-retention-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-z3pw5915.js → location-services-3w2b2yj4.js} +5 -5
- package/dist/chunks/{file-retention-78d0vfx8.js → location-services-4cb531x0.js} +15 -15
- package/dist/chunks/{file-retention-6x0h2hvg.js → location-services-57ez7d0k.js} +9 -9
- package/dist/chunks/{file-retention-5c4hm403.js → location-services-5c4hm403.js} +3 -3
- package/dist/chunks/{file-retention-0e0st8s7.js → location-services-5cq9r6wf.js} +21 -21
- package/dist/chunks/{file-retention-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-bc5qqj72.js → location-services-5gg6f7ne.js} +24 -24
- package/dist/chunks/{file-retention-44d511wt.js → location-services-5n4xgvhz.js} +22 -22
- package/dist/chunks/{file-retention-espmqh47.js → location-services-5pgkrn72.js} +1 -1
- package/dist/chunks/{file-retention-e3qxr5gk.js → location-services-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-retention-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-cmwkp3r5.js → location-services-5yzzbxa7.js} +8 -8
- package/dist/chunks/{file-retention-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-xm1fs24h.js → location-services-68fytkrv.js} +29 -29
- package/dist/chunks/{file-retention-nvxqht09.js → location-services-6bsje7ws.js} +3 -3
- package/dist/chunks/{file-retention-2402vzrj.js → location-services-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-retention-q0hqxkgm.js → location-services-6hbnmab1.js} +3 -3
- package/dist/chunks/{file-retention-vc4e6k4r.js → location-services-6kkxyhkv.js} +4 -4
- package/dist/chunks/{file-retention-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-wy8b5sm2.js → location-services-6rybd781.js} +1 -1
- package/dist/chunks/{file-retention-tdme3qvq.js → location-services-6x40s7vz.js} +4 -4
- package/dist/chunks/{file-retention-pay99sa2.js → location-services-70kjx1n8.js} +28 -28
- package/dist/chunks/location-services-74b8z681.js +26 -0
- package/dist/chunks/{file-retention-52tjq29f.js → location-services-76v7th7s.js} +15 -15
- package/dist/chunks/{file-retention-6haqad0x.js → location-services-781n25pw.js} +9 -9
- package/dist/chunks/{file-retention-7ac170kv.js → location-services-7ac170kv.js} +4 -4
- package/dist/chunks/{file-retention-320y3j5b.js → location-services-7b6g25ep.js} +6 -6
- package/dist/chunks/{file-retention-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-e6d6pdps.js → location-services-7w3s9kd0.js} +4 -4
- package/dist/chunks/{file-retention-y49m3jq5.js → location-services-7xspgfqj.js} +15 -15
- package/dist/chunks/{file-retention-vyjdy1t4.js → location-services-82zyvcah.js} +9 -9
- package/dist/chunks/{file-retention-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-dk1ddre8.js → location-services-8ks451pa.js} +27 -27
- package/dist/chunks/{file-retention-8brgam58.js → location-services-8y62cfgq.js} +6 -6
- package/dist/chunks/{file-retention-8htta391.js → location-services-a36t319h.js} +8 -8
- package/dist/chunks/{file-retention-dgprnyba.js → location-services-a4w185c3.js} +35 -35
- package/dist/chunks/{file-retention-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-39qagpsx.js → location-services-adt7kv3m.js} +1 -1
- package/dist/chunks/{file-retention-vchtbmsk.js → location-services-aj9pnh4n.js} +9 -9
- package/dist/chunks/{file-retention-1ct3e436.js → location-services-atqsbchn.js} +6 -6
- package/dist/chunks/{file-retention-se8z0pj2.js → location-services-atrbvfby.js} +13 -13
- package/dist/chunks/{file-retention-776x8tr7.js → location-services-avjf5276.js} +14 -14
- package/dist/chunks/{file-retention-82zd9er4.js → location-services-azqhcxjd.js} +5 -5
- package/dist/chunks/{file-retention-a2ew8a62.js → location-services-b27vhd2z.js} +4 -4
- package/dist/chunks/{file-retention-e1j9zn8x.js → location-services-b2frq1xf.js} +9 -9
- package/dist/chunks/{file-retention-k2fzxap7.js → location-services-b3frasm9.js} +7 -7
- package/dist/chunks/{file-retention-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-80z3br0b.js → location-services-b9txhqnf.js} +24 -24
- package/dist/chunks/{file-retention-abvna2sd.js → location-services-bbpz3t8j.js} +11 -11
- package/dist/chunks/{file-retention-vf1prd4j.js → location-services-bdqj2w6e.js} +19 -19
- package/dist/chunks/{file-retention-k69na4ps.js → location-services-btnc3pk1.js} +29 -29
- package/dist/chunks/{file-retention-6rx60a99.js → location-services-bvf11d5q.js} +6 -6
- package/dist/chunks/{file-retention-kchqah57.js → location-services-bvjrvzat.js} +15 -15
- package/dist/chunks/{file-retention-f11whwgg.js → location-services-bzq0czea.js} +17 -17
- package/dist/chunks/{file-retention-pr5bwn0j.js → location-services-c09q68jz.js} +2 -2
- package/dist/chunks/{file-retention-5njbeffs.js → location-services-cdbhm1yn.js} +13 -13
- package/dist/chunks/{file-retention-grb17zcw.js → location-services-ct1qeewn.js} +86 -86
- package/dist/chunks/{file-retention-cwa6csj7.js → location-services-cwa6csj7.js} +2 -2
- package/dist/chunks/{file-retention-g515c63b.js → location-services-d5mtgc27.js} +10 -10
- package/dist/chunks/{file-retention-efpr09yf.js → location-services-deadhj81.js} +17 -17
- package/dist/chunks/{file-retention-bf0ztrs3.js → location-services-dfe8djrf.js} +4 -4
- package/dist/chunks/{file-retention-dj2t23y0.js → location-services-dj2t23y0.js} +2 -2
- package/dist/chunks/{file-retention-dbjfv9j1.js → location-services-djrp4qhb.js} +13 -13
- package/dist/chunks/{file-retention-tfpy23zn.js → location-services-dkt3e60b.js} +4 -4
- package/dist/chunks/{file-retention-dpkg50ah.js → location-services-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-retention-bb8wzrbb.js → location-services-dt2x0zh0.js} +5 -5
- package/dist/chunks/{file-retention-9sbphxp7.js → location-services-e1a1pwhq.js} +10 -10
- package/dist/chunks/{file-retention-e5nv3ght.js → location-services-e5nv3ght.js} +2 -2
- package/dist/chunks/{file-retention-vsecdp8k.js → location-services-e9qsksz7.js} +47 -47
- package/dist/chunks/{file-retention-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-k59erz6z.js → location-services-em227t39.js} +24 -24
- package/dist/chunks/{file-retention-d3dn9r6m.js → location-services-ep9bxrrg.js} +10 -10
- package/dist/chunks/{file-retention-b3qge5m1.js → location-services-escff1en.js} +28 -28
- package/dist/chunks/{file-retention-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-bzb98473.js → location-services-evfh7863.js} +32 -32
- package/dist/chunks/{file-retention-w0ay8c0v.js → location-services-ezrbh4zz.js} +16 -16
- package/dist/chunks/{file-retention-wjx4xhr2.js → location-services-f068e6wh.js} +44 -44
- package/dist/chunks/{file-retention-kk00bynn.js → location-services-f3ngv102.js} +21 -21
- package/dist/chunks/{file-retention-0e6bfx7v.js → location-services-f4rta1r6.js} +5 -5
- package/dist/chunks/{file-retention-f7tymrhk.js → location-services-fbqqrxjq.js} +47 -47
- package/dist/chunks/{file-retention-76x0exek.js → location-services-fc1cjeqt.js} +7 -7
- package/dist/chunks/{file-retention-tqkrwgse.js → location-services-ff0svapt.js} +2 -2
- package/dist/chunks/{file-retention-ched4952.js → location-services-fqnmpcgq.js} +10 -10
- package/dist/chunks/{file-retention-y180wre1.js → location-services-fr6z3a7g.js} +15 -15
- package/dist/chunks/{file-retention-wfqqa7gf.js → location-services-fvsy7c6q.js} +10 -10
- package/dist/chunks/{file-retention-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-retention-tq30t05y.js → location-services-g3kb93e8.js} +13 -13
- package/dist/chunks/{file-retention-z79d5grv.js → location-services-g6hxn58d.js} +33 -33
- package/dist/chunks/{file-retention-xvy8f8fg.js → location-services-g8pq9weq.js} +24 -24
- package/dist/chunks/{file-retention-p17m87ch.js → location-services-gc2d77n3.js} +23 -23
- package/dist/chunks/{file-retention-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-t09drp0q.js → location-services-gf19svat.js} +4 -4
- package/dist/chunks/{file-retention-cwazgnkr.js → location-services-gk2jh81v.js} +11 -11
- package/dist/chunks/{file-retention-d66a0nr4.js → location-services-gp57js1t.js} +142 -142
- package/dist/chunks/{file-retention-hb7wfmtw.js → location-services-gr09cxn6.js} +13 -13
- package/dist/chunks/{file-retention-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-retention-25dtj6av.js → location-services-gwns8bgm.js} +35 -35
- package/dist/chunks/{file-retention-sr8h7cpq.js → location-services-gx0vxm5t.js} +25 -25
- package/dist/chunks/{file-retention-qcssbjdb.js → location-services-gx3sq1pv.js} +24 -24
- package/dist/chunks/{file-retention-h03wrkyp.js → location-services-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-retention-w8y9a79x.js → location-services-h0v62rke.js} +41 -41
- package/dist/chunks/{file-retention-6ppm5kn9.js → location-services-h3vnthrd.js} +10 -10
- package/dist/chunks/{file-retention-h6r3nrb9.js → location-services-h6r3nrb9.js} +1 -1
- package/dist/chunks/{file-retention-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-0tmgye68.js → location-services-hc9acsgr.js} +9 -9
- package/dist/chunks/{file-retention-njct7pyc.js → location-services-hcp4grc4.js} +36 -36
- package/dist/chunks/{file-retention-hdnk95c8.js → location-services-hdnk95c8.js} +2 -2
- package/dist/chunks/{file-retention-b3d6gjgc.js → location-services-hdvwcw0z.js} +56 -56
- package/dist/chunks/{file-retention-dt5xmw4k.js → location-services-hg2ajb6b.js} +4 -4
- package/dist/chunks/{file-retention-zcv4gjfc.js → location-services-hjhsnn6c.js} +15 -15
- package/dist/chunks/{file-retention-sm965ndy.js → location-services-hpfvhvya.js} +8 -8
- package/dist/chunks/{file-retention-1tq060df.js → location-services-j15mfg1p.js} +4 -4
- package/dist/chunks/{file-retention-q03excpa.js → location-services-j4nftgh5.js} +8 -8
- package/dist/chunks/{file-retention-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-2cc64ex3.js → location-services-jcrjmqjq.js} +9 -9
- package/dist/chunks/{file-retention-nefkn79j.js → location-services-je647k4c.js} +12 -12
- package/dist/chunks/{file-retention-r4wafeyv.js → location-services-k5ynfrnd.js} +18 -18
- package/dist/chunks/{file-retention-xfdrc2qg.js → location-services-k9kj6xed.js} +8 -8
- package/dist/chunks/{file-retention-ec8389mk.js → location-services-keat3kjn.js} +4 -4
- package/dist/chunks/{file-retention-r5ck68vt.js → location-services-kgfzjyt4.js} +9 -9
- package/dist/chunks/{file-retention-am60j996.js → location-services-kht76ygp.js} +8 -8
- package/dist/chunks/{file-retention-2cdjst23.js → location-services-kktnm5cw.js} +9 -9
- package/dist/chunks/{file-retention-ts7n5m5a.js → location-services-kv9e5br2.js} +6 -6
- package/dist/chunks/{file-retention-mytrx3qe.js → location-services-kz603ydr.js} +23 -23
- package/dist/chunks/{file-retention-m0jqrx5p.js → location-services-m0jqrx5p.js} +2 -2
- package/dist/chunks/{file-retention-xxk5ry2v.js → location-services-m91gvp7t.js} +6 -6
- package/dist/chunks/{file-retention-cfejgvt1.js → location-services-m91p7e2t.js} +18 -18
- package/dist/chunks/{file-retention-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-gxh64nqm.js → location-services-mcfrtzmy.js} +8 -8
- package/dist/chunks/{file-retention-9jhw3ahb.js → location-services-mfe713bv.js} +11 -11
- package/dist/chunks/{file-retention-mdp4tsk4.js → location-services-mp6drm3w.js} +3 -3
- package/dist/chunks/{file-retention-j91djj78.js → location-services-mthvd3x6.js} +16 -16
- package/dist/chunks/{file-retention-kenaddax.js → location-services-myjt55zq.js} +18 -18
- package/dist/chunks/{file-retention-wv3yzfnj.js → location-services-n8bvb90d.js} +10 -10
- package/dist/chunks/{file-retention-mhfmqj3q.js → location-services-nb0n8t9k.js} +6 -6
- package/dist/chunks/{file-retention-8csq5jz1.js → location-services-ne66tkmq.js} +19 -19
- package/dist/chunks/{file-retention-mg0hvqns.js → location-services-netmb1kz.js} +24 -24
- package/dist/chunks/{file-retention-1hcx3hx9.js → location-services-np7skr3v.js} +11 -11
- package/dist/chunks/{file-retention-p4gp63td.js → location-services-nq7qqy46.js} +15 -9
- package/dist/chunks/{file-retention-eew5sq93.js → location-services-nqh98rja.js} +22 -22
- package/dist/chunks/{file-retention-p9nbetk4.js → location-services-nqm4p04r.js} +36 -36
- package/dist/chunks/{file-retention-yzmh6vm3.js → location-services-nyfcz8dg.js} +3 -3
- package/dist/chunks/{file-retention-8bjpbq0k.js → location-services-p3ayzxyn.js} +14 -14
- package/dist/chunks/{file-retention-kvw3pn7b.js → location-services-pa0gt5x9.js} +16 -16
- package/dist/chunks/{file-retention-w3pg4pjy.js → location-services-pg1wgx4z.js} +4 -4
- package/dist/chunks/{file-retention-ty00y7c1.js → location-services-ph4cn991.js} +13 -13
- package/dist/chunks/{file-retention-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/location-services-q509s3k3.js +18 -0
- package/dist/chunks/location-services-qghmpbmc.js +247 -0
- package/dist/chunks/{file-retention-qte5z7bc.js → location-services-qn4ba14w.js} +5 -5
- package/dist/chunks/{file-retention-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-cfv81dax.js → location-services-qwjmgwmn.js} +8 -8
- package/dist/chunks/{file-retention-r9mregkx.js → location-services-r9mregkx.js} +2 -2
- package/dist/chunks/{file-retention-n37c4crj.js → location-services-r9w3djhf.js} +5 -5
- package/dist/chunks/{file-retention-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-yf52dd19.js → location-services-rf569v5d.js} +3 -3
- package/dist/chunks/{file-retention-kerhshr9.js → location-services-rmm45jmv.js} +5 -5
- package/dist/chunks/{file-retention-v8q046s9.js → location-services-rnk60ejx.js} +10 -10
- package/dist/chunks/{file-retention-dwda6jd0.js → location-services-rq2ev7pp.js} +35 -35
- package/dist/chunks/{file-retention-cnfba84y.js → location-services-rrmvx1xt.js} +14 -14
- package/dist/chunks/{file-retention-64kphnzf.js → location-services-rsdf2nvv.js} +4 -4
- package/dist/chunks/{file-retention-32cd2pct.js → location-services-rwejf1ab.js} +6 -6
- package/dist/chunks/{file-retention-bdyxy7dh.js → location-services-ryaverbc.js} +10 -10
- package/dist/chunks/{file-retention-pwg06x6c.js → location-services-s2y6tv1r.js} +10 -10
- package/dist/chunks/{file-retention-66cwwmwe.js → location-services-s4mk8tc4.js} +18 -18
- package/dist/chunks/{file-retention-c9ztkm9f.js → location-services-s5gt9c9b.js} +7 -7
- package/dist/chunks/{file-retention-dj6gbf46.js → location-services-s5vpnh3h.js} +6 -6
- package/dist/chunks/{file-retention-2xm6y6tp.js → location-services-s6zy68bd.js} +1 -1
- package/dist/chunks/{file-retention-fzsywmjq.js → location-services-s7tseabv.js} +2 -2
- package/dist/chunks/{file-retention-s8d7rejh.js → location-services-s8d7rejh.js} +1 -1
- package/dist/chunks/{file-retention-avg07sbv.js → location-services-sp39rzf0.js} +23 -23
- package/dist/chunks/{file-retention-675gk2e9.js → location-services-srt412n5.js} +4 -4
- package/dist/chunks/{file-retention-jwztks0a.js → location-services-st5ykjtm.js} +11 -11
- package/dist/chunks/{file-retention-r70effxe.js → location-services-t408tbvg.js} +26 -26
- package/dist/chunks/{file-retention-c917e1ye.js → location-services-t4x8ybjh.js} +1 -1
- package/dist/chunks/{file-retention-rpg9c19m.js → location-services-t7n9q6bq.js} +4 -4
- package/dist/chunks/{file-retention-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-wcxyx4rr.js → location-services-tbp620s5.js} +26 -26
- package/dist/chunks/{file-retention-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-h74ge2a2.js → location-services-tm1heg02.js} +11 -11
- package/dist/chunks/{file-retention-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-6x3t56ym.js → location-services-v3b6g8zk.js} +16 -16
- package/dist/chunks/{file-retention-trpk0pwm.js → location-services-v4nysbcg.js} +1 -1
- package/dist/chunks/{file-retention-q9jzzx65.js → location-services-v75vanfq.js} +79 -79
- package/dist/chunks/{file-retention-1kzs76d5.js → location-services-v7yf89ty.js} +30 -30
- package/dist/chunks/{file-retention-f0n97kr3.js → location-services-v8r25ppc.js} +11 -11
- package/dist/chunks/{file-retention-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-zgqrnz3r.js → location-services-vhyp5dk4.js} +16 -16
- package/dist/chunks/{file-retention-dn8nwevp.js → location-services-vk829m9g.js} +17 -17
- package/dist/chunks/{file-retention-s8s13gpy.js → location-services-vs7hrzt9.js} +11 -11
- package/dist/chunks/{file-retention-pgstsa3r.js → location-services-vy7zhves.js} +30 -30
- package/dist/chunks/{file-retention-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-f97c0hvw.js → location-services-vzh6wn7r.js} +4 -4
- package/dist/chunks/{file-retention-edbfpfck.js → location-services-w21bzq9q.js} +6 -6
- package/dist/chunks/{file-retention-9f77mvx3.js → location-services-w3krsc1n.js} +12 -12
- package/dist/chunks/{file-retention-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-r4d7c6cg.js → location-services-w7e82c7b.js} +4 -4
- package/dist/chunks/{file-retention-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-c1180j6r.js → location-services-wk8kxcxf.js} +13 -13
- package/dist/chunks/{file-retention-spmz9ee0.js → location-services-wsd1ss6t.js} +56 -56
- package/dist/chunks/{file-retention-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-9k6ah3ay.js → location-services-xc3sk8sy.js} +34 -34
- package/dist/chunks/{file-retention-57b9ws8p.js → location-services-xfkkasph.js} +7 -7
- package/dist/chunks/{file-retention-hr2j7280.js → location-services-xgyv9tjv.js} +10 -10
- package/dist/chunks/{file-retention-6wys8vmt.js → location-services-xpqk3eh0.js} +29 -29
- package/dist/chunks/{file-retention-0q8z25ax.js → location-services-xqfzcbkh.js} +8 -8
- package/dist/chunks/{file-retention-sq7pnv40.js → location-services-xsn4scgh.js} +13 -13
- package/dist/chunks/{file-retention-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-dgfnmtzr.js → location-services-y1xhwned.js} +16 -16
- package/dist/chunks/{file-retention-0n2dkqex.js → location-services-y25vqx85.js} +28 -28
- package/dist/chunks/{file-retention-3hj581hw.js → location-services-y66019s9.js} +14 -14
- package/dist/chunks/{file-retention-fphthhwy.js → location-services-y8saezta.js} +43 -43
- package/dist/chunks/{file-retention-x8xkwwsf.js → location-services-yaw0dvfn.js} +37 -37
- package/dist/chunks/{file-retention-q564kvp8.js → location-services-ybkzn9j1.js} +11 -11
- package/dist/chunks/{file-retention-t8tp1xd4.js → location-services-ydtevv15.js} +27 -27
- package/dist/chunks/{file-retention-qsr32hwm.js → location-services-yebec9g6.js} +10 -10
- package/dist/chunks/{file-retention-rs1yzs7v.js → location-services-yjt0sm5p.js} +54 -54
- package/dist/chunks/{file-retention-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-s4enseaf.js → location-services-yrznvahk.js} +2 -2
- package/dist/chunks/{file-retention-baspsnr0.js → location-services-yv65nh8h.js} +20 -20
- package/dist/chunks/{file-retention-kd4pdhg0.js → location-services-yvnj23bv.js} +3 -3
- package/dist/chunks/{file-retention-fa2c6m02.js → location-services-ywfgr7ts.js} +9 -9
- package/dist/chunks/{file-retention-esqa9h64.js → location-services-yx32magx.js} +17 -17
- package/dist/chunks/{file-retention-eyn7p3z3.js → location-services-yz88ab0y.js} +9 -9
- package/dist/chunks/{file-retention-s1g5cvt5.js → location-services-yzvbtrh0.js} +20 -20
- package/dist/chunks/{file-retention-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-2wgckns4.js → location-services-z59fwxgv.js} +3 -3
- package/dist/chunks/{file-retention-29x78va6.js → location-services-z63w68vq.js} +6 -6
- package/dist/chunks/{file-retention-wwc60ycd.js → location-services-z7wrdhz3.js} +3 -3
- package/dist/chunks/{file-retention-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-pdyjjwcd.js → location-services-zgxes4ak.js} +2 -2
- package/dist/chunks/{file-retention-0dfw7kj5.js → location-services-zmw5anwf.js} +9 -9
- package/dist/chunks/{file-retention-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-n7a1v19n.js → location-services-zszn2v6m.js} +34 -34
- package/dist/chunks/{file-retention-tbnbgk70.js → location-services-zv3d04tz.js} +25 -25
- package/dist/chunks/{file-retention-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +78 -78
- 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 +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- 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 +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- 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 +123 -123
- 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 +82 -82
- 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 +364 -364
- 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 +93 -93
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- package/dist/git.js +10 -10
- 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 +90 -90
- 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 +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +75 -75
- 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-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +352 -352
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +126 -126
- 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 +90 -90
- 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 +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- 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/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- 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 +4 -4
- 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 +121 -121
- 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 +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- 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 +158 -158
- package/dist/plugin/sdk.js +75 -75
- 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 +346 -346
- package/dist/plugin/update.js +4 -4
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +88 -88
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- 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 +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +126 -126
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- 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 +117 -117
- 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 +228 -228
- 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 +113 -113
- package/dist/session/runner/step.js +124 -124
- 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 +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +15 -15
- 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 +82 -82
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- 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 +215 -215
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +107 -107
- 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 +11 -11
- package/dist/types/integration.d.ts +1 -0
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +7 -7
- 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 +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- 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/file-retention-6ekjhmbd.js +0 -247
- package/dist/chunks/file-retention-86f8k4a1.js +0 -478
- package/dist/chunks/file-retention-rap9a73h.js +0 -18
- package/dist/chunks/file-retention-vpz3zhr4.js +0 -26
- /package/dist/chunks/{file-retention-0mesazry.js → location-services-0mesazry.js} +0 -0
- /package/dist/chunks/{file-retention-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make15,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make15(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-dkt3e60b.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service58,
|
|
6
|
+
Event10
|
|
7
|
+
} from "./location-services-s4mk8tc4.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin46,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin46 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service81;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service58;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin22 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin46, exports_plugin };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ID14,
|
|
3
3
|
Service75,
|
|
4
4
|
node79
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-nq7qqy46.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -13,21 +13,21 @@ import {
|
|
|
13
13
|
mergeHeaders2,
|
|
14
14
|
Service74,
|
|
15
15
|
node78
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-d5mtgc27.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service52,
|
|
19
|
+
node55
|
|
20
|
+
} from "./location-services-kktnm5cw.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID5,
|
|
23
23
|
VariantID2,
|
|
24
24
|
Ref2,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service59,
|
|
26
|
+
node62
|
|
27
|
+
} from "./location-services-gx0vxm5t.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/model-resolver.ts
|
|
33
33
|
var exports_model_resolver = {};
|
|
@@ -36,15 +36,15 @@ __export(exports_model_resolver, {
|
|
|
36
36
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
37
37
|
ModelInitializationError: () => ModelInitializationError3,
|
|
38
38
|
ModelResolver: () => exports_model_resolver,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service51,
|
|
40
40
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
41
41
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
42
42
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
43
43
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
44
44
|
fromCatalogModel: () => fromCatalogModel2,
|
|
45
45
|
hasPackage: () => hasPackage2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer20,
|
|
47
|
+
node: () => node54,
|
|
48
48
|
resolveModel: () => resolveModel2,
|
|
49
49
|
withVariant: () => withVariant2
|
|
50
50
|
});
|
|
@@ -55,7 +55,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
|
55
55
|
import { Npm } from "@opencode/util/npm";
|
|
56
56
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
57
57
|
providerID: ID13,
|
|
58
|
-
modelID:
|
|
58
|
+
modelID: ID5,
|
|
59
59
|
variant: VariantID2
|
|
60
60
|
}) {
|
|
61
61
|
get message() {
|
|
@@ -65,7 +65,7 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
65
65
|
|
|
66
66
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
67
67
|
providerID: ID13,
|
|
68
|
-
modelID:
|
|
68
|
+
modelID: ID5,
|
|
69
69
|
package: Schema.String
|
|
70
70
|
}) {
|
|
71
71
|
get message() {
|
|
@@ -76,7 +76,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
|
76
76
|
|
|
77
77
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
78
78
|
providerID: ID13,
|
|
79
|
-
modelID:
|
|
79
|
+
modelID: ID5,
|
|
80
80
|
package: Schema.String,
|
|
81
81
|
detail: Schema.String
|
|
82
82
|
}) {
|
|
@@ -87,7 +87,7 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
87
87
|
|
|
88
88
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
89
89
|
providerID: ID13,
|
|
90
|
-
modelID:
|
|
90
|
+
modelID: ID5,
|
|
91
91
|
package: Schema.String,
|
|
92
92
|
phase: InitializationPhase2,
|
|
93
93
|
detail: Schema.String
|
|
@@ -99,7 +99,7 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
99
99
|
|
|
100
100
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
101
101
|
providerID: ID13,
|
|
102
|
-
modelID:
|
|
102
|
+
modelID: ID5,
|
|
103
103
|
variables: Schema.Array(Schema.String)
|
|
104
104
|
}) {
|
|
105
105
|
get message() {
|
|
@@ -109,7 +109,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
109
109
|
|
|
110
110
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
111
111
|
providerID: ID13,
|
|
112
|
-
modelID:
|
|
112
|
+
modelID: ID5,
|
|
113
113
|
route: Schema.String
|
|
114
114
|
}) {
|
|
115
115
|
get message() {
|
|
@@ -117,7 +117,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
class
|
|
120
|
+
class Service51 extends Context.Service()("@opencode/ModelResolver") {
|
|
121
121
|
}
|
|
122
122
|
var withVariant2 = (model, variantID) => {
|
|
123
123
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -257,12 +257,12 @@ var causeMessage = (cause) => {
|
|
|
257
257
|
};
|
|
258
258
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
259
259
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
260
|
-
var
|
|
260
|
+
var layer20 = Layer.effect(Service51, Effect.gen(function* () {
|
|
261
261
|
const providers = yield* Service74;
|
|
262
|
-
const models = yield*
|
|
262
|
+
const models = yield* Service59;
|
|
263
263
|
const integrations = yield* Service75;
|
|
264
264
|
const npm = yield* Npm.Service;
|
|
265
|
-
const aisdk = yield*
|
|
265
|
+
const aisdk = yield* Service52;
|
|
266
266
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
267
267
|
const provider = yield* providers.get(selected.providerID);
|
|
268
268
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -287,7 +287,7 @@ var layer21 = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
287
287
|
transport: selected.transport
|
|
288
288
|
};
|
|
289
289
|
});
|
|
290
|
-
return
|
|
290
|
+
return Service51.of({
|
|
291
291
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
292
292
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
293
293
|
if (!selected)
|
|
@@ -304,10 +304,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
304
304
|
const name = packageName2(packageName);
|
|
305
305
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
306
306
|
}
|
|
307
|
-
var
|
|
308
|
-
service:
|
|
309
|
-
layer:
|
|
310
|
-
deps: [node78,
|
|
307
|
+
var node54 = makeLocationNode({
|
|
308
|
+
service: Service51,
|
|
309
|
+
layer: layer20,
|
|
310
|
+
deps: [node78, node62, node79, Npm.node, node55]
|
|
311
311
|
});
|
|
312
312
|
|
|
313
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
313
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service51, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node54, exports_model_resolver };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-dkt3e60b.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-h6r3nrb9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./location-services-y25vqx85.js";
|
|
10
10
|
import {
|
|
11
11
|
ID14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-nq7qqy46.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
15
|
Service74
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-d5mtgc27.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-yebec9g6.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service51,
|
|
9
|
+
node54
|
|
10
|
+
} from "./location-services-xpqk3eh0.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-6bsje7ws.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service48,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node51,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service48 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service51;
|
|
77
|
+
return Service48.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node51 = makeLocationNode({ service: Service48, layer, deps: [node54] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service48, resolved2, node51, exports_model };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-dkt3e60b.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
@@ -16,10 +16,10 @@ __export(exports_command4, {
|
|
|
16
16
|
Event: () => Event7,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
18
|
Info: () => Info7,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Service: () => Service37,
|
|
21
|
+
layer: () => layer15,
|
|
22
|
+
node: () => node40
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -27,7 +27,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
27
27
|
import { Event as Event7 } from "@opencode/schema/command";
|
|
28
28
|
var Info7 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service37 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service81;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -55,7 +55,7 @@ var layer16 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service37.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer16 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node40 = makeLocationNode({
|
|
75
|
+
service: Service37,
|
|
76
|
+
layer: layer15,
|
|
77
77
|
deps: [node85]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export { Info7,
|
|
89
|
+
export { Info7, NotFoundError5, ExecutionError2, Service37, layer15, node40, exports_command4, Event7 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-yvnj23bv.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-dkt3e60b.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info30,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service76,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node80
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service76 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service82).db;
|
|
55
55
|
const bus = yield* Service81;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info30({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service76.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info30({
|
|
80
|
+
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node86, node85] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service76, node80, exports_credential };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-dkt3e60b.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-services-vhyp5dk4.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service32
|
|
10
|
+
} from "./location-services-1f98cwtd.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin24
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin24 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service78;
|
|
200
|
+
const mcp = yield* Service32;
|
|
201
201
|
const bus = yield* Service81;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin24, exports_command };
|