@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,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service82,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node86
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service82 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service82.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node86 = makeGlobalNode({ service: Service82, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service82, node86, exports_git3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-7nxgccxd.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-services-sq54nhcy.js";
|
|
1
5
|
import {
|
|
2
6
|
Service83,
|
|
3
7
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service82,
|
|
7
|
-
node86
|
|
8
|
-
} from "./model-resolver-vsfsehjp.js";
|
|
8
|
+
} from "./location-services-m6kevm74.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service60,
|
|
11
|
+
node63
|
|
12
|
+
} from "./location-services-zkec4d7v.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service58,
|
|
15
|
+
node61
|
|
16
|
+
} from "./location-services-zdwe30dy.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-services-1acjjqhc.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service56
|
|
26
|
+
} from "./location-services-e2hjzebn.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-vmwh049b.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service77,
|
|
32
|
+
node81
|
|
33
|
+
} from "./location-services-jfefyanm.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-services-j2n17bp2.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-services-2wfk4wva.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-services-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service55,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer20,
|
|
50
|
+
node: () => node59,
|
|
51
|
+
noopLayer: () => noopLayer3,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service55 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
71
|
-
const bus = yield*
|
|
72
|
-
const jobs = yield*
|
|
73
|
-
const db = (yield*
|
|
68
|
+
var layer20 = Layer.effect(Service55, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service77;
|
|
70
|
+
const instances = yield* Service58;
|
|
71
|
+
const bus = yield* Service83;
|
|
72
|
+
const jobs = yield* Service60;
|
|
73
|
+
const db = (yield* Service84).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
76
76
|
commit: () => store.claim(sessionID)
|
|
@@ -82,7 +82,7 @@ var layer22 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service56.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
@@ -110,7 +110,7 @@ var layer22 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service55.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer22 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node59 = makeGlobalNode({
|
|
133
|
+
service: Service55,
|
|
134
|
+
layer: layer20,
|
|
135
|
+
deps: [node81, node61, node87, node88, node63]
|
|
136
136
|
});
|
|
137
|
-
var
|
|
137
|
+
var noopLayer3 = Layer.succeed(Service55, Service55.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service51, Service51.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service55, terminal2, layer20, node59, noopLayer3, exports_execution };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./location-services-wvv33cf4.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID8.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service51
|
|
7
|
+
} from "./location-services-x6x6kmpk.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service48
|
|
13
|
+
} from "./location-services-6cpevseb.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service60
|
|
16
|
+
} from "./location-services-zkec4d7v.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service75
|
|
19
|
+
} from "./location-services-6rnbv420.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service74,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-5asg57wg.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service50,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-services-r756e8jm.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError6,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service45
|
|
37
|
+
} from "./location-services-eht4x1f2.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service26
|
|
40
|
+
} from "./location-services-nrr650rb.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-services-zh3km4py.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-services-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input12,
|
|
53
|
+
Plugin: () => Plugin32,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name12 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input12 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin32 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service26;
|
|
123
|
+
const jobs = yield* Service60;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service48;
|
|
126
|
+
const access = yield* Service74;
|
|
127
|
+
const shell = yield* Service45;
|
|
128
|
+
const shellSelect = yield* Service50;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service75;
|
|
131
|
+
const config = yield* Service51;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin8 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name12,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin8 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name12,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input12,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -220,7 +220,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
220
220
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
221
221
|
const job = yield* jobs.start({
|
|
222
222
|
id: info.id,
|
|
223
|
-
type:
|
|
223
|
+
type: name12,
|
|
224
224
|
title: info.command,
|
|
225
225
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
226
226
|
recovery: {
|
|
@@ -250,7 +250,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
250
250
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
const hook = (event) => Effect.gen(function* () {
|
|
253
|
-
const tool = event.tools[
|
|
253
|
+
const tool = event.tools[name12];
|
|
254
254
|
if (!tool)
|
|
255
255
|
return;
|
|
256
256
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -261,4 +261,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
261
261
|
})
|
|
262
262
|
};
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin32, exports_shell2 };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-eaj1djv9.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-z07pqspn.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./location-services-m6kevm74.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service67,
|
|
12
|
+
node71,
|
|
13
|
+
Event14
|
|
14
|
+
} from "./location-services-74hbrnmz.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-cpj0znwe.js";
|
|
18
18
|
import {
|
|
19
19
|
Service80,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-w6f3fvch.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event13,
|
|
41
|
+
ID: () => ID8,
|
|
42
|
+
Info: () => Info21,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
45
|
Request: () => Request2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service66,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node70,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event13 } from "@opencode/schema/provider";
|
|
68
|
+
var ID8 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -210,9 +210,9 @@ var Request2 = Provider.Request;
|
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info21 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service66 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,9 +225,9 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
229
|
-
const bus = yield*
|
|
230
|
-
const integrations = yield*
|
|
228
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
229
|
+
const bus = yield* Service83;
|
|
230
|
+
const integrations = yield* Service67;
|
|
231
231
|
const location = yield* Service80;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info21.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID9.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event14.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service66.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node70 = makeLocationNode({ service: Service66, layer, deps: [node87, node71, node84] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
616
616
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
617
617
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
618
618
|
|
|
619
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
619
|
+
export { rewrite2, native2, exports_aisdk_native, ID8, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info21, Service66, node70, exports_provider3, Event13 };
|