@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,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-dkt3e60b.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./location-services-vhyp5dk4.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID13,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
Service74,
|
|
19
19
|
node78,
|
|
20
20
|
Event17
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-d5mtgc27.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/model.ts
|
|
27
27
|
var exports_model2 = {};
|
|
@@ -29,25 +29,25 @@ __export(exports_model2, {
|
|
|
29
29
|
Capabilities: () => Capabilities2,
|
|
30
30
|
Compatibility: () => Compatibility2,
|
|
31
31
|
Cost: () => Cost2,
|
|
32
|
-
Event: () =>
|
|
32
|
+
Event: () => Event11,
|
|
33
33
|
Family: () => Family2,
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
34
|
+
ID: () => ID5,
|
|
35
|
+
Info: () => Info20,
|
|
36
36
|
Model: () => exports_model2,
|
|
37
37
|
ReasoningField: () => ReasoningField2,
|
|
38
38
|
Ref: () => Ref2,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service59,
|
|
40
40
|
VariantID: () => VariantID2,
|
|
41
41
|
compatibility: () => compatibility2,
|
|
42
|
-
node: () =>
|
|
43
|
-
parse: () =>
|
|
42
|
+
node: () => node62,
|
|
43
|
+
parse: () => parse4
|
|
44
44
|
});
|
|
45
45
|
import { Model } from "@opencode/schema/model";
|
|
46
46
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
47
47
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
48
48
|
import { freeze } from "immer";
|
|
49
|
-
import { Event as
|
|
50
|
-
var
|
|
49
|
+
import { Event as Event11 } from "@opencode/schema/model";
|
|
50
|
+
var ID5 = Model.ID;
|
|
51
51
|
var VariantID2 = Model.VariantID;
|
|
52
52
|
var Family2 = Model.Family;
|
|
53
53
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -55,14 +55,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
55
55
|
var Capabilities2 = Model.Capabilities;
|
|
56
56
|
var Cost2 = Model.Cost;
|
|
57
57
|
var Ref2 = Model.Ref;
|
|
58
|
-
var
|
|
58
|
+
var Info20 = Model.Info;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service59 extends Context.Service()("@opencode/Model") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
62
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
63
63
|
const providers = yield* Service74;
|
|
64
64
|
const bus = yield* Service81;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service78;
|
|
66
66
|
let input;
|
|
67
67
|
const state = create3({
|
|
68
68
|
name: "model",
|
|
@@ -86,7 +86,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
86
86
|
const models = data.models.get(providerID);
|
|
87
87
|
if (!models)
|
|
88
88
|
return;
|
|
89
|
-
const model = models.get(modelID) ??
|
|
89
|
+
const model = models.get(modelID) ?? Info20.default(providerID, modelID);
|
|
90
90
|
update(model);
|
|
91
91
|
model.id = modelID;
|
|
92
92
|
model.providerID = providerID;
|
|
@@ -171,7 +171,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
171
171
|
});
|
|
172
172
|
});
|
|
173
173
|
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
174
|
-
return
|
|
174
|
+
return Service59.of({
|
|
175
175
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
176
176
|
reload,
|
|
177
177
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -190,7 +190,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
190
190
|
})
|
|
191
191
|
});
|
|
192
192
|
}));
|
|
193
|
-
var
|
|
193
|
+
var node62 = makeLocationNode({ service: Service59, layer, deps: [node78, node85, node82] });
|
|
194
194
|
function compatibility2(input) {
|
|
195
195
|
if (typeof input === "string")
|
|
196
196
|
return { reasoningField: input };
|
|
@@ -198,12 +198,12 @@ function compatibility2(input) {
|
|
|
198
198
|
return;
|
|
199
199
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function parse4(input) {
|
|
202
202
|
const index = input.indexOf("/");
|
|
203
203
|
return {
|
|
204
204
|
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
205
|
-
modelID:
|
|
205
|
+
modelID: ID5.make(index === -1 ? "" : input.slice(index + 1))
|
|
206
206
|
};
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
export {
|
|
209
|
+
export { ID5, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info20, Service59, node62, compatibility2, parse4, exports_model2, Event11 };
|
|
@@ -1,44 +1,44 @@
|
|
|
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/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event16,
|
|
18
|
+
ID: () => ID11,
|
|
19
|
+
Info: () => Info25,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service70,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node74
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event16 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID11 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID11.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info25 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service70 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service81;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info25.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID11.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service70.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID11.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID11.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node74 = makeLocationNode({ service: Service70, layer, deps: [node85, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID11, Name3, defaultID2, Color2, Info25, Service70, node74, exports_agent4, Event16 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-yvnj23bv.js";
|
|
8
8
|
import {
|
|
9
9
|
Service81,
|
|
10
10
|
node85
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-dkt3e60b.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service80,
|
|
14
|
+
node84
|
|
15
|
+
} from "./location-services-1v6wmkfd.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info34,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-services-dj2t23y0.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-m0jqrx5p.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-services-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info33,
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service79,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node83,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info33 = Info34;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service79 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,9 +93,9 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service80;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
100
|
const bus = yield* Service81;
|
|
101
101
|
const db = (yield* Service82).db;
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID17.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
166
166
|
time_updated: Date.now()
|
|
167
167
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
168
168
|
if (!row)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event21.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID17.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID17.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID17.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID17.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service79.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node83 = makeGlobalNode({
|
|
276
|
+
service: Service79,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [node85, node86, FSUtil.node,
|
|
278
|
+
deps: [node85, node86, FSUtil.node, node84, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service79, node83, exports_project };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service81,
|
|
4
4
|
node85
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-dkt3e60b.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service3,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node4
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service3 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service81;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service3.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node4 = makeGlobalNode({ service: Service3, layer: layer4, deps: [node85] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service3, layer4, node4, exports_sdk };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service41,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node45
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service41 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service41.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node45 = makeLocationNode({ service: Service41, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service41, node45, exports_image2 };
|