@opencode/core 0.0.0-dev-19340 → 0.0.0-dev-19343
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{command-ycyqxyvr.js → location-mutation-080yxg7k.js} +10 -10
- package/dist/chunks/{command-fhq6reqx.js → location-mutation-090d9x51.js} +30 -30
- package/dist/chunks/{command-hmv863ha.js → location-mutation-0e7nvs8b.js} +32 -32
- package/dist/chunks/{command-37wx6eva.js → location-mutation-0g18c8jp.js} +10 -10
- package/dist/chunks/location-mutation-0nzs2ddd.js +462 -0
- package/dist/chunks/{command-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-0q0f95c6.js → location-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{command-n0j6r25c.js → location-mutation-0qdvrgkw.js} +20 -20
- package/dist/chunks/{command-ee0v75zs.js → location-mutation-123pna3q.js} +18 -18
- package/dist/chunks/{command-289tsq5j.js → location-mutation-1317kfkp.js} +36 -36
- package/dist/chunks/{command-3kp7n1bh.js → location-mutation-135pcv3x.js} +32 -32
- package/dist/chunks/{command-xq4rgyah.js → location-mutation-178rcfj9.js} +16 -16
- package/dist/chunks/{command-yp2x3t23.js → location-mutation-1acjjqhc.js} +4 -4
- package/dist/chunks/{command-eq1pz5kg.js → location-mutation-1bbkgx8g.js} +3 -3
- package/dist/chunks/{command-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-1dfhrqqs.js → location-mutation-1dfhrqqs.js} +2 -2
- package/dist/chunks/{command-21r38tys.js → location-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{command-87s66tky.js → location-mutation-27eq3hnx.js} +8 -8
- package/dist/chunks/{command-j91vykf4.js → location-mutation-29qpr4zm.js} +24 -24
- package/dist/chunks/{command-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-6jnybvqn.js → location-mutation-2bt6bea8.js} +9 -9
- package/dist/chunks/{command-qd417my5.js → location-mutation-2dchnhcv.js} +1 -1
- package/dist/chunks/{command-mbznh4s6.js → location-mutation-2jgd78gq.js} +80 -80
- package/dist/chunks/{command-e81phd5e.js → location-mutation-2mt51k4p.js} +13 -13
- package/dist/chunks/{command-4exj6bqr.js → location-mutation-385yzhyd.js} +17 -17
- package/dist/chunks/{command-mpn2n5n1.js → location-mutation-3dq4f3ya.js} +10 -10
- package/dist/chunks/{command-xfxn6gek.js → location-mutation-3dqftnvs.js} +1 -1
- package/dist/chunks/{command-kwktpek4.js → location-mutation-3dtz0ed4.js} +7 -7
- package/dist/chunks/{command-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-4d14myfn.js → location-mutation-3kk8mamv.js} +33 -33
- package/dist/chunks/{command-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-d87ppnb3.js → location-mutation-3w0fmcng.js} +5 -5
- package/dist/chunks/{command-8a43qwm6.js → location-mutation-3w5dy25f.js} +45 -45
- package/dist/chunks/{command-atwtfknp.js → location-mutation-42m4w0gd.js} +24 -24
- package/dist/chunks/{command-y49qrr0k.js → location-mutation-45796egf.js} +1 -1
- package/dist/chunks/{command-47gsdddb.js → location-mutation-47gsdddb.js} +1 -1
- package/dist/chunks/{command-8wsye86r.js → location-mutation-481njsdn.js} +8 -8
- package/dist/chunks/{command-zbb6rgvj.js → location-mutation-4ah5m7dw.js} +6 -6
- package/dist/chunks/{command-vxkr754a.js → location-mutation-4ggq81fe.js} +6 -6
- package/dist/chunks/{command-3s259dc5.js → location-mutation-4hjsykte.js} +9 -9
- package/dist/chunks/{command-mvqfncgj.js → location-mutation-4n15vdsh.js} +11 -11
- package/dist/chunks/location-mutation-4v7qdvcn.js +18 -0
- package/dist/chunks/{command-tkbkgwhn.js → location-mutation-4vm7bp65.js} +24 -24
- package/dist/chunks/{command-rqdgyf5f.js → location-mutation-4w92ht60.js} +11 -11
- package/dist/chunks/{command-06fs55ff.js → location-mutation-4wmmbnna.js} +24 -24
- package/dist/chunks/{command-cgpqyknh.js → location-mutation-4x302fsb.js} +21 -21
- package/dist/chunks/{command-hjcy75b0.js → location-mutation-4ymkhcds.js} +17 -17
- package/dist/chunks/{command-tbwa9y7t.js → location-mutation-4yqnhzhd.js} +4 -4
- package/dist/chunks/{command-jv01nqvq.js → location-mutation-510m7gjw.js} +5 -5
- package/dist/chunks/{command-vr9ffpmn.js → location-mutation-545xcy3v.js} +13 -13
- package/dist/chunks/{command-1ygqh575.js → location-mutation-56gdpj1q.js} +9 -9
- package/dist/chunks/{command-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{command-grw52wr5.js → location-mutation-5nxfjrr3.js} +18 -18
- package/dist/chunks/{command-wsjnvgbx.js → location-mutation-5r7abtjb.js} +10 -10
- package/dist/chunks/{command-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-669tq793.js → location-mutation-669tq793.js} +1 -1
- package/dist/chunks/{command-qsee9sfb.js → location-mutation-6bsje7ws.js} +3 -3
- package/dist/chunks/{command-s2kyekkn.js → location-mutation-6gmnnrt6.js} +16 -16
- package/dist/chunks/{command-2402vzrj.js → location-mutation-6h73sxmp.js} +5 -5
- package/dist/chunks/{command-73gmm198.js → location-mutation-6hh8tjw2.js} +4 -4
- package/dist/chunks/{command-hn16n4ga.js → location-mutation-6jn5f8v1.js} +43 -43
- package/dist/chunks/{command-21pbdrht.js → location-mutation-6m887wqr.js} +44 -44
- package/dist/chunks/{command-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{command-wstvv1gd.js → location-mutation-6n88yxkj.js} +11 -11
- package/dist/chunks/{command-m5zyy4tv.js → location-mutation-6pzk0tbd.js} +16 -16
- package/dist/chunks/{command-ywj00zs4.js → location-mutation-6t52233q.js} +37 -37
- package/dist/chunks/{command-71q4at8m.js → location-mutation-71q4at8m.js} +1 -1
- package/dist/chunks/{command-cqq77scw.js → location-mutation-76dehvxn.js} +6 -6
- package/dist/chunks/{command-g48a3zmh.js → location-mutation-76h67nm5.js} +12 -12
- package/dist/chunks/{command-s4szbmdb.js → location-mutation-78x7f3ty.js} +9 -9
- package/dist/chunks/{command-z5pdw36g.js → location-mutation-7adcerzg.js} +36 -36
- package/dist/chunks/{command-bx97mp2c.js → location-mutation-7bdqbdfj.js} +3 -3
- package/dist/chunks/{command-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-dt3kpdt2.js → location-mutation-7gjhgsed.js} +11 -11
- package/dist/chunks/{command-yd8re12n.js → location-mutation-7qc321h1.js} +20 -20
- package/dist/chunks/{command-ndhysefr.js → location-mutation-7xr0d558.js} +31 -31
- package/dist/chunks/{command-844ef7ks.js → location-mutation-844ef7ks.js} +1 -1
- package/dist/chunks/{command-scgtce1m.js → location-mutation-84t3vnx7.js} +2 -2
- package/dist/chunks/{command-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-m4bcmcjq.js → location-mutation-8daqk3xn.js} +38 -38
- package/dist/chunks/{command-2jr08de7.js → location-mutation-8g5sjpkg.js} +28 -28
- package/dist/chunks/{command-j4e3jsg7.js → location-mutation-8nv6ekx5.js} +5 -5
- package/dist/chunks/{command-8p4f9s12.js → location-mutation-8p4f9s12.js} +2 -2
- package/dist/chunks/{command-1hp1n8hq.js → location-mutation-8r15tr8a.js} +10 -10
- package/dist/chunks/location-mutation-8vq1702j.js +22 -0
- package/dist/chunks/{command-3xgcdqsq.js → location-mutation-9197vs9x.js} +32 -32
- package/dist/chunks/{command-6sd8tygk.js → location-mutation-9198tjt8.js} +4 -4
- package/dist/chunks/{command-y45y5km7.js → location-mutation-9237j28x.js} +16 -16
- package/dist/chunks/{command-vptj8nd7.js → location-mutation-95nc2sbg.js} +9 -9
- package/dist/chunks/{command-jefma2gq.js → location-mutation-9edcvf27.js} +10 -10
- package/dist/chunks/{command-8dpy7hpx.js → location-mutation-9epaz3x0.js} +7 -7
- package/dist/chunks/{command-bnm0713s.js → location-mutation-9fmb6jsc.js} +15 -15
- package/dist/chunks/{command-1tj6de83.js → location-mutation-9ps2pggw.js} +6 -6
- package/dist/chunks/{command-81swgkk7.js → location-mutation-9pv0dm11.js} +9 -9
- package/dist/chunks/{command-v9g8grrj.js → location-mutation-9sbv9g2h.js} +15 -15
- package/dist/chunks/{command-rr7cvzdb.js → location-mutation-9xtkkd11.js} +4 -4
- package/dist/chunks/{command-a1bz86dw.js → location-mutation-a1bz86dw.js} +3 -3
- package/dist/chunks/{command-p5gbrdgq.js → location-mutation-a9yybgxj.js} +20 -20
- package/dist/chunks/{command-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{command-68m404t8.js → location-mutation-ae9b13mv.js} +15 -15
- package/dist/chunks/{command-h29crgh1.js → location-mutation-awpbsmrw.js} +7 -7
- package/dist/chunks/{command-kv4yc82c.js → location-mutation-b2yhkeqr.js} +11 -11
- package/dist/chunks/{command-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-tb5310gf.js → location-mutation-b6ynejew.js} +27 -27
- package/dist/chunks/{command-jwx4y25k.js → location-mutation-b8b3f19r.js} +9 -9
- package/dist/chunks/{command-h17eanzf.js → location-mutation-bcaqsvj6.js} +13 -13
- package/dist/chunks/{command-mrn52ye8.js → location-mutation-byvcghq4.js} +16 -16
- package/dist/chunks/{command-5gy68s7g.js → location-mutation-bzx022j9.js} +21 -21
- package/dist/chunks/{command-a3vbp4x0.js → location-mutation-c2k3x2kh.js} +9 -9
- package/dist/chunks/{command-r54ga04y.js → location-mutation-c4r800sx.js} +52 -52
- package/dist/chunks/{command-s534qmrw.js → location-mutation-cay3r0qb.js} +4 -4
- package/dist/chunks/{command-cfpkc3c9.js → location-mutation-cfpkc3c9.js} +2 -2
- package/dist/chunks/{command-cq37gk0t.js → location-mutation-cq37gk0t.js} +4 -4
- package/dist/chunks/{command-nrpht070.js → location-mutation-crjd20w0.js} +18 -18
- package/dist/chunks/{command-0arazqkx.js → location-mutation-d1268gaq.js} +10 -10
- package/dist/chunks/{command-redwpn1x.js → location-mutation-d9fmyqsb.js} +4 -4
- package/dist/chunks/{command-68w7n5s5.js → location-mutation-d9mnrx7s.js} +12 -12
- package/dist/chunks/{command-ffd8yj9h.js → location-mutation-dh1thg5k.js} +3 -3
- package/dist/chunks/{command-y71avatq.js → location-mutation-dpkg50ah.js} +4 -4
- package/dist/chunks/{command-71sxxhdq.js → location-mutation-drdaqm2t.js} +11 -11
- package/dist/chunks/{command-ca8kgyjt.js → location-mutation-dsxqmp7c.js} +86 -86
- package/dist/chunks/{command-357er88r.js → location-mutation-dv6dc4x6.js} +8 -8
- package/dist/chunks/{command-b06etp1z.js → location-mutation-dw3vbsxg.js} +21 -21
- package/dist/chunks/{command-hrstj3y9.js → location-mutation-e2vt25n2.js} +12 -12
- package/dist/chunks/{command-vqfcvgsz.js → location-mutation-e6k7hz6j.js} +24 -24
- package/dist/chunks/{command-q30tygxd.js → location-mutation-egkp1q9v.js} +5 -5
- package/dist/chunks/{command-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-fhh9803e.js → location-mutation-ezq2qp9g.js} +11 -11
- package/dist/chunks/{command-phjaars8.js → location-mutation-f2gse5fy.js} +6 -6
- package/dist/chunks/{command-f828m53h.js → location-mutation-f828m53h.js} +2 -2
- package/dist/chunks/{command-yjdkc533.js → location-mutation-fpqwst5z.js} +25 -25
- package/dist/chunks/{command-vqanb4pf.js → location-mutation-fqpps30f.js} +6 -6
- package/dist/chunks/{command-2jmaghvr.js → location-mutation-fvanntqq.js} +6 -6
- package/dist/chunks/{command-fxbjtjnd.js → location-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{command-fq2b9r6y.js → location-mutation-g196q5ga.js} +13 -13
- package/dist/chunks/{command-cy0caesz.js → location-mutation-g1ryce64.js} +13 -13
- package/dist/chunks/{command-70vxa6pp.js → location-mutation-g47vrvhs.js} +12 -12
- package/dist/chunks/{command-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-gdvy8fx6.js → location-mutation-gdvy8fx6.js} +1 -1
- package/dist/chunks/{command-hwe7x4em.js → location-mutation-ghk9cxjs.js} +6 -6
- package/dist/chunks/{command-rgach609.js → location-mutation-gsqtb8jw.js} +11 -11
- package/dist/chunks/{command-gv6a8nnw.js → location-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{command-mgkcxgp8.js → location-mutation-gxayccxh.js} +15 -15
- package/dist/chunks/{command-smsvd5z8.js → location-mutation-gyq4aabv.js} +23 -23
- package/dist/chunks/{command-h03wrkyp.js → location-mutation-h03wrkyp.js} +2 -2
- package/dist/chunks/{command-akqdjt52.js → location-mutation-h42j1xnf.js} +37 -37
- package/dist/chunks/{command-ncaz8497.js → location-mutation-h5f79651.js} +13 -13
- package/dist/chunks/{command-wa9n8nyq.js → location-mutation-h6nsps6f.js} +6 -6
- package/dist/chunks/{command-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-hzdjxxhj.js → location-mutation-hc5qqzdn.js} +20 -20
- package/dist/chunks/{command-7gvwkz6m.js → location-mutation-hkfg6fzm.js} +5 -5
- package/dist/chunks/{command-dq5erfj9.js → location-mutation-hm2ejha3.js} +21 -21
- package/dist/chunks/location-mutation-hmjqf0ee.js +247 -0
- package/dist/chunks/{command-2336b01z.js → location-mutation-hr5bc81f.js} +8 -8
- package/dist/chunks/{command-8em5q6v9.js → location-mutation-j3nra4g0.js} +18 -18
- package/dist/chunks/{command-3wm7cf08.js → location-mutation-j5208yae.js} +6 -6
- package/dist/chunks/{command-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{command-frdrseff.js → location-mutation-jnehgznh.js} +29 -29
- package/dist/chunks/{command-ra3qct3x.js → location-mutation-js0rm7nb.js} +8 -8
- package/dist/chunks/{command-0njkqfg3.js → location-mutation-jt7ywd0b.js} +6 -6
- package/dist/chunks/{command-gcgba2m6.js → location-mutation-k0pv4tct.js} +12 -12
- package/dist/chunks/{command-jr3tywxk.js → location-mutation-k2h4r4s0.js} +21 -21
- package/dist/chunks/{command-071pgthj.js → location-mutation-kc5hk0w3.js} +32 -32
- package/dist/chunks/{command-bgcypqfq.js → location-mutation-kcm7gb9h.js} +17 -17
- package/dist/chunks/{command-kg06axw8.js → location-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{command-fyjrpq2n.js → location-mutation-kksf6wrm.js} +5 -5
- package/dist/chunks/{command-vhs5mz75.js → location-mutation-kvb4wp4j.js} +10 -10
- package/dist/chunks/{command-by885ras.js → location-mutation-m86bx8pg.js} +4 -4
- package/dist/chunks/{command-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-xw8fym13.js → location-mutation-mc2qpn0s.js} +15 -15
- package/dist/chunks/{command-hdx86dvw.js → location-mutation-mf4542vt.js} +20 -20
- package/dist/chunks/{command-8xyemkvq.js → location-mutation-mgtytz9t.js} +3 -3
- package/dist/chunks/{command-mkcjrzeh.js → location-mutation-mkcjrzeh.js} +1 -1
- package/dist/chunks/{command-4zy2mhr2.js → location-mutation-mkzzj3z7.js} +21 -21
- package/dist/chunks/{command-snjca2tz.js → location-mutation-mx1dcdcs.js} +49 -49
- package/dist/chunks/{command-my9h9hzg.js → location-mutation-my9h9hzg.js} +3 -3
- package/dist/chunks/{command-qwch66v3.js → location-mutation-n0sspdwz.js} +6 -6
- package/dist/chunks/{command-tk55yp24.js → location-mutation-n9v9edgr.js} +21 -21
- package/dist/chunks/{command-hpr7c3g9.js → location-mutation-ngjzpzgr.js} +11 -11
- package/dist/chunks/{command-remxzp3g.js → location-mutation-nq9qg1fa.js} +5 -5
- package/dist/chunks/{command-sjajpaqc.js → location-mutation-nwrfcwym.js} +11 -11
- package/dist/chunks/{command-ftt3rafc.js → location-mutation-nws43tmt.js} +25 -25
- package/dist/chunks/{command-qtsr48c5.js → location-mutation-nxcn73z5.js} +6 -6
- package/dist/chunks/{command-7zxy0r75.js → location-mutation-p22jdjzb.js} +11 -11
- package/dist/chunks/{command-gfdt0few.js → location-mutation-p5nxgrb7.js} +17 -17
- package/dist/chunks/{command-j935v87r.js → location-mutation-paphc93g.js} +2 -2
- package/dist/chunks/{command-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → location-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{command-qqd26nq6.js → location-mutation-pwjmm335.js} +24 -24
- package/dist/chunks/{command-4tkmwwah.js → location-mutation-pxf12as1.js} +9 -9
- package/dist/chunks/{command-jdfx4b8y.js → location-mutation-q2wkz0b5.js} +15 -15
- package/dist/chunks/{command-swx6zjdy.js → location-mutation-q316qzt7.js} +15 -15
- package/dist/chunks/{command-rj8d4vx7.js → location-mutation-q52tmxvy.js} +15 -15
- package/dist/chunks/{command-2k8khapm.js → location-mutation-qgn6gcr1.js} +5 -5
- package/dist/chunks/{command-3hrzv0kt.js → location-mutation-qpp7njgw.js} +33 -33
- package/dist/chunks/{command-9cctb9bg.js → location-mutation-qpv0by5y.js} +24 -24
- package/dist/chunks/{command-16yyeh88.js → location-mutation-qq97xfyz.js} +6 -6
- package/dist/chunks/{command-nq63wmfx.js → location-mutation-qqmmwjzc.js} +7 -7
- package/dist/chunks/{command-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{command-nvnfwph8.js → location-mutation-r12caqqb.js} +11 -11
- package/dist/chunks/{command-2fptrwpm.js → location-mutation-r1vajnqg.js} +20 -20
- package/dist/chunks/{command-vzrnynxw.js → location-mutation-r2qzv5a7.js} +6 -6
- package/dist/chunks/{command-2r3qnbph.js → location-mutation-r58s3aqr.js} +5 -5
- package/dist/chunks/{command-n5wndhd6.js → location-mutation-r8dsc003.js} +25 -25
- package/dist/chunks/{command-s7kwm6zm.js → location-mutation-ras7gexc.js} +5 -5
- package/dist/chunks/{command-rhjbct0v.js → location-mutation-rhjbct0v.js} +1 -1
- package/dist/chunks/{command-4drgpw32.js → location-mutation-rmm45jmv.js} +5 -5
- package/dist/chunks/{command-9v7bhpan.js → location-mutation-rnkhefmk.js} +11 -11
- package/dist/chunks/{command-2s62dw2x.js → location-mutation-rqzy1ewj.js} +1 -1
- package/dist/chunks/{command-2gg4mvag.js → location-mutation-rrmx6085.js} +20 -20
- package/dist/chunks/{command-zpwwzgp1.js → location-mutation-rs7v9e6v.js} +30 -30
- package/dist/chunks/{command-9wrz99x9.js → location-mutation-rs95a90c.js} +18 -18
- package/dist/chunks/{command-6p3xbzsx.js → location-mutation-rsdf2nvv.js} +4 -4
- package/dist/chunks/{command-290wsyyp.js → location-mutation-rtqz3zzf.js} +17 -17
- package/dist/chunks/{command-8560ytdy.js → location-mutation-rv3dfgbk.js} +26 -26
- package/dist/chunks/{command-m9g7kjz2.js → location-mutation-s1a57xgp.js} +1 -1
- package/dist/chunks/{command-16zr1pr9.js → location-mutation-s6pp54ct.js} +11 -11
- package/dist/chunks/{command-rhy34gnx.js → location-mutation-sdnaceaw.js} +6 -6
- package/dist/chunks/{command-hc7b2h00.js → location-mutation-sggvzg7x.js} +24 -24
- package/dist/chunks/{command-8wkvwetv.js → location-mutation-sjygwc2a.js} +28 -28
- package/dist/chunks/{command-bcm798z8.js → location-mutation-ssb1z7k2.js} +5 -5
- package/dist/chunks/{command-dv5md250.js → location-mutation-sz3a6x34.js} +28 -28
- package/dist/chunks/{command-t0x5rdq8.js → location-mutation-t0x5rdq8.js} +2 -2
- package/dist/chunks/{command-z33n7yxw.js → location-mutation-t3w9f47z.js} +1 -1
- package/dist/chunks/{command-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-89znhe33.js → location-mutation-tcezcvh9.js} +4 -4
- package/dist/chunks/{command-tdstcens.js → location-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{command-x0511brf.js → location-mutation-tm7zr4pr.js} +4 -4
- package/dist/chunks/{command-6hyh8d33.js → location-mutation-ts62jcg3.js} +15 -15
- package/dist/chunks/{command-zgq1tywg.js → location-mutation-ttt2pthn.js} +39 -39
- package/dist/chunks/{command-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{command-8zv2n1xn.js → location-mutation-tw9m5efe.js} +8 -8
- package/dist/chunks/{command-zcrspsvn.js → location-mutation-tz4n1mmd.js} +4 -4
- package/dist/chunks/{command-xgm06qps.js → location-mutation-v4ctacay.js} +29 -29
- package/dist/chunks/{command-h457z9c3.js → location-mutation-v71xcev7.js} +1 -1
- package/dist/chunks/{command-neeqahzq.js → location-mutation-vaw4v3ea.js} +56 -56
- package/dist/chunks/{command-qymwj187.js → location-mutation-vb6hmp0d.js} +27 -27
- package/dist/chunks/{command-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{command-3j8sdtpz.js → location-mutation-vncycja5.js} +4 -4
- package/dist/chunks/{command-6c7a0g9q.js → location-mutation-vsv68ttx.js} +13 -13
- package/dist/chunks/{command-352w66m8.js → location-mutation-vyjzrkx0.js} +9 -9
- package/dist/chunks/{command-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-ewq934af.js → location-mutation-w53767ff.js} +12 -12
- package/dist/chunks/{command-a2fmrcfx.js → location-mutation-w6x96kp1.js} +4 -4
- package/dist/chunks/{command-058t7yf9.js → location-mutation-watqcrva.js} +2 -2
- package/dist/chunks/{command-h336fp6c.js → location-mutation-wbmrxx9p.js} +168 -168
- package/dist/chunks/{command-wd87259q.js → location-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{command-f405q49x.js → location-mutation-wmafn4dk.js} +18 -18
- package/dist/chunks/{command-st3pa4gm.js → location-mutation-wsrtz5x5.js} +24 -24
- package/dist/chunks/{command-tdmnc99b.js → location-mutation-ww7tzrk1.js} +38 -38
- package/dist/chunks/{command-kjcr15p7.js → location-mutation-wx9wy1qm.js} +1 -1
- package/dist/chunks/{command-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-x43y2vfs.js → location-mutation-x43y2vfs.js} +2 -2
- package/dist/chunks/{command-07am1m2n.js → location-mutation-xfagbf0j.js} +16 -16
- package/dist/chunks/{command-556mt29y.js → location-mutation-xhqkdcr0.js} +2 -2
- package/dist/chunks/{command-xwe3tfkg.js → location-mutation-xjxyt9bq.js} +32 -32
- package/dist/chunks/{command-kf5543nd.js → location-mutation-xq8c8dbz.js} +4 -4
- package/dist/chunks/{command-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-p34q75r1.js → location-mutation-y3gn6rnp.js} +43 -43
- package/dist/chunks/{command-baf8vqcb.js → location-mutation-y7h51c3z.js} +13 -13
- package/dist/chunks/{command-wpm2rk0p.js → location-mutation-y8p3zjbc.js} +4 -4
- package/dist/chunks/{command-f1endfdf.js → location-mutation-ycvksfe9.js} +27 -27
- package/dist/chunks/{command-xra6sk40.js → location-mutation-yjrvv3jh.js} +9 -9
- package/dist/chunks/{command-5s59rewz.js → location-mutation-ymp004yg.js} +5 -5
- package/dist/chunks/{command-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{command-s4enseaf.js → location-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/{command-1k8kk91w.js → location-mutation-ytf8k5yw.js} +46 -46
- package/dist/chunks/{command-x8ya09y2.js → location-mutation-yw151kp9.js} +15 -15
- package/dist/chunks/{command-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-29x78va6.js → location-mutation-z63w68vq.js} +6 -6
- package/dist/chunks/{command-8zbbstcn.js → location-mutation-z6mfc8hp.js} +25 -25
- package/dist/chunks/{command-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{command-4z9mtqyz.js → location-mutation-zm47b27w.js} +25 -25
- package/dist/chunks/{command-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-ezxzkja2.js → location-mutation-zr8vjmmw.js} +17 -17
- package/dist/chunks/{command-xtcj8k9r.js → location-mutation-zw7fcf2s.js} +42 -42
- package/dist/chunks/{command-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{command-xfjwmp6z.js → location-mutation-zycm96ct.js} +4 -4
- package/dist/chunks/{command-jp4vwsmq.js → location-mutation-zycx2ktx.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- 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 +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- 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 +7 -7
- 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/id/id.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 +353 -353
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +82 -82
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +15 -15
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +117 -117
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/command-8jw9xxr7.js +0 -22
- package/dist/chunks/command-9dwetznw.js +0 -462
- package/dist/chunks/command-gnc7c7rw.js +0 -247
- package/dist/chunks/command-rap9a73h.js +0 -18
- /package/dist/chunks/{command-0mesazry.js → location-mutation-0mesazry.js} +0 -0
- /package/dist/chunks/{command-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → location-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → location-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → location-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → location-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-922hggd3.js → location-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a1tpkmh4.js → location-mutation-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → location-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → location-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → location-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → location-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{command-hrnqkpcd.js → location-mutation-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → location-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./location-mutation-9237j28x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service64
|
|
9
|
+
} from "./location-mutation-5nxfjrr3.js";
|
|
10
10
|
import {
|
|
11
11
|
Service9
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-e2vt25n2.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service8
|
|
27
|
+
} from "./location-mutation-zr8vjmmw.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input6,
|
|
36
|
+
Plugin: () => Plugin6,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name6,
|
|
39
|
+
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name6 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input6 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin6 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
61
|
+
const reader = yield* Service8;
|
|
62
|
+
const access = yield* Service64;
|
|
63
63
|
const sessionInstructions = yield* Service9;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service75;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name6,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input6,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin38 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent3 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -179,4 +179,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name6, Input6, Plugin6, toModelContent3, exports_read };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./location-mutation-r2qzv5a7.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service25,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node30
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service25 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* ()
|
|
|
331
331
|
}, { discard: true });
|
|
332
332
|
});
|
|
333
333
|
yield* Effect.addFinalizer(() => closeAll);
|
|
334
|
-
return
|
|
334
|
+
return Service25.of({ bind, close, closeAll });
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
337
337
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
338
338
|
})));
|
|
339
|
-
var
|
|
339
|
+
var node30 = makeGlobalNode({ service: Service25, layer: layer13, deps: [webSocketConstructor2] });
|
|
340
340
|
|
|
341
|
-
export {
|
|
341
|
+
export { Service25, makeLayer2, layer13, node30, exports_model_transport };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-9198tjt8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./location-mutation-9237j28x.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-mutation-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info9,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service41,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node44
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info9, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service41 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service75;
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info9));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service41.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node44 = makeLocationNode({
|
|
165
|
+
service: Service41,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node80, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info9, Mode2, DiffError2, Service41, node44, exports_vcs };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node51
|
|
5
|
+
} from "./location-mutation-jt7ywd0b.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-rsdf2nvv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service70,
|
|
12
|
+
node74
|
|
13
|
+
} from "./location-mutation-js0rm7nb.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-mutation-mx1dcdcs.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-4w92ht60.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error3
|
|
22
|
+
} from "./location-mutation-nws43tmt.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service25,
|
|
25
|
+
node30
|
|
26
|
+
} from "./location-mutation-rnkhefmk.js";
|
|
27
27
|
import {
|
|
28
28
|
make14
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-mutation-47gsdddb.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-mutation-wx9wy1qm.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service24,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer12,
|
|
45
|
+
node: () => node29,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode/ai";
|
|
@@ -189,11 +189,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
|
|
|
189
189
|
return HttpClientResponse.fromWeb(sent, after.response);
|
|
190
190
|
}).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
|
|
191
191
|
|
|
192
|
-
class
|
|
192
|
+
class Service24 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
193
193
|
}
|
|
194
|
-
var
|
|
195
|
-
const hooks = yield*
|
|
196
|
-
const transport = yield*
|
|
194
|
+
var layer12 = Layer.effect(Service24, Effect.gen(function* () {
|
|
195
|
+
const hooks = yield* Service70;
|
|
196
|
+
const transport = yield* Service25;
|
|
197
197
|
const app = yield* Metadata2;
|
|
198
198
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
|
|
199
199
|
const session = input.scope.session;
|
|
@@ -201,7 +201,7 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
201
201
|
const model = resolved.model;
|
|
202
202
|
const tools = input.scope.tools ?? {
|
|
203
203
|
definitions: [],
|
|
204
|
-
execute: () => new
|
|
204
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
205
205
|
};
|
|
206
206
|
const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
|
|
207
207
|
const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
|
|
@@ -261,12 +261,12 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
261
261
|
executeTool
|
|
262
262
|
};
|
|
263
263
|
});
|
|
264
|
-
return
|
|
264
|
+
return Service24.of({ prepare });
|
|
265
265
|
}));
|
|
266
|
-
var
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
266
|
+
var node29 = makeLocationNode({
|
|
267
|
+
service: Service24,
|
|
268
|
+
layer: layer12,
|
|
269
|
+
deps: [node74, node30, node51]
|
|
270
270
|
});
|
|
271
271
|
|
|
272
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
272
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service24, layer12, node29, exports_model_request };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9198tjt8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./location-mutation-0g18c8jp.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service29,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-mutation-4v7qdvcn.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-mutation-wbmrxx9p.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service29,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node20
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service79;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service61;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service29.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node20 = Node.makeLocationNode({
|
|
226
|
+
service: Service29,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node20, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info24,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info24 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
52
52
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
53
53
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Info24, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9198tjt8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service65
|
|
6
|
+
} from "./location-mutation-135pcv3x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error3
|
|
9
|
+
} from "./location-mutation-nws43tmt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./location-mutation-76h67nm5.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-3dtz0ed4.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-mutation-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-mutation-d9fmyqsb.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-mutation-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-mutation-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-mutation-sdnaceaw.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service65;
|
|
58
|
+
const toolOutput = yield* Service57;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|