@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,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service83
|
|
9
|
+
} from "./location-services-ay8f7yhb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service45
|
|
12
|
+
} from "./location-services-g2yv87vr.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./location-services-ykrh4162.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-4cdz94wm.js";
|
|
24
24
|
import {
|
|
25
25
|
Service66
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-jw782sdw.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service49
|
|
29
|
+
} from "./location-services-wbnwkwkc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-services-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input9,
|
|
39
|
+
Output: () => Output6,
|
|
40
|
+
Plugin: () => Plugin43,
|
|
41
|
+
name: () => name9,
|
|
42
|
+
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name9 = "grep";
|
|
48
|
+
var Input9 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input5 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output6 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin43 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
89
|
+
const environment = yield* Service45;
|
|
90
|
+
const ripgrep = yield* Service44;
|
|
91
|
+
const location = yield* Service83;
|
|
92
|
+
const access = yield* Service49;
|
|
93
93
|
const permission = yield* Service66;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name9,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input9,
|
|
99
|
+
output: Output6,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name9,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin21 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent4(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin21 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name9, Input9, Output6, toModelContent4, Plugin43, exports_grep };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/plugin/skill-scan.ts
|
|
6
6
|
var exports_skill_scan = {};
|
|
7
7
|
__export(exports_skill_scan, {
|
|
8
8
|
SkillScan: () => exports_skill_scan,
|
|
9
9
|
ignore: () => ignore2,
|
|
10
|
-
scan: () =>
|
|
10
|
+
scan: () => scan2
|
|
11
11
|
});
|
|
12
12
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
13
13
|
import path from "path";
|
|
14
14
|
import { Effect } from "effect";
|
|
15
15
|
var MAX_DEPTH = 6;
|
|
16
16
|
var ignore2 = [...FSUtil.ignoreGlobs, "**/.*", "**/.*/**"];
|
|
17
|
-
var
|
|
17
|
+
var scan2 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
18
18
|
const fs = yield* FSUtil.Service;
|
|
19
19
|
const files = [];
|
|
20
20
|
const queue = [{ directory: root, depth: 0 }];
|
|
@@ -39,4 +39,4 @@ var scan3 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
|
39
39
|
return files.toSorted();
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export { ignore2,
|
|
42
|
+
export { ignore2, scan2, exports_skill_scan };
|
|
@@ -1,115 +1,115 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-dd1vqc3f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./location-services-ay8f7yhb.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref3,
|
|
12
|
-
|
|
13
|
-
node81
|
|
14
|
-
} from "./image-0t1h01ha.js";
|
|
15
|
-
import {
|
|
16
|
-
ID10,
|
|
17
|
-
Service71,
|
|
12
|
+
Service73,
|
|
18
13
|
node75
|
|
19
|
-
} from "./
|
|
14
|
+
} from "./location-services-tj0mzswe.js";
|
|
15
|
+
import {
|
|
16
|
+
ID15,
|
|
17
|
+
Service78,
|
|
18
|
+
node81
|
|
19
|
+
} from "./location-services-77vhwr65.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-services-5qdyz63a.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-services-jneg3k74.js";
|
|
26
26
|
import {
|
|
27
27
|
entriesForRunner2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-services-zdxh8aba.js";
|
|
29
29
|
import {
|
|
30
30
|
Service67,
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
node69
|
|
32
|
+
} from "./location-services-9ghmfs2r.js";
|
|
33
33
|
import {
|
|
34
34
|
merge2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-services-jw782sdw.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make15
|
|
38
|
+
} from "./location-services-5m90njqj.js";
|
|
39
39
|
import {
|
|
40
40
|
Service40,
|
|
41
41
|
node43
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-services-wf7v8c8z.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} from "./
|
|
44
|
+
Service24,
|
|
45
|
+
node28
|
|
46
|
+
} from "./location-services-mwttkatk.js";
|
|
47
47
|
import {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} from "./
|
|
48
|
+
Service54,
|
|
49
|
+
node57
|
|
50
|
+
} from "./location-services-btqeqnn8.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service29,
|
|
53
|
+
node32
|
|
54
|
+
} from "./location-services-j4hj9mmz.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
} from "./
|
|
56
|
+
Service23,
|
|
57
|
+
node27
|
|
58
|
+
} from "./location-services-kevx4vjj.js";
|
|
59
59
|
import {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
} from "./
|
|
60
|
+
Service22,
|
|
61
|
+
node26
|
|
62
|
+
} from "./location-services-73mjnqkv.js";
|
|
63
63
|
import {
|
|
64
|
-
|
|
64
|
+
Service32,
|
|
65
65
|
node35
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./location-services-xv4smn2w.js";
|
|
67
67
|
import {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} from "./
|
|
68
|
+
Service26,
|
|
69
|
+
node30
|
|
70
|
+
} from "./location-services-jwjt5z3a.js";
|
|
71
71
|
import {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
} from "./
|
|
72
|
+
Service25,
|
|
73
|
+
node29
|
|
74
|
+
} from "./location-services-1bfj8692.js";
|
|
75
75
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
76
|
+
Service60,
|
|
77
|
+
node62
|
|
78
|
+
} from "./location-services-777csmha.js";
|
|
79
79
|
import {
|
|
80
80
|
__export
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./location-services-9rqn6x4v.js";
|
|
82
82
|
|
|
83
83
|
// src/session/context.ts
|
|
84
84
|
var exports_context = {};
|
|
85
85
|
__export(exports_context, {
|
|
86
|
-
Service: () =>
|
|
86
|
+
Service: () => Service21,
|
|
87
87
|
SessionContext: () => exports_context,
|
|
88
|
-
node: () =>
|
|
88
|
+
node: () => node25
|
|
89
89
|
});
|
|
90
90
|
import { Context, Effect, Layer } from "effect";
|
|
91
91
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
92
|
-
class
|
|
92
|
+
class Service21 extends Context.Service()("@opencode/SessionContext") {
|
|
93
93
|
}
|
|
94
|
-
var layer = Layer.effect(
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const builtins = yield*
|
|
97
|
-
const model = yield*
|
|
94
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
95
|
+
const agents = yield* Service78;
|
|
96
|
+
const builtins = yield* Service24;
|
|
97
|
+
const model = yield* Service73;
|
|
98
98
|
const db = (yield* Service87).db;
|
|
99
99
|
const discovery = yield* Service40;
|
|
100
|
-
const entries = yield*
|
|
101
|
-
const location = yield*
|
|
102
|
-
const mcpInstructions = yield*
|
|
103
|
-
const mcpTools = yield*
|
|
104
|
-
const models = yield*
|
|
105
|
-
const request = yield*
|
|
106
|
-
const referenceInstructions = yield*
|
|
107
|
-
const skillInstructions = yield*
|
|
100
|
+
const entries = yield* Service26;
|
|
101
|
+
const location = yield* Service83;
|
|
102
|
+
const mcpInstructions = yield* Service23;
|
|
103
|
+
const mcpTools = yield* Service29;
|
|
104
|
+
const models = yield* Service60;
|
|
105
|
+
const request = yield* Service25;
|
|
106
|
+
const referenceInstructions = yield* Service22;
|
|
107
|
+
const skillInstructions = yield* Service32;
|
|
108
108
|
const store = yield* Service67;
|
|
109
|
-
const registry = yield*
|
|
109
|
+
const registry = yield* Service54;
|
|
110
110
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
111
111
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
112
|
-
const agent = yield* agents.get(
|
|
112
|
+
const agent = yield* agents.get(ID15.make("title"));
|
|
113
113
|
if (!agent)
|
|
114
114
|
return;
|
|
115
115
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
168
168
|
session,
|
|
169
169
|
agent: { ...agent, info: agent.info },
|
|
170
170
|
instructions: combine2([
|
|
171
|
-
|
|
171
|
+
make15(loaded.tools.codeModeCatalog),
|
|
172
172
|
loaded.mcp,
|
|
173
173
|
loaded.references,
|
|
174
174
|
loaded.skills,
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
191
191
|
tools: selection.tools
|
|
192
192
|
};
|
|
193
193
|
});
|
|
194
|
-
return
|
|
194
|
+
return Service21.of({ select, load, resolveModel, selectTitle, request });
|
|
195
195
|
}));
|
|
196
196
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
197
197
|
var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
|
|
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
|
|
|
199
199
|
const rank = (id) => info.variants.findIndex((item) => item.id === id);
|
|
200
200
|
return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
|
|
201
201
|
};
|
|
202
|
-
var
|
|
203
|
-
service:
|
|
202
|
+
var node25 = makeLocationNode({
|
|
203
|
+
service: Service21,
|
|
204
204
|
layer,
|
|
205
205
|
deps: [
|
|
206
|
-
node75,
|
|
207
206
|
node81,
|
|
207
|
+
node75,
|
|
208
208
|
node91,
|
|
209
|
-
|
|
209
|
+
node28,
|
|
210
210
|
node43,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
211
|
+
node30,
|
|
212
|
+
node87,
|
|
213
|
+
node27,
|
|
214
|
+
node32,
|
|
215
|
+
node26,
|
|
216
|
+
node62,
|
|
217
|
+
node29,
|
|
218
|
+
node69,
|
|
219
219
|
node35,
|
|
220
|
-
|
|
220
|
+
node57
|
|
221
221
|
]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { Service21, node25, exports_context };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service69
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-82dff8wv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./location-services-jwg5v617.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin27,
|
|
16
16
|
register: () => register3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin27 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register3(ctx.event.subscribe());
|
|
@@ -25,7 +25,7 @@ var Plugin38 = define({
|
|
|
25
25
|
});
|
|
26
26
|
var register3 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
27
|
const config = yield* Service69;
|
|
28
|
-
const mcp = yield*
|
|
28
|
+
const mcp = yield* Service30;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register3 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin27, register3, exports_mcp2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID9 = Session.ID;
|
|
5
|
+
var Info13 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID9, Info13, SessionSchema2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./location-services-ak39xwrx.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event17,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID14,
|
|
20
|
+
Info: () => Info24,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service77,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer26,
|
|
29
|
+
node: () => node79,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event17 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID14 = Form.ID;
|
|
39
|
+
var Info24 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID14
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID14
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID14
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID14,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service77 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer26 = Layer.effect(Service77, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service86;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID14.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service77.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node79 = makeLocationNode({ service: Service77, layer: layer26, deps: [node90] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID14, Info24, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer26, node79, validateAnswer2, validateFields2, exports_form, Event17 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./location-services-03efvwc7.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make17
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make17 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service85;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make14 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make17, exports_git2 };
|