@opencode/core 0.0.0-dev-20124 → 0.0.0-dev-20125
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{model-resolver-2j85j1qq.js → location-services-0emxgfas.js} +6 -6
- package/dist/chunks/{model-resolver-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-x8acjjg9.js → location-services-0q5ddrp3.js} +24 -24
- package/dist/chunks/{model-resolver-zytbb0rs.js → location-services-0yznvphr.js} +47 -47
- package/dist/chunks/{model-resolver-ar21n6zh.js → location-services-0zfnzv7s.js} +19 -19
- package/dist/chunks/{model-resolver-3y72t5s0.js → location-services-0znqkj0t.js} +25 -25
- package/dist/chunks/{model-resolver-bdqrk2vk.js → location-services-10jtetaj.js} +4 -4
- package/dist/chunks/{model-resolver-9018cb23.js → location-services-11at1pz6.js} +31 -31
- package/dist/chunks/{model-resolver-qcmdtp8c.js → location-services-15w2zb5v.js} +11 -11
- package/dist/chunks/{model-resolver-y2r7qy0e.js → location-services-16nf19rw.js} +13 -13
- package/dist/chunks/{model-resolver-kbq1152n.js → location-services-18qmnhfe.js} +13 -13
- package/dist/chunks/{model-resolver-156whzkq.js → location-services-19bt37k1.js} +2 -2
- package/dist/chunks/{model-resolver-1acjjqhc.js → location-services-1acjjqhc.js} +1 -1
- package/dist/chunks/{model-resolver-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-26mdse20.js → location-services-1pk0hzjw.js} +18 -18
- package/dist/chunks/{model-resolver-vvb15rdk.js → location-services-1rpr4sn0.js} +11 -11
- package/dist/chunks/{model-resolver-b3825faf.js → location-services-1zjkac87.js} +15 -15
- package/dist/chunks/{model-resolver-3vvy9r1q.js → location-services-1zm9zs82.js} +17 -17
- package/dist/chunks/{model-resolver-jw8j7y7p.js → location-services-20gy8amv.js} +8 -8
- package/dist/chunks/{model-resolver-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-6h73sxmp.js → location-services-2402vzrj.js} +5 -5
- package/dist/chunks/{model-resolver-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-0ng4kf97.js → location-services-2fmdgrn5.js} +29 -29
- package/dist/chunks/{model-resolver-vxhnyb9j.js → location-services-2h18c6je.js} +48 -48
- package/dist/chunks/{model-resolver-fed82zpn.js → location-services-2h5c2y8g.js} +33 -33
- package/dist/chunks/{model-resolver-6vra413r.js → location-services-2m4n6kw6.js} +12 -12
- package/dist/chunks/{model-resolver-qmqgtz8f.js → location-services-2mq1h16s.js} +9 -9
- package/dist/chunks/{model-resolver-cvnss5v6.js → location-services-2wfk4wva.js} +24 -24
- package/dist/chunks/{model-resolver-j9fve04j.js → location-services-30cazatx.js} +14 -14
- package/dist/chunks/{model-resolver-04hnx7m6.js → location-services-31mcx224.js} +12 -12
- package/dist/chunks/{model-resolver-vfm0y0bg.js → location-services-392dz176.js} +21 -21
- package/dist/chunks/{model-resolver-9qkca2k4.js → location-services-3b3nb5w1.js} +28 -28
- package/dist/chunks/{model-resolver-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-sxvnd2nr.js → location-services-3j42n99x.js} +32 -32
- package/dist/chunks/{model-resolver-a48a702n.js → location-services-3qxrn9bz.js} +27 -27
- package/dist/chunks/{model-resolver-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-7ygvs13g.js → location-services-3zyen6e3.js} +5 -5
- package/dist/chunks/{model-resolver-sar4f7bt.js → location-services-40qawf9y.js} +22 -22
- package/dist/chunks/{model-resolver-gn2hfjap.js → location-services-4c2df9zx.js} +8 -8
- package/dist/chunks/{model-resolver-n7a0dxy8.js → location-services-4ddzww6s.js} +4 -4
- package/dist/chunks/{model-resolver-9egj2258.js → location-services-4hgdpg6g.js} +3 -3
- package/dist/chunks/{model-resolver-z3mr859t.js → location-services-4mcknjjt.js} +10 -10
- package/dist/chunks/{model-resolver-tdghhcp4.js → location-services-4qyxhmht.js} +9 -9
- package/dist/chunks/{model-resolver-7d2a7xbs.js → location-services-4v4bfvma.js} +5 -5
- package/dist/chunks/{model-resolver-5e19p4dw.js → location-services-510m7gjw.js} +5 -5
- package/dist/chunks/{model-resolver-k9d40v1y.js → location-services-53fyba40.js} +4 -4
- package/dist/chunks/{model-resolver-56gdpj1q.js → location-services-56gdpj1q.js} +2 -2
- package/dist/chunks/{model-resolver-jygqzb3h.js → location-services-57e9z27j.js} +8 -8
- package/dist/chunks/{model-resolver-d9s573fh.js → location-services-57ez7d0k.js} +2 -2
- package/dist/chunks/{model-resolver-b18rdbr5.js → location-services-5asg57wg.js} +15 -15
- package/dist/chunks/{model-resolver-2f04pwep.js → location-services-5cmxdwv8.js} +2 -2
- package/dist/chunks/{model-resolver-vtjxg7xx.js → location-services-5d5xbkck.js} +22 -22
- package/dist/chunks/{model-resolver-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-z1dymymf.js → location-services-5jsw2xt7.js} +17 -17
- package/dist/chunks/{model-resolver-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-k4nv4f3v.js → location-services-5wg5q7vf.js} +1 -1
- package/dist/chunks/{model-resolver-emmx8e90.js → location-services-5xp4z7n8.js} +28 -28
- package/dist/chunks/location-services-619r8v3y.js +18 -0
- package/dist/chunks/{model-resolver-fg4tf8ta.js → location-services-659djk32.js} +10 -10
- package/dist/chunks/{model-resolver-173t7wcz.js → location-services-65b0tj0r.js} +8 -8
- package/dist/chunks/{model-resolver-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/location-services-67rk9me1.js +26 -0
- package/dist/chunks/{model-resolver-bfgskg5r.js → location-services-6cpevseb.js} +21 -21
- package/dist/chunks/{model-resolver-7d0nz2vs.js → location-services-6esbcq56.js} +18 -18
- package/dist/chunks/{model-resolver-q5v28ps9.js → location-services-6ewk1465.js} +20 -20
- package/dist/chunks/{model-resolver-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-6pc27hjz.js → location-services-6pc27hjz.js} +2 -2
- package/dist/chunks/{model-resolver-9ssqh1pf.js → location-services-6rnbv420.js} +34 -34
- package/dist/chunks/{model-resolver-s5vxn3hm.js → location-services-6sentj5w.js} +13 -13
- package/dist/chunks/{model-resolver-gw5a5t0z.js → location-services-6v6f5jfp.js} +7 -7
- package/dist/chunks/{model-resolver-mv035zws.js → location-services-6w63ww4m.js} +29 -29
- package/dist/chunks/{model-resolver-49fmtcj3.js → location-services-70zp61gn.js} +22 -22
- package/dist/chunks/{model-resolver-2gmwjqmv.js → location-services-72k1ea8x.js} +19 -19
- package/dist/chunks/{model-resolver-80rghvf4.js → location-services-74hbrnmz.js} +28 -28
- package/dist/chunks/{model-resolver-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-19518qm9.js → location-services-7bs9y7h6.js} +11 -11
- package/dist/chunks/{model-resolver-qgn6gcr1.js → location-services-7dqw4kz8.js} +5 -5
- package/dist/chunks/{model-resolver-qxjcrr5t.js → location-services-7f3q6yqx.js} +7 -7
- package/dist/chunks/{model-resolver-ra46vd3y.js → location-services-7nxgccxd.js} +15 -15
- package/dist/chunks/{model-resolver-569et0xs.js → location-services-7pfrbv4x.js} +25 -25
- package/dist/chunks/{model-resolver-27z1xvbk.js → location-services-7thazvac.js} +18 -18
- package/dist/chunks/{model-resolver-2kewd2va.js → location-services-7v81x33d.js} +9 -9
- package/dist/chunks/{model-resolver-xwnzkdf1.js → location-services-7xab2va4.js} +23 -23
- package/dist/chunks/{model-resolver-vg07qq75.js → location-services-8ajm3ywz.js} +9 -9
- package/dist/chunks/{model-resolver-3fp3xcnb.js → location-services-8chsdpa2.js} +14 -14
- package/dist/chunks/{model-resolver-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-ft7xjps2.js → location-services-8kysg0nx.js} +8 -8
- package/dist/chunks/{model-resolver-bkfeammj.js → location-services-8tx3xb2f.js} +23 -23
- package/dist/chunks/{model-resolver-gfvb90ym.js → location-services-94ek1h2f.js} +2 -2
- package/dist/chunks/{model-resolver-emgtyv65.js → location-services-954vm9zf.js} +6 -6
- package/dist/chunks/{model-resolver-7efmbnhw.js → location-services-9901z4r2.js} +7 -7
- package/dist/chunks/{model-resolver-33vhehfz.js → location-services-99n1k344.js} +8 -8
- package/dist/chunks/{model-resolver-yecfnvqz.js → location-services-9qd8znf5.js} +17 -17
- package/dist/chunks/{model-resolver-cqxgg118.js → location-services-9rhqejhv.js} +22 -22
- package/dist/chunks/{model-resolver-fqtvmpfq.js → location-services-a2qe2ev9.js} +8 -8
- package/dist/chunks/{model-resolver-t8916jym.js → location-services-a9rrtyrz.js} +35 -35
- package/dist/chunks/{model-resolver-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-qq6mbj5a.js → location-services-ab3hzfp7.js} +33 -33
- package/dist/chunks/{model-resolver-w8xrrrrv.js → location-services-at9jh15n.js} +1 -1
- package/dist/chunks/{model-resolver-nrpdyjdp.js → location-services-axweeaxh.js} +25 -25
- package/dist/chunks/{model-resolver-8p1ggxfh.js → location-services-ay4q8r05.js} +12 -12
- package/dist/chunks/{model-resolver-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-bt1446pf.js → location-services-bmgx2yh5.js} +21 -21
- package/dist/chunks/{model-resolver-cmwkp3r5.js → location-services-br0tr5aq.js} +8 -8
- package/dist/chunks/{model-resolver-w0mbtrs6.js → location-services-bsba7pb1.js} +11 -11
- package/dist/chunks/{model-resolver-9hk60pt8.js → location-services-bzq82520.js} +23 -23
- package/dist/chunks/{model-resolver-sy26cvr2.js → location-services-c0ge5ze9.js} +8 -8
- package/dist/chunks/{model-resolver-p95nf0hr.js → location-services-c85bkqez.js} +11 -11
- package/dist/chunks/{model-resolver-es2axtbg.js → location-services-c97n56v4.js} +3 -3
- package/dist/chunks/{model-resolver-54tcyq79.js → location-services-ckecvw8r.js} +2 -2
- package/dist/chunks/{model-resolver-kfvedqw3.js → location-services-ckfwh0ft.js} +5 -5
- package/dist/chunks/{model-resolver-8z00fdkb.js → location-services-cpj0znwe.js} +4 -4
- package/dist/chunks/{model-resolver-9gdecscc.js → location-services-d1f8kr1w.js} +11 -11
- package/dist/chunks/{model-resolver-r5b1nhw7.js → location-services-d3dgreaz.js} +22 -22
- package/dist/chunks/{model-resolver-x0jpbkmn.js → location-services-dmcw5njr.js} +19 -19
- package/dist/chunks/{model-resolver-dpkg50ah.js → location-services-dpkg50ah.js} +1 -1
- package/dist/chunks/{model-resolver-8h519gpd.js → location-services-drs1kqv3.js} +8 -8
- package/dist/chunks/{model-resolver-drwq78ky.js → location-services-drwq78ky.js} +1 -1
- package/dist/chunks/{model-resolver-rpg9c19m.js → location-services-e2hjzebn.js} +4 -4
- package/dist/chunks/{model-resolver-0ryd0fps.js → location-services-e8qyrgb1.js} +5 -5
- package/dist/chunks/{model-resolver-02nrjc1r.js → location-services-eaj1djv9.js} +4 -4
- package/dist/chunks/{model-resolver-7c5c7hvy.js → location-services-eapcvek1.js} +6 -6
- package/dist/chunks/{model-resolver-ecfe7b91.js → location-services-ecfe7b91.js} +2 -2
- package/dist/chunks/{model-resolver-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-j1k7yznt.js → location-services-eht4x1f2.js} +43 -43
- package/dist/chunks/{model-resolver-mztje66g.js → location-services-emp69c0t.js} +20 -20
- package/dist/chunks/{model-resolver-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-4xbskmpe.js → location-services-evbgk2k8.js} +5 -5
- package/dist/chunks/{model-resolver-7kj39dgh.js → location-services-ey6gzjdn.js} +8 -8
- package/dist/chunks/{model-resolver-jb2d0ras.js → location-services-f803x2xd.js} +27 -27
- package/dist/chunks/{model-resolver-e8m9yhze.js → location-services-fbxx4ebc.js} +18 -18
- package/dist/chunks/{model-resolver-mvn2r3z4.js → location-services-fhs97t90.js} +2 -2
- package/dist/chunks/{model-resolver-fzft6rk9.js → location-services-fj5p2bdw.js} +27 -27
- package/dist/chunks/{model-resolver-jzn2qkj6.js → location-services-fk21kn01.js} +7 -7
- package/dist/chunks/{model-resolver-mjymc32g.js → location-services-g190xswt.js} +4 -4
- package/dist/chunks/{model-resolver-hdhk3cs9.js → location-services-g59gqwxm.js} +11 -11
- package/dist/chunks/{model-resolver-j4amppr9.js → location-services-g5mv2pxk.js} +166 -166
- package/dist/chunks/{model-resolver-ss6wnmcn.js → location-services-g77y8mjg.js} +14 -14
- package/dist/chunks/{model-resolver-b27vhd2z.js → location-services-g8d3gcyj.js} +7 -7
- package/dist/chunks/{model-resolver-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-pb97dx7z.js → location-services-gejgy2pm.js} +11 -11
- package/dist/chunks/{model-resolver-4m9cw4aw.js → location-services-ggex6fsv.js} +11 -11
- package/dist/chunks/{model-resolver-yyb7tjpc.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-y3f947ba.js → location-services-h0rpvr5n.js} +54 -54
- package/dist/chunks/{model-resolver-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-9kbkhne8.js → location-services-hfjnb18e.js} +20 -20
- package/dist/chunks/{model-resolver-dyhdt8jb.js → location-services-j2n17bp2.js} +4 -4
- package/dist/chunks/{model-resolver-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-sk2hk6tq.js → location-services-j58c5xyq.js} +9 -9
- package/dist/chunks/{model-resolver-zj1cah0a.js → location-services-j6smyfjg.js} +29 -29
- package/dist/chunks/{model-resolver-q2b1ymqp.js → location-services-j83byb14.js} +4 -4
- package/dist/chunks/{model-resolver-vr7k8aqm.js → location-services-jc0bsjh2.js} +32 -32
- package/dist/chunks/{model-resolver-b62ps4b3.js → location-services-jev1dhp7.js} +10 -10
- package/dist/chunks/{model-resolver-d23g84s9.js → location-services-jfefyanm.js} +15 -15
- package/dist/chunks/{model-resolver-yb0aafdb.js → location-services-jh8c5v8n.js} +41 -41
- package/dist/chunks/{model-resolver-bfd0r08e.js → location-services-jjvhwfpq.js} +20 -20
- package/dist/chunks/{model-resolver-r0pftj6c.js → location-services-k0y01600.js} +29 -29
- package/dist/chunks/{model-resolver-k3c624dm.js → location-services-k3c624dm.js} +3 -3
- package/dist/chunks/{model-resolver-4bm5ja14.js → location-services-kkp8zx71.js} +4 -4
- package/dist/chunks/{model-resolver-r94xmz3e.js → location-services-kvbdntjf.js} +3 -3
- package/dist/chunks/{model-resolver-72f6taeg.js → location-services-kzyapyhx.js} +30 -30
- package/dist/chunks/{model-resolver-8xxayhk6.js → location-services-m21yf6dx.js} +12 -12
- package/dist/chunks/{model-resolver-fhhby8rf.js → location-services-m3bpdrrf.js} +8 -8
- package/dist/chunks/{model-resolver-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-vsfsehjp.js → location-services-m6kevm74.js} +16 -16
- package/dist/chunks/{model-resolver-s0ga44w9.js → location-services-m8h3kvsx.js} +3 -3
- package/dist/chunks/{model-resolver-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-0mz149mz.js → location-services-mkfyqh68.js} +18 -18
- package/dist/chunks/{model-resolver-g17wn8cw.js → location-services-mvr5bn4j.js} +12 -12
- package/dist/chunks/{model-resolver-2dznbxmy.js → location-services-mvxzp4yn.js} +23 -23
- package/dist/chunks/{model-resolver-7x6bmn48.js → location-services-mz54m1cf.js} +23 -23
- package/dist/chunks/{model-resolver-3pm9m3n0.js → location-services-n8d8pzp3.js} +13 -13
- package/dist/chunks/{model-resolver-8n3bkser.js → location-services-ndtar9je.js} +16 -16
- package/dist/chunks/{model-resolver-ak724xxd.js → location-services-njkqnv2m.js} +30 -30
- package/dist/chunks/{model-resolver-87qhefk3.js → location-services-njp0gf2a.js} +5 -5
- package/dist/chunks/{model-resolver-cqg8v4c7.js → location-services-nqnxh7mc.js} +6 -6
- package/dist/chunks/{model-resolver-dvt6vme3.js → location-services-nqxnamtt.js} +29 -29
- package/dist/chunks/{model-resolver-0v374yjc.js → location-services-nr237r1d.js} +5 -5
- package/dist/chunks/{model-resolver-ptfyc8rg.js → location-services-nrr650rb.js} +87 -87
- package/dist/chunks/{model-resolver-79skyr14.js → location-services-nxqybc3w.js} +11 -11
- package/dist/chunks/{model-resolver-4xz89tjk.js → location-services-p44d8wdy.js} +5 -5
- package/dist/chunks/{model-resolver-fh6ss5gb.js → location-services-p4y0extq.js} +15 -15
- package/dist/chunks/{model-resolver-hep603q0.js → location-services-p6d50vvj.js} +9 -9
- package/dist/chunks/{model-resolver-w5efcytb.js → location-services-p8kvbvy7.js} +13 -13
- package/dist/chunks/{model-resolver-swhhnpja.js → location-services-pd6tq2tz.js} +5 -5
- package/dist/chunks/{model-resolver-7161yw90.js → location-services-pdtfdfzz.js} +7 -7
- package/dist/chunks/{model-resolver-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-4p21y445.js → location-services-pmnhh4k7.js} +22 -22
- package/dist/chunks/{model-resolver-nna5qp8a.js → location-services-prjfewh6.js} +4 -4
- package/dist/chunks/{model-resolver-v4hswpd3.js → location-services-pxveyybe.js} +66 -66
- package/dist/chunks/location-services-qapv375x.js +4 -0
- package/dist/chunks/{model-resolver-qmb29zc9.js → location-services-qc636jkm.js} +38 -38
- package/dist/chunks/{model-resolver-4qqzqwb9.js → location-services-qe35vjqf.js} +5 -5
- package/dist/chunks/{model-resolver-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-chh4w0bc.js → location-services-r0h6jesp.js} +10 -10
- package/dist/chunks/{model-resolver-p49rk7zg.js → location-services-r0hpsfbs.js} +4 -4
- package/dist/chunks/{model-resolver-sqy4ahhk.js → location-services-r3c4069c.js} +1 -1
- package/dist/chunks/{model-resolver-yh08wsj3.js → location-services-r3zred37.js} +11 -11
- package/dist/chunks/{model-resolver-mvfsc1pv.js → location-services-r5x6zcsm.js} +3 -3
- package/dist/chunks/{model-resolver-qh8wc3pe.js → location-services-r756e8jm.js} +19 -19
- package/dist/chunks/location-services-rav463tp.js +252 -0
- package/dist/chunks/{model-resolver-8kqr9rea.js → location-services-rcm2pyze.js} +4 -4
- package/dist/chunks/{model-resolver-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-a3ykbbws.js → location-services-rekjz194.js} +18 -18
- package/dist/chunks/{model-resolver-6dr7817k.js → location-services-rfr0hfk5.js} +19 -19
- package/dist/chunks/{model-resolver-gzq5apsj.js → location-services-rk7s9xkn.js} +4 -4
- package/dist/chunks/{model-resolver-0gbss3fx.js → location-services-rnjf2mfy.js} +25 -25
- package/dist/chunks/{model-resolver-6zpb3hvq.js → location-services-rtd1zbsh.js} +9 -9
- package/dist/chunks/{model-resolver-wfdevf9j.js → location-services-rwjd94kv.js} +11 -11
- package/dist/chunks/{model-resolver-pr8smg67.js → location-services-ry8zayj3.js} +18 -18
- package/dist/chunks/{model-resolver-w9m2hjqa.js → location-services-s27102ja.js} +22 -22
- package/dist/chunks/{model-resolver-bsf62bbk.js → location-services-scx3ygn5.js} +13 -13
- package/dist/chunks/{model-resolver-4rqrtqc5.js → location-services-skyctjxw.js} +8 -8
- package/dist/chunks/{model-resolver-778t764x.js → location-services-smpcm6e3.js} +44 -44
- package/dist/chunks/{model-resolver-7bxnc6x6.js → location-services-sq54nhcy.js} +11 -11
- package/dist/chunks/{model-resolver-afcq0tqz.js → location-services-sv3kc9gc.js} +32 -32
- package/dist/chunks/{model-resolver-fxnvxn2a.js → location-services-t1nf5hrg.js} +6 -6
- package/dist/chunks/{model-resolver-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-89znhe33.js → location-services-tcezcvh9.js} +4 -4
- package/dist/chunks/{model-resolver-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-x520n2qy.js → location-services-tgdwbfc8.js} +43 -43
- package/dist/chunks/{model-resolver-4s2padma.js → location-services-tnfqcryg.js} +9 -9
- package/dist/chunks/{model-resolver-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-agd0d5z2.js → location-services-twe1sq19.js} +30 -30
- package/dist/chunks/location-services-tyryy8pr.js +507 -0
- package/dist/chunks/{model-resolver-40a4pq3k.js → location-services-v4vy6p0z.js} +3 -3
- package/dist/chunks/{model-resolver-1d64zjtd.js → location-services-v5qzn3t7.js} +10 -10
- package/dist/chunks/{model-resolver-d6ggdbw1.js → location-services-v6n3qzc8.js} +11 -11
- package/dist/chunks/{model-resolver-5jbstfnb.js → location-services-vdnaayn5.js} +21 -21
- package/dist/chunks/{model-resolver-3rf7mzjq.js → location-services-vdqtsfcb.js} +85 -85
- package/dist/chunks/{model-resolver-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-9amkr7ky.js → location-services-vjjpwh8d.js} +11 -11
- package/dist/chunks/{model-resolver-s8610hey.js → location-services-vmgq4x8b.js} +2 -2
- package/dist/chunks/{model-resolver-7p797550.js → location-services-vmwh049b.js} +3 -3
- package/dist/chunks/{model-resolver-qkdvh7fa.js → location-services-vxr8h3va.js} +11 -11
- package/dist/chunks/{model-resolver-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-1g3fhskv.js → location-services-w130ws8s.js} +20 -20
- package/dist/chunks/{model-resolver-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-n97pwnhd.js → location-services-w47g9jnr.js} +12 -12
- package/dist/chunks/{model-resolver-58c90p9y.js → location-services-w6f3fvch.js} +2 -2
- package/dist/chunks/{model-resolver-0jfh7z55.js → location-services-w7eejp4m.js} +41 -41
- package/dist/chunks/{model-resolver-e8r9fk8v.js → location-services-w9ksjw7g.js} +5 -5
- package/dist/chunks/{model-resolver-psazpmmj.js → location-services-wd3x2cqz.js} +2 -2
- package/dist/chunks/{model-resolver-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-myb1y6vq.js → location-services-wnfy9vff.js} +44 -44
- package/dist/chunks/{model-resolver-93kvt1p5.js → location-services-wq4mmp7m.js} +4 -4
- package/dist/chunks/{model-resolver-rgwzaj5r.js → location-services-wvv33cf4.js} +30 -30
- package/dist/chunks/{model-resolver-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-pm44etjj.js → location-services-x6x6kmpk.js} +46 -46
- package/dist/chunks/{model-resolver-bykc32a6.js → location-services-xawabwva.js} +5 -5
- package/dist/chunks/{model-resolver-kmx0na6r.js → location-services-xf0nr9dv.js} +4 -4
- package/dist/chunks/{model-resolver-1k3s6syq.js → location-services-xfskg7sv.js} +3 -3
- package/dist/chunks/{model-resolver-xkntkrq7.js → location-services-xkntkrq7.js} +2 -2
- package/dist/chunks/{model-resolver-0kg3x5km.js → location-services-xvrhnmeg.js} +13 -13
- package/dist/chunks/{model-resolver-2f9f9n6j.js → location-services-xyja9mw2.js} +30 -30
- package/dist/chunks/{model-resolver-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-0tdm3y21.js → location-services-yhb1cynt.js} +10 -10
- package/dist/chunks/{model-resolver-kz7p30d5.js → location-services-ypqexdpc.js} +9 -9
- package/dist/chunks/{model-resolver-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → location-services-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-kmaq4q5p.js → location-services-ysek0sym.js} +32 -32
- package/dist/chunks/{model-resolver-qw3sg1b0.js → location-services-yvcft4ah.js} +3 -3
- package/dist/chunks/{model-resolver-xhg1wmas.js → location-services-yw7qsmd6.js} +34 -34
- package/dist/chunks/{model-resolver-bjtzbw4r.js → location-services-z07pqspn.js} +3 -3
- package/dist/chunks/{model-resolver-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-csnfj2b0.js → location-services-z428gfq7.js} +32 -32
- package/dist/chunks/{model-resolver-mxmchy46.js → location-services-z5rd9rww.js} +8 -8
- package/dist/chunks/{model-resolver-z63w68vq.js → location-services-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-f3r70g5j.js → location-services-z6jh25qd.js} +5 -5
- package/dist/chunks/{model-resolver-0q26a2b3.js → location-services-z7sjnmbk.js} +18 -18
- package/dist/chunks/{model-resolver-d0k1g5nx.js → location-services-zdwe30dy.js} +6 -6
- package/dist/chunks/{model-resolver-63ctpfk7.js → location-services-ze282xkw.js} +23 -23
- package/dist/chunks/{model-resolver-rq775frq.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-2n8bv8kh.js → location-services-zfb8mnxq.js} +3 -3
- package/dist/chunks/{model-resolver-s7d3q35h.js → location-services-zh3km4py.js} +4 -4
- package/dist/chunks/{model-resolver-36qt8gf5.js → location-services-zkec4d7v.js} +15 -15
- package/dist/chunks/{model-resolver-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-mdggx82f.js → location-services-ztfa9d4b.js} +11 -11
- package/dist/chunks/{model-resolver-6yqr96vd.js → location-services-zwczyea9.js} +33 -33
- package/dist/chunks/{model-resolver-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +99 -99
- 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 +362 -362
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/model-resolver-0mesazry.js +0 -4
- package/dist/chunks/model-resolver-ht5y0zrb.js +0 -18
- package/dist/chunks/model-resolver-sn674wr2.js +0 -26
- package/dist/chunks/model-resolver-x8rsv9gq.js +0 -252
- package/dist/chunks/model-resolver-zg1ez3dq.js +0 -507
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-34c7v6d4.js → location-services-34c7v6d4.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./location-services-m6kevm74.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-6rnbv420.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event18,
|
|
21
21
|
ID: () => ID12,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info27,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service72,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node76,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,12 +34,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event18 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
42
|
+
var Info27 = Skill.Info;
|
|
43
43
|
var ID12 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
@@ -71,10 +71,10 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service72 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service72.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node76 = makeLocationNode({
|
|
112
|
+
service: Service72,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info27, ID12, Name2, available2, toModelOutput3, prepare3, Service72, node76, exports_skill5, Event18 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info13
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info13 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info13, exports_attachment };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-bsba7pb1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin35,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin35 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin41 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin41 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin35, exports_tavily };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./location-services-mz54m1cf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./location-services-6rnbv420.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service23
|
|
14
|
+
} from "./location-services-bzq82520.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input2,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin20,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description2,
|
|
27
|
+
name: () => name2
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name2 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input2 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin20 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service75;
|
|
53
|
+
const forms = yield* Service68;
|
|
54
|
+
const websearch = yield* Service23;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name2,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description2,
|
|
59
|
+
input: Input2,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name2,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name2];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name2, NO_RESULTS2, description2, Input2, Plugin20, exports_websearch2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-services-sq54nhcy.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-z07pqspn.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info5,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service29,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node33,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info5 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service29 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make21({
|
|
65
65
|
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service29.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node33 = makeLocationNode({ service: Service29, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service29, node33, exports_instruction_entry };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./location-services-m6kevm74.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-r756e8jm.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
20
|
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service25,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
24
|
configured: () => configured3,
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
layer: () => layer10,
|
|
26
|
+
node: () => node28
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -37,20 +37,20 @@ import { resolveBinary } from "#persistent-pty-binary";
|
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service25 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service25.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
258
|
+
var layer10 = makeLayer();
|
|
259
259
|
var configured3 = (options) => makeGlobalNode({
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
260
|
+
service: Service25,
|
|
261
|
+
layer: options === undefined ? layer10 : makeLayer(options),
|
|
262
|
+
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node28 = configured3();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export { Options3,
|
|
304
|
+
export { Options3, UnavailableError3, NotFoundError4, Service25, layer10, configured3, node28, exports_persistent_pty, Handoff2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info16,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info16 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info16, exports_permission };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-wvv33cf4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service62,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node65
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID8,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service62 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service62, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service62.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
|
|
|
862
862
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
863
863
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
864
864
|
}
|
|
865
|
-
var
|
|
865
|
+
var node65 = makeLocationNode({ service: Service62, layer: locationLayer2, deps: [] });
|
|
866
866
|
|
|
867
|
-
export { InitError2,
|
|
867
|
+
export { InitError2, Service62, locationLayer2, node65, exports_aisdk };
|