@opencode/core 0.0.0-dev-271 → 0.0.0-dev-275
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 +91 -91
- package/dist/aisdk-native.js +101 -101
- package/dist/aisdk.js +107 -107
- package/dist/app.js +9 -9
- package/dist/bus.js +83 -83
- package/dist/chunks/{location-services-crjm84aa.js → bus-00j11h94.js} +50 -50
- package/dist/chunks/{location-services-aj7mw0zk.js → bus-034tev2y.js} +2 -2
- package/dist/chunks/{location-services-hcdj4fe2.js → bus-05t31zmj.js} +45 -45
- package/dist/chunks/{location-services-zcdj67b9.js → bus-09a1qcfh.js} +32 -32
- package/dist/chunks/{location-services-v2psmyxx.js → bus-0ebq21h6.js} +5 -5
- package/dist/chunks/{location-services-sqjzf8x2.js → bus-0j7gp832.js} +4 -4
- package/dist/chunks/{location-services-qnqasnye.js → bus-0ma4nchc.js} +6 -6
- package/dist/chunks/{location-services-kecs8cm0.js → bus-0pnx2fzg.js} +13 -13
- package/dist/chunks/{location-services-z89tmfeq.js → bus-10tay87v.js} +9 -9
- package/dist/chunks/{location-services-8jztxfpf.js → bus-11hfp36g.js} +4 -4
- package/dist/chunks/{location-services-rkmfgj7k.js → bus-17pe40wz.js} +35 -35
- package/dist/chunks/{location-services-1aqsckx4.js → bus-1aqsckx4.js} +1 -1
- package/dist/chunks/{location-services-88j3sdmx.js → bus-1cybwrec.js} +50 -50
- package/dist/chunks/{location-services-99y0fxy8.js → bus-1efvewcy.js} +5 -5
- package/dist/chunks/{location-services-27w5k9zf.js → bus-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-services-7s9zy64f.js → bus-1hm6kjpw.js} +9 -9
- package/dist/chunks/{location-services-3sv3e4sh.js → bus-1kba74ng.js} +24 -24
- package/dist/chunks/{location-services-n94pvp91.js → bus-1kn0xbnj.js} +24 -24
- package/dist/chunks/{location-services-kfcsbfj2.js → bus-1tcwzehe.js} +38 -38
- package/dist/chunks/{location-services-701es3rv.js → bus-1wk7sp0m.js} +24 -24
- package/dist/chunks/{location-services-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-services-1yq9hg58.js → bus-1yq9hg58.js} +1 -1
- package/dist/chunks/bus-1z47fh1w.js +257 -0
- package/dist/chunks/{location-services-rwtt4501.js → bus-1zmzx9ha.js} +39 -39
- package/dist/chunks/{location-services-204s3925.js → bus-204s3925.js} +1 -1
- package/dist/chunks/{location-services-35ctkm3t.js → bus-21g5995g.js} +3 -3
- package/dist/chunks/{location-services-f12jx86d.js → bus-226jktjv.js} +11 -11
- package/dist/chunks/{location-services-kgaj0b42.js → bus-28d1e7vq.js} +50 -50
- package/dist/chunks/{location-services-bnp5qds0.js → bus-2992epsb.js} +1 -1
- package/dist/chunks/{location-services-rb8dmkdr.js → bus-2dsx8k42.js} +43 -43
- package/dist/chunks/{location-services-pygderqp.js → bus-2kqka8y6.js} +20 -20
- package/dist/chunks/{location-services-6jdd6yf6.js → bus-2p4qkans.js} +1 -1
- package/dist/chunks/{location-services-8ve89bpf.js → bus-2pj77wb6.js} +2 -2
- package/dist/chunks/{location-services-j4wsft1q.js → bus-2we0z9ck.js} +14 -14
- package/dist/chunks/{location-services-bheemw2q.js → bus-2y8abx4q.js} +13 -13
- package/dist/chunks/{location-services-m8vjyhwb.js → bus-2ytpdq6b.js} +11 -11
- package/dist/chunks/{location-services-qz087kyw.js → bus-31wms35x.js} +8 -8
- package/dist/chunks/{location-services-2kqsk57r.js → bus-34e1kmth.js} +15 -15
- package/dist/chunks/{location-services-bm1x4rjt.js → bus-3979474a.js} +3 -3
- package/dist/chunks/{location-services-ahrjqvfw.js → bus-3fb7g6nx.js} +25 -25
- package/dist/chunks/{location-services-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-b2g2cd4c.js → bus-3nnrc6vy.js} +15 -15
- package/dist/chunks/{location-services-3nnrz6f6.js → bus-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-services-x93g9n8c.js → bus-3s914nqp.js} +17 -17
- package/dist/chunks/{location-services-zkyvmhna.js → bus-3sn4w2fq.js} +16 -16
- package/dist/chunks/{location-services-9tvpxs1q.js → bus-3v50s0nm.js} +4 -4
- package/dist/chunks/{location-services-ndcaramg.js → bus-41saj7d3.js} +8 -8
- package/dist/chunks/{location-services-4pwmc3zk.js → bus-482s3mas.js} +13 -13
- package/dist/chunks/{location-services-dj84jp87.js → bus-4a32f4de.js} +16 -16
- package/dist/chunks/{location-services-4dx1dgte.js → bus-4dx1dgte.js} +1 -1
- package/dist/chunks/{location-services-ts3q81hd.js → bus-4gpw4gsw.js} +3 -3
- package/dist/chunks/{location-services-4pyp9zr9.js → bus-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-services-4v008n1t.js → bus-4v008n1t.js} +1 -1
- package/dist/chunks/{location-services-s6rqyy7q.js → bus-4v8aj50q.js} +23 -23
- package/dist/chunks/{location-services-tzw071bs.js → bus-58ect7fx.js} +24 -24
- package/dist/chunks/{location-services-pqan8706.js → bus-5e5199mn.js} +25 -25
- package/dist/chunks/{location-services-k3f7456s.js → bus-5e791j03.js} +3 -3
- package/dist/chunks/{location-services-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-services-ytz496fy.js → bus-5rfzbttg.js} +3 -3
- package/dist/chunks/{location-services-av666v8z.js → bus-62qx2g0z.js} +13 -13
- package/dist/chunks/{location-services-r09xcsm2.js → bus-682dpnwj.js} +4 -4
- package/dist/chunks/{location-services-5t0xdgr9.js → bus-69hetzez.js} +12 -12
- package/dist/chunks/{location-services-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
- package/dist/chunks/{location-services-6r75hzjy.js → bus-6g7dge60.js} +18 -18
- package/dist/chunks/{location-services-edf6ca2j.js → bus-6ws2vnt1.js} +156 -156
- package/dist/chunks/{location-services-61erhr80.js → bus-7248j9gj.js} +21 -21
- package/dist/chunks/{location-services-76cb1hcw.js → bus-76cb1hcw.js} +1 -1
- package/dist/chunks/{location-services-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-g6c2jpgq.js → bus-7gn3gxx1.js} +15 -15
- package/dist/chunks/{location-services-1dztdw8x.js → bus-7kx48r5w.js} +21 -21
- package/dist/chunks/{location-services-c4cv6xmm.js → bus-7p6s7qrj.js} +8 -8
- package/dist/chunks/{location-services-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-services-ht7smmrx.js → bus-7xy5j6y0.js} +32 -32
- package/dist/chunks/{location-services-0h0q04aj.js → bus-83gc5kcm.js} +5 -5
- package/dist/chunks/{location-services-5zz88cvn.js → bus-85zye1zb.js} +9 -9
- package/dist/chunks/{location-services-4rf7amqy.js → bus-86p3vx58.js} +10 -10
- package/dist/chunks/{location-services-25h84942.js → bus-8b3vzgkx.js} +4 -4
- package/dist/chunks/{location-services-5c0ay57s.js → bus-8bjrjs1n.js} +4 -4
- package/dist/chunks/{location-services-mwyy67aj.js → bus-8g0en9rg.js} +10 -10
- package/dist/chunks/{location-services-z5fvc4pa.js → bus-8hq15dve.js} +37 -37
- package/dist/chunks/{location-services-w8ndjz7j.js → bus-8nxx61kp.js} +25 -25
- package/dist/chunks/{location-services-yh9hqaeq.js → bus-8qxrenr7.js} +9 -9
- package/dist/chunks/{location-services-49985bx3.js → bus-8tmhq2sq.js} +32 -32
- package/dist/chunks/{location-services-g6dvkvqf.js → bus-8vbscmtw.js} +15 -15
- package/dist/chunks/{location-services-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-services-6147jgs2.js → bus-8ykqf5wm.js} +8 -8
- package/dist/chunks/{location-services-90zstvax.js → bus-90zstvax.js} +1 -1
- package/dist/chunks/{location-services-xsdjk4ge.js → bus-928v60yv.js} +3 -3
- package/dist/chunks/{location-services-95sp4hdf.js → bus-95sp4hdf.js} +1 -1
- package/dist/chunks/{location-services-vwgtfhce.js → bus-96kzvzq7.js} +11 -11
- package/dist/chunks/{location-services-5zzfvef7.js → bus-98w60ksq.js} +6 -6
- package/dist/chunks/{location-services-s7dtnyk2.js → bus-9ew7ajy0.js} +97 -97
- package/dist/chunks/{location-services-q4fcarhy.js → bus-9f3sjfep.js} +9 -9
- package/dist/chunks/{location-services-5r9j27z7.js → bus-9fhmc1w3.js} +18 -18
- package/dist/chunks/{location-services-8hfnrd7b.js → bus-9smg2fxp.js} +86 -86
- package/dist/chunks/{location-services-69f0ar7f.js → bus-a013n6rr.js} +30 -30
- package/dist/chunks/{location-services-rwvswa9y.js → bus-a4ww6fpm.js} +6 -6
- package/dist/chunks/{location-services-x51b6bk0.js → bus-ac3vkw7y.js} +2 -2
- package/dist/chunks/{location-services-17cjzed1.js → bus-agqd6nxz.js} +4 -4
- package/dist/chunks/{location-services-53f4ettz.js → bus-arth2bzp.js} +23 -23
- package/dist/chunks/{location-services-3cbjf1nt.js → bus-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-services-fn0pn290.js → bus-b5qmte8y.js} +8 -8
- package/dist/chunks/{location-services-8f2e40mw.js → bus-b6twm7ry.js} +11 -11
- package/dist/chunks/{location-services-b6vsg801.js → bus-b6vsg801.js} +2 -2
- package/dist/chunks/{location-services-qw73mqn2.js → bus-bcsckb3t.js} +23 -23
- package/dist/chunks/{location-services-c078hgae.js → bus-c078hgae.js} +1 -1
- package/dist/chunks/{location-services-dq6afaen.js → bus-c0kkxqfe.js} +17 -17
- package/dist/chunks/{location-services-6tnzhnxt.js → bus-c8zchzzf.js} +11 -11
- package/dist/chunks/{location-services-mtkfycnh.js → bus-c9t2ty9q.js} +4 -4
- package/dist/chunks/{location-services-8tx4q2tc.js → bus-chhg004d.js} +22 -22
- package/dist/chunks/{location-services-he1z5msn.js → bus-cm8n6e1j.js} +17 -17
- package/dist/chunks/{location-services-cwrgdav8.js → bus-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-services-9w6kyjc8.js → bus-d1k7zqa6.js} +9 -9
- package/dist/chunks/{location-services-5sg2j4zb.js → bus-d2zq2nk9.js} +14 -14
- package/dist/chunks/{location-services-5rab9vhz.js → bus-d441h1x7.js} +18 -18
- package/dist/chunks/{location-services-c5gvz1b5.js → bus-d4tdxwg3.js} +4 -4
- package/dist/chunks/{location-services-gn8tkhbf.js → bus-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-services-gkg0y7d3.js → bus-d9mxzqst.js} +13 -13
- package/dist/chunks/{location-services-d7akxsfc.js → bus-darnxsvb.js} +6 -6
- package/dist/chunks/{location-services-nv205p9v.js → bus-dbmp929s.js} +5 -5
- package/dist/chunks/{location-services-enkpkfwx.js → bus-ddvn7d3w.js} +8 -8
- package/dist/chunks/{location-services-g3d6ha41.js → bus-degxk2tg.js} +19 -19
- package/dist/chunks/{location-services-t20evbn4.js → bus-dev678md.js} +51 -51
- package/dist/chunks/{location-services-sb68qyrv.js → bus-dgpxhmaz.js} +12 -12
- package/dist/chunks/{location-services-k56767v4.js → bus-dpyfckyt.js} +1 -1
- package/dist/chunks/{location-services-dt77769w.js → bus-dt77769w.js} +1 -1
- package/dist/chunks/{location-services-s87tva5r.js → bus-dtfn9c89.js} +12 -12
- package/dist/chunks/{location-services-mcaz155f.js → bus-dxzy608a.js} +6 -6
- package/dist/chunks/{location-services-txb82dsv.js → bus-e5kybrsq.js} +25 -25
- package/dist/chunks/{location-services-e834z07m.js → bus-e834z07m.js} +1 -1
- package/dist/chunks/{location-services-4tsnxgj1.js → bus-ec95eyzx.js} +4 -4
- package/dist/chunks/{location-services-sab8hb9j.js → bus-ef6dy9g0.js} +27 -27
- package/dist/chunks/{location-services-n91e94x0.js → bus-ehhwdvk1.js} +33 -33
- package/dist/chunks/{location-services-fse61478.js → bus-ehtz5q4m.js} +25 -25
- package/dist/chunks/{location-services-bxvvv3jc.js → bus-f0hs2mq3.js} +21 -21
- package/dist/chunks/{location-services-m3pbq8ct.js → bus-f0vtm8p6.js} +16 -16
- package/dist/chunks/{location-services-hwdk6992.js → bus-f2xxa684.js} +60 -60
- package/dist/chunks/{location-services-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-services-fg9p65nk.js → bus-fg9p65nk.js} +2 -2
- package/dist/chunks/{location-services-05pzx58r.js → bus-fq9s0kxx.js} +17 -17
- package/dist/chunks/{location-services-nn8146rv.js → bus-fv7v599h.js} +13 -13
- package/dist/chunks/{location-services-vy4m1q4k.js → bus-fybtq79z.js} +58 -58
- package/dist/chunks/{location-services-ae75vsr5.js → bus-g8vb0hj0.js} +30 -30
- package/dist/chunks/{location-services-tptvq6v6.js → bus-gcye4jv7.js} +4 -4
- package/dist/chunks/{location-services-gtjkmstt.js → bus-ghcecwt0.js} +45 -45
- package/dist/chunks/{location-services-05aev6jb.js → bus-gs1x404j.js} +18 -18
- package/dist/chunks/{location-services-76jdhfq7.js → bus-gxb4nygb.js} +10 -10
- package/dist/chunks/{location-services-hrj3d3rg.js → bus-ha5ntr8a.js} +42 -42
- package/dist/chunks/{location-services-hgfegmhz.js → bus-hgfegmhz.js} +3 -3
- package/dist/chunks/{location-services-hh7kjqtw.js → bus-hh7kjqtw.js} +1 -1
- package/dist/chunks/{location-services-8zhw5swa.js → bus-hmeh93yc.js} +32 -32
- package/dist/chunks/{location-services-kreataz1.js → bus-hpejq3g9.js} +9 -9
- package/dist/chunks/{location-services-hpg1pkwy.js → bus-hpg1pkwy.js} +1 -1
- package/dist/chunks/{location-services-yx6x8jfj.js → bus-hq4c2e72.js} +14 -14
- package/dist/chunks/{location-services-bfkxtapt.js → bus-hq8347db.js} +13 -13
- package/dist/chunks/{location-services-162nfr0g.js → bus-hs9b4b47.js} +2 -2
- package/dist/chunks/{location-services-p9aaxzzm.js → bus-hxch9gky.js} +19 -19
- package/dist/chunks/{location-services-5jrjkhem.js → bus-j4rzh0zg.js} +36 -36
- package/dist/chunks/{location-services-mwby5be6.js → bus-j9mte5pw.js} +21 -21
- package/dist/chunks/{location-services-r1fhaev6.js → bus-jchjggqf.js} +2 -2
- package/dist/chunks/{location-services-jfaecv01.js → bus-jfaecv01.js} +1 -1
- package/dist/chunks/{location-services-fngvx4yd.js → bus-jjescw8y.js} +8 -8
- package/dist/chunks/{location-services-m7xh3h0x.js → bus-jns4gqy7.js} +4 -4
- package/dist/chunks/{location-services-zgmb78cs.js → bus-jqqh3nrt.js} +35 -35
- package/dist/chunks/{location-services-p8e6hb0k.js → bus-js92w05q.js} +14 -14
- package/dist/chunks/{location-services-jtnps1zs.js → bus-jtnps1zs.js} +2 -2
- package/dist/chunks/{location-services-sxfdfs5r.js → bus-jwckxkn1.js} +8 -8
- package/dist/chunks/{location-services-gf94v7ds.js → bus-jydzs9jd.js} +12 -12
- package/dist/chunks/{location-services-wdw55mq4.js → bus-jywsdv1w.js} +5 -5
- package/dist/chunks/{location-services-x9nckj68.js → bus-k6fx5fwj.js} +22 -22
- package/dist/chunks/{location-services-xrc3640n.js → bus-k7fcp7vh.js} +8 -8
- package/dist/chunks/{location-services-k814nvkf.js → bus-k814nvkf.js} +1 -1
- package/dist/chunks/{location-services-hhcegec1.js → bus-kc03nrdn.js} +41 -41
- package/dist/chunks/{location-services-jv2xnyk0.js → bus-kcg78dnn.js} +2 -2
- package/dist/chunks/{location-services-2ywsvzr2.js → bus-kf78hse3.js} +17 -17
- package/dist/chunks/{location-services-vkcgzpwt.js → bus-kh233pt5.js} +21 -21
- package/dist/chunks/{location-services-faykeh36.js → bus-knh1jnvy.js} +27 -27
- package/dist/chunks/{location-services-73nq7rd4.js → bus-ksw9k14w.js} +40 -40
- package/dist/chunks/{location-services-kt3bjfbg.js → bus-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-services-gcfys28r.js → bus-kz8v4jkb.js} +9 -9
- package/dist/chunks/{location-services-jsrgk7v1.js → bus-m0qs22fp.js} +22 -22
- package/dist/chunks/{location-services-m1714858.js → bus-m1714858.js} +1 -1
- package/dist/chunks/{location-services-d1scnhdx.js → bus-m2w2s527.js} +4 -4
- package/dist/chunks/{location-services-eqmd2tfz.js → bus-m37sd98t.js} +7 -7
- package/dist/chunks/{location-services-zpn8n3e3.js → bus-m5vcha6x.js} +12 -12
- package/dist/chunks/{location-services-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-8z6m94af.js → bus-mb7mbhnz.js} +3 -3
- package/dist/chunks/{location-services-zsjka0ec.js → bus-meq8xbkf.js} +2 -2
- package/dist/chunks/{location-services-9f1h0s6x.js → bus-mh65p8pj.js} +25 -25
- package/dist/chunks/{location-services-0a35qxtn.js → bus-mh93svdp.js} +16 -16
- package/dist/chunks/{location-services-jjkdzw18.js → bus-mmw6hwzc.js} +17 -17
- package/dist/chunks/{location-services-cfh5dtam.js → bus-mnad5nn2.js} +33 -33
- package/dist/chunks/{location-services-8nmq4mhy.js → bus-mpza5t97.js} +29 -29
- package/dist/chunks/{location-services-vb80j1wh.js → bus-mqe7nf5n.js} +3 -3
- package/dist/chunks/{location-services-d987wdq8.js → bus-mz45bcy6.js} +13 -13
- package/dist/chunks/{location-services-5xcrp97n.js → bus-n3x35gjg.js} +18 -18
- package/dist/chunks/{location-services-7rnxwetx.js → bus-n76e6m8b.js} +11 -11
- package/dist/chunks/{location-services-nah043kf.js → bus-nah043kf.js} +1 -1
- package/dist/chunks/{location-services-zyy8z9rg.js → bus-ncr9krzg.js} +22 -22
- package/dist/chunks/{location-services-73ktn4xx.js → bus-nrtmfbdc.js} +9 -9
- package/dist/chunks/{location-services-3t0svxwq.js → bus-nvgj5k0n.js} +11 -11
- package/dist/chunks/{location-services-p015t6z3.js → bus-p015t6z3.js} +2 -2
- package/dist/chunks/{location-services-ry6m6k45.js → bus-p2rrmpys.js} +11 -11
- package/dist/chunks/{location-services-f2738s6n.js → bus-p59qfrvx.js} +3 -3
- package/dist/chunks/{location-services-4ya28txs.js → bus-p6bk0asb.js} +21 -21
- package/dist/chunks/{location-services-rqxwm5vf.js → bus-pdw1qznx.js} +31 -31
- package/dist/chunks/{location-services-j28mjm60.js → bus-pexrpc5k.js} +9 -9
- package/dist/chunks/{location-services-7863p8e9.js → bus-pjptrb5y.js} +29 -29
- package/dist/chunks/{location-services-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-4987t165.js → bus-pzsa5b6k.js} +6 -6
- package/dist/chunks/{location-services-zwp1eeat.js → bus-q0ye6e4s.js} +2 -2
- package/dist/chunks/{location-services-y98qbkn6.js → bus-q17cwwmb.js} +12 -12
- package/dist/chunks/{location-services-fex8285v.js → bus-q498qw3k.js} +28 -28
- package/dist/chunks/{location-services-8agbak6g.js → bus-q6sa0fx3.js} +14 -14
- package/dist/chunks/{location-services-jcrsb2we.js → bus-q6yx0pgq.js} +9 -9
- package/dist/chunks/{location-services-254d7qhc.js → bus-q7rm49kv.js} +10 -10
- package/dist/chunks/{location-services-aqhqhhxw.js → bus-qbc6w44s.js} +16 -16
- package/dist/chunks/{location-services-zx82kmhe.js → bus-qbj75hz3.js} +36 -36
- package/dist/chunks/{location-services-qp7r0hxv.js → bus-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-services-xt0z8zst.js → bus-qqpbcr2p.js} +4 -4
- package/dist/chunks/{location-services-qqvy8y24.js → bus-qqvy8y24.js} +1 -1
- package/dist/chunks/{location-services-26cw61yh.js → bus-qspstntz.js} +14 -14
- package/dist/chunks/{location-services-dfgayekp.js → bus-qwhg5edk.js} +21 -21
- package/dist/chunks/{location-services-ykap3e57.js → bus-qy40w2mn.js} +25 -25
- package/dist/chunks/{location-services-3dempbt2.js → bus-r13t3b9j.js} +8 -8
- package/dist/chunks/{location-services-4c0eh56a.js → bus-r2s7w9p5.js} +7 -7
- package/dist/chunks/{location-services-13jgvn4c.js → bus-r2vthv2q.js} +26 -26
- package/dist/chunks/{location-services-r542h3bh.js → bus-r542h3bh.js} +1 -1
- package/dist/chunks/{location-services-fa27aj77.js → bus-r8d5ttcp.js} +8 -8
- package/dist/chunks/{location-services-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-services-7ffjm3fx.js → bus-rcds6jmy.js} +14 -14
- package/dist/chunks/{location-services-4pza82rh.js → bus-rekbjepc.js} +22 -22
- package/dist/chunks/{location-services-r4pwrx75.js → bus-rjnacbrz.js} +9 -9
- package/dist/chunks/{location-services-yz9rz98a.js → bus-rk7zzszn.js} +8 -8
- package/dist/chunks/{location-services-perw67p4.js → bus-rt4hpzta.js} +33 -33
- package/dist/chunks/{location-services-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
- package/dist/chunks/bus-rwcj15n0.js +535 -0
- package/dist/chunks/{location-services-t9fjyv5p.js → bus-ryyta8gj.js} +11 -11
- package/dist/chunks/{location-services-vc4cryav.js → bus-s4vgxntc.js} +9 -9
- package/dist/chunks/{location-services-w79nt68w.js → bus-s7kyse9r.js} +4 -4
- package/dist/chunks/{location-services-6pkyn431.js → bus-s8sx6y1x.js} +23 -23
- package/dist/chunks/{location-services-sa3fpqfw.js → bus-sa3fpqfw.js} +2 -2
- package/dist/chunks/{location-services-5q7cnmnd.js → bus-sm5prsna.js} +2 -2
- package/dist/chunks/{location-services-qmv0q6pw.js → bus-sp4h8jpm.js} +30 -30
- package/dist/chunks/{location-services-66r9f6z1.js → bus-sqbb0ctm.js} +5 -5
- package/dist/chunks/{location-services-060k1ctd.js → bus-sqrwb7ek.js} +3 -3
- package/dist/chunks/{location-services-svcy3p9a.js → bus-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-services-bg8p5thh.js → bus-sxdhpgmr.js} +31 -31
- package/dist/chunks/{location-services-kbq9sd94.js → bus-t3dqt28d.js} +15 -15
- package/dist/chunks/{location-services-gz7axp6c.js → bus-t8erkws8.js} +5 -5
- package/dist/chunks/{location-services-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-services-d83be7vq.js → bus-tg1716pc.js} +6 -6
- package/dist/chunks/{location-services-41ee7e1g.js → bus-tt3yxz2r.js} +16 -16
- package/dist/chunks/{location-services-twssxy5n.js → bus-twssxy5n.js} +2 -2
- package/dist/chunks/{location-services-625chkn0.js → bus-v0dqmjgm.js} +53 -53
- package/dist/chunks/{location-services-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-services-zdpw9dy9.js → bus-v4mtj4vv.js} +25 -25
- package/dist/chunks/{location-services-x99kszcd.js → bus-vdj2189h.js} +12 -12
- package/dist/chunks/{location-services-mz3xd1k6.js → bus-vhazrdaa.js} +25 -25
- package/dist/chunks/{location-services-nwn24kq0.js → bus-vhjra7pn.js} +10 -10
- package/dist/chunks/{location-services-hnv7rbyt.js → bus-vje3bk9q.js} +7 -7
- package/dist/chunks/{location-services-y9r97bb3.js → bus-vrxpgxjt.js} +13 -13
- package/dist/chunks/{location-services-6yaxbs98.js → bus-vsq2sm2q.js} +23 -23
- package/dist/chunks/{location-services-w2eysc6j.js → bus-w2eysc6j.js} +2 -2
- package/dist/chunks/{location-services-fq0hatx6.js → bus-w36nberk.js} +33 -33
- package/dist/chunks/{location-services-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-zb5gs1ba.js → bus-w52wajpr.js} +3 -3
- package/dist/chunks/{location-services-19yw54pw.js → bus-w6v1rynq.js} +15 -15
- package/dist/chunks/{location-services-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-services-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-nx4vzyjd.js → bus-wegkxhrn.js} +2 -2
- package/dist/chunks/{location-services-t815r62s.js → bus-wfz8zxsv.js} +3 -3
- package/dist/chunks/{location-services-wnhgecwx.js → bus-wnhgecwx.js} +1 -1
- package/dist/chunks/{location-services-wr3re1en.js → bus-wr3re1en.js} +1 -1
- package/dist/chunks/bus-wtgvz1w4.js +26 -0
- package/dist/chunks/{location-services-wj1hwnq7.js → bus-wwszdvz7.js} +5 -5
- package/dist/chunks/{location-services-mm24p6x7.js → bus-wxtbyv82.js} +4 -4
- package/dist/chunks/{location-services-nk8zryt9.js → bus-x271axaw.js} +7 -7
- package/dist/chunks/{location-services-kpd0ft4p.js → bus-x686a40m.js} +30 -30
- package/dist/chunks/{location-services-dw0jwsqt.js → bus-x6vg8sze.js} +37 -37
- package/dist/chunks/{location-services-92ee31my.js → bus-x7xp1w7g.js} +28 -28
- package/dist/chunks/{location-services-bstexjd6.js → bus-xd9cc171.js} +5 -5
- package/dist/chunks/{location-services-68291c0v.js → bus-xj80yh0e.js} +35 -35
- package/dist/chunks/{location-services-xmx7xj34.js → bus-xmx7xj34.js} +1 -1
- package/dist/chunks/{location-services-rgy8fvzs.js → bus-y4c93yhq.js} +87 -87
- package/dist/chunks/{location-services-exjf25px.js → bus-y6ycwz8c.js} +11 -11
- package/dist/chunks/{location-services-pxtfkpje.js → bus-yara3q77.js} +2 -2
- package/dist/chunks/{location-services-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-services-dcgrx69e.js → bus-yn7vgazy.js} +5 -5
- package/dist/chunks/{location-services-a678287s.js → bus-z28kzp3s.js} +6 -6
- package/dist/chunks/{location-services-af4avevc.js → bus-z6e3jbzz.js} +23 -23
- package/dist/chunks/{location-services-a7c68mes.js → bus-z6wb4d7c.js} +26 -26
- package/dist/chunks/bus-z7bdqmx5.js +18 -0
- package/dist/chunks/{location-services-fb4xs09j.js → bus-zmg3gahh.js} +18 -18
- package/dist/chunks/{location-services-hcky80w5.js → bus-zqs4wz9p.js} +4 -4
- package/dist/chunks/{location-services-nm8x0m3s.js → bus-zvv2gg2z.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +93 -93
- package/dist/config/discovery.js +94 -94
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +111 -111
- package/dist/config/plugin/agent.js +129 -129
- package/dist/config/plugin/command.js +226 -226
- package/dist/config/plugin/compaction.js +169 -169
- package/dist/config/plugin/compatibility.js +149 -149
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -130
- package/dist/config/plugin/image.js +127 -127
- package/dist/config/plugin/instruction.js +129 -129
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +136 -136
- package/dist/config/plugin/policy.js +129 -129
- package/dist/config/plugin/provider.js +129 -129
- package/dist/config/plugin/reference.js +131 -131
- package/dist/config/plugin/shell.js +129 -129
- package/dist/config/plugin/skill-file.js +145 -145
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +150 -150
- package/dist/config/plugin/snapshot.js +129 -129
- package/dist/config/plugin/source.js +130 -130
- package/dist/config/plugin/tool-output.js +130 -130
- package/dist/config/plugin/websearch.js +128 -128
- package/dist/config/plugin/worktree.js +131 -131
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +132 -132
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +93 -93
- package/dist/database/database.js +80 -80
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration.gen.js +59 -59
- package/dist/database/migration.js +61 -61
- 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 +102 -102
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +392 -392
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +84 -84
- package/dist/file-access.js +155 -155
- package/dist/file-mutation.js +106 -106
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +90 -90
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +241 -241
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +114 -114
- package/dist/form.js +90 -90
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +99 -99
- package/dist/generate.js +119 -119
- package/dist/git.js +11 -11
- 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 +111 -111
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +383 -383
- package/dist/instruction-discovery.js +94 -94
- package/dist/instructions/builtins.js +99 -99
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +89 -89
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +173 -173
- package/dist/location-lifecycle.js +149 -149
- package/dist/location-service-map.js +98 -98
- package/dist/location-services.js +380 -380
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +121 -121
- package/dist/mcp/instructions.js +175 -175
- package/dist/mcp/oauth.js +88 -88
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +111 -111
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +114 -114
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +120 -120
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +92 -92
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +98 -98
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -85
- package/dist/plugin/agent.js +84 -84
- package/dist/plugin/command.js +112 -112
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +232 -232
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +359 -359
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -109
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +143 -143
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -103
- package/dist/plugin/provider/azure.js +129 -129
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -129
- package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
- package/dist/plugin/provider/configured.js +125 -125
- package/dist/plugin/provider/credential-settings.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -107
- package/dist/plugin/provider/gitlab.js +106 -106
- package/dist/plugin/provider/google-vertex.js +126 -126
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -88
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +135 -135
- package/dist/plugin/provider/modal.js +104 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +102 -102
- package/dist/plugin/provider/openai.js +129 -129
- package/dist/plugin/provider/opencode.js +131 -131
- package/dist/plugin/provider/openrouter.js +103 -103
- package/dist/plugin/provider/poe.js +89 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -128
- package/dist/plugin/provider/vllm.js +136 -136
- package/dist/plugin/provider/xai.js +103 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +179 -179
- package/dist/plugin/sdk.js +84 -84
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +146 -146
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +369 -369
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +98 -98
- package/dist/plugin/vcs/hg.js +98 -98
- package/dist/plugin/verbosity.js +103 -103
- package/dist/plugin/warming.js +127 -127
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +243 -243
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +96 -96
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +110 -110
- package/dist/reference/instructions.js +100 -100
- package/dist/reference.js +102 -102
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +98 -98
- package/dist/schedule/check.js +237 -237
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +251 -251
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +128 -128
- package/dist/session/command.js +84 -84
- package/dist/session/compaction.js +169 -169
- package/dist/session/context.js +195 -195
- package/dist/session/diff.js +100 -100
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +243 -243
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +195 -195
- package/dist/session/history.js +135 -135
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +87 -87
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +140 -140
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +160 -160
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +163 -163
- package/dist/session/projector.js +142 -142
- package/dist/session/prompt.js +147 -147
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -138
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +246 -246
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -112
- package/dist/session/runner/publish-llm-event.js +148 -148
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +159 -159
- package/dist/session/runner/to-llm-message.js +136 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +143 -143
- package/dist/session/skill.js +146 -146
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +141 -141
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +226 -226
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +197 -197
- package/dist/session/to-session-error.js +147 -147
- package/dist/session/transfer.js +240 -240
- package/dist/session/usage.js +1 -1
- package/dist/session.js +230 -230
- 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 +9 -9
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +150 -150
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +105 -105
- 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 +174 -174
- package/dist/tool/plugin/edit.js +163 -163
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +167 -167
- package/dist/tool/plugin/grep.js +165 -165
- package/dist/tool/plugin/image-generate.js +236 -236
- package/dist/tool/plugin/mcp-resource.js +161 -161
- package/dist/tool/plugin/opencode.js +160 -160
- package/dist/tool/plugin/patch.js +163 -163
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +168 -168
- package/dist/tool/plugin/schedule.js +243 -243
- package/dist/tool/plugin/shell.js +230 -230
- package/dist/tool/plugin/skill.js +148 -148
- package/dist/tool/plugin/subagent.js +233 -233
- package/dist/tool/plugin/todo.js +152 -152
- package/dist/tool/plugin/webfetch.js +154 -154
- package/dist/tool/plugin/websearch.js +152 -152
- package/dist/tool/plugin/write.js +165 -165
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +93 -93
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +104 -104
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +103 -103
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +101 -101
- package/dist/voice.js +100 -100
- package/dist/websearch.js +94 -94
- package/dist/wellknown/plugin.js +84 -84
- package/dist/wellknown.js +89 -89
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +90 -90
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +101 -101
- package/dist/worktree.js +112 -112
- package/package.json +8 -8
- package/dist/chunks/location-services-5d7ky1sb.js +0 -257
- package/dist/chunks/location-services-a2vx32ez.js +0 -535
- package/dist/chunks/location-services-a610t88q.js +0 -18
- package/dist/chunks/location-services-zf52n5v2.js +0 -26
- /package/dist/chunks/{location-services-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kah00gy.js → bus-1kah00gy.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2bv980vf.js → bus-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5w3e23ze.js → bus-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-7stb81gk.js → bus-7stb81gk.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-84wd9syh.js → bus-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a058387c.js → bus-a058387c.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-beh6qq61.js → bus-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cqv5kn06.js → bus-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ean2d8b5.js → bus-ean2d8b5.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fkpq3x5p.js → bus-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jwr30sdr.js → bus-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-services-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-m18g726c.js → bus-m18g726c.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-ncqqe42p.js → bus-ncqqe42p.js} +0 -0
- /package/dist/chunks/{location-services-nh4v3znn.js → bus-nh4v3znn.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-p71gwv9c.js → bus-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-stkk57rt.js → bus-stkk57rt.js} +0 -0
- /package/dist/chunks/{location-services-t03h4f5z.js → bus-t03h4f5z.js} +0 -0
- /package/dist/chunks/{location-services-ty7weeps.js → bus-ty7weeps.js} +0 -0
- /package/dist/chunks/{location-services-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-s7kyse9r.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info17
|
|
9
|
+
} from "./bus-8ykqf5wm.js";
|
|
10
10
|
import {
|
|
11
11
|
Info21
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-xmx7xj34.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info19
|
|
15
|
+
} from "./bus-t8erkws8.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-1yq9hg58.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info20
|
|
21
|
+
} from "./bus-dbmp929s.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-zqs4wz9p.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./bus-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -103,7 +103,7 @@ function normalize3(input) {
|
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize3(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -220,7 +220,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
220
220
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
221
221
|
return;
|
|
222
222
|
}
|
|
223
|
-
const server = decodeValue(
|
|
223
|
+
const server = decodeValue(Info19, value, path, diagnostics);
|
|
224
224
|
if (server !== undefined)
|
|
225
225
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
226
226
|
});
|
|
@@ -456,7 +456,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
456
456
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
457
457
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
458
458
|
return [];
|
|
459
|
-
const provider = decodeValue(
|
|
459
|
+
const provider = decodeValue(Info20, raw, path, diagnostics);
|
|
460
460
|
if (provider === undefined)
|
|
461
461
|
return [];
|
|
462
462
|
const destination = providerID2(name);
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./bus-d441h1x7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./bus-hq4c2e72.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./bus-v0dqmjgm.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-qqpbcr2p.js";
|
|
13
13
|
import {
|
|
14
14
|
File2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service33
|
|
16
|
+
} from "./bus-knh1jnvy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin28
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin28 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service33;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service62;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
|
-
const location = yield*
|
|
44
|
-
const watcher = yield*
|
|
43
|
+
const location = yield* Service82;
|
|
44
|
+
const watcher = yield* Service63;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -180,4 +180,4 @@ function isUrl(source) {
|
|
|
180
180
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Plugin28, exports_instruction };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-p015t6z3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service65,
|
|
7
|
+
node68
|
|
8
|
+
} from "./bus-x7xp1w7g.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service52,
|
|
11
|
+
node54
|
|
12
|
+
} from "./bus-pjptrb5y.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-wnhgecwx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
21
|
var exports_generate = {};
|
|
22
22
|
__export(exports_generate, {
|
|
23
23
|
Generate: () => exports_generate,
|
|
24
|
-
InvalidRequestError: () =>
|
|
24
|
+
InvalidRequestError: () => InvalidRequestError2,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service15,
|
|
29
|
+
UnavailableError: () => UnavailableError3,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer10,
|
|
32
|
+
node: () => node18
|
|
33
33
|
});
|
|
34
34
|
import { Decision, DecisionClient, Image, ImageClient, LLM, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -58,7 +58,7 @@ class UnsupportedModelError2 extends Schema.TaggedError()("Generate.UnsupportedM
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class InvalidRequestError2 extends Schema.TaggedError()("Generate.InvalidRequestError", {
|
|
62
62
|
message: Schema.String,
|
|
63
63
|
field: Schema.optional(Schema.String)
|
|
64
64
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service15 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer10 = Layer.effect(Service15, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service52;
|
|
89
|
+
const models = yield* Service65;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer12 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError3({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError3({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(LLM.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer12 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service15.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -176,7 +176,7 @@ function resolutionError(ref, type, error) {
|
|
|
176
176
|
if (error._tag === "Integration.Authorization")
|
|
177
177
|
return error;
|
|
178
178
|
if (error._tag === "SessionRunnerModel.VariantUnavailableError")
|
|
179
|
-
return new
|
|
179
|
+
return new InvalidRequestError2({ message: error.message, field: "model.variant" });
|
|
180
180
|
if (error._tag === "SessionRunnerModel.UnsupportedPackageError")
|
|
181
181
|
return new UnsupportedModelError2({
|
|
182
182
|
providerID: ref.providerID,
|
|
@@ -184,14 +184,14 @@ function resolutionError(ref, type, error) {
|
|
|
184
184
|
capability: type,
|
|
185
185
|
message: `${ref.providerID}/${ref.id} has no ${type} API opencode can call (package ${error.package})`
|
|
186
186
|
});
|
|
187
|
-
return new
|
|
187
|
+
return new InvalidRequestError2({ message: error.message, field: "model" });
|
|
188
188
|
}
|
|
189
189
|
function providerError(ref, error) {
|
|
190
190
|
const reason = error.reason;
|
|
191
191
|
if (reason._tag === "InvalidRequest" && reason.http === undefined)
|
|
192
|
-
return new
|
|
192
|
+
return new InvalidRequestError2({ message: reason.message });
|
|
193
193
|
if (reason._tag === "UnsupportedOperation")
|
|
194
|
-
return new
|
|
194
|
+
return new InvalidRequestError2({ message: reason.message });
|
|
195
195
|
const status = "http" in reason ? reason.http?.status : undefined;
|
|
196
196
|
const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
|
|
197
197
|
return new ProviderRequestError2({
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node18 = makeLocationNode({
|
|
219
|
+
service: Service15,
|
|
220
|
+
layer: layer10,
|
|
221
|
+
deps: [node54, node68, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError3, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service15, layer10, node18, exports_generate };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./bus-f0vtm8p6.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
evaluate3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-1cybwrec.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/skill.ts
|
|
17
17
|
var exports_skill5 = {};
|
|
18
18
|
__export(exports_skill5, {
|
|
19
19
|
DirectorySource: () => DirectorySource2,
|
|
20
20
|
EmbeddedSource: () => EmbeddedSource2,
|
|
21
|
-
Event: () =>
|
|
22
|
-
ID: () =>
|
|
23
|
-
Info: () =>
|
|
21
|
+
Event: () => Event6,
|
|
22
|
+
ID: () => ID4,
|
|
23
|
+
Info: () => Info10,
|
|
24
24
|
Name: () => Name2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service46,
|
|
26
26
|
Skill: () => exports_skill5,
|
|
27
|
-
Source: () =>
|
|
27
|
+
Source: () => Source3,
|
|
28
28
|
UrlSource: () => UrlSource2,
|
|
29
|
-
available: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
available: () => available4,
|
|
30
|
+
node: () => node48,
|
|
31
31
|
prepare: () => prepare3,
|
|
32
32
|
toModelOutput: () => toModelOutput3
|
|
33
33
|
});
|
|
@@ -36,15 +36,15 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import path from "path";
|
|
37
37
|
import { Context, Effect, Layer } from "effect";
|
|
38
38
|
import { Skill } from "@opencode/schema/skill";
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event6 } from "@opencode/schema/skill";
|
|
40
40
|
var DirectorySource2 = Skill.DirectorySource;
|
|
41
41
|
var UrlSource2 = Skill.UrlSource;
|
|
42
42
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
43
|
+
var Source3 = Skill.Source;
|
|
44
|
+
var Info10 = Skill.Info;
|
|
45
|
+
var ID4 = Skill.ID;
|
|
46
46
|
var Name2 = Skill.Name;
|
|
47
|
-
var
|
|
47
|
+
var available4 = (skills, permissions) => skills.filter((skill) => evaluate3("skill", skill.id, permissions).effect !== "deny");
|
|
48
48
|
var toModelOutput3 = (skill, files) => {
|
|
49
49
|
const directory = path.dirname(skill.path);
|
|
50
50
|
return [
|
|
@@ -79,21 +79,21 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
79
79
|
};
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service46 extends Context.Service()("@opencode/Skill") {
|
|
83
83
|
}
|
|
84
|
-
var layer = Layer.effect(
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service85;
|
|
86
86
|
const state = create3({
|
|
87
87
|
name: "skill",
|
|
88
88
|
initial: () => ({ skills: new Map }),
|
|
89
89
|
editor: (editor) => ({
|
|
90
90
|
list: () => Array.from(editor.skills.values()),
|
|
91
|
-
get: (id) => editor.skills.get(
|
|
91
|
+
get: (id) => editor.skills.get(ID4.make(id)),
|
|
92
92
|
add: (skill) => {
|
|
93
93
|
editor.skills.set(skill.id, { ...skill });
|
|
94
94
|
},
|
|
95
95
|
update: (id, update) => {
|
|
96
|
-
const key =
|
|
96
|
+
const key = ID4.make(id);
|
|
97
97
|
const current = editor.skills.get(key);
|
|
98
98
|
if (!current)
|
|
99
99
|
return;
|
|
@@ -101,12 +101,12 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
101
101
|
current.id = key;
|
|
102
102
|
},
|
|
103
103
|
remove: (id) => {
|
|
104
|
-
editor.skills.delete(
|
|
104
|
+
editor.skills.delete(ID4.make(id));
|
|
105
105
|
}
|
|
106
106
|
}),
|
|
107
107
|
notify: changes2((data) => Array.from(data.skills.values()), () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid))
|
|
108
108
|
});
|
|
109
|
-
return
|
|
109
|
+
return Service46.of({
|
|
110
110
|
transform: state.transform,
|
|
111
111
|
reload: state.reload,
|
|
112
112
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -117,10 +117,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
117
117
|
})
|
|
118
118
|
});
|
|
119
119
|
}));
|
|
120
|
-
var
|
|
121
|
-
service:
|
|
120
|
+
var node48 = makeLocationNode({
|
|
121
|
+
service: Service46,
|
|
122
122
|
layer,
|
|
123
|
-
deps: [
|
|
123
|
+
deps: [node89]
|
|
124
124
|
});
|
|
125
125
|
|
|
126
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
126
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info10, ID4, Name2, available4, toModelOutput3, prepare3, Service46, node48, exports_skill5, Event6 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
8
|
import { isRecord } from "@opencode/util/record";
|
|
9
|
-
function
|
|
9
|
+
function make5(input) {
|
|
10
10
|
const disabled = false;
|
|
11
11
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
12
12
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
|
|
|
259
259
|
return isRecord(input[field]) && key in input[field];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { make5 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./bus-f0vtm8p6.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-95sp4hdf.js";
|
|
12
12
|
import {
|
|
13
13
|
ID15,
|
|
14
14
|
Service79,
|
|
15
15
|
node83,
|
|
16
16
|
Event17
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-fq9s0kxx.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service82,
|
|
20
|
+
node86
|
|
21
|
+
} from "./bus-hq4c2e72.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./bus-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -593,9 +593,9 @@ function index(providerID, models) {
|
|
|
593
593
|
return result;
|
|
594
594
|
}
|
|
595
595
|
var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
596
|
-
const bus = yield*
|
|
596
|
+
const bus = yield* Service85;
|
|
597
597
|
const integrations = yield* Service79;
|
|
598
|
-
const location = yield*
|
|
598
|
+
const location = yield* Service82;
|
|
599
599
|
const state = create3({
|
|
600
600
|
name: "provider",
|
|
601
601
|
initial: () => new Map,
|
|
@@ -723,7 +723,7 @@ var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var node82 = makeLocationNode({ service: Service78, layer, deps: [
|
|
726
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [node89, node83, node86] });
|
|
727
727
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
728
728
|
const module = yield* Effect2.tryPromise({
|
|
729
729
|
try: () => {
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service70,
|
|
8
|
+
node73
|
|
9
|
+
} from "./bus-1kba74ng.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-90zstvax.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service68,
|
|
24
|
+
node: () => node71
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -47,7 +47,7 @@ var RawMatch = Schema.Struct({
|
|
|
47
47
|
});
|
|
48
48
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
51
51
|
message: Schema.String,
|
|
52
52
|
cause: Schema.optional(Schema.Defect())
|
|
53
53
|
}) {
|
|
@@ -59,13 +59,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
59
59
|
}) {
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
class
|
|
62
|
+
class Service68 extends Context.Service()("@opencode/Ripgrep") {
|
|
63
63
|
}
|
|
64
|
-
var failure = (message, cause) => new
|
|
64
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
65
65
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
66
66
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
67
|
-
var layer = Layer.effect(
|
|
68
|
-
const environment = yield*
|
|
67
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
68
|
+
const environment = yield* Service70;
|
|
69
69
|
const binary = yield* RipgrepBinary2.Service;
|
|
70
70
|
const run = (input) => {
|
|
71
71
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -91,9 +91,9 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
91
91
|
return code === 1 ? [] : rows;
|
|
92
92
|
}));
|
|
93
93
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
94
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
94
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
95
95
|
};
|
|
96
|
-
return
|
|
96
|
+
return Service68.of({
|
|
97
97
|
glob: (input) => run({
|
|
98
98
|
cwd: input.cwd,
|
|
99
99
|
limit: input.limit,
|
|
@@ -179,6 +179,6 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
179
179
|
}))))
|
|
180
180
|
});
|
|
181
181
|
}));
|
|
182
|
-
var
|
|
182
|
+
var node71 = makeLocationNode({ service: Service68, layer, deps: [node73, RipgrepBinary2.node] });
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Error3, InvalidPatternError2, Service68, node71, exports_ripgrep };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-204s3925.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service87,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node91
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service87 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service87.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node91 = makeLocationNode({
|
|
143
|
+
service: Service87,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service87, node91, exports_tool_output2 };
|