@opencode/core 0.0.0-dev-158 → 0.0.0-dev-160
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +87 -87
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{formatter-034tev2y.js → location-lifecycle-034tev2y.js} +2 -2
- package/dist/chunks/{formatter-xvmzfnq9.js → location-lifecycle-03nv407c.js} +9 -9
- package/dist/chunks/{formatter-te7zt5ht.js → location-lifecycle-03rtwy5v.js} +16 -16
- package/dist/chunks/{formatter-7m2ptj4e.js → location-lifecycle-04rjkzd7.js} +17 -17
- package/dist/chunks/{formatter-gy6xyr2j.js → location-lifecycle-075r9t8q.js} +22 -22
- package/dist/chunks/{formatter-hy59nt95.js → location-lifecycle-091d9zsc.js} +6 -6
- package/dist/chunks/{formatter-p8047wat.js → location-lifecycle-09pat09w.js} +3 -3
- package/dist/chunks/{formatter-hkv4p8qn.js → location-lifecycle-0j0jn8fg.js} +21 -21
- package/dist/chunks/{formatter-g1mxmsmn.js → location-lifecycle-0nvft8cc.js} +9 -9
- package/dist/chunks/{formatter-qxdpy5f9.js → location-lifecycle-0qe6fjn0.js} +4 -4
- package/dist/chunks/{formatter-yb49ndda.js → location-lifecycle-0scs4w2b.js} +8 -8
- package/dist/chunks/{formatter-wyenqtwf.js → location-lifecycle-0z86q9cp.js} +4 -4
- package/dist/chunks/{formatter-njz5cw42.js → location-lifecycle-11cgb2ma.js} +2 -2
- package/dist/chunks/{formatter-cgn6nf8q.js → location-lifecycle-11y9pd7t.js} +2 -2
- package/dist/chunks/{formatter-n7bnkb3p.js → location-lifecycle-18g90bpv.js} +9 -9
- package/dist/chunks/{formatter-dm6ksgvz.js → location-lifecycle-1aqwasmh.js} +6 -6
- package/dist/chunks/{formatter-1ep2p91f.js → location-lifecycle-1ep2p91f.js} +2 -2
- package/dist/chunks/{formatter-m0kgc17n.js → location-lifecycle-1j8wp56m.js} +4 -4
- package/dist/chunks/{formatter-1x2knyw4.js → location-lifecycle-1x2knyw4.js} +1 -1
- package/dist/chunks/{formatter-p7vhpwh8.js → location-lifecycle-1yq9hg58.js} +5 -5
- package/dist/chunks/{formatter-204s3925.js → location-lifecycle-204s3925.js} +1 -1
- package/dist/chunks/{formatter-gzq9abr2.js → location-lifecycle-2e7734n6.js} +38 -38
- package/dist/chunks/{formatter-0ah4y9r0.js → location-lifecycle-2jy5vxan.js} +6 -6
- package/dist/chunks/{formatter-56xn1hkj.js → location-lifecycle-2krynjv7.js} +28 -28
- package/dist/chunks/{formatter-r1gtje4t.js → location-lifecycle-2txjm16z.js} +37 -37
- package/dist/chunks/{formatter-grfya7tj.js → location-lifecycle-2x4xsfey.js} +13 -13
- package/dist/chunks/{formatter-fghrgnwr.js → location-lifecycle-31dwp2qr.js} +12 -12
- package/dist/chunks/{formatter-txvbkf9b.js → location-lifecycle-333xe2d2.js} +43 -43
- package/dist/chunks/{formatter-5vtsbcft.js → location-lifecycle-34tge73z.js} +8 -8
- package/dist/chunks/{formatter-dr3tmh6a.js → location-lifecycle-34xkn1cm.js} +12 -12
- package/dist/chunks/{formatter-1gnb2fcg.js → location-lifecycle-3er90sdq.js} +23 -23
- package/dist/chunks/{formatter-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-3nnrz6f6.js → location-lifecycle-3nnrz6f6.js} +1 -1
- package/dist/chunks/{formatter-03v86jt2.js → location-lifecycle-4akdqp43.js} +17 -17
- package/dist/chunks/{formatter-tee81xg3.js → location-lifecycle-4h1e4546.js} +13 -13
- package/dist/chunks/{formatter-7jhpt6w3.js → location-lifecycle-4nr28493.js} +24 -24
- package/dist/chunks/{formatter-4pyp9zr9.js → location-lifecycle-4pyp9zr9.js} +1 -1
- package/dist/chunks/{formatter-4v008n1t.js → location-lifecycle-4v008n1t.js} +1 -1
- package/dist/chunks/{formatter-g9wm4gaf.js → location-lifecycle-4v5fy4de.js} +36 -36
- package/dist/chunks/{formatter-pqf7d7qx.js → location-lifecycle-4w7hvyx1.js} +39 -39
- package/dist/chunks/{formatter-3qx04rj6.js → location-lifecycle-566xrjbh.js} +8 -8
- package/dist/chunks/{formatter-d9jhw6m8.js → location-lifecycle-5gswvw55.js} +8 -8
- package/dist/chunks/{formatter-qkkhqeq2.js → location-lifecycle-5gwad0wr.js} +25 -25
- package/dist/chunks/{formatter-5m9w47nd.js → location-lifecycle-5m9w47nd.js} +1 -1
- package/dist/chunks/{formatter-8vhprsgd.js → location-lifecycle-5q34s4q8.js} +12 -12
- package/dist/chunks/{formatter-wefmyskm.js → location-lifecycle-5tvmrjvy.js} +37 -37
- package/dist/chunks/{formatter-71wc3kpp.js → location-lifecycle-607w044x.js} +27 -27
- package/dist/chunks/{formatter-bjhzkqyk.js → location-lifecycle-61ennm6n.js} +4 -4
- package/dist/chunks/{formatter-yj5kgc24.js → location-lifecycle-62e4mps1.js} +2 -2
- package/dist/chunks/{formatter-394cy0eq.js → location-lifecycle-659m0wpj.js} +12 -12
- package/dist/chunks/{formatter-mvyy6qpx.js → location-lifecycle-66eted3z.js} +29 -29
- package/dist/chunks/{formatter-33nja2we.js → location-lifecycle-66gx0pcd.js} +14 -14
- package/dist/chunks/{formatter-6esdw8yj.js → location-lifecycle-6esdw8yj.js} +1 -1
- package/dist/chunks/{formatter-zxf918eb.js → location-lifecycle-6hmtyd03.js} +13 -13
- package/dist/chunks/{formatter-tgt0ac12.js → location-lifecycle-6v8f6b75.js} +16 -16
- package/dist/chunks/{formatter-zs0e4nbm.js → location-lifecycle-71qhdzgc.js} +30 -30
- package/dist/chunks/{formatter-6rr0vdf1.js → location-lifecycle-748phpe4.js} +7 -7
- package/dist/chunks/{formatter-w8qtt4th.js → location-lifecycle-76cb1hcw.js} +4 -4
- package/dist/chunks/{formatter-28hr9nbt.js → location-lifecycle-77r0jmct.js} +39 -39
- package/dist/chunks/{formatter-d8p3t516.js → location-lifecycle-7a2bwsmz.js} +4 -4
- package/dist/chunks/{formatter-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-cfa85z7t.js → location-lifecycle-7d2ya0cf.js} +31 -31
- package/dist/chunks/{formatter-djt3gtf7.js → location-lifecycle-7fyy9fjr.js} +20 -20
- package/dist/chunks/{formatter-exxfv8pa.js → location-lifecycle-7trskt34.js} +12 -12
- package/dist/chunks/{formatter-5ff5nded.js → location-lifecycle-7vgt2646.js} +18 -18
- package/dist/chunks/{formatter-7w2ypzdf.js → location-lifecycle-7w2ypzdf.js} +1 -1
- package/dist/chunks/{formatter-df6rebg4.js → location-lifecycle-7wftnmnq.js} +54 -54
- package/dist/chunks/{formatter-6v3s9y2a.js → location-lifecycle-84cbyd8f.js} +23 -23
- package/dist/chunks/{formatter-jy1r7v62.js → location-lifecycle-8551cmxr.js} +29 -29
- package/dist/chunks/{formatter-11hfp36g.js → location-lifecycle-8jztxfpf.js} +4 -4
- package/dist/chunks/location-lifecycle-8kn9mw6g.js +257 -0
- package/dist/chunks/{formatter-q0zr1qvh.js → location-lifecycle-8m742yxr.js} +22 -22
- package/dist/chunks/{formatter-szcgc7h4.js → location-lifecycle-8wc2fpae.js} +5 -5
- package/dist/chunks/{formatter-8wtp7s3z.js → location-lifecycle-8wtp7s3z.js} +1 -1
- package/dist/chunks/{formatter-90zstvax.js → location-lifecycle-90zstvax.js} +1 -1
- package/dist/chunks/{formatter-0n41t4zq.js → location-lifecycle-91159h48.js} +21 -21
- package/dist/chunks/{formatter-w670rhyr.js → location-lifecycle-911f6jtf.js} +17 -17
- package/dist/chunks/{formatter-yxrr31d8.js → location-lifecycle-92r8p0tp.js} +7 -7
- package/dist/chunks/{formatter-fng6wk28.js → location-lifecycle-97e8yvkm.js} +11 -11
- package/dist/chunks/{formatter-1543h8d7.js → location-lifecycle-9d0h1a85.js} +15 -15
- package/dist/chunks/{formatter-n2ppx7kr.js → location-lifecycle-9e2t1zy8.js} +9 -9
- package/dist/chunks/{formatter-xppfe2fc.js → location-lifecycle-9ghhny37.js} +6 -6
- package/dist/chunks/{formatter-4pev1txy.js → location-lifecycle-9jmz8zbf.js} +13 -13
- package/dist/chunks/{formatter-1628er8f.js → location-lifecycle-9mefphe5.js} +12 -12
- package/dist/chunks/{formatter-9axz1114.js → location-lifecycle-9q8g9sv8.js} +4 -4
- package/dist/chunks/{formatter-dyqb2r8n.js → location-lifecycle-9rcpje87.js} +3 -3
- package/dist/chunks/{formatter-bj9smzzw.js → location-lifecycle-a2aear2q.js} +5 -5
- package/dist/chunks/{formatter-q3g8wbya.js → location-lifecycle-a2nhs5ye.js} +11 -11
- package/dist/chunks/{formatter-pf9gr1ec.js → location-lifecycle-a4pmvdsg.js} +5 -5
- package/dist/chunks/{formatter-bvjg0ay9.js → location-lifecycle-aae1rsd6.js} +9 -9
- package/dist/chunks/{formatter-hmr6cy4x.js → location-lifecycle-aana3tqe.js} +22 -22
- package/dist/chunks/{formatter-5rf46hdm.js → location-lifecycle-agebekh8.js} +21 -21
- package/dist/chunks/{formatter-e2ne77ac.js → location-lifecycle-agqd6nxz.js} +4 -4
- package/dist/chunks/{formatter-ayjs7tqn.js → location-lifecycle-ayjs7tqn.js} +2 -2
- package/dist/chunks/{formatter-spsvk66e.js → location-lifecycle-az159fyk.js} +3 -3
- package/dist/chunks/{formatter-q28pv36z.js → location-lifecycle-b2m7pznq.js} +29 -29
- package/dist/chunks/{formatter-4mppp49g.js → location-lifecycle-b2m9s0pn.js} +3 -3
- package/dist/chunks/{formatter-b6vsg801.js → location-lifecycle-b6vsg801.js} +2 -2
- package/dist/chunks/{formatter-fwsczgrj.js → location-lifecycle-bd7q38ce.js} +11 -11
- package/dist/chunks/{formatter-wmaqz1y8.js → location-lifecycle-bdkc7mmp.js} +17 -17
- package/dist/chunks/{formatter-3ga08nvd.js → location-lifecycle-bj9021m7.js} +11 -11
- package/dist/chunks/{formatter-w97d1ng8.js → location-lifecycle-bkcffhez.js} +63 -63
- package/dist/chunks/{formatter-bstexjd6.js → location-lifecycle-bstexjd6.js} +1 -1
- package/dist/chunks/{formatter-bmvsb49w.js → location-lifecycle-c2bdtnm6.js} +18 -18
- package/dist/chunks/{formatter-19qgrets.js → location-lifecycle-c7q823vs.js} +4 -4
- package/dist/chunks/{formatter-fe32wyxe.js → location-lifecycle-c9jcxjv5.js} +18 -18
- package/dist/chunks/{formatter-7zczqtrc.js → location-lifecycle-c9yt0jk2.js} +11 -11
- package/dist/chunks/{formatter-r6cac6pk.js → location-lifecycle-cgreejsf.js} +16 -16
- package/dist/chunks/{formatter-f46kh10v.js → location-lifecycle-cj6h32y7.js} +15 -15
- package/dist/chunks/{formatter-hhp2fdnq.js → location-lifecycle-cq7wr2e9.js} +11 -11
- package/dist/chunks/{formatter-avpbktef.js → location-lifecycle-csqm7sp4.js} +12 -12
- package/dist/chunks/{formatter-10vw2nd8.js → location-lifecycle-ctt4wsq6.js} +4 -4
- package/dist/chunks/{formatter-cwrgdav8.js → location-lifecycle-cwrgdav8.js} +2 -2
- package/dist/chunks/{formatter-kyy1rfta.js → location-lifecycle-d3awzx2p.js} +7 -7
- package/dist/chunks/{formatter-d4v9tmah.js → location-lifecycle-d4v9tmah.js} +2 -2
- package/dist/chunks/{formatter-aedwt843.js → location-lifecycle-ddvn7d3w.js} +8 -8
- package/dist/chunks/{formatter-22ajefah.js → location-lifecycle-ddydspp3.js} +16 -16
- package/dist/chunks/{formatter-dt77769w.js → location-lifecycle-dt77769w.js} +1 -1
- package/dist/chunks/{formatter-bsh8r5kc.js → location-lifecycle-dwefygb6.js} +9 -9
- package/dist/chunks/{formatter-c5zneedc.js → location-lifecycle-dxyq0m5b.js} +38 -38
- package/dist/chunks/{formatter-h1pm2szr.js → location-lifecycle-dzyfpej0.js} +27 -27
- package/dist/chunks/{formatter-ga1rq104.js → location-lifecycle-e75qsb71.js} +17 -17
- package/dist/chunks/{formatter-e834z07m.js → location-lifecycle-e834z07m.js} +1 -1
- package/dist/chunks/{formatter-j6wmqcnw.js → location-lifecycle-eda00e62.js} +25 -25
- package/dist/chunks/{formatter-tc4kyz8e.js → location-lifecycle-ef2tezb6.js} +2 -2
- package/dist/chunks/{formatter-tted8b2w.js → location-lifecycle-ew5jtx8x.js} +20 -20
- package/dist/chunks/{formatter-8x6dz44a.js → location-lifecycle-ez1g32xq.js} +8 -8
- package/dist/chunks/location-lifecycle-ezna1kdx.js +18 -0
- package/dist/chunks/{formatter-haf3v3hy.js → location-lifecycle-f01y088k.js} +5 -5
- package/dist/chunks/{formatter-ydnwtp95.js → location-lifecycle-f4ynxgmh.js} +5 -5
- package/dist/chunks/{formatter-6cycb20b.js → location-lifecycle-fcv1cwed.js} +30 -30
- package/dist/chunks/{formatter-fffv3p7h.js → location-lifecycle-fffv3p7h.js} +1 -1
- package/dist/chunks/{formatter-prq7xxp2.js → location-lifecycle-fg9p65nk.js} +6 -6
- package/dist/chunks/{formatter-7jgy946c.js → location-lifecycle-fkwhdxrs.js} +7 -7
- package/dist/chunks/{formatter-mk6v4p35.js → location-lifecycle-fmxg1tq5.js} +11 -11
- package/dist/chunks/{formatter-n7s957jj.js → location-lifecycle-fp0xs3qb.js} +8 -8
- package/dist/chunks/{formatter-c5kjsz6q.js → location-lifecycle-fwp9mfc9.js} +4 -4
- package/dist/chunks/{formatter-4dn49050.js → location-lifecycle-g11m17r7.js} +29 -29
- package/dist/chunks/{formatter-t2k4jjyh.js → location-lifecycle-g1qehh5m.js} +5 -5
- package/dist/chunks/{formatter-1k41bg7a.js → location-lifecycle-g78frzxw.js} +21 -21
- package/dist/chunks/{formatter-p8rfhtpq.js → location-lifecycle-g9e5zzyx.js} +24 -24
- package/dist/chunks/{formatter-stdt3xb1.js → location-lifecycle-g9v2eday.js} +13 -13
- package/dist/chunks/{formatter-485n4jd3.js → location-lifecycle-gc0fp1b7.js} +21 -21
- package/dist/chunks/{formatter-av82cvsk.js → location-lifecycle-ge42ew1j.js} +164 -164
- package/dist/chunks/{formatter-gg8p9cgs.js → location-lifecycle-gg8p9cgs.js} +3 -3
- package/dist/chunks/{formatter-7a1enj4j.js → location-lifecycle-gjweb3gp.js} +8 -8
- package/dist/chunks/{formatter-w4psgs9e.js → location-lifecycle-grf0gdhe.js} +18 -18
- package/dist/chunks/{formatter-g9w27t38.js → location-lifecycle-gt6p80br.js} +4 -4
- package/dist/chunks/{formatter-xt0z8zst.js → location-lifecycle-gtn9c16a.js} +4 -4
- package/dist/chunks/{formatter-0dyf8jqq.js → location-lifecycle-gxea8sbx.js} +39 -39
- package/dist/chunks/{formatter-hdfrs5mg.js → location-lifecycle-hdfrs5mg.js} +2 -2
- package/dist/chunks/{formatter-8zkf5cgt.js → location-lifecycle-hn4sj8vd.js} +6 -6
- package/dist/chunks/{formatter-hpg1pkwy.js → location-lifecycle-hpg1pkwy.js} +1 -1
- package/dist/chunks/{formatter-z96chytr.js → location-lifecycle-hr6qpb55.js} +31 -31
- package/dist/chunks/{formatter-taahtb0c.js → location-lifecycle-hss6apd7.js} +9 -9
- package/dist/chunks/{formatter-nk8ph50s.js → location-lifecycle-httgbm63.js} +23 -23
- package/dist/chunks/{formatter-daz8d7a2.js → location-lifecycle-hwhdfxs7.js} +7 -7
- package/dist/chunks/{formatter-dqkdjpwm.js → location-lifecycle-hzpkwyds.js} +73 -73
- package/dist/chunks/{formatter-aprzax25.js → location-lifecycle-j06jsfsz.js} +24 -24
- package/dist/chunks/{formatter-0fgefsmm.js → location-lifecycle-j3vn7f0p.js} +11 -11
- package/dist/chunks/{formatter-j7v80qje.js → location-lifecycle-j8ywdc48.js} +14 -14
- package/dist/chunks/{formatter-51s5kn8z.js → location-lifecycle-jc8tgtv9.js} +18 -18
- package/dist/chunks/{formatter-0gb5rjdd.js → location-lifecycle-jct1w8df.js} +21 -21
- package/dist/chunks/{formatter-jfaecv01.js → location-lifecycle-jfaecv01.js} +1 -1
- package/dist/chunks/{formatter-jtnps1zs.js → location-lifecycle-jtnps1zs.js} +2 -2
- package/dist/chunks/{formatter-vh9ps45p.js → location-lifecycle-k1613n7g.js} +26 -26
- package/dist/chunks/{formatter-k814nvkf.js → location-lifecycle-k814nvkf.js} +1 -1
- package/dist/chunks/{formatter-snb901t2.js → location-lifecycle-k9zkdd2y.js} +4 -4
- package/dist/chunks/{formatter-96te9d4b.js → location-lifecycle-kerhshr9.js} +5 -5
- package/dist/chunks/{formatter-veq51cxc.js → location-lifecycle-kf4p2ebd.js} +9 -9
- package/dist/chunks/{formatter-t2ad8a1g.js → location-lifecycle-kgd526zp.js} +16 -16
- package/dist/chunks/{formatter-2pxa8g39.js → location-lifecycle-kjcczxx5.js} +10 -10
- package/dist/chunks/{formatter-9qcg53ez.js → location-lifecycle-kjgnzevm.js} +9 -9
- package/dist/chunks/{formatter-tc1bwtzj.js → location-lifecycle-knmcjvgx.js} +6 -6
- package/dist/chunks/{formatter-kt3bjfbg.js → location-lifecycle-kt3bjfbg.js} +1 -1
- package/dist/chunks/{formatter-8m1jxte5.js → location-lifecycle-m0mpqzzp.js} +20 -20
- package/dist/chunks/{formatter-m1714858.js → location-lifecycle-m1714858.js} +1 -1
- package/dist/chunks/{formatter-g7esga4v.js → location-lifecycle-m37sd98t.js} +7 -7
- package/dist/chunks/{formatter-8sm9cepf.js → location-lifecycle-m71b06f8.js} +7 -7
- package/dist/chunks/{formatter-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-q4fqeak2.js → location-lifecycle-mmrzgh5j.js} +25 -25
- package/dist/chunks/{formatter-vg0erq9k.js → location-lifecycle-mqe7nf5n.js} +3 -3
- package/dist/chunks/{formatter-bxe49cp6.js → location-lifecycle-mxnttp5b.js} +12 -12
- package/dist/chunks/{formatter-na9deryv.js → location-lifecycle-n31axcjw.js} +4 -4
- package/dist/chunks/{formatter-dxx03d8y.js → location-lifecycle-n4r089c8.js} +13 -13
- package/dist/chunks/{formatter-yq3rxhjy.js → location-lifecycle-n6vvftxr.js} +12 -12
- package/dist/chunks/{formatter-46ka2acm.js → location-lifecycle-na00haj3.js} +3 -3
- package/dist/chunks/{formatter-nah043kf.js → location-lifecycle-nah043kf.js} +1 -1
- package/dist/chunks/{formatter-ezm560et.js → location-lifecycle-natbewwp.js} +22 -22
- package/dist/chunks/{formatter-pbbktnbz.js → location-lifecycle-nf3nsvxh.js} +4 -4
- package/dist/chunks/{formatter-tpjvtcx1.js → location-lifecycle-npd3148k.js} +9 -9
- package/dist/chunks/{formatter-p015t6z3.js → location-lifecycle-p015t6z3.js} +2 -2
- package/dist/chunks/{formatter-dht0teee.js → location-lifecycle-p7a7hhp0.js} +8 -8
- package/dist/chunks/{formatter-43d5xc6d.js → location-lifecycle-p9twr0vv.js} +19 -19
- package/dist/chunks/{formatter-24jfnbzz.js → location-lifecycle-p9w876mb.js} +22 -22
- package/dist/chunks/{formatter-6qzks2cs.js → location-lifecycle-pb3e80c5.js} +23 -23
- package/dist/chunks/{formatter-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-gtz8ev1y.js → location-lifecycle-pnwsrq7c.js} +8 -8
- package/dist/chunks/{formatter-mvfz5wz8.js → location-lifecycle-ps6y80bg.js} +28 -28
- package/dist/chunks/{formatter-4h077zh3.js → location-lifecycle-ptzzs6yb.js} +11 -11
- package/dist/chunks/{formatter-6qazmz99.js → location-lifecycle-pzrv7hbh.js} +5 -5
- package/dist/chunks/{formatter-q63cb7ap.js → location-lifecycle-q63cb7ap.js} +3 -3
- package/dist/chunks/{formatter-45ggea5m.js → location-lifecycle-q9mdtdqs.js} +31 -31
- package/dist/chunks/{formatter-fw94v8hy.js → location-lifecycle-qbg2d46g.js} +9 -9
- package/dist/chunks/{formatter-ntxfz25d.js → location-lifecycle-qde44nj0.js} +11 -11
- package/dist/chunks/location-lifecycle-qfj5n8ap.js +26 -0
- package/dist/chunks/{formatter-2eqy3gj5.js → location-lifecycle-qj77rrb3.js} +7 -7
- package/dist/chunks/{formatter-qp7r0hxv.js → location-lifecycle-qp7r0hxv.js} +1 -1
- package/dist/chunks/{formatter-a52hhzb9.js → location-lifecycle-qyt9g0c4.js} +23 -23
- package/dist/chunks/{formatter-r0yr0wbs.js → location-lifecycle-r0yr0wbs.js} +1 -1
- package/dist/chunks/{formatter-r542h3bh.js → location-lifecycle-r542h3bh.js} +1 -1
- package/dist/chunks/{formatter-52eavcth.js → location-lifecycle-ra94xdz7.js} +24 -24
- package/dist/chunks/{formatter-rb9dy4dg.js → location-lifecycle-rb9dy4dg.js} +1 -1
- package/dist/chunks/{formatter-ygqxcxbg.js → location-lifecycle-rbr3tktj.js} +4 -4
- package/dist/chunks/{formatter-8k57btrj.js → location-lifecycle-rf6bkr86.js} +10 -10
- package/dist/chunks/{formatter-snrj9yj5.js → location-lifecycle-rg32fvtr.js} +9 -9
- package/dist/chunks/{formatter-t211gxpv.js → location-lifecycle-rhv95hk9.js} +7 -7
- package/dist/chunks/{formatter-dxb8mgza.js → location-lifecycle-rnb8hfy1.js} +10 -10
- package/dist/chunks/{formatter-bf446n6z.js → location-lifecycle-rrkf1epd.js} +9 -9
- package/dist/chunks/{formatter-6q4pe2tt.js → location-lifecycle-rrrvkjes.js} +11 -11
- package/dist/chunks/{formatter-rt5dr6hb.js → location-lifecycle-rt5dr6hb.js} +1 -1
- package/dist/chunks/{formatter-g9rrt98n.js → location-lifecycle-s7gfng2c.js} +4 -4
- package/dist/chunks/{formatter-t6gnwazt.js → location-lifecycle-s8xv3frr.js} +41 -41
- package/dist/chunks/{formatter-sa3fpqfw.js → location-lifecycle-sa3fpqfw.js} +2 -2
- package/dist/chunks/{formatter-kddgr42t.js → location-lifecycle-sjap5m2v.js} +10 -10
- package/dist/chunks/{formatter-sqjzf8x2.js → location-lifecycle-sqjzf8x2.js} +1 -1
- package/dist/chunks/{formatter-d2887f8n.js → location-lifecycle-ssfehs1z.js} +4 -4
- package/dist/chunks/{formatter-svcy3p9a.js → location-lifecycle-svcy3p9a.js} +1 -1
- package/dist/chunks/{formatter-knjx9f3g.js → location-lifecycle-t2jb32fr.js} +22 -22
- package/dist/chunks/{formatter-tczq8hjw.js → location-lifecycle-tczq8hjw.js} +1 -1
- package/dist/chunks/{formatter-jvta4zhp.js → location-lifecycle-tp66eq7z.js} +6 -6
- package/dist/chunks/{formatter-twssxy5n.js → location-lifecycle-twssxy5n.js} +2 -2
- package/dist/chunks/{formatter-b954wvww.js → location-lifecycle-txy64ddg.js} +6 -6
- package/dist/chunks/{formatter-v2r1d0zg.js → location-lifecycle-v2r1d0zg.js} +1 -1
- package/dist/chunks/{formatter-aj89322e.js → location-lifecycle-v3xbt8j3.js} +5 -5
- package/dist/chunks/{formatter-2q4pnacr.js → location-lifecycle-vat40s1j.js} +5 -5
- package/dist/chunks/{formatter-7a3gzg35.js → location-lifecycle-vjxb9gfa.js} +8 -8
- package/dist/chunks/{formatter-kykpneqp.js → location-lifecycle-vr97jdwr.js} +27 -27
- package/dist/chunks/{formatter-rte3fk8q.js → location-lifecycle-vtee1h2x.js} +11 -11
- package/dist/chunks/{formatter-nrtygxmh.js → location-lifecycle-vzppetdn.js} +6 -6
- package/dist/chunks/{formatter-408rv1ek.js → location-lifecycle-w2a3yqmm.js} +66 -66
- package/dist/chunks/{formatter-5enarcya.js → location-lifecycle-w2eysc6j.js} +6 -6
- package/dist/chunks/{formatter-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-5yg7bvsq.js → location-lifecycle-w8qce8my.js} +5 -5
- package/dist/chunks/{formatter-jyhg77x6.js → location-lifecycle-w9bxej31.js} +8 -8
- package/dist/chunks/{formatter-wakvkjy4.js → location-lifecycle-wakvkjy4.js} +1 -1
- package/dist/chunks/{formatter-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-n7pbqev4.js → location-lifecycle-wfmjh5ms.js} +1 -1
- package/dist/chunks/{formatter-wnhgecwx.js → location-lifecycle-wnhgecwx.js} +1 -1
- package/dist/chunks/{formatter-61a4qrs4.js → location-lifecycle-wnyn60q7.js} +5 -5
- package/dist/chunks/{formatter-sqkx7p5n.js → location-lifecycle-wpany5yq.js} +13 -13
- package/dist/chunks/{formatter-p4yppz28.js → location-lifecycle-wq4h806t.js} +19 -19
- package/dist/chunks/{formatter-w687dnns.js → location-lifecycle-wr3re1en.js} +4 -4
- package/dist/chunks/{formatter-g8jkqxma.js → location-lifecycle-x19ymrsr.js} +44 -44
- package/dist/chunks/{formatter-3n5jkvcw.js → location-lifecycle-x48bv8h6.js} +5 -5
- package/dist/chunks/{formatter-k9dfpmz2.js → location-lifecycle-xdj75tqk.js} +24 -24
- package/dist/chunks/{formatter-bqm8vams.js → location-lifecycle-xfcrt735.js} +28 -28
- package/dist/chunks/{formatter-vfp0pkkd.js → location-lifecycle-xjxadmbn.js} +35 -35
- package/dist/chunks/{formatter-pyzjd10w.js → location-lifecycle-xkhfjrgz.js} +3 -3
- package/dist/chunks/{formatter-xqwysx3w.js → location-lifecycle-xn7d09t2.js} +23 -23
- package/dist/chunks/{formatter-6vygy4ry.js → location-lifecycle-xpv0mkwy.js} +13 -13
- package/dist/chunks/{formatter-qgndh80m.js → location-lifecycle-xqfvk670.js} +12 -12
- package/dist/chunks/{formatter-re939ggz.js → location-lifecycle-xrp5eqy6.js} +34 -34
- package/dist/chunks/{formatter-932fxf16.js → location-lifecycle-xsdb0ewc.js} +13 -13
- package/dist/chunks/{formatter-d0d9kmtc.js → location-lifecycle-xvwea3zk.js} +27 -27
- package/dist/chunks/{formatter-928cg9e5.js → location-lifecycle-xxxy1m8x.js} +15 -15
- package/dist/chunks/{formatter-txf773fv.js → location-lifecycle-y6prjrg7.js} +4 -4
- package/dist/chunks/{formatter-yara3q77.js → location-lifecycle-yara3q77.js} +2 -2
- package/dist/chunks/{formatter-wkhea23b.js → location-lifecycle-yawv2nyq.js} +17 -17
- package/dist/chunks/{formatter-yb20nhc3.js → location-lifecycle-yb20nhc3.js} +1 -1
- package/dist/chunks/{formatter-fzfqydht.js → location-lifecycle-yczcr02h.js} +10 -10
- package/dist/chunks/{formatter-wbgzj0hw.js → location-lifecycle-yjv0s5xv.js} +4 -4
- package/dist/chunks/{formatter-pakndkhn.js → location-lifecycle-ymz7p2c9.js} +3 -3
- package/dist/chunks/location-lifecycle-ys27pst8.js +511 -0
- package/dist/chunks/{formatter-7a92ptrh.js → location-lifecycle-ysg1a3cp.js} +25 -25
- package/dist/chunks/{formatter-z38nccrw.js → location-lifecycle-z38nccrw.js} +1 -1
- package/dist/chunks/{formatter-xjpxpj55.js → location-lifecycle-z3b2zcgw.js} +11 -11
- package/dist/chunks/{formatter-p1njj0by.js → location-lifecycle-z4j5acsz.js} +9 -9
- package/dist/chunks/{formatter-xwbhabkb.js → location-lifecycle-zc0wy1av.js} +18 -18
- package/dist/chunks/{formatter-5ryxmec5.js → location-lifecycle-zcz73n1t.js} +6 -6
- package/dist/chunks/{formatter-me7kxg3j.js → location-lifecycle-zdn46m04.js} +8 -8
- package/dist/chunks/{formatter-zgd8t41s.js → location-lifecycle-zh7bbm8x.js} +9 -9
- package/dist/chunks/{formatter-sg8xjaz5.js → location-lifecycle-zn7aejg9.js} +24 -24
- package/dist/chunks/{formatter-5cn8xe5s.js → location-lifecycle-zvmpcp5y.js} +14 -14
- package/dist/chunks/{formatter-8a2eg3tn.js → location-lifecycle-zxdxvdq4.js} +5 -5
- 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 +91 -91
- package/dist/config/discovery.js +92 -92
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -120
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +93 -93
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +377 -377
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +146 -146
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +83 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +113 -113
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +368 -368
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +160 -160
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +365 -365
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +81 -81
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +147 -147
- 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 +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +338 -338
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +357 -357
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- 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 +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- package/dist/rpc.js +92 -92
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +162 -162
- package/dist/session/context.js +186 -186
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +154 -154
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +153 -153
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +152 -152
- package/dist/session/projector.js +132 -132
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +150 -150
- package/dist/snapshot.js +99 -99
- 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 +163 -163
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +152 -152
- package/dist/tool/plugin/question.js +136 -136
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +149 -149
- package/dist/tool/plugin/websearch.js +143 -143
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +108 -108
- package/package.json +8 -8
- package/dist/chunks/formatter-3zat5gdw.js +0 -26
- package/dist/chunks/formatter-a885h41h.js +0 -257
- package/dist/chunks/formatter-k62y2wy8.js +0 -18
- package/dist/chunks/formatter-m6ha5htp.js +0 -511
- /package/dist/chunks/{formatter-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1jakw16s.js → location-lifecycle-1jakw16s.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2bv980vf.js → location-lifecycle-2bv980vf.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4m86bj6y.js → location-lifecycle-4m86bj6y.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-5w3e23ze.js → location-lifecycle-5w3e23ze.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-6q2bdcd1.js → location-lifecycle-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-84wd9syh.js → location-lifecycle-84wd9syh.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a058387c.js → location-lifecycle-a058387c.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-beh6qq61.js → location-lifecycle-beh6qq61.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cqv5kn06.js → location-lifecycle-cqv5kn06.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-fkpq3x5p.js → location-lifecycle-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hcxmzztb.js → location-lifecycle-hcxmzztb.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jwr30sdr.js → location-lifecycle-jwr30sdr.js} +0 -0
- /package/dist/chunks/{formatter-jze0r7bz.js → location-lifecycle-jze0r7bz.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-m18g726c.js → location-lifecycle-m18g726c.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-ncqqe42p.js → location-lifecycle-ncqqe42p.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-p71gwv9c.js → location-lifecycle-p71gwv9c.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-ve7vex1e.js → location-lifecycle-ve7vex1e.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-z5v4ffb3.js → location-lifecycle-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-n31axcjw.js";
|
|
5
5
|
import {
|
|
6
6
|
Event18,
|
|
7
7
|
Service79,
|
|
8
8
|
node83
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-w8qce8my.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service70,
|
|
12
|
+
node74
|
|
13
|
+
} from "./location-lifecycle-zc0wy1av.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service82,
|
|
19
19
|
node86
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-lifecycle-11cgb2ma.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-lifecycle-7w2ypzdf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-lifecycle-7vgt2646.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-lifecycle-fp0xs3qb.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-lifecycle-1x2knyw4.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service71,
|
|
37
|
+
Event13,
|
|
38
|
+
node75
|
|
39
|
+
} from "./location-lifecycle-m0mpqzzp.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/config.ts
|
|
45
45
|
var exports_config = {};
|
|
46
46
|
__export(exports_config, {
|
|
47
47
|
Config: () => exports_config,
|
|
48
|
-
Options: () =>
|
|
49
|
-
Service: () =>
|
|
48
|
+
Options: () => Options7,
|
|
49
|
+
Service: () => Service69,
|
|
50
50
|
Test: () => Test2,
|
|
51
|
-
configured: () =>
|
|
51
|
+
configured: () => configured10,
|
|
52
52
|
latest: () => latest2,
|
|
53
|
-
layer: () =>
|
|
54
|
-
node: () =>
|
|
53
|
+
layer: () => layer23,
|
|
54
|
+
node: () => node73,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
|
|
|
67
67
|
function latest2(entries, key) {
|
|
68
68
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
69
69
|
}
|
|
70
|
-
var
|
|
70
|
+
var Options7 = Schema.Struct({
|
|
71
71
|
project: Schema.optional(Schema.Boolean),
|
|
72
72
|
global: Schema.optional(Schema.Boolean),
|
|
73
73
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -76,7 +76,7 @@ var Options6 = Schema.Struct({
|
|
|
76
76
|
content: Schema.optional(Schema.String)
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service69 extends Context.Service()("@opencode/Config") {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -100,16 +100,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
100
100
|
return document ? next.set(integrationID, document) : next;
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
|
-
return Context.empty().pipe(Context.add(
|
|
103
|
+
return Context.empty().pipe(Context.add(Service69, service), Context.add(Test2, service));
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
105
|
+
var layer23 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
106
106
|
const fs = yield* FSUtil.Service;
|
|
107
107
|
const location = yield* Service82;
|
|
108
|
-
const watcher = yield*
|
|
108
|
+
const watcher = yield* Service70;
|
|
109
109
|
const bus = yield* Service85;
|
|
110
110
|
const credentials = yield* Service79;
|
|
111
111
|
const globalService = yield* Global.Service;
|
|
112
|
-
const wellknown = yield*
|
|
112
|
+
const wellknown = yield* Service71;
|
|
113
113
|
const processes = yield* AppProcess.Service;
|
|
114
114
|
const integrations = new Map;
|
|
115
115
|
const context = yield* Effect.context();
|
|
@@ -194,7 +194,7 @@ var layer24 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
194
194
|
});
|
|
195
195
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
196
196
|
return [
|
|
197
|
-
...yield* Effect.forEach(
|
|
197
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
198
198
|
new Directory({ type: "directory", path: directory })
|
|
199
199
|
];
|
|
200
200
|
});
|
|
@@ -264,7 +264,7 @@ var layer24 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
264
264
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
265
265
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
266
266
|
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
267
|
-
yield* bus.subscribe(
|
|
267
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
268
268
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
269
269
|
if (!wellknown.snapshot().length)
|
|
270
270
|
return Effect.void;
|
|
@@ -277,7 +277,7 @@ var layer24 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
277
277
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
278
278
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
279
279
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
280
|
-
const candidates =
|
|
280
|
+
const candidates = names4.map((name) => path.join(directory, name));
|
|
281
281
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
282
282
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
283
283
|
`;
|
|
@@ -292,7 +292,7 @@ var layer24 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
292
292
|
`);
|
|
293
293
|
yield* requestReload;
|
|
294
294
|
}, (effect) => updateLock.withPermit(effect));
|
|
295
|
-
return
|
|
295
|
+
return Service69.of({
|
|
296
296
|
entries: Effect.fnUntraced(function* () {
|
|
297
297
|
return configs;
|
|
298
298
|
}),
|
|
@@ -312,22 +312,22 @@ var layer24 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}));
|
|
315
|
-
function
|
|
315
|
+
function configured10(options) {
|
|
316
316
|
return makeLocationNode({
|
|
317
|
-
service:
|
|
318
|
-
layer:
|
|
317
|
+
service: Service69,
|
|
318
|
+
layer: layer23(options),
|
|
319
319
|
deps: [
|
|
320
|
-
|
|
320
|
+
node74,
|
|
321
321
|
node89,
|
|
322
322
|
FSUtil.node,
|
|
323
323
|
Global.node,
|
|
324
324
|
node86,
|
|
325
325
|
node83,
|
|
326
|
-
|
|
326
|
+
node75,
|
|
327
327
|
AppProcess.node
|
|
328
328
|
]
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
var
|
|
331
|
+
var node73 = configured10();
|
|
332
332
|
|
|
333
|
-
export { latest2,
|
|
333
|
+
export { latest2, Options7, Service69, Test2, testLayer2, layer23, configured10, node73, exports_config };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin47
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin47 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin31 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin47, exports_mcp_codemode_defaults };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-lifecycle-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-n31axcjw.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
Service82,
|
|
10
10
|
node86
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-11cgb2ma.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service55,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node58
|
|
16
|
+
} from "./location-lifecycle-p9twr0vv.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput2,
|
|
25
|
+
Event: () => Event3,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID2,
|
|
28
|
+
Info: () => Info4,
|
|
29
|
+
NotFoundError: () => NotFoundError2,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service17,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node19
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID2 = Pty.ID;
|
|
43
|
+
var Info4 = Pty.Info;
|
|
44
|
+
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID2
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service17 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service85;
|
|
61
61
|
const location = yield* Service82;
|
|
62
|
-
const shell = yield*
|
|
62
|
+
const shell = yield* Service55;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID2.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service17.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node19 = makeLocationNode({
|
|
273
|
+
service: Service17,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node89, node86,
|
|
275
|
+
deps: [node89, node86, node58]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID2, Info4, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service17, node19, exports_pty, Event3 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-n31axcjw.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-p9twr0vv.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-a058387c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
22
|
Service: () => Service53,
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
23
|
+
UnavailableError: () => UnavailableError5,
|
|
24
|
+
available: () => available3,
|
|
25
25
|
configured: () => configured6,
|
|
26
|
-
layer: () =>
|
|
26
|
+
layer: () => layer21,
|
|
27
27
|
node: () => node56
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
@@ -34,18 +34,18 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
34
34
|
import { Global } from "@opencode/util/global";
|
|
35
35
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
36
36
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
37
|
-
import { available as
|
|
38
|
-
var
|
|
37
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
38
|
+
var Options4 = Schema.Struct({
|
|
39
39
|
handoff: Schema.optional(Handoff),
|
|
40
40
|
root: Schema.optional(Schema.String)
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class UnavailableError5 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
44
44
|
message: Schema.String
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
49
49
|
ptyID: Pty.ID
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
@@ -75,7 +75,7 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
|
|
|
75
75
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
76
76
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
77
77
|
if (!found)
|
|
78
|
-
return yield* new
|
|
78
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
79
79
|
return found;
|
|
80
80
|
});
|
|
81
81
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -165,7 +165,7 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
|
|
|
165
165
|
});
|
|
166
166
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
167
167
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
168
|
-
return yield* new
|
|
168
|
+
return yield* new UnavailableError5({ message: "lines must be an integer between 1 and 65535" });
|
|
169
169
|
const id = current.get(sessionID);
|
|
170
170
|
if (!id)
|
|
171
171
|
return null;
|
|
@@ -258,17 +258,17 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
|
|
|
258
258
|
attach
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
var
|
|
261
|
+
var layer21 = makeLayer();
|
|
262
262
|
var configured6 = (options) => makeGlobalNode({
|
|
263
263
|
service: Service53,
|
|
264
|
-
layer: options === undefined ?
|
|
264
|
+
layer: options === undefined ? layer21 : makeLayer(options),
|
|
265
265
|
deps: [node89, Global.node]
|
|
266
266
|
});
|
|
267
267
|
var node56 = configured6();
|
|
268
268
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
269
269
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
270
|
-
var unexpected = (response) => Effect.fail(new
|
|
271
|
-
var unavailable = (error) => new
|
|
270
|
+
var unexpected = (response) => Effect.fail(new UnavailableError5({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
271
|
+
var unavailable = (error) => new UnavailableError5({ message: error instanceof Error ? error.message : String(error) });
|
|
272
272
|
function toInfo(value) {
|
|
273
273
|
const status = value.lifecycle.status;
|
|
274
274
|
return {
|
|
@@ -300,4 +300,4 @@ function fromID(value) {
|
|
|
300
300
|
return parsed;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
export {
|
|
303
|
+
export { Options4, UnavailableError5, NotFoundError6, Service53, layer21, configured6, node56, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-n31axcjw.js";
|
|
4
4
|
import {
|
|
5
5
|
ID15,
|
|
6
6
|
Event18,
|
|
7
7
|
Service79
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-w8qce8my.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID13
|
|
11
|
+
} from "./location-lifecycle-bdkc7mmp.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-0qe6fjn0.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -53,7 +53,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
53
53
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
54
54
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
55
55
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
56
|
-
const configured = (yield* configuredSettings2(
|
|
56
|
+
const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
|
|
57
57
|
const projects = Array.from(new Set([
|
|
58
58
|
resolveProject(configured),
|
|
59
59
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -67,7 +67,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
67
67
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
68
68
|
]));
|
|
69
69
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
70
|
-
const connection = yield* ctx.integration.connection.active(
|
|
70
|
+
const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
|
|
71
71
|
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
72
72
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
73
73
|
return {};
|
|
@@ -76,15 +76,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
76
76
|
const selected = { settings: yield* load() };
|
|
77
77
|
const settingsFor = (provider) => ({
|
|
78
78
|
...provider.settings,
|
|
79
|
-
...(provider.integrationID ?? provider.id) ===
|
|
79
|
+
...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
|
|
80
80
|
});
|
|
81
81
|
yield* ctx.integration.transform((editor) => {
|
|
82
82
|
editor.method.update({
|
|
83
|
-
integrationID:
|
|
83
|
+
integrationID: ID13.googleVertex,
|
|
84
84
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
85
85
|
});
|
|
86
86
|
editor.method.update({
|
|
87
|
-
integrationID:
|
|
87
|
+
integrationID: ID13.googleVertex,
|
|
88
88
|
method: {
|
|
89
89
|
id: ADC_METHOD,
|
|
90
90
|
type: "external",
|
|
@@ -122,7 +122,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
122
122
|
});
|
|
123
123
|
yield* ctx.provider.transform((evt) => {
|
|
124
124
|
for (const item of evt.list()) {
|
|
125
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
125
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
126
126
|
continue;
|
|
127
127
|
const settings = settingsFor(item.provider);
|
|
128
128
|
const project = resolveProject(settings);
|
|
@@ -141,7 +141,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
141
141
|
});
|
|
142
142
|
yield* ctx.model.transform((models) => {
|
|
143
143
|
for (const item of models.provider.list()) {
|
|
144
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
144
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
145
145
|
continue;
|
|
146
146
|
const settings = settingsFor(item.provider);
|
|
147
147
|
const project = resolveProject(settings);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9q8g9sv8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info18
|
|
9
|
+
} from "./location-lifecycle-pnwsrq7c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info20
|
|
12
|
+
} from "./location-lifecycle-rhv95hk9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info16
|
|
15
|
+
} from "./location-lifecycle-f01y088k.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-1yq9hg58.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info17
|
|
21
|
+
} from "./location-lifecycle-8wc2fpae.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-lifecycle-gt6p80br.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize3(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, Info20, ["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, Info18, ["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 normalize3(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, Info18, ["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(Info16, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -445,7 +445,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
445
445
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
446
446
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
447
447
|
return [];
|
|
448
|
-
const provider = decodeValue(
|
|
448
|
+
const provider = decodeValue(Info17, raw, path, diagnostics);
|
|
449
449
|
if (provider === undefined)
|
|
450
450
|
return [];
|
|
451
451
|
const destination = providerID2(name);
|