@opencode/core 0.0.0-dev-21325 → 0.0.0-dev-21327
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{workspace-c4vz8ygb.js → location-services-05vrbjpd.js} +14 -14
- package/dist/chunks/{workspace-6r4011t4.js → location-services-0bckxdhn.js} +13 -13
- package/dist/chunks/{workspace-8k9sf03v.js → location-services-0fzv5sa6.js} +17 -17
- package/dist/chunks/{workspace-m3zz1pbm.js → location-services-0hkrfhh8.js} +47 -47
- package/dist/chunks/{workspace-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
- package/dist/chunks/{workspace-bfv9bv9k.js → location-services-120canqn.js} +6 -6
- package/dist/chunks/{workspace-vvvbxd1g.js → location-services-1468jth2.js} +15 -15
- package/dist/chunks/{workspace-kby4jqsa.js → location-services-14v2mpx3.js} +90 -90
- package/dist/chunks/{workspace-z0efhj86.js → location-services-19fcc8g5.js} +8 -8
- package/dist/chunks/{workspace-3a2jzke2.js → location-services-1cz5vd6m.js} +11 -11
- package/dist/chunks/{workspace-tjqn214s.js → location-services-1k7heb6s.js} +15 -15
- package/dist/chunks/{workspace-7nmzr4tw.js → location-services-1n3g3nm2.js} +16 -16
- package/dist/chunks/{workspace-p9bsq7m2.js → location-services-1p295dse.js} +19 -19
- package/dist/chunks/{workspace-p99p8xsn.js → location-services-1t7yake1.js} +16 -16
- package/dist/chunks/{workspace-khwgh4fa.js → location-services-1tfkkk8z.js} +13 -13
- package/dist/chunks/{workspace-7125243h.js → location-services-236vqjbe.js} +27 -27
- package/dist/chunks/{workspace-ba3ye61h.js → location-services-24ndf32s.js} +30 -30
- package/dist/chunks/{workspace-mh62zmc2.js → location-services-2hj7dgpm.js} +12 -12
- package/dist/chunks/{workspace-gjg41fb3.js → location-services-2kw39ck7.js} +5 -5
- package/dist/chunks/{workspace-weqr8f9h.js → location-services-2n4bcx2n.js} +20 -20
- package/dist/chunks/{workspace-836dar0r.js → location-services-2yz3skkc.js} +14 -14
- package/dist/chunks/{workspace-395q6j9z.js → location-services-395q6j9z.js} +3 -3
- package/dist/chunks/location-services-3dn3j60f.js +26 -0
- package/dist/chunks/{workspace-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-3hwn7j4h.js → location-services-3hwn7j4h.js} +2 -2
- package/dist/chunks/{workspace-0cg871e2.js → location-services-3n40wvxh.js} +5 -5
- package/dist/chunks/{workspace-xahh758q.js → location-services-3p1jsd9a.js} +84 -84
- package/dist/chunks/{workspace-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
- package/dist/chunks/{workspace-8mc96dk8.js → location-services-3zvermw0.js} +7 -7
- package/dist/chunks/{workspace-85b50y94.js → location-services-407dbw0p.js} +3 -3
- package/dist/chunks/{workspace-724pece3.js → location-services-47z6rga7.js} +22 -22
- package/dist/chunks/{workspace-n663b2j1.js → location-services-4a24ra19.js} +8 -8
- package/dist/chunks/{workspace-0ce32fr4.js → location-services-4ap7vkm6.js} +41 -41
- package/dist/chunks/{workspace-z733aene.js → location-services-4c2df9zx.js} +8 -8
- package/dist/chunks/{workspace-5etnctqg.js → location-services-4h2zqxk4.js} +8 -8
- package/dist/chunks/{workspace-sc4cwva4.js → location-services-4xc83dq9.js} +5 -5
- package/dist/chunks/{workspace-0axw4cdg.js → location-services-4zdtnvnf.js} +10 -10
- package/dist/chunks/{workspace-54ma36ye.js → location-services-54ma36ye.js} +1 -1
- package/dist/chunks/{workspace-487xqpbs.js → location-services-5c34nnkn.js} +3 -3
- package/dist/chunks/{workspace-129qsmff.js → location-services-5gs82an1.js} +15 -15
- package/dist/chunks/{workspace-ez7s6tte.js → location-services-5jb9xrt6.js} +8 -8
- package/dist/chunks/{workspace-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
- package/dist/chunks/{workspace-e3qxr5gk.js → location-services-5qd3pb7m.js} +2 -2
- package/dist/chunks/location-services-619r8v3y.js +18 -0
- package/dist/chunks/{workspace-6827pfxn.js → location-services-6827pfxn.js} +1 -1
- package/dist/chunks/{workspace-k189p03s.js → location-services-6a20fkbr.js} +15 -15
- package/dist/chunks/{workspace-a2ew8a62.js → location-services-6hh8tjw2.js} +4 -4
- package/dist/chunks/{workspace-gd8r8nhp.js → location-services-6kn5fnc5.js} +11 -11
- package/dist/chunks/{workspace-sv7642z1.js → location-services-6q04wm97.js} +46 -46
- package/dist/chunks/{workspace-y9ajbnt7.js → location-services-6q3b6bjm.js} +28 -28
- package/dist/chunks/{workspace-qs9m684n.js → location-services-6whcq1fq.js} +4 -4
- package/dist/chunks/{workspace-6xb47vfp.js → location-services-6xb47vfp.js} +1 -1
- package/dist/chunks/{workspace-e75nwzcy.js → location-services-715fz9ra.js} +9 -9
- package/dist/chunks/{workspace-e7gxy7fd.js → location-services-76p14g35.js} +4 -4
- package/dist/chunks/{workspace-775gj3j1.js → location-services-775gj3j1.js} +2 -2
- package/dist/chunks/{workspace-epmjqtn9.js → location-services-7b1m0q4z.js} +11 -11
- package/dist/chunks/{workspace-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-xvm099w8.js → location-services-7nrbmt0g.js} +18 -18
- package/dist/chunks/{workspace-bncanr8s.js → location-services-7rn07pqm.js} +15 -15
- package/dist/chunks/{workspace-816wrsdg.js → location-services-7ytf93vt.js} +12 -12
- package/dist/chunks/{workspace-84txncab.js → location-services-84txncab.js} +1 -1
- package/dist/chunks/{workspace-6yjzvzz7.js → location-services-8m1xb0y2.js} +183 -183
- package/dist/chunks/{workspace-8m6m0r52.js → location-services-8m6m0r52.js} +1 -1
- package/dist/chunks/{workspace-8mywswrd.js → location-services-8mywswrd.js} +1 -1
- package/dist/chunks/{workspace-x1h8xjp6.js → location-services-8rez25b9.js} +1 -1
- package/dist/chunks/{workspace-8sze2n9a.js → location-services-8sze2n9a.js} +2 -2
- package/dist/chunks/{workspace-kaz9m2wt.js → location-services-8tp1g3x5.js} +19 -19
- package/dist/chunks/{workspace-6fdt7xdh.js → location-services-9897cwd1.js} +22 -22
- package/dist/chunks/{workspace-2ya4c35z.js → location-services-9da2gmc9.js} +6 -6
- package/dist/chunks/{workspace-hdab2k61.js → location-services-9gea571p.js} +6 -6
- package/dist/chunks/{workspace-eddee9wq.js → location-services-9gvj1t03.js} +21 -21
- package/dist/chunks/{workspace-qne3fa44.js → location-services-9hwaqfsw.js} +5 -5
- package/dist/chunks/{workspace-q74m295h.js → location-services-9t3kk5sf.js} +8 -8
- package/dist/chunks/{workspace-f7taj08h.js → location-services-9x1189rx.js} +14 -14
- package/dist/chunks/{workspace-96bcdxrb.js → location-services-9yfmw94a.js} +35 -35
- package/dist/chunks/{workspace-hkr9khf6.js → location-services-a1md0fae.js} +13 -13
- package/dist/chunks/{workspace-a20pjse5.js → location-services-a20pjse5.js} +3 -3
- package/dist/chunks/{workspace-975jhw57.js → location-services-a66tszk0.js} +6 -6
- package/dist/chunks/{workspace-sd1a0922.js → location-services-a67t462c.js} +9 -9
- package/dist/chunks/{workspace-kkp8zx71.js → location-services-a89e0tac.js} +4 -4
- package/dist/chunks/{workspace-68rzgjzt.js → location-services-a9vndfjb.js} +1 -1
- package/dist/chunks/{workspace-ha9ebeck.js → location-services-abpcsv2g.js} +23 -23
- package/dist/chunks/{workspace-dbws17em.js → location-services-arg7k0rm.js} +43 -43
- package/dist/chunks/{workspace-2rcafj7k.js → location-services-ay8yb9a7.js} +33 -33
- package/dist/chunks/{workspace-addxnjmp.js → location-services-azwe5p1w.js} +4 -4
- package/dist/chunks/{workspace-64ydq5vx.js → location-services-b19rn14h.js} +29 -29
- package/dist/chunks/{workspace-4xxbrg9e.js → location-services-b8e27wfc.js} +2 -2
- package/dist/chunks/{workspace-e8ajnka6.js → location-services-b95m0dfq.js} +26 -26
- package/dist/chunks/{workspace-sqwt51e4.js → location-services-bfks4bz3.js} +25 -25
- package/dist/chunks/{workspace-jekwsxa3.js → location-services-bjk25w1p.js} +11 -11
- package/dist/chunks/{workspace-bzeyqsqd.js → location-services-bzeyqsqd.js} +1 -1
- package/dist/chunks/{workspace-akdg9baw.js → location-services-c1w3zdf4.js} +20 -20
- package/dist/chunks/{workspace-vfextq23.js → location-services-c3j0a1zw.js} +47 -47
- package/dist/chunks/{workspace-c41wscbt.js → location-services-c41wscbt.js} +2 -2
- package/dist/chunks/{workspace-jthjdk0j.js → location-services-c87b2cm1.js} +30 -30
- package/dist/chunks/{workspace-c8ax2afj.js → location-services-c8ax2afj.js} +2 -2
- package/dist/chunks/{workspace-j6ktnsbj.js → location-services-cdsvj98t.js} +12 -12
- package/dist/chunks/{workspace-ms7jp0yr.js → location-services-cejp4z28.js} +21 -21
- package/dist/chunks/{workspace-0w5f9s8v.js → location-services-cftbmsjt.js} +33 -33
- package/dist/chunks/{workspace-1n7e9j67.js → location-services-ckrv9rtn.js} +9 -9
- package/dist/chunks/{workspace-d4he2qe1.js → location-services-d4he2qe1.js} +2 -2
- package/dist/chunks/{workspace-7bmg41hz.js → location-services-dd6ths3b.js} +31 -31
- package/dist/chunks/{workspace-bhkqcsz5.js → location-services-ddz31ytd.js} +6 -6
- package/dist/chunks/{workspace-y71avatq.js → location-services-dpkg50ah.js} +4 -4
- package/dist/chunks/{workspace-73wr0wn5.js → location-services-dt9n2fs7.js} +11 -11
- package/dist/chunks/{workspace-1eejkkq1.js → location-services-dtbwtpff.js} +10 -10
- package/dist/chunks/{workspace-be6ka8gp.js → location-services-dwkd17za.js} +11 -11
- package/dist/chunks/{workspace-4drn66za.js → location-services-e0aycr6x.js} +19 -19
- package/dist/chunks/{workspace-zav06jzw.js → location-services-e2hjzebn.js} +4 -4
- package/dist/chunks/{workspace-prxnrnem.js → location-services-e5r5nn1p.js} +9 -9
- package/dist/chunks/location-services-e6mk0ntt.js +517 -0
- package/dist/chunks/{workspace-ed1g29hy.js → location-services-e80seqcp.js} +3 -3
- package/dist/chunks/{workspace-t550f9t1.js → location-services-eaj1djv9.js} +8 -8
- package/dist/chunks/{workspace-eej6y6fw.js → location-services-eej6y6fw.js} +2 -2
- package/dist/chunks/{workspace-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-9gvb7e77.js → location-services-efpcgx8s.js} +11 -11
- package/dist/chunks/{workspace-7sqmcx2n.js → location-services-eq424ej9.js} +29 -29
- package/dist/chunks/{workspace-es1vcfrp.js → location-services-es1vcfrp.js} +3 -3
- package/dist/chunks/{workspace-0m50r3dd.js → location-services-esqdnvjp.js} +12 -12
- package/dist/chunks/{workspace-q1askysg.js → location-services-evpqvz2q.js} +14 -14
- package/dist/chunks/{workspace-jw98zwm9.js → location-services-f1f82w9c.js} +12 -12
- package/dist/chunks/{workspace-4qh62hyz.js → location-services-f2mp2skp.js} +6 -6
- package/dist/chunks/{workspace-wjkmnf2c.js → location-services-f5gnwvd0.js} +25 -25
- package/dist/chunks/{workspace-2k8khapm.js → location-services-fcrkznn8.js} +5 -5
- package/dist/chunks/{workspace-fcy631f0.js → location-services-fcy631f0.js} +1 -1
- package/dist/chunks/{workspace-m7gpjmsn.js → location-services-femnmy69.js} +31 -31
- package/dist/chunks/{workspace-rjncrwa9.js → location-services-fkh80sr4.js} +12 -12
- package/dist/chunks/{workspace-7d0zaa3e.js → location-services-fpfnw1q7.js} +30 -30
- package/dist/chunks/{workspace-x22cxzrs.js → location-services-ftrgem1b.js} +4 -4
- package/dist/chunks/{workspace-14jssy00.js → location-services-fvaedygc.js} +24 -24
- package/dist/chunks/{workspace-3a9ms3hh.js → location-services-fw6ztw8z.js} +18 -18
- package/dist/chunks/{workspace-s1kvmffy.js → location-services-fwwk8vbp.js} +9 -9
- package/dist/chunks/{workspace-yrp0ypz1.js → location-services-g3q73zyv.js} +5 -5
- package/dist/chunks/{workspace-z2rrnsn5.js → location-services-g3w0eaeg.js} +2 -2
- package/dist/chunks/{workspace-x4mvkh9e.js → location-services-g71www4e.js} +32 -32
- package/dist/chunks/{workspace-k80rnbms.js → location-services-gce7byvs.js} +5 -5
- package/dist/chunks/{workspace-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-0dd87czj.js → location-services-gph3bgda.js} +7 -7
- package/dist/chunks/{workspace-tvpcregj.js → location-services-gv8e04jq.js} +34 -34
- package/dist/chunks/{workspace-0ye85ewf.js → location-services-gz42j0qk.js} +23 -23
- package/dist/chunks/{workspace-s5zm3kz6.js → location-services-h5rymnnr.js} +17 -17
- package/dist/chunks/{workspace-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-2k98hq88.js → location-services-he71j8j5.js} +11 -11
- package/dist/chunks/{workspace-hgz4x7wa.js → location-services-hgz4x7wa.js} +1 -1
- package/dist/chunks/{workspace-3scc1v2h.js → location-services-htn30amb.js} +16 -16
- package/dist/chunks/{workspace-dfk2fy4x.js → location-services-htqzgxkz.js} +12 -12
- package/dist/chunks/{workspace-bhwn3mdf.js → location-services-j8953mcy.js} +4 -4
- package/dist/chunks/{workspace-jnsr04qk.js → location-services-jh28hxeq.js} +8 -8
- package/dist/chunks/{workspace-6vmw9wnm.js → location-services-jhf75tj1.js} +26 -26
- package/dist/chunks/{workspace-tvanmaph.js → location-services-jjdtyz9q.js} +13 -13
- package/dist/chunks/{workspace-33vm7gkt.js → location-services-jkcga9ra.js} +27 -27
- package/dist/chunks/location-services-jsbjq7se.js +257 -0
- package/dist/chunks/{workspace-pck8dycb.js → location-services-jvg4w983.js} +24 -24
- package/dist/chunks/{workspace-y5rf7nzv.js → location-services-k0a3z2qz.js} +4 -4
- package/dist/chunks/{workspace-jrnftmvm.js → location-services-k2xjg9r7.js} +11 -11
- package/dist/chunks/{workspace-khmqacep.js → location-services-khmqacep.js} +1 -1
- package/dist/chunks/{workspace-57myy5jh.js → location-services-kjdm35cs.js} +5 -5
- package/dist/chunks/{workspace-vfnd3k6z.js → location-services-kmgtaefj.js} +37 -37
- package/dist/chunks/{workspace-fbwehany.js → location-services-kt33j3pd.js} +30 -30
- package/dist/chunks/{workspace-kwb1v3vj.js → location-services-kwb1v3vj.js} +1 -1
- package/dist/chunks/{workspace-rd7mwgeg.js → location-services-m0gv95n6.js} +39 -39
- package/dist/chunks/{workspace-qtjmb4ab.js → location-services-m19pkby1.js} +55 -55
- package/dist/chunks/{workspace-39v18tkx.js → location-services-m48mbdfe.js} +11 -11
- package/dist/chunks/{workspace-mwes9mjk.js → location-services-m7kg52ne.js} +17 -17
- package/dist/chunks/{workspace-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-maspj1v3.js → location-services-maspj1v3.js} +1 -1
- package/dist/chunks/{workspace-vbdmbvtf.js → location-services-mem1950j.js} +7 -7
- package/dist/chunks/{workspace-xed622nd.js → location-services-mmwf2vn7.js} +21 -21
- package/dist/chunks/{workspace-rg6srhxk.js → location-services-n3rpngyn.js} +25 -25
- package/dist/chunks/{workspace-7j1qnw50.js → location-services-n3v37e0e.js} +23 -23
- package/dist/chunks/{workspace-5m4xzttx.js → location-services-na2d2yza.js} +4 -4
- package/dist/chunks/{workspace-tanf9p38.js → location-services-ndzw72bf.js} +50 -50
- package/dist/chunks/{workspace-sbcg8x13.js → location-services-nhd25jm2.js} +11 -11
- package/dist/chunks/{workspace-ynmknp8q.js → location-services-nnx4n5pg.js} +11 -11
- package/dist/chunks/{workspace-f2d84ktx.js → location-services-nsarv18d.js} +5 -5
- package/dist/chunks/{workspace-sfm14d1e.js → location-services-nt5b7deb.js} +21 -21
- package/dist/chunks/{workspace-np3pwsmz.js → location-services-nyysptvf.js} +25 -25
- package/dist/chunks/{workspace-9ey36q4m.js → location-services-p06yjkdd.js} +16 -16
- package/dist/chunks/{workspace-cmwkp3r5.js → location-services-pa8pe2x7.js} +8 -8
- package/dist/chunks/{workspace-hkfp1kbx.js → location-services-pddqmh0s.js} +6 -6
- package/dist/chunks/{workspace-9m2z5enk.js → location-services-pgy08jxz.js} +7 -7
- package/dist/chunks/{workspace-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-qxyst2j3.js → location-services-pmc13vdj.js} +45 -45
- package/dist/chunks/{workspace-betwgrzy.js → location-services-pn7nfh9z.js} +11 -11
- package/dist/chunks/{workspace-vez48pfx.js → location-services-pnrj3g4m.js} +47 -47
- package/dist/chunks/{workspace-tqt8bre9.js → location-services-pqdqbg0a.js} +16 -16
- package/dist/chunks/{workspace-ema7vtfw.js → location-services-pwvwa7tm.js} +1 -1
- package/dist/chunks/{workspace-grvpncm1.js → location-services-q2wpwd1q.js} +5 -5
- package/dist/chunks/{workspace-dtqb8q68.js → location-services-q57gstmg.js} +23 -23
- package/dist/chunks/{workspace-qwz8s9r3.js → location-services-qcmh19j6.js} +6 -6
- package/dist/chunks/{workspace-66q175pd.js → location-services-qhdbhx6b.js} +40 -40
- package/dist/chunks/{workspace-6as2835f.js → location-services-qn8xcv6d.js} +5 -5
- package/dist/chunks/{workspace-qnc92qwc.js → location-services-qnc92qwc.js} +1 -1
- package/dist/chunks/{workspace-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-pvx62cma.js → location-services-qvgn3qed.js} +12 -12
- package/dist/chunks/{workspace-2tr0nx32.js → location-services-qw3mwbaq.js} +5 -5
- package/dist/chunks/{workspace-rfr6z38x.js → location-services-r9g4q422.js} +2 -2
- package/dist/chunks/{workspace-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-rz8vj7wk.js → location-services-rgpjkcg1.js} +9 -9
- package/dist/chunks/{workspace-t9g5qx6x.js → location-services-rh2qk5gw.js} +5 -5
- package/dist/chunks/{workspace-wa8h6qzv.js → location-services-rrejsa25.js} +4 -4
- package/dist/chunks/{workspace-ck2p3d1n.js → location-services-rsbsn9a9.js} +18 -18
- package/dist/chunks/{workspace-4c9c6ycn.js → location-services-rxcc1h6d.js} +17 -17
- package/dist/chunks/{workspace-d4cpb889.js → location-services-sfew0n52.js} +26 -26
- package/dist/chunks/{workspace-gp18yva6.js → location-services-sh92vnvp.js} +18 -18
- package/dist/chunks/{workspace-abme7df5.js → location-services-sm06z12z.js} +30 -30
- package/dist/chunks/{workspace-g6fhhb6h.js → location-services-sygnm33v.js} +12 -12
- package/dist/chunks/{workspace-rf80fxgj.js → location-services-sykc9y4a.js} +5 -5
- package/dist/chunks/{workspace-syv4x271.js → location-services-syv4x271.js} +1 -1
- package/dist/chunks/{workspace-9168hh8v.js → location-services-sznqrxer.js} +4 -4
- package/dist/chunks/{workspace-34bwsn1r.js → location-services-tanayhyb.js} +15 -15
- package/dist/chunks/{workspace-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-5efe86tm.js → location-services-tc0m6ret.js} +27 -27
- package/dist/chunks/{workspace-15rpx8aj.js → location-services-tc11merm.js} +9 -9
- package/dist/chunks/{workspace-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-tkb22qbm.js → location-services-tkb22qbm.js} +2 -2
- package/dist/chunks/{workspace-zqwp0gg4.js → location-services-tknmgtj2.js} +25 -25
- package/dist/chunks/{workspace-tm0kqsz3.js → location-services-tm0kqsz3.js} +1 -1
- package/dist/chunks/{workspace-hfee8c4k.js → location-services-tteajt19.js} +3 -3
- package/dist/chunks/{workspace-sk5hrgtc.js → location-services-tx9w5tca.js} +8 -8
- package/dist/chunks/{workspace-tyytaxap.js → location-services-tyytaxap.js} +1 -1
- package/dist/chunks/{workspace-ckxsmqkn.js → location-services-tzh7nywn.js} +9 -9
- package/dist/chunks/{workspace-nz56sr1f.js → location-services-v13b12ef.js} +5 -5
- package/dist/chunks/{workspace-v210v162.js → location-services-v210v162.js} +2 -2
- package/dist/chunks/{workspace-v7p4zvkq.js → location-services-v7p4zvkq.js} +2 -2
- package/dist/chunks/{workspace-nd71w6g8.js → location-services-ve7rc23n.js} +3 -3
- package/dist/chunks/{workspace-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-kntmrtbr.js → location-services-vp8kenv8.js} +4 -4
- package/dist/chunks/{workspace-mnnf39w5.js → location-services-vr0gae1a.js} +21 -21
- package/dist/chunks/{workspace-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
- package/dist/chunks/{workspace-cp9v0ke2.js → location-services-w122cve8.js} +9 -9
- package/dist/chunks/{workspace-rpjgfq5s.js → location-services-w3nq1sqw.js} +9 -9
- package/dist/chunks/{workspace-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-tjkhcpzj.js → location-services-w9qn3bve.js} +6 -6
- package/dist/chunks/{workspace-5fec3t3w.js → location-services-waskdk5r.js} +9 -9
- package/dist/chunks/{workspace-35hset4p.js → location-services-wcaj0dbf.js} +16 -16
- package/dist/chunks/{workspace-5b77hntt.js → location-services-wcnw1vw1.js} +4 -4
- package/dist/chunks/{workspace-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-ywt8jp22.js → location-services-wjr9rjd7.js} +6 -6
- package/dist/chunks/{workspace-hfg4raen.js → location-services-wkjbzrqs.js} +11 -11
- package/dist/chunks/{workspace-z0w4h7pg.js → location-services-wrvsrbns.js} +20 -20
- package/dist/chunks/{workspace-fj1y8zh4.js → location-services-x0yy9gzj.js} +14 -14
- package/dist/chunks/{workspace-kyz0dcnm.js → location-services-x30jgrm5.js} +71 -71
- package/dist/chunks/{workspace-szyc73at.js → location-services-x3sc03g3.js} +10 -10
- package/dist/chunks/{workspace-a3540p22.js → location-services-x4kb7bna.js} +11 -11
- package/dist/chunks/{workspace-xejgt214.js → location-services-x54wym4j.js} +13 -13
- package/dist/chunks/{workspace-tk9s4v6e.js → location-services-x8jkx94e.js} +9 -9
- package/dist/chunks/{workspace-0qwg22c0.js → location-services-x94t2y6k.js} +25 -25
- package/dist/chunks/{workspace-sg2n288w.js → location-services-xc7k2788.js} +37 -37
- package/dist/chunks/{workspace-0bbp34cp.js → location-services-xceybfq0.js} +24 -24
- package/dist/chunks/{workspace-dzmd97ab.js → location-services-xdpc3wk0.js} +13 -13
- package/dist/chunks/{workspace-vfs981a1.js → location-services-xf6fnzn0.js} +32 -32
- package/dist/chunks/{workspace-bm8any7a.js → location-services-xf751c4y.js} +13 -13
- package/dist/chunks/{workspace-q6nve0by.js → location-services-xfchyp9d.js} +49 -49
- package/dist/chunks/{workspace-xfkkasph.js → location-services-xfkkasph.js} +1 -1
- package/dist/chunks/{workspace-gvywkdtv.js → location-services-xjzqmp2s.js} +57 -57
- package/dist/chunks/{workspace-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-0yw4a88g.js → location-services-y3h6n91n.js} +23 -23
- package/dist/chunks/{workspace-g686f6pq.js → location-services-y7nndgyc.js} +9 -9
- package/dist/chunks/{workspace-z7jj2nw1.js → location-services-y8xym19h.js} +18 -18
- package/dist/chunks/{workspace-5tze7dnz.js → location-services-ybk3dexv.js} +25 -25
- package/dist/chunks/{workspace-aztr5199.js → location-services-yjjxpjc1.js} +26 -26
- package/dist/chunks/{workspace-s5m70yjn.js → location-services-ykzr8wnw.js} +31 -31
- package/dist/chunks/{workspace-2z794wvw.js → location-services-yrve3h5h.js} +23 -23
- package/dist/chunks/{workspace-1r5er5gw.js → location-services-yssnk412.js} +2 -2
- package/dist/chunks/{workspace-56nvstf3.js → location-services-ytcghdxg.js} +45 -45
- package/dist/chunks/{workspace-70rrh1jt.js → location-services-yz7p0tm3.js} +18 -18
- package/dist/chunks/{workspace-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-z18fegx4.js → location-services-z18fegx4.js} +1 -1
- package/dist/chunks/{workspace-bpa5zts5.js → location-services-z62wxppr.js} +32 -32
- package/dist/chunks/{workspace-00bpreyp.js → location-services-z6yetpqf.js} +8 -8
- package/dist/chunks/{workspace-3m1j57ch.js → location-services-zdrf9b2p.js} +28 -28
- package/dist/chunks/{workspace-vk5se0kv.js → location-services-zg0fcdgt.js} +22 -22
- package/dist/chunks/{workspace-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-8n9x2wf6.js → location-services-zx95ftzb.js} +3 -3
- package/dist/chunks/{workspace-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/chunks/{workspace-q3c4f1my.js → location-services-zzj16cr0.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- 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 +361 -361
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +139 -139
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +85 -85
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/workspace-48ncedfj.js +0 -517
- package/dist/chunks/workspace-csaj70e7.js +0 -257
- package/dist/chunks/workspace-dhzfkndg.js +0 -26
- package/dist/chunks/workspace-n95b3jav.js +0 -18
- /package/dist/chunks/{workspace-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2bv980vf.js → location-services-2bv980vf.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3t0ybcrp.js → location-services-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-84wd9syh.js → location-services-84wd9syh.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-m18g726c.js → location-services-m18g726c.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-pkyv6v7h.js → location-services-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{workspace-pyv0edze.js → location-services-pyv0edze.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wjj7prxr.js → location-services-wjj7prxr.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service77
|
|
4
|
+
} from "./location-services-236vqjbe.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service67
|
|
8
|
+
} from "./location-services-femnmy69.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service50
|
|
12
|
+
} from "./location-services-6q04wm97.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-zx95ftzb.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service60
|
|
18
|
+
} from "./location-services-wcaj0dbf.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service74
|
|
22
|
+
} from "./location-services-xjzqmp2s.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service29
|
|
25
|
+
} from "./location-services-14v2mpx3.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-services-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service12
|
|
31
|
+
} from "./location-services-e0aycr6x.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-services-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input7,
|
|
40
|
+
Output: () => Output4,
|
|
41
|
+
Plugin: () => Plugin44,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description4,
|
|
44
|
+
name: () => name7
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name7 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input7 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input10 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output4 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description4 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin44 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service29;
|
|
93
|
+
const jobs = yield* Service60;
|
|
94
|
+
const agents = yield* Service77;
|
|
95
|
+
const config = yield* Service50;
|
|
96
|
+
const permission = yield* Service74;
|
|
97
|
+
const models = yield* Service67;
|
|
98
|
+
const subagents = yield* Service12;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin30 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name7,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description4,
|
|
121
|
+
input: Input7,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin30 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name7,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin30 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID14.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name7 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name7];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name7, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name7, Input7, Output4, description4, Plugin44, exports_subagent };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-waskdk5r.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info12
|
|
9
|
+
} from "./location-services-nnx4n5pg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info13
|
|
12
|
+
} from "./location-services-6hh8tjw2.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info15
|
|
15
|
+
} from "./location-services-kjdm35cs.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-fcrkznn8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info11
|
|
21
|
+
} from "./location-services-9hwaqfsw.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-services-vp8kenv8.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-services-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info12, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info12, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info15, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -430,7 +430,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
430
430
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
431
431
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
432
432
|
return [];
|
|
433
|
-
const provider = decodeValue(
|
|
433
|
+
const provider = decodeValue(Info11, raw, path, diagnostics);
|
|
434
434
|
if (provider === undefined)
|
|
435
435
|
return [];
|
|
436
436
|
const destination = providerID2(name);
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-services-htn30amb.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-azwe5p1w.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID9,
|
|
14
|
+
Service69,
|
|
15
|
+
node73,
|
|
16
|
+
Event16
|
|
17
|
+
} from "./location-services-ay8yb9a7.js";
|
|
18
18
|
import {
|
|
19
19
|
Service82,
|
|
20
20
|
node86
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-b8e27wfc.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,13 +39,13 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
42
|
+
Event: () => Event15,
|
|
43
|
+
ID: () => ID8,
|
|
44
|
+
Info: () => Info19,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
|
-
Request: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Request: () => Request2,
|
|
48
|
+
Service: () => Service68,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -57,7 +57,7 @@ __export(exports_provider3, {
|
|
|
57
57
|
mergeOverlay: () => mergeOverlay2,
|
|
58
58
|
modelSettings: () => modelSettings2,
|
|
59
59
|
nativeSettings: () => nativeSettings2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node72,
|
|
61
61
|
packageName: () => packageName2,
|
|
62
62
|
timeout: () => timeout2,
|
|
63
63
|
timeouts: () => timeouts2
|
|
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
71
71
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
|
-
import { Event as
|
|
75
|
-
var
|
|
74
|
+
import { Event as Event15 } from "@opencode/schema/provider";
|
|
75
|
+
var ID8 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -279,13 +279,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
279
279
|
return result;
|
|
280
280
|
}, new Map).values());
|
|
281
281
|
}
|
|
282
|
-
var
|
|
282
|
+
var Request2 = Provider.Request;
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info19 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service68 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,9 +298,9 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
302
|
-
const bus = yield*
|
|
303
|
-
const integrations = yield*
|
|
301
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
302
|
+
const bus = yield* Service84;
|
|
303
|
+
const integrations = yield* Service69;
|
|
304
304
|
const location = yield* Service82;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
312
312
|
const current = records.get(id);
|
|
313
313
|
if (current)
|
|
314
314
|
return current;
|
|
315
|
-
const added = { provider:
|
|
315
|
+
const added = { provider: Info19.empty(id), models: new Map };
|
|
316
316
|
records.set(id, added);
|
|
317
317
|
maps.add(added.models);
|
|
318
318
|
return added;
|
|
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
393
393
|
const available = Array.from(records.values()).filter((record) => {
|
|
394
394
|
if (record.provider.activation === "disabled")
|
|
395
395
|
return false;
|
|
396
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
396
|
+
const integration = byID.get(record.provider.integrationID ?? ID9.make(record.provider.id));
|
|
397
397
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
398
398
|
return false;
|
|
399
399
|
if (record.provider.activation === "enabled")
|
|
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
419
419
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
|
-
yield* bus.subscribe([
|
|
423
|
-
return
|
|
422
|
+
yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
+
return Service68.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var
|
|
432
|
+
var node72 = makeLocationNode({ service: Service68, layer, deps: [node88, node73, node86] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID8, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info19, Service68, node72, exports_provider3, Event15 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-wjr9rjd7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin23,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin23 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin38 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin23, exports_exa };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-b8e27wfc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./location-services-mmwf2vn7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service21,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-x54wym4j.js";
|
|
12
12
|
import {
|
|
13
13
|
Service17
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-9da2gmc9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service74
|
|
17
|
+
} from "./location-services-xjzqmp2s.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service25,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-6a20fkbr.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-services-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input11,
|
|
34
|
+
Output: () => Output7,
|
|
35
|
+
Plugin: () => Plugin48,
|
|
36
|
+
name: () => name11
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name11 = "edit";
|
|
43
|
+
var Input11 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input6 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output7 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin48 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
196
|
+
const access = yield* Service25;
|
|
197
|
+
const fileMutation = yield* Service21;
|
|
198
|
+
const environment = yield* Service48;
|
|
199
199
|
const formatter = yield* Service17;
|
|
200
200
|
const location = yield* Service82;
|
|
201
|
-
const permission = yield*
|
|
201
|
+
const permission = yield* Service74;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name11,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input11,
|
|
207
|
+
output: Output7,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin25 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name11, Input11, Output7, Plugin48, exports_edit };
|