@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-services-htn30amb.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event10,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info9,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service44,
|
|
21
|
+
layer: () => layer20,
|
|
22
|
+
node: () => node47
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event10 } from "@opencode/schema/command";
|
|
28
|
+
var Info9 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service44 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer20 = Layer.effect(Service44, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service84;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info9.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service44.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node47 = makeLocationNode({
|
|
75
|
+
service: Service44,
|
|
76
|
+
layer: layer20,
|
|
77
|
+
deps: [node88]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info9, NotFoundError6, ExecutionError2, Service44, layer20, node47, exports_command4, Event10 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-z18fegx4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
17
|
+
var exports_instructions2 = {};
|
|
18
|
+
__export(exports_instructions2, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions2,
|
|
20
|
+
make: () => make13,
|
|
21
21
|
render: () => render2,
|
|
22
|
-
update: () =>
|
|
22
|
+
update: () => update2
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -43,7 +43,7 @@ function render2(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update2(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
49
|
${render2(current)}`;
|
|
@@ -109,20 +109,20 @@ ${render2(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key4.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make13 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make21({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
121
|
initial: render2,
|
|
122
|
-
changed:
|
|
122
|
+
changed: update2,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render2,
|
|
128
|
+
export { render2, update2, make13, exports_instructions2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service6,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node8
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service6 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node8 = makeLocationNode({
|
|
19
|
+
service: Service6,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service6, node8, bound2, exports_instance2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-z62wxppr.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-femnmy69.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve2,
|
|
16
16
|
supports: () => supports2
|
|
17
17
|
});
|
|
18
18
|
function supports2(reasoning) {
|
|
@@ -24,7 +24,7 @@ function supports2(reasoning) {
|
|
|
24
24
|
...reasoning.budget ? [{ type: "budget_tokens", ...reasoning.budget }] : []
|
|
25
25
|
];
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function resolve2(model, supports = [{ type: "effort" }]) {
|
|
28
28
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
29
29
|
if (!protocol)
|
|
30
30
|
return [];
|
|
@@ -584,4 +584,4 @@ var PROTOCOLS = {
|
|
|
584
584
|
[aisdk2("gitlab-ai-provider")]: gitlab
|
|
585
585
|
};
|
|
586
586
|
|
|
587
|
-
export { supports2,
|
|
587
|
+
export { supports2, resolve2, exports_variant };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./location-services-7ytf93vt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./location-services-xjzqmp2s.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin51 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service79;
|
|
57
|
+
const permission = yield* Service74;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service69,
|
|
4
|
+
node73
|
|
5
|
+
} from "./location-services-ay8yb9a7.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service68,
|
|
19
|
+
node72
|
|
20
|
+
} from "./location-services-z62wxppr.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service66,
|
|
23
|
+
node70
|
|
24
|
+
} from "./location-services-nhd25jm2.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID7,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service67,
|
|
30
|
+
node71,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-services-femnmy69.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-services-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service65,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer27,
|
|
52
|
+
node: () => node69,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
59
59
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
|
-
providerID:
|
|
63
|
-
modelID:
|
|
62
|
+
providerID: ID8,
|
|
63
|
+
modelID: ID7,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
|
-
providerID:
|
|
73
|
-
modelID:
|
|
72
|
+
providerID: ID8,
|
|
73
|
+
modelID: ID7,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
80
80
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
|
-
providerID:
|
|
84
|
-
modelID:
|
|
83
|
+
providerID: ID8,
|
|
84
|
+
modelID: ID7,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
|
-
providerID:
|
|
95
|
-
modelID:
|
|
94
|
+
providerID: ID8,
|
|
95
|
+
modelID: ID7,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
|
-
providerID:
|
|
107
|
-
modelID:
|
|
106
|
+
providerID: ID8,
|
|
107
|
+
modelID: ID7,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
|
-
providerID:
|
|
117
|
-
modelID:
|
|
116
|
+
providerID: ID8,
|
|
117
|
+
modelID: ID7,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service65 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -234,7 +234,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
234
234
|
return tokenSettings(specifier, credential.access);
|
|
235
235
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
236
236
|
return { auth: "sigv4" };
|
|
237
|
-
if (model.providerID ===
|
|
237
|
+
if (model.providerID === ID8.azure)
|
|
238
238
|
return tokenSettings(specifier, "azure-cli");
|
|
239
239
|
return {};
|
|
240
240
|
};
|
|
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
|
|
|
269
269
|
};
|
|
270
270
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
271
271
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
272
|
-
var
|
|
273
|
-
const providers = yield*
|
|
274
|
-
const models = yield*
|
|
275
|
-
const integrations = yield*
|
|
272
|
+
var layer27 = Layer.effect(Service65, Effect.gen(function* () {
|
|
273
|
+
const providers = yield* Service68;
|
|
274
|
+
const models = yield* Service67;
|
|
275
|
+
const integrations = yield* Service69;
|
|
276
276
|
const npm = yield* Npm.Service;
|
|
277
|
-
const aisdk = yield*
|
|
277
|
+
const aisdk = yield* Service66;
|
|
278
278
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
279
279
|
const provider = yield* providers.get(selected.providerID);
|
|
280
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
280
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
|
|
281
281
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
282
282
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
283
283
|
const runtimeInfo = {
|
|
@@ -304,7 +304,7 @@ var layer22 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
304
304
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
305
305
|
};
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service65.of({
|
|
308
308
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
309
309
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
310
310
|
if (!selected)
|
|
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
321
321
|
const name = packageName2(packageName);
|
|
322
322
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
323
323
|
}
|
|
324
|
-
var
|
|
325
|
-
service:
|
|
326
|
-
layer:
|
|
327
|
-
deps: [
|
|
324
|
+
var node69 = makeLocationNode({
|
|
325
|
+
service: Service65,
|
|
326
|
+
layer: layer27,
|
|
327
|
+
deps: [node72, node71, node73, Npm.node, node70]
|
|
328
328
|
});
|
|
329
329
|
|
|
330
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
330
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service65, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer27, node69, exports_model_resolver };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-x3sc03g3.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./location-services-9yfmw94a.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-ay8yb9a7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-z62wxppr.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID8.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID9.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service70;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|