@opencode/core 0.0.0-dev-21894 → 0.0.0-dev-21903
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 +87 -87
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/location-services-00ve6mdn.js +18 -0
- package/dist/chunks/{image-034tev2y.js → location-services-034tev2y.js} +2 -2
- package/dist/chunks/{image-5w7vbjkb.js → location-services-03efvwc7.js} +12 -12
- package/dist/chunks/{image-ee12drxn.js → location-services-04521nwg.js} +5 -5
- package/dist/chunks/{image-qx8tdc9v.js → location-services-0fm9943z.js} +33 -33
- package/dist/chunks/{image-r93dx0pk.js → location-services-0n4brtsj.js} +29 -29
- package/dist/chunks/{image-pr13x5tz.js → location-services-0vfaxtry.js} +5 -5
- package/dist/chunks/{image-exned2cn.js → location-services-0z1vf8kx.js} +1 -1
- package/dist/chunks/{image-11hfp36g.js → location-services-11hfp36g.js} +1 -1
- package/dist/chunks/{image-ge2rcvjg.js → location-services-11w1erh0.js} +49 -49
- package/dist/chunks/{image-8ycv8ygb.js → location-services-147vawtp.js} +19 -19
- package/dist/chunks/{image-rh4sx1pa.js → location-services-1bfj8692.js} +35 -39
- package/dist/chunks/{image-1ep2p91f.js → location-services-1ep2p91f.js} +2 -2
- package/dist/chunks/{image-8qrjb01m.js → location-services-1wxh740a.js} +9 -9
- package/dist/chunks/{image-1x2knyw4.js → location-services-1x2knyw4.js} +1 -1
- package/dist/chunks/{image-1yq9hg58.js → location-services-1yq9hg58.js} +1 -1
- package/dist/chunks/{image-204s3925.js → location-services-204s3925.js} +1 -1
- package/dist/chunks/{image-nsjyjchz.js → location-services-21db4a7w.js} +12 -12
- package/dist/chunks/{image-2azy8kv6.js → location-services-2kj7f5bg.js} +7 -7
- package/dist/chunks/{image-kpnmqdrr.js → location-services-2ndatbyk.js} +4 -4
- package/dist/chunks/{image-2z1j29yd.js → location-services-2z1j29yd.js} +1 -1
- package/dist/chunks/{image-edfcvy1j.js → location-services-31f92er7.js} +5 -5
- package/dist/chunks/{image-8m9tyk9p.js → location-services-35qjbqn0.js} +17 -17
- package/dist/chunks/{image-gbbxnba2.js → location-services-3bkdny4k.js} +6 -6
- package/dist/chunks/{image-zk95xct4.js → location-services-3f3gn4kn.js} +3 -3
- package/dist/chunks/{image-v8w1bnvx.js → location-services-3fghs3em.js} +33 -33
- package/dist/chunks/{image-0xa5r7gy.js → location-services-3fvf9d3k.js} +11 -11
- package/dist/chunks/{image-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-3nnrz6f6.js → location-services-3nnrz6f6.js} +1 -1
- package/dist/chunks/{image-ky8tssh9.js → location-services-3p3d7qzt.js} +12 -12
- package/dist/chunks/{image-40za9wsf.js → location-services-40za9wsf.js} +2 -2
- package/dist/chunks/{image-n7wnam13.js → location-services-46bpvt4v.js} +8 -8
- package/dist/chunks/{image-ky7xv0tv.js → location-services-4az1a8cs.js} +6 -6
- package/dist/chunks/{image-gvpcwzxz.js → location-services-4cdz94wm.js} +30 -30
- package/dist/chunks/{image-r9amg80d.js → location-services-4kvj368v.js} +25 -25
- package/dist/chunks/{image-4v008n1t.js → location-services-4v008n1t.js} +1 -1
- package/dist/chunks/{image-szn95e7f.js → location-services-4vjrd2nm.js} +21 -21
- package/dist/chunks/{image-731keyrx.js → location-services-4wqc8mqe.js} +5 -5
- package/dist/chunks/{image-kwecz68a.js → location-services-4xehb7nf.js} +5 -5
- package/dist/chunks/{image-4xvmh7wp.js → location-services-4xvmh7wp.js} +3 -3
- package/dist/chunks/{image-yafd30nv.js → location-services-52jkpkhk.js} +19 -19
- package/dist/chunks/{image-g8nfv600.js → location-services-52k98881.js} +28 -28
- package/dist/chunks/{image-a8kzmvy3.js → location-services-551jtzns.js} +1 -1
- package/dist/chunks/{image-ypfyeefr.js → location-services-5m90njqj.js} +8 -8
- package/dist/chunks/{image-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
- package/dist/chunks/{image-5kgs3fk1.js → location-services-5qdyz63a.js} +6 -6
- package/dist/chunks/{image-x2askrax.js → location-services-60aw2bkc.js} +6 -6
- package/dist/chunks/{image-1y5v4mkh.js → location-services-64mt0z0h.js} +7 -7
- package/dist/chunks/{image-h0bne5vx.js → location-services-66vyf1s0.js} +37 -37
- package/dist/chunks/{image-6esdw8yj.js → location-services-6esdw8yj.js} +1 -1
- package/dist/chunks/{image-z5zx3gz5.js → location-services-6g5jwsqq.js} +4 -4
- package/dist/chunks/{image-rd02mkry.js → location-services-6gjd4geh.js} +9 -9
- package/dist/chunks/{image-pkwadbh0.js → location-services-6n3n8n8c.js} +33 -33
- package/dist/chunks/{image-6pjqjmy2.js → location-services-6pjqjmy2.js} +1 -1
- package/dist/chunks/{image-1ya9fna5.js → location-services-6tj0eyfy.js} +13 -13
- package/dist/chunks/{image-vxep47rf.js → location-services-73mjnqkv.js} +18 -18
- package/dist/chunks/{image-76cb1hcw.js → location-services-76cb1hcw.js} +1 -1
- package/dist/chunks/{image-qvm0zdhb.js → location-services-777csmha.js} +17 -17
- package/dist/chunks/{image-465gqz21.js → location-services-77vhwr65.js} +22 -22
- package/dist/chunks/{image-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-r5ef1bj7.js → location-services-7ebn5dnv.js} +34 -34
- package/dist/chunks/{image-x7hq4v6t.js → location-services-7ekdzgrw.js} +11 -11
- package/dist/chunks/{image-0twh7x0p.js → location-services-7ewvyx1h.js} +43 -43
- package/dist/chunks/{image-7hbkmckc.js → location-services-7eysnd3f.js} +30 -30
- package/dist/chunks/{image-gcq7bt32.js → location-services-7gfrq6pk.js} +12 -12
- package/dist/chunks/{image-zdj0mree.js → location-services-7nzy79pb.js} +18 -18
- package/dist/chunks/{image-gggcxneh.js → location-services-7q3v9td2.js} +39 -39
- package/dist/chunks/{image-7w2ypzdf.js → location-services-7w2ypzdf.js} +1 -1
- package/dist/chunks/{image-405jdxex.js → location-services-7ye3a43r.js} +3 -3
- package/dist/chunks/{image-4b5nmf5q.js → location-services-814m0pbm.js} +45 -45
- package/dist/chunks/{image-sf9d32j3.js → location-services-82dff8wv.js} +41 -41
- package/dist/chunks/{image-pdj0m96v.js → location-services-8e1vq2t0.js} +12 -12
- package/dist/chunks/{image-bcpp1tvw.js → location-services-8e60wtf7.js} +24 -24
- package/dist/chunks/{image-7hqnhvmk.js → location-services-8fxjxqq6.js} +4 -4
- package/dist/chunks/{image-z3294gqc.js → location-services-8mk0bwpx.js} +4 -4
- package/dist/chunks/{image-41b5h7kw.js → location-services-8qyg6xvd.js} +8 -8
- package/dist/chunks/{image-6y263vp8.js → location-services-8wc2fpae.js} +5 -5
- package/dist/chunks/{image-8wtp7s3z.js → location-services-8wtp7s3z.js} +1 -1
- package/dist/chunks/{image-mrpqwg29.js → location-services-8ywtscb8.js} +21 -21
- package/dist/chunks/{image-91rj84md.js → location-services-91rj84md.js} +1 -1
- package/dist/chunks/{image-80m5xgxj.js → location-services-92cn2t4g.js} +8 -8
- package/dist/chunks/{image-489czqv0.js → location-services-94r2kbax.js} +11 -11
- package/dist/chunks/{image-0jq6xs6g.js → location-services-95fy70vm.js} +26 -26
- package/dist/chunks/{image-dyz29spx.js → location-services-97p996b3.js} +11 -11
- package/dist/chunks/{image-9cx9sm2q.js → location-services-9cx9sm2q.js} +1 -1
- package/dist/chunks/{image-sn1fshxa.js → location-services-9d5rzwrs.js} +7 -7
- package/dist/chunks/{image-5deer1e9.js → location-services-9g0prgdv.js} +6 -6
- package/dist/chunks/{image-96h5102f.js → location-services-9ghmfs2r.js} +8 -8
- package/dist/chunks/{image-ay0zdfv2.js → location-services-9qxs4ka6.js} +6 -6
- package/dist/chunks/{image-p8kmn6p1.js → location-services-9stfggkj.js} +3 -3
- package/dist/chunks/{image-ytn8yj3j.js → location-services-a7jnfq8g.js} +27 -27
- package/dist/chunks/{image-w2gxr2bn.js → location-services-a7mwkhfd.js} +9 -9
- package/dist/chunks/{image-bkjwy8k0.js → location-services-a9jjybfd.js} +37 -37
- package/dist/chunks/{image-35kr33c6.js → location-services-a9na2z4w.js} +8 -8
- package/dist/chunks/{image-r5x9wjg5.js → location-services-agmfdcja.js} +16 -16
- package/dist/chunks/{image-983qa8hr.js → location-services-ah4af1ng.js} +24 -24
- package/dist/chunks/{image-82460pbt.js → location-services-ak39xwrx.js} +12 -12
- package/dist/chunks/{image-xcgcy0qm.js → location-services-akbz7b6h.js} +5 -5
- package/dist/chunks/{image-bw2ypeg9.js → location-services-ana9v1k9.js} +13 -13
- package/dist/chunks/{image-hsapky1s.js → location-services-ay8f7yhb.js} +14 -14
- package/dist/chunks/{image-ayjs7tqn.js → location-services-ayjs7tqn.js} +2 -2
- package/dist/chunks/{image-b0mv4wxm.js → location-services-b0mv4wxm.js} +2 -2
- package/dist/chunks/{image-4f6p1dag.js → location-services-b27x7jxq.js} +10 -10
- package/dist/chunks/{image-b6vsg801.js → location-services-b6vsg801.js} +2 -2
- package/dist/chunks/{image-y4pr8w8r.js → location-services-b952eqn9.js} +23 -23
- package/dist/chunks/{image-2mvc8y7w.js → location-services-bjqns1ae.js} +34 -34
- package/dist/chunks/{image-s1527p4m.js → location-services-bkzfyq7t.js} +5 -5
- package/dist/chunks/{image-bstexjd6.js → location-services-bstexjd6.js} +1 -1
- package/dist/chunks/{image-6ac2qzqj.js → location-services-btj8pen2.js} +17 -17
- package/dist/chunks/{image-0zav5kyp.js → location-services-btqeqnn8.js} +24 -24
- package/dist/chunks/{image-e89kw89p.js → location-services-bwr0hn0p.js} +23 -23
- package/dist/chunks/{image-zqyt9eh5.js → location-services-c2bjkdjj.js} +25 -25
- package/dist/chunks/{image-0hhp0beb.js → location-services-c3jwnccm.js} +36 -36
- package/dist/chunks/{image-br2qb96s.js → location-services-c41efnpa.js} +27 -27
- package/dist/chunks/{image-60qa52yq.js → location-services-c5n1jm6v.js} +31 -31
- package/dist/chunks/{image-7c837hp4.js → location-services-c7stz04q.js} +9 -9
- package/dist/chunks/{image-1w2zn1e5.js → location-services-cbtkqwrv.js} +4 -4
- package/dist/chunks/{image-0f57eq9f.js → location-services-cpbxd4gf.js} +19 -19
- package/dist/chunks/{image-0f33tz00.js → location-services-cyrt625k.js} +22 -22
- package/dist/chunks/{image-sx8nkve2.js → location-services-d006wmt7.js} +17 -17
- package/dist/chunks/{image-eqc3e404.js → location-services-d29cpj0c.js} +11 -11
- package/dist/chunks/{image-p7ajhkt3.js → location-services-d2me1qzp.js} +53 -53
- package/dist/chunks/{image-d4v9tmah.js → location-services-d4v9tmah.js} +2 -2
- package/dist/chunks/{image-kqrbk72r.js → location-services-dd1vqc3f.js} +3 -3
- package/dist/chunks/{image-djjzzs3c.js → location-services-djjzzs3c.js} +3 -3
- package/dist/chunks/{image-zgt5j0h2.js → location-services-drvbhkez.js} +6 -6
- package/dist/chunks/{image-rvpj35j6.js → location-services-dvm857vb.js} +9 -9
- package/dist/chunks/{image-e07q2w5p.js → location-services-e07q2w5p.js} +1 -1
- package/dist/chunks/{image-e834z07m.js → location-services-e834z07m.js} +1 -1
- package/dist/chunks/{image-vha83cg2.js → location-services-ebzhbbj7.js} +8 -8
- package/dist/chunks/{image-94v32shx.js → location-services-ecvf625q.js} +2 -2
- package/dist/chunks/{image-k2zexe6b.js → location-services-ef4g51zk.js} +29 -29
- package/dist/chunks/{image-jn88007r.js → location-services-ehgkhb98.js} +9 -9
- package/dist/chunks/{image-t0bc7c9c.js → location-services-eqfxwd9c.js} +4 -4
- package/dist/chunks/location-services-f5hd4pmz.js +26 -0
- package/dist/chunks/{image-32rqdfc7.js → location-services-f7a3eme1.js} +6 -6
- package/dist/chunks/{image-m7pchqqv.js → location-services-f8pbq6zm.js} +16 -16
- package/dist/chunks/{image-6tq0mqqx.js → location-services-f97nkw3f.js} +32 -32
- package/dist/chunks/{image-fffv3p7h.js → location-services-fffv3p7h.js} +1 -1
- package/dist/chunks/{image-pgtf141g.js → location-services-fhmxdhy8.js} +23 -23
- package/dist/chunks/{image-a1s8yyjv.js → location-services-fjhhaj13.js} +26 -26
- package/dist/chunks/{image-p2x2ykdn.js → location-services-fpbevbxn.js} +15 -15
- package/dist/chunks/{image-7nxtby5e.js → location-services-ftaew5rm.js} +20 -20
- package/dist/chunks/{image-ns86x0g6.js → location-services-fy7nh4fk.js} +34 -34
- package/dist/chunks/{image-fznmdakp.js → location-services-fznmdakp.js} +1 -1
- package/dist/chunks/{image-zfyb5tr4.js → location-services-g1e2r5aa.js} +4 -4
- package/dist/chunks/{image-1ph64p7d.js → location-services-g2yv87vr.js} +24 -24
- package/dist/chunks/{image-cnj75yzs.js → location-services-g42b6ca9.js} +4 -4
- package/dist/chunks/{image-g5h9c0rr.js → location-services-g5h9c0rr.js} +2 -2
- package/dist/chunks/{image-g1pwfypw.js → location-services-g6hkq510.js} +33 -33
- package/dist/chunks/{image-twd3mrfp.js → location-services-g9tm7d2t.js} +13 -13
- package/dist/chunks/{image-gg8p9cgs.js → location-services-gg8p9cgs.js} +3 -3
- package/dist/chunks/{image-pw77mtnd.js → location-services-gh0yfcmw.js} +188 -188
- package/dist/chunks/{image-6mnd27wh.js → location-services-gkp4zd0c.js} +26 -26
- package/dist/chunks/{image-a58h53ak.js → location-services-gyx5xa5k.js} +20 -20
- package/dist/chunks/{image-h2fknb2a.js → location-services-h06rb14x.js} +5 -5
- package/dist/chunks/{image-81a9zpe2.js → location-services-h097nhc1.js} +8 -8
- package/dist/chunks/{image-mn2dt8ay.js → location-services-h488c7y5.js} +1 -1
- package/dist/chunks/{image-49c735ne.js → location-services-h7zf0bn5.js} +13 -13
- package/dist/chunks/{image-28h91mdk.js → location-services-h8acnr4s.js} +5 -5
- package/dist/chunks/{image-ncqafsx0.js → location-services-hb1289hx.js} +29 -29
- package/dist/chunks/location-services-hcg6ehd2.js +517 -0
- package/dist/chunks/{image-hdfrs5mg.js → location-services-hdfrs5mg.js} +2 -2
- package/dist/chunks/{image-8y4jps98.js → location-services-hfgk9wzg.js} +4 -4
- package/dist/chunks/{image-tbebkah3.js → location-services-hg1nz1sy.js} +22 -22
- package/dist/chunks/{image-3h718rah.js → location-services-hkqavxqx.js} +12 -12
- package/dist/chunks/{image-jjshshm4.js → location-services-hpz3j2k0.js} +19 -19
- package/dist/chunks/{image-kmzgegqq.js → location-services-hy8c1z76.js} +8 -8
- package/dist/chunks/{image-6xw34d25.js → location-services-hz7f4e5w.js} +9 -9
- package/dist/chunks/{image-j113cymg.js → location-services-j113cymg.js} +1 -1
- package/dist/chunks/{image-5fxf8m1w.js → location-services-j4hj9mmz.js} +34 -34
- package/dist/chunks/{image-chmh4bqg.js → location-services-jd10xym8.js} +11 -11
- package/dist/chunks/{image-5et41axm.js → location-services-jksnk9rk.js} +9 -9
- package/dist/chunks/{image-ynrq1a8k.js → location-services-jneg3k74.js} +4 -4
- package/dist/chunks/{image-gkx199ke.js → location-services-jw2fkyg0.js} +5 -5
- package/dist/chunks/{image-zdmjncrg.js → location-services-jw782sdw.js} +39 -39
- package/dist/chunks/{image-1eqy2zth.js → location-services-jwg5v617.js} +55 -55
- package/dist/chunks/{image-hz51tbbp.js → location-services-jwjt5z3a.js} +15 -15
- package/dist/chunks/{image-bdc18mvy.js → location-services-jz71nhx8.js} +12 -12
- package/dist/chunks/{image-dx875p31.js → location-services-k00wzz3g.js} +19 -19
- package/dist/chunks/{image-x7a9enwj.js → location-services-k4hacpf1.js} +11 -11
- package/dist/chunks/{image-8f6rjm1e.js → location-services-k4te3eym.js} +22 -22
- package/dist/chunks/{image-k814nvkf.js → location-services-k814nvkf.js} +1 -1
- package/dist/chunks/{image-f2kgtz6y.js → location-services-kac0vvew.js} +10 -10
- package/dist/chunks/{image-3fxvhw31.js → location-services-kb9aw3cj.js} +11 -11
- package/dist/chunks/{image-e66yb76v.js → location-services-kevx4vjj.js} +23 -23
- package/dist/chunks/{image-kt3bjfbg.js → location-services-kt3bjfbg.js} +1 -1
- package/dist/chunks/{image-m1714858.js → location-services-m1714858.js} +1 -1
- package/dist/chunks/{image-2ccysd6w.js → location-services-m1m4h2ws.js} +16 -16
- package/dist/chunks/{image-1p4yt6ne.js → location-services-m4hkdytw.js} +11 -11
- package/dist/chunks/{image-5af0y8wk.js → location-services-m57z52n9.js} +28 -28
- package/dist/chunks/{image-qk4nhm2w.js → location-services-m8m8yt4h.js} +27 -27
- package/dist/chunks/{image-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-maspj1v3.js → location-services-maspj1v3.js} +1 -1
- package/dist/chunks/{image-k2kq73jz.js → location-services-mfcwkzw5.js} +4 -4
- package/dist/chunks/{image-mm7a63e9.js → location-services-mm7a63e9.js} +2 -2
- package/dist/chunks/{image-9q8g9sv8.js → location-services-mmx1mfjr.js} +4 -4
- package/dist/chunks/{image-npqrkmj2.js → location-services-mnazxqb2.js} +11 -11
- package/dist/chunks/{image-mbwgdc5a.js → location-services-mqcadzqw.js} +5 -5
- package/dist/chunks/{image-drh9h2fe.js → location-services-mr0ga9ap.js} +73 -68
- package/dist/chunks/{image-j6mefce3.js → location-services-mre9hm22.js} +4 -4
- package/dist/chunks/{image-c2gwsyxf.js → location-services-mvrtasbk.js} +7 -7
- package/dist/chunks/{image-bs9449bv.js → location-services-mwttkatk.js} +16 -16
- package/dist/chunks/{image-g9j07dct.js → location-services-mz7759ww.js} +33 -33
- package/dist/chunks/{image-770pw0s1.js → location-services-nah043kf.js} +4 -4
- package/dist/chunks/{image-9gs10211.js → location-services-ndphpag7.js} +80 -80
- package/dist/chunks/{image-k7twgq46.js → location-services-nmcss2m3.js} +8 -8
- package/dist/chunks/{image-ts7mkfs9.js → location-services-nvxqht09.js} +3 -3
- package/dist/chunks/{image-p015t6z3.js → location-services-p015t6z3.js} +2 -2
- package/dist/chunks/{image-k6ve0bec.js → location-services-p513p73p.js} +27 -27
- package/dist/chunks/{image-zh8rh1nn.js → location-services-p9a4fkqx.js} +8 -8
- package/dist/chunks/{image-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{image-2tfftvad.js → location-services-pvmfh5yx.js} +9 -9
- package/dist/chunks/{image-ee4scs67.js → location-services-pxxfm478.js} +4 -4
- package/dist/chunks/{image-dr9fxamp.js → location-services-q3xvmvv1.js} +23 -23
- package/dist/chunks/{image-7evmvwfr.js → location-services-q5vr2yry.js} +2 -2
- package/dist/chunks/{image-3fxg60jv.js → location-services-q8yx5esg.js} +15 -15
- package/dist/chunks/{image-15jp5dqc.js → location-services-q906frw1.js} +13 -13
- package/dist/chunks/{image-fbgksv32.js → location-services-qa1edmd1.js} +9 -9
- package/dist/chunks/{image-28d6a7kc.js → location-services-qb7cx6yj.js} +37 -37
- package/dist/chunks/{image-qyq8h28g.js → location-services-qyq8h28g.js} +1 -1
- package/dist/chunks/{image-r0yr0wbs.js → location-services-r0yr0wbs.js} +1 -1
- package/dist/chunks/{image-r542h3bh.js → location-services-r542h3bh.js} +1 -1
- package/dist/chunks/{image-rb9dy4dg.js → location-services-rb9dy4dg.js} +1 -1
- package/dist/chunks/{image-1x6596zm.js → location-services-rc3spf3f.js} +9 -9
- package/dist/chunks/{image-15wvffc0.js → location-services-rddcemm9.js} +17 -17
- package/dist/chunks/{image-qaxg3z3a.js → location-services-rdsq3qfj.js} +9 -9
- package/dist/chunks/location-services-re7afsx4.js +257 -0
- package/dist/chunks/{image-rmk2c50f.js → location-services-rmm45jmv.js} +5 -5
- package/dist/chunks/{image-rt5dr6hb.js → location-services-rt5dr6hb.js} +1 -1
- package/dist/chunks/{image-cwcefvfr.js → location-services-rz3kjw72.js} +20 -20
- package/dist/chunks/{image-61ennm6n.js → location-services-s626qfae.js} +4 -4
- package/dist/chunks/{image-1yefr3a7.js → location-services-s89f5phx.js} +9 -9
- package/dist/chunks/{image-p6ad9m80.js → location-services-s9szcymt.js} +25 -25
- package/dist/chunks/{image-sa3fpqfw.js → location-services-sa3fpqfw.js} +2 -2
- package/dist/chunks/{image-wb63k751.js → location-services-sa7xyy0c.js} +28 -28
- package/dist/chunks/{image-sqjzf8x2.js → location-services-sqjzf8x2.js} +1 -1
- package/dist/chunks/{image-tfx8q2f5.js → location-services-ssfehs1z.js} +4 -4
- package/dist/chunks/{image-3t73xeyv.js → location-services-st7p3hwb.js} +2 -2
- package/dist/chunks/{image-rnmnt1zv.js → location-services-t143wn0z.js} +86 -86
- package/dist/chunks/{image-pg8xwt5s.js → location-services-t2c3e9ky.js} +5 -5
- package/dist/chunks/{image-tczq8hjw.js → location-services-tczq8hjw.js} +1 -1
- package/dist/chunks/{image-v9khnj00.js → location-services-tdhjqvff.js} +13 -13
- package/dist/chunks/{image-7cw7v3jn.js → location-services-th8wr6tp.js} +7 -7
- package/dist/chunks/{image-0t1h01ha.js → location-services-tj0mzswe.js} +35 -35
- package/dist/chunks/{image-yn1cc37b.js → location-services-tjqvjnbx.js} +47 -47
- package/dist/chunks/{image-9g2m2ytf.js → location-services-tkmxfp5h.js} +19 -19
- package/dist/chunks/{image-nh53frcf.js → location-services-tm13by84.js} +24 -24
- package/dist/chunks/{image-twv2r8f4.js → location-services-twv2r8f4.js} +2 -2
- package/dist/chunks/{image-v2r1d0zg.js → location-services-v2r1d0zg.js} +1 -1
- package/dist/chunks/{image-pwfx9xzx.js → location-services-v6jczr14.js} +13 -13
- package/dist/chunks/{image-qd1gejzd.js → location-services-v8q01xw4.js} +19 -19
- package/dist/chunks/{image-0chf3frg.js → location-services-v9492ht0.js} +13 -13
- package/dist/chunks/{image-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{image-vrcsa8qx.js → location-services-vrcsa8qx.js} +2 -2
- package/dist/chunks/{image-nxfd4m75.js → location-services-w0vcdtw5.js} +3 -3
- package/dist/chunks/{image-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-wakvkjy4.js → location-services-wakvkjy4.js} +1 -1
- package/dist/chunks/{image-j3371k5r.js → location-services-wbnwkwkc.js} +16 -16
- package/dist/chunks/{image-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{image-zntxr30m.js → location-services-wegc3p94.js} +12 -12
- package/dist/chunks/{image-3rtadbmj.js → location-services-wf7v8c8z.js} +22 -22
- package/dist/chunks/{image-2sr7r47n.js → location-services-wkxzy6jz.js} +19 -19
- package/dist/chunks/{image-e9kxjfm5.js → location-services-wr3z335x.js} +15 -15
- package/dist/chunks/{image-gk8k4f7x.js → location-services-x2b74qpx.js} +40 -40
- package/dist/chunks/{image-cp9gsj1w.js → location-services-xcvvfsb7.js} +11 -11
- package/dist/chunks/{image-t0b83k8a.js → location-services-xm4qwp9y.js} +27 -27
- package/dist/chunks/{image-nwrh4nrz.js → location-services-xv4smn2w.js} +21 -21
- package/dist/chunks/{image-b13kx4jn.js → location-services-xy4ztr0v.js} +3 -3
- package/dist/chunks/{image-c9haesmz.js → location-services-y28mq519.js} +54 -54
- package/dist/chunks/{image-4een2pqp.js → location-services-y4hm39pm.js} +24 -24
- package/dist/chunks/{image-yara3q77.js → location-services-yara3q77.js} +2 -2
- package/dist/chunks/{image-yb20nhc3.js → location-services-yb20nhc3.js} +1 -1
- package/dist/chunks/{image-85a8a4f2.js → location-services-yjn9y6zr.js} +10 -10
- package/dist/chunks/{image-n452f4c5.js → location-services-ykrh4162.js} +14 -14
- package/dist/chunks/{image-9ttv7pfb.js → location-services-ykx76mnc.js} +5 -5
- package/dist/chunks/{image-tm90js6s.js → location-services-ym46tpre.js} +35 -35
- package/dist/chunks/{image-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-z38nccrw.js → location-services-z38nccrw.js} +1 -1
- package/dist/chunks/{image-bn7x7enw.js → location-services-z87ekydq.js} +4 -4
- package/dist/chunks/{image-2b68dg32.js → location-services-zcd67qx2.js} +44 -44
- package/dist/chunks/{image-aa7k1xs2.js → location-services-zdxh8aba.js} +9 -9
- package/dist/chunks/{image-zh7bbm8x.js → location-services-zgd8t41s.js} +9 -9
- package/dist/chunks/{image-fjrrbk94.js → location-services-zggvq0e7.js} +5 -5
- package/dist/chunks/{image-b6j7grnb.js → location-services-zjyr9dee.js} +12 -12
- package/dist/chunks/{image-zkg84ctx.js → location-services-zkg84ctx.js} +1 -1
- package/dist/chunks/{image-4kj4gkg1.js → location-services-zrnb11sh.js} +12 -12
- package/dist/chunks/{image-asgc5s7p.js → location-services-ztjcf3e9.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +91 -91
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +72 -72
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +95 -95
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +379 -379
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -101
- 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 +80 -80
- package/dist/file-access.js +140 -140
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +84 -84
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +110 -110
- package/dist/form.js +90 -90
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +372 -372
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +160 -160
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +92 -92
- package/dist/location-services.js +369 -369
- package/dist/location.js +93 -93
- package/dist/managed-policy.js +7 -7
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +143 -143
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +94 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +104 -104
- package/dist/plugin/module.js +121 -121
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +128 -128
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +123 -123
- package/dist/plugin/provider/opencode-legacy.js +106 -106
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -178
- package/dist/plugin/sdk.js +80 -80
- 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 +357 -357
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +92 -92
- package/dist/plugin/vcs/hg.js +92 -92
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +162 -162
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +229 -229
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +134 -134
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +131 -131
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +227 -227
- package/dist/session/usage.js +1 -1
- package/dist/session.js +225 -225
- package/dist/shell/parse.js +8 -8
- 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 +137 -137
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +141 -141
- package/dist/skill.js +150 -150
- package/dist/snapshot.js +97 -97
- 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 +165 -165
- package/dist/tool/plugin/edit.js +152 -152
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +145 -145
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +224 -224
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +147 -147
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +92 -92
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +108 -108
- package/package.json +8 -8
- package/dist/chunks/image-0namxv6m.js +0 -26
- package/dist/chunks/image-av4j8ver.js +0 -257
- package/dist/chunks/image-b9z2pmeq.js +0 -517
- package/dist/chunks/image-grzehpz7.js +0 -18
- /package/dist/chunks/{image-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2bv980vf.js → location-services-2bv980vf.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4m86bj6y.js → location-services-4m86bj6y.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-5fjb7ams.js → location-services-5fjb7ams.js} +0 -0
- /package/dist/chunks/{image-5w3e23ze.js → location-services-5w3e23ze.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{image-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{image-84wd9syh.js → location-services-84wd9syh.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a058387c.js → location-services-a058387c.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cqv5kn06.js → location-services-cqv5kn06.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e3qxr5gk.js → location-services-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fkpq3x5p.js → location-services-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jwr30sdr.js → location-services-jwr30sdr.js} +0 -0
- /package/dist/chunks/{image-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-m18g726c.js → location-services-m18g726c.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wjj7prxr.js → location-services-wjj7prxr.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-mnazxqb2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./location-services-ak39xwrx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service76
|
|
11
|
+
} from "./location-services-c5n1jm6v.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID12,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-ef4g51zk.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID11,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-6n3n8n8c.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID10,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info19
|
|
24
|
+
} from "./location-services-tj0mzswe.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-services-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-services-3nnrz6f6.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-services-8fxjxqq6.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID11.openai;
|
|
47
|
+
var integrationID = ID12.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -179,8 +179,8 @@ function listen(server) {
|
|
|
179
179
|
var ChatGPTPlugin2 = define({
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
|
-
const bus = yield*
|
|
183
|
-
const credentials = yield*
|
|
182
|
+
const bus = yield* Service86;
|
|
183
|
+
const credentials = yield* Service76;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID12.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID10.make(model.slug))).map((model) => deriveModel(model, Info19.default(ID11.openai, ID10.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service63,
|
|
6
|
+
node65
|
|
7
|
+
} from "./location-services-814m0pbm.js";
|
|
8
8
|
import {
|
|
9
9
|
retry2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9cx9sm2q.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/generate.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Generate: () =>
|
|
16
|
+
var exports_generate = {};
|
|
17
|
+
__export(exports_generate, {
|
|
18
|
+
Generate: () => exports_generate,
|
|
19
19
|
ModelSelectionError: () => ModelSelectionError2,
|
|
20
|
-
Service: () =>
|
|
21
|
-
UnavailableError: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
20
|
+
Service: () => Service16,
|
|
21
|
+
UnavailableError: () => UnavailableError2,
|
|
22
|
+
layer: () => layer10,
|
|
23
|
+
node: () => node19
|
|
24
24
|
});
|
|
25
25
|
import { LLM, LLMClient } from "@opencode/ai/effect";
|
|
26
26
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service16 extends Context.Service()("@opencode/Generate") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer10 = Layer.effect(Service16, Effect.gen(function* () {
|
|
43
43
|
const llm = yield* LLMClient.Service;
|
|
44
|
-
const resolver = yield*
|
|
44
|
+
const resolver = yield* Service63;
|
|
45
45
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
46
46
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
47
47
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -51,7 +51,7 @@ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
51
51
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
52
52
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
53
53
|
], (error) => {
|
|
54
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
54
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
55
55
|
return Effect.fail(mapped);
|
|
56
56
|
}));
|
|
57
57
|
if (!resolved)
|
|
@@ -62,21 +62,21 @@ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
62
62
|
model: resolved.model,
|
|
63
63
|
prompt: input.prompt,
|
|
64
64
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
65
|
-
})).pipe(retry2, Effect.mapError((error) => new
|
|
65
|
+
})).pipe(retry2, Effect.mapError((error) => new UnavailableError2({
|
|
66
66
|
message: error.message,
|
|
67
67
|
service: resolved.ref.providerID
|
|
68
68
|
})));
|
|
69
69
|
return response.text;
|
|
70
70
|
});
|
|
71
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
71
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
72
72
|
message: "Generation credentials are unavailable"
|
|
73
73
|
})));
|
|
74
|
-
return
|
|
74
|
+
return Service16.of({ text });
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node19 = makeLocationNode({
|
|
77
|
+
service: Service16,
|
|
78
|
+
layer: layer10,
|
|
79
|
+
deps: [node65, llmClient2]
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export { ModelSelectionError2,
|
|
82
|
+
export { ModelSelectionError2, UnavailableError2, Service16, layer10, node19, exports_generate };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./location-services-ak39xwrx.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-s626qfae.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event16
|
|
9
|
+
} from "./location-services-c5n1jm6v.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID12
|
|
12
|
+
} from "./location-services-ef4g51zk.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID11,
|
|
15
|
+
Service74
|
|
16
|
+
} from "./location-services-6n3n8n8c.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-zjyr9dee.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID11.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service74;
|
|
30
|
+
const bus = yield* Service86;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./location-services-ak39xwrx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID13,
|
|
6
|
+
Event16,
|
|
7
|
+
Service76
|
|
8
|
+
} from "./location-services-c5n1jm6v.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID11
|
|
11
|
+
} from "./location-services-6n3n8n8c.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-8fxjxqq6.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,8 +41,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
45
|
-
const bus = yield*
|
|
44
|
+
const credentials = yield* Service76;
|
|
45
|
+
const bus = yield* Service86;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
48
48
|
}));
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID11.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID11.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID13.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID11.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID11.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID11.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -157,7 +157,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
|
-
yield* bus.subscribe([
|
|
160
|
+
yield* bus.subscribe([Event16.Updated, Event16.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
161
161
|
const next = yield* load();
|
|
162
162
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
163
163
|
return;
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-mnazxqb2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./location-services-ak39xwrx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID13,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Event16
|
|
11
|
+
} from "./location-services-c5n1jm6v.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-s626qfae.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
MethodID2,
|
|
18
18
|
AuthorizationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-ef4g51zk.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
ID11
|
|
22
|
+
} from "./location-services-6n3n8n8c.js";
|
|
23
23
|
import {
|
|
24
24
|
Service69
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-services-82dff8wv.js";
|
|
26
26
|
import {
|
|
27
27
|
Remote2,
|
|
28
28
|
Document2,
|
|
29
29
|
make12
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-e07q2w5p.js";
|
|
31
31
|
import {
|
|
32
32
|
integrate2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-services-v9492ht0.js";
|
|
34
34
|
import {
|
|
35
35
|
defaultServer2,
|
|
36
36
|
server2,
|
|
37
37
|
headers2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-services-kt3bjfbg.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service14
|
|
41
|
+
} from "./location-services-kac0vvew.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
43
|
+
ID3,
|
|
44
44
|
Input14,
|
|
45
45
|
Response3
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-services-gkp4zd0c.js";
|
|
47
47
|
import {
|
|
48
48
|
Response2,
|
|
49
|
-
|
|
49
|
+
make6,
|
|
50
50
|
statements2,
|
|
51
51
|
providerIDs2,
|
|
52
52
|
register2
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./location-services-agmfdcja.js";
|
|
54
54
|
|
|
55
55
|
// src/plugin/provider/opencode.ts
|
|
56
56
|
import {
|
|
@@ -113,7 +113,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
113
113
|
}
|
|
114
114
|
function oauth(http) {
|
|
115
115
|
return {
|
|
116
|
-
integrationID:
|
|
116
|
+
integrationID: ID12.make("opencode"),
|
|
117
117
|
method: {
|
|
118
118
|
id: methodID,
|
|
119
119
|
type: "oauth",
|
|
@@ -178,10 +178,10 @@ var OpencodePlugin2 = define({
|
|
|
178
178
|
id: "opencode.provider.opencode",
|
|
179
179
|
effect: Effect.fn(function* (ctx) {
|
|
180
180
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
181
|
-
const bus = yield*
|
|
181
|
+
const bus = yield* Service86;
|
|
182
182
|
const client = yield* HttpClient.HttpClient;
|
|
183
183
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
184
|
-
const managed = yield*
|
|
184
|
+
const managed = yield* Service14;
|
|
185
185
|
const config = yield* Service69;
|
|
186
186
|
const scope = yield* Scope.Scope;
|
|
187
187
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -204,7 +204,7 @@ var OpencodePlugin2 = define({
|
|
|
204
204
|
if (!credential || credential.type === "external")
|
|
205
205
|
return Effect.succeed({ remote: undefined, connection, organization: undefined });
|
|
206
206
|
return fetchConfig(http, credential).pipe(Effect.map((remote) => ({
|
|
207
|
-
remote: remote?.type === "legacy" ?
|
|
207
|
+
remote: remote?.type === "legacy" ? make6(remote.response, headers2(credential)) : remote,
|
|
208
208
|
connection,
|
|
209
209
|
organization: organizationName(credential)
|
|
210
210
|
})));
|
|
@@ -218,16 +218,16 @@ var OpencodePlugin2 = define({
|
|
|
218
218
|
});
|
|
219
219
|
let integrated;
|
|
220
220
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
221
|
-
yield* config.integration?.(
|
|
222
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID ===
|
|
221
|
+
yield* config.integration?.(ID12.make("opencode"), document) ?? Effect.void;
|
|
222
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID === ID12.make("opencode"));
|
|
223
223
|
});
|
|
224
224
|
const publish = Effect.fnUntraced(function* (next) {
|
|
225
225
|
switch (next.remote?.type) {
|
|
226
226
|
case "config":
|
|
227
227
|
yield* managed.set({ statements: [], organization: next.organization });
|
|
228
228
|
return yield* integrate(next.connection && make12({
|
|
229
|
-
integrationID:
|
|
230
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
229
|
+
integrationID: ID12.make("opencode"),
|
|
230
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID13.make(next.connection.id) } : next.connection,
|
|
231
231
|
organization: next.organization,
|
|
232
232
|
info: next.remote.info
|
|
233
233
|
}));
|
|
@@ -283,7 +283,7 @@ var OpencodePlugin2 = define({
|
|
|
283
283
|
integrate2(providers, integrated);
|
|
284
284
|
});
|
|
285
285
|
yield* ctx.provider.transform((providers) => {
|
|
286
|
-
const item = providers.get(
|
|
286
|
+
const item = providers.get(ID11.opencode);
|
|
287
287
|
if (!item)
|
|
288
288
|
return;
|
|
289
289
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -295,7 +295,7 @@ var OpencodePlugin2 = define({
|
|
|
295
295
|
});
|
|
296
296
|
});
|
|
297
297
|
yield* ctx.model.transform((models) => {
|
|
298
|
-
const item = models.provider.get(
|
|
298
|
+
const item = models.provider.get(ID11.opencode);
|
|
299
299
|
if (!item)
|
|
300
300
|
return;
|
|
301
301
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -311,7 +311,7 @@ var OpencodePlugin2 = define({
|
|
|
311
311
|
});
|
|
312
312
|
yield* ctx.websearch.transform((editor) => {
|
|
313
313
|
if (snapshot.remote?.type === "config" && snapshot.connection)
|
|
314
|
-
editor.add(search(
|
|
314
|
+
editor.add(search(ID3.make("opencode"), snapshot.connection));
|
|
315
315
|
});
|
|
316
316
|
const apply = Effect.fn("OpencodePlugin.apply")(function* (next) {
|
|
317
317
|
snapshot = next;
|
|
@@ -348,7 +348,7 @@ var OpencodePlugin2 = define({
|
|
|
348
348
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
349
349
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
350
350
|
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
351
|
-
|
|
351
|
+
ID11.opencode,
|
|
352
352
|
...next.remote?.type === "config" ? Object.keys(next.remote.info.providers ?? {}) : providerIDs2(next.remote)
|
|
353
353
|
]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
354
354
|
});
|
|
@@ -361,7 +361,7 @@ var OpencodePlugin2 = define({
|
|
|
361
361
|
onlyIfMissing: true
|
|
362
362
|
});
|
|
363
363
|
});
|
|
364
|
-
yield* bus.subscribe(
|
|
364
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
365
365
|
yield* poll();
|
|
366
366
|
})
|
|
367
367
|
});
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin13
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin13 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin16 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin13, exports_mcp_codemode_defaults };
|