@opencode/core 0.0.0-dev-19855 → 0.0.0-dev-19860
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{generate-eaj1djv9.js → filesystem-02nrjc1r.js} +4 -4
- package/dist/chunks/{generate-d4xesebd.js → filesystem-04g8gb3s.js} +27 -27
- package/dist/chunks/{generate-3yw61v8w.js → filesystem-05g1mm2c.js} +23 -23
- package/dist/chunks/{generate-8fsfkhfw.js → filesystem-0cknbh6y.js} +3 -3
- package/dist/chunks/{generate-qvb3nf84.js → filesystem-0h54jqbs.js} +7 -7
- package/dist/chunks/{generate-55ntkbd9.js → filesystem-0jk305gw.js} +17 -17
- package/dist/chunks/{generate-7dqw4kz8.js → filesystem-0jwsre1p.js} +5 -5
- package/dist/chunks/{generate-jcyhwa0n.js → filesystem-0mxxzrer.js} +9 -9
- package/dist/chunks/{generate-tpky79q6.js → filesystem-0nce7q48.js} +13 -13
- package/dist/chunks/{generate-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-0q0f95c6.js → filesystem-0q0f95c6.js} +1 -1
- package/dist/chunks/{generate-x2540b37.js → filesystem-0ya3ykak.js} +11 -11
- package/dist/chunks/{generate-wz5mftv5.js → filesystem-10x37dkd.js} +20 -20
- package/dist/chunks/{generate-wq5k2qjs.js → filesystem-12mvcd02.js} +9 -9
- package/dist/chunks/{generate-3w9sxyad.js → filesystem-13qzbekt.js} +44 -44
- package/dist/chunks/{generate-ha58ddsa.js → filesystem-19ntd6ym.js} +7 -7
- package/dist/chunks/{generate-43rrycvc.js → filesystem-1akmjgjg.js} +6 -6
- package/dist/chunks/{generate-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{generate-v2sqepxp.js → filesystem-1f075h9t.js} +23 -23
- package/dist/chunks/{generate-6km3vgt3.js → filesystem-1gbvn30c.js} +4 -4
- package/dist/chunks/{generate-qq2a7b2d.js → filesystem-1qdy7hzf.js} +3 -3
- package/dist/chunks/{generate-fjfjkvsk.js → filesystem-1rr3swgy.js} +7 -7
- package/dist/chunks/{generate-r28r364k.js → filesystem-1wyj371t.js} +33 -33
- package/dist/chunks/{generate-33w4ejhs.js → filesystem-1ygqh575.js} +6 -6
- package/dist/chunks/{generate-h354z1xq.js → filesystem-1ym61n1a.js} +33 -33
- package/dist/chunks/{generate-21r38tys.js → filesystem-21r38tys.js} +1 -1
- package/dist/chunks/{generate-xp9wpaq4.js → filesystem-23h8ty1a.js} +29 -29
- package/dist/chunks/{generate-6h73sxmp.js → filesystem-2402vzrj.js} +5 -5
- package/dist/chunks/{generate-cpvqkx5f.js → filesystem-24gf0acj.js} +9 -9
- package/dist/chunks/{generate-jne44bes.js → filesystem-24s8e1ye.js} +20 -20
- package/dist/chunks/{generate-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{generate-q3t37ft6.js → filesystem-2f04pwep.js} +2 -2
- package/dist/chunks/{generate-s26hbv8p.js → filesystem-2k71kv7p.js} +4 -4
- package/dist/chunks/{generate-k0b7m8ck.js → filesystem-2zcvd3jh.js} +58 -58
- package/dist/chunks/{generate-19qb098d.js → filesystem-32czktbn.js} +32 -32
- package/dist/chunks/{generate-4wn4k6h8.js → filesystem-3377exhx.js} +43 -43
- package/dist/chunks/{generate-abf6npx4.js → filesystem-354mtm1j.js} +18 -18
- package/dist/chunks/{generate-6h96z4ze.js → filesystem-3ch3tthc.js} +23 -23
- package/dist/chunks/{generate-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-czy49zar.js → filesystem-3qnhr4nm.js} +17 -17
- package/dist/chunks/{generate-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-evcg0f16.js → filesystem-3ta4n5rg.js} +12 -12
- package/dist/chunks/{generate-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-nqztsxrq.js → filesystem-46p5v0nr.js} +14 -14
- package/dist/chunks/{generate-hww2tpcj.js → filesystem-48a4xvag.js} +29 -29
- package/dist/chunks/{generate-thjxzeng.js → filesystem-4e8vs6eh.js} +8 -8
- package/dist/chunks/{generate-4jc5c4h4.js → filesystem-4jc5c4h4.js} +1 -1
- package/dist/chunks/{generate-bxks3rwe.js → filesystem-4n607a2z.js} +5 -5
- package/dist/chunks/{generate-wf06wpac.js → filesystem-4nq1vhh4.js} +8 -8
- package/dist/chunks/{generate-s6m25ze6.js → filesystem-4pw9szbk.js} +16 -16
- package/dist/chunks/{generate-nx0wqpae.js → filesystem-4r9jq3gm.js} +13 -13
- package/dist/chunks/{generate-km0vtszt.js → filesystem-4waxsa04.js} +54 -54
- package/dist/chunks/{generate-zfw9zvab.js → filesystem-52r8cdh9.js} +18 -18
- package/dist/chunks/{generate-57ez7d0k.js → filesystem-57ez7d0k.js} +2 -2
- package/dist/chunks/{generate-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{generate-wqqvw1c8.js → filesystem-5jzcxvp7.js} +5 -5
- package/dist/chunks/{generate-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{generate-q5tqy2pa.js → filesystem-5v1az6zm.js} +27 -27
- package/dist/chunks/{generate-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{generate-9p8ghzvs.js → filesystem-69qfe4ye.js} +3 -3
- package/dist/chunks/{generate-23pqda6t.js → filesystem-6anwy9fs.js} +4 -4
- package/dist/chunks/{generate-7aq15hb2.js → filesystem-6fnhcvra.js} +19 -19
- package/dist/chunks/{generate-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
- package/dist/chunks/{generate-ckackzkx.js → filesystem-6nbtj0ez.js} +29 -29
- package/dist/chunks/{generate-nd37ta7v.js → filesystem-6x62fcpm.js} +8 -8
- package/dist/chunks/{generate-35z3x0k8.js → filesystem-6ywb039y.js} +9 -9
- package/dist/chunks/{generate-vkaf6dfs.js → filesystem-71ka5gtd.js} +21 -21
- package/dist/chunks/{generate-73tb2d7t.js → filesystem-73tb2d7t.js} +1 -1
- package/dist/chunks/{generate-827wsj90.js → filesystem-76410njm.js} +28 -28
- package/dist/chunks/{generate-jv04y93d.js → filesystem-7877ca20.js} +40 -40
- package/dist/chunks/{generate-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-zz2a84p4.js → filesystem-7gpkdhmk.js} +7 -7
- package/dist/chunks/{generate-kp2k2y4n.js → filesystem-7hp0tadb.js} +35 -35
- package/dist/chunks/{generate-e2erk39a.js → filesystem-7m8psw39.js} +32 -32
- package/dist/chunks/{generate-s0e4x3j4.js → filesystem-7xtf3zc8.js} +24 -24
- package/dist/chunks/{generate-74wqaqcm.js → filesystem-7z26aszj.js} +9 -9
- package/dist/chunks/{generate-y8gwgsgx.js → filesystem-826ce358.js} +9 -9
- package/dist/chunks/{generate-qr33bsk7.js → filesystem-84b8vhgq.js} +13 -13
- package/dist/chunks/{generate-rv45v1t9.js → filesystem-858b8443.js} +12 -12
- package/dist/chunks/{generate-e4ve3fg3.js → filesystem-88r9n90q.js} +4 -4
- package/dist/chunks/{generate-25dvt1bv.js → filesystem-89cssmvp.js} +11 -11
- package/dist/chunks/{generate-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
- package/dist/chunks/{generate-x58jw002.js → filesystem-8adjgm89.js} +17 -17
- package/dist/chunks/{generate-428xen5b.js → filesystem-8aqc4yxf.js} +4 -4
- package/dist/chunks/{generate-cav2k78t.js → filesystem-8d69mcgf.js} +43 -43
- package/dist/chunks/{generate-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{generate-yxat9xne.js → filesystem-8ft4t96z.js} +27 -27
- package/dist/chunks/{generate-cvqk7wv7.js → filesystem-8gac8n07.js} +32 -32
- package/dist/chunks/{generate-8qpnwd8f.js → filesystem-8j3bcj8f.js} +22 -22
- package/dist/chunks/{generate-k75ej8z1.js → filesystem-8md4gqd3.js} +9 -9
- package/dist/chunks/{generate-dj2t23y0.js → filesystem-8p4f9s12.js} +2 -2
- package/dist/chunks/{generate-evjjx1vq.js → filesystem-8s2x1r0z.js} +9 -9
- package/dist/chunks/{generate-xwwz9aqf.js → filesystem-8s8mxddj.js} +4 -4
- package/dist/chunks/{generate-44h5tttr.js → filesystem-8z00fdkb.js} +4 -4
- package/dist/chunks/{generate-gr1f03ws.js → filesystem-981wagwk.js} +9 -9
- package/dist/chunks/{generate-5k11540m.js → filesystem-98hxqkfd.js} +24 -24
- package/dist/chunks/{generate-2zbvw8ym.js → filesystem-9neh7k8p.js} +6 -6
- package/dist/chunks/{generate-efc3bqfr.js → filesystem-9q0baw2b.js} +14 -14
- package/dist/chunks/{generate-9v6je5c8.js → filesystem-9zcn9hy1.js} +4 -4
- package/dist/chunks/{generate-5c4hm403.js → filesystem-a1bz86dw.js} +3 -3
- package/dist/chunks/{generate-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{generate-pnkm92bb.js → filesystem-aepjrbx0.js} +47 -47
- package/dist/chunks/{generate-ga4egkhq.js → filesystem-ap9fazeb.js} +5 -5
- package/dist/chunks/{generate-8bv2nfrp.js → filesystem-awy7rs6m.js} +5 -5
- package/dist/chunks/{generate-0kmmcsnv.js → filesystem-b02qts2r.js} +8 -8
- package/dist/chunks/{generate-mwdg7gr3.js → filesystem-b2e86tga.js} +20 -20
- package/dist/chunks/{generate-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{generate-scf1vc11.js → filesystem-bf0ep029.js} +13 -13
- package/dist/chunks/{generate-e6hmchc5.js → filesystem-bgxcxs0p.js} +5 -5
- package/dist/chunks/{generate-fhhct1rs.js → filesystem-bj8kctas.js} +11 -11
- package/dist/chunks/{generate-3me7xvq2.js → filesystem-bp188etw.js} +15 -15
- package/dist/chunks/{generate-y906m0ew.js → filesystem-btec747f.js} +5 -5
- package/dist/chunks/{generate-m0jqrx5p.js → filesystem-cfpkc3c9.js} +2 -2
- package/dist/chunks/{generate-gvv2c7z7.js → filesystem-ckge2wbq.js} +24 -24
- package/dist/chunks/{generate-dj5jbh3k.js → filesystem-cm9jsw5f.js} +8 -8
- package/dist/chunks/{generate-0zrznfxv.js → filesystem-d2sm94f9.js} +13 -13
- package/dist/chunks/{generate-zav06jzw.js → filesystem-dhmh7aw6.js} +4 -4
- package/dist/chunks/{generate-t0fxg8b9.js → filesystem-dj9sq318.js} +5 -5
- package/dist/chunks/{generate-pg2n4xn0.js → filesystem-dm473wwa.js} +26 -26
- package/dist/chunks/{generate-m833tcjx.js → filesystem-dpp1ex0k.js} +15 -15
- package/dist/chunks/{generate-qayav0h2.js → filesystem-dreppv43.js} +30 -30
- package/dist/chunks/{generate-drwq78ky.js → filesystem-drwq78ky.js} +1 -1
- package/dist/chunks/{generate-6d9py4x2.js → filesystem-e06sw8n6.js} +28 -28
- package/dist/chunks/{generate-xebs09ex.js → filesystem-e4ah1ep1.js} +25 -25
- package/dist/chunks/{generate-h694sfcs.js → filesystem-e82g4p77.js} +8 -8
- package/dist/chunks/filesystem-ec2pb2w2.js +252 -0
- package/dist/chunks/{generate-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-e8q8b5r7.js → filesystem-eqzrmp0y.js} +8 -8
- package/dist/chunks/{generate-6ddjfwvz.js → filesystem-erm9gs1m.js} +18 -18
- package/dist/chunks/{generate-erw5rpbs.js → filesystem-erw5rpbs.js} +2 -2
- package/dist/chunks/{generate-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{generate-tsxtcmfm.js → filesystem-eyckedmf.js} +18 -18
- package/dist/chunks/{generate-hdnk95c8.js → filesystem-f828m53h.js} +2 -2
- package/dist/chunks/{generate-sm4hqy5c.js → filesystem-f8p8k6s9.js} +9 -9
- package/dist/chunks/{generate-2rv3v382.js → filesystem-fcv5vf6w.js} +28 -28
- package/dist/chunks/{generate-wk5z6jzv.js → filesystem-fdms3n6w.js} +9 -9
- package/dist/chunks/{generate-t2fc4mz5.js → filesystem-fdv30zvt.js} +7 -7
- package/dist/chunks/{generate-ar4smkw2.js → filesystem-fkdphn1c.js} +18 -18
- package/dist/chunks/{generate-8gj9m7an.js → filesystem-fph97qbf.js} +13 -13
- package/dist/chunks/{generate-3wwt8ag2.js → filesystem-fwm7j62e.js} +12 -12
- package/dist/chunks/{generate-fxbjtjnd.js → filesystem-fxbjtjnd.js} +1 -1
- package/dist/chunks/{generate-2tfmgkzg.js → filesystem-fxqygnfa.js} +4 -4
- package/dist/chunks/{generate-50qqv18y.js → filesystem-g0xmyw3h.js} +180 -180
- package/dist/chunks/{generate-b06f0n62.js → filesystem-g8sqxk2y.js} +5 -5
- package/dist/chunks/{generate-zyaxyk36.js → filesystem-gach115v.js} +31 -31
- package/dist/chunks/{generate-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-meqv6g6e.js → filesystem-gmv9h3vn.js} +32 -32
- package/dist/chunks/{generate-tq5tpcth.js → filesystem-gn50vh93.js} +3 -3
- package/dist/chunks/{generate-gv6a8nnw.js → filesystem-gv6a8nnw.js} +2 -2
- package/dist/chunks/filesystem-gyce5qg1.js +18 -0
- package/dist/chunks/{generate-zh2a5dp2.js → filesystem-gyrsatny.js} +3 -3
- package/dist/chunks/{generate-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-mepve0dy.js → filesystem-hg5xz5jt.js} +32 -32
- package/dist/chunks/{generate-23jpcpdv.js → filesystem-hgxzff7j.js} +16 -16
- package/dist/chunks/{generate-w1bs92j7.js → filesystem-hh2qayf7.js} +23 -23
- package/dist/chunks/{generate-envn6cbq.js → filesystem-hhf3paha.js} +25 -25
- package/dist/chunks/{generate-wrgx4w2j.js → filesystem-hq8hx04p.js} +10 -10
- package/dist/chunks/{generate-s8n8qvwn.js → filesystem-hv6jfmhd.js} +8 -8
- package/dist/chunks/{generate-749bja2b.js → filesystem-hxyzw3m3.js} +17 -17
- package/dist/chunks/{generate-n8p7g8ff.js → filesystem-j0x8q95g.js} +28 -28
- package/dist/chunks/{generate-q3hz49bq.js → filesystem-j41a475f.js} +11 -11
- package/dist/chunks/{generate-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-ym7n73vr.js → filesystem-j7fam3f6.js} +320 -320
- package/dist/chunks/{generate-dfe8djrf.js → filesystem-j83byb14.js} +4 -4
- package/dist/chunks/{generate-a7y6e3a6.js → filesystem-j8v09z9q.js} +11 -11
- package/dist/chunks/{generate-xq0xrt9q.js → filesystem-j9p9na99.js} +25 -25
- package/dist/chunks/{generate-kxbt8c2v.js → filesystem-jcqz60n0.js} +11 -11
- package/dist/chunks/{generate-x1xcpfha.js → filesystem-jxahb5yh.js} +9 -9
- package/dist/chunks/{generate-tgvpjzzv.js → filesystem-k0jqx04v.js} +13 -13
- package/dist/chunks/{generate-k3c624dm.js → filesystem-k3c624dm.js} +3 -3
- package/dist/chunks/{generate-3wyrrtvb.js → filesystem-kf5cf4rp.js} +17 -17
- package/dist/chunks/{generate-z2xmq33e.js → filesystem-kkz8m0yr.js} +5 -5
- package/dist/chunks/{generate-fkjmw100.js → filesystem-knb7evpn.js} +6 -6
- package/dist/chunks/{generate-5yrb1hyq.js → filesystem-kt6frfpb.js} +12 -12
- package/dist/chunks/{generate-wkx6bdd3.js → filesystem-kv00n2m3.js} +34 -34
- package/dist/chunks/{generate-mjymc32g.js → filesystem-kvvk39gs.js} +4 -4
- package/dist/chunks/{generate-61nhyxw9.js → filesystem-kx6qvt0d.js} +91 -91
- package/dist/chunks/{generate-e42h5ahx.js → filesystem-kxyf5z7e.js} +25 -25
- package/dist/chunks/{generate-dtx01xgx.js → filesystem-kz12prak.js} +32 -32
- package/dist/chunks/{generate-b79sd35x.js → filesystem-kz9hmqfp.js} +22 -22
- package/dist/chunks/{generate-dgmwn8ez.js → filesystem-m28tfe1w.js} +8 -8
- package/dist/chunks/{generate-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
- package/dist/chunks/{generate-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-n8phb4a1.js → filesystem-mkjc2x20.js} +24 -24
- package/dist/chunks/{generate-drz9gnx0.js → filesystem-mx4xx2gt.js} +11 -11
- package/dist/chunks/{generate-8hb0tesj.js → filesystem-my3wv6m6.js} +1 -1
- package/dist/chunks/{generate-avnnb6ne.js → filesystem-n0anbbxx.js} +6 -6
- package/dist/chunks/{generate-xsqbfv8n.js → filesystem-n7fr6eaa.js} +13 -13
- package/dist/chunks/{generate-xynf7807.js → filesystem-nabsnkhp.js} +16 -16
- package/dist/chunks/{generate-73erw28z.js → filesystem-naqr419p.js} +36 -36
- package/dist/chunks/{generate-pzbe5kae.js → filesystem-nftssr05.js} +30 -30
- package/dist/chunks/{generate-1kkcsqyr.js → filesystem-nj1jmg1n.js} +29 -29
- package/dist/chunks/{generate-rw88jhax.js → filesystem-npyp5404.js} +13 -13
- package/dist/chunks/{generate-qg0jgkcp.js → filesystem-nq7qbqzc.js} +9 -9
- package/dist/chunks/{generate-eznat62v.js → filesystem-ntzng88s.js} +17 -17
- package/dist/chunks/{generate-af04s6ss.js → filesystem-nxhqveyz.js} +5 -5
- package/dist/chunks/{generate-1ajx6rf5.js → filesystem-p37cw4rj.js} +8 -8
- package/dist/chunks/{generate-ehc7wmzq.js → filesystem-p5bq8rdg.js} +18 -18
- package/dist/chunks/{generate-q8c34ndx.js → filesystem-p9agemf7.js} +18 -18
- package/dist/chunks/{generate-j7dy6vn2.js → filesystem-p9b38jtj.js} +20 -20
- package/dist/chunks/{generate-zcfwmhvf.js → filesystem-p9za4yg2.js} +45 -45
- package/dist/chunks/{generate-n3mfym48.js → filesystem-phsc1w3k.js} +10 -10
- package/dist/chunks/{generate-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{generate-308q9nny.js → filesystem-pmd7yqw7.js} +75 -75
- package/dist/chunks/{generate-6psvz8ty.js → filesystem-q1fascv8.js} +44 -44
- package/dist/chunks/{generate-sykf9ha3.js → filesystem-q2j4f1zm.js} +19 -19
- package/dist/chunks/{generate-2nv59kjc.js → filesystem-q5xvhvda.js} +6 -6
- package/dist/chunks/{generate-mfs7rf5z.js → filesystem-q6ymfnrf.js} +43 -43
- package/dist/chunks/{generate-aktk9sm4.js → filesystem-qccxgcpc.js} +26 -26
- package/dist/chunks/{generate-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-2sejkfem.js → filesystem-r2m716tb.js} +9 -9
- package/dist/chunks/{generate-gew6kykq.js → filesystem-r5fcph48.js} +4 -4
- package/dist/chunks/{generate-ece0bb7d.js → filesystem-rbss9r2b.js} +43 -43
- package/dist/chunks/{generate-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-dj30mz7y.js → filesystem-rf5ee5k8.js} +3 -3
- package/dist/chunks/{generate-fr5pngye.js → filesystem-rqb0n6yh.js} +24 -24
- package/dist/chunks/{generate-2yycsk2q.js → filesystem-rxp0wtye.js} +9 -9
- package/dist/chunks/{generate-zj4sr8je.js → filesystem-rz0q65aw.js} +5 -5
- package/dist/chunks/{generate-6wf6y384.js → filesystem-s4cf8d9e.js} +28 -28
- package/dist/chunks/{generate-1yhb7mxs.js → filesystem-s85vttx4.js} +8 -8
- package/dist/chunks/{generate-jca4demv.js → filesystem-s8610hey.js} +2 -2
- package/dist/chunks/{generate-j5b0023w.js → filesystem-sdcae30b.js} +16 -16
- package/dist/chunks/{generate-6vbjb61c.js → filesystem-sjwvt0mt.js} +28 -28
- package/dist/chunks/{generate-as9yt2q1.js → filesystem-sm456w7t.js} +6 -6
- package/dist/chunks/{generate-5jjne4g5.js → filesystem-sra6vpz2.js} +7 -7
- package/dist/chunks/filesystem-stfvhx3k.js +26 -0
- package/dist/chunks/{generate-yq2cczkq.js → filesystem-sv3vsz9b.js} +9 -9
- package/dist/chunks/{generate-c6vbkewx.js → filesystem-sy1fbdna.js} +28 -28
- package/dist/chunks/{generate-1mdt3y9r.js → filesystem-t37zfa8g.js} +20 -20
- package/dist/chunks/{generate-yfwz1ge5.js → filesystem-t4bjqpgv.js} +22 -22
- package/dist/chunks/{generate-fwrss4ad.js → filesystem-t9d84gp7.js} +4 -4
- package/dist/chunks/{generate-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-p28j5sbe.js → filesystem-tbz0fdvh.js} +5 -5
- package/dist/chunks/{generate-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{generate-9kfkee5r.js → filesystem-tt62rdgt.js} +6 -6
- package/dist/chunks/{generate-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
- package/dist/chunks/{generate-d71fyk5e.js → filesystem-v06sarth.js} +1 -1
- package/dist/chunks/{generate-kns1vj7f.js → filesystem-v4qfxnag.js} +5 -5
- package/dist/chunks/{generate-nxma9dwh.js → filesystem-vbf83gs2.js} +34 -34
- package/dist/chunks/{generate-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-5y5048hk.js → filesystem-vhkhvjwk.js} +5 -5
- package/dist/chunks/{generate-c1np9tvh.js → filesystem-vke0fqjh.js} +12 -12
- package/dist/chunks/{generate-h896pcm5.js → filesystem-vvccsdf3.js} +6 -6
- package/dist/chunks/{generate-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{generate-w1k39n5e.js → filesystem-w1k39n5e.js} +1 -1
- package/dist/chunks/{generate-m0gbvpmm.js → filesystem-w1k85dh4.js} +84 -84
- package/dist/chunks/{generate-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{generate-mn09qs46.js → filesystem-wjcmd9cz.js} +8 -8
- package/dist/chunks/{generate-xbr0me04.js → filesystem-wjv5e24e.js} +20 -20
- package/dist/chunks/{generate-65k90k27.js → filesystem-wk75wp36.js} +9 -9
- package/dist/chunks/{generate-3ktbe3hf.js → filesystem-wqkncbjv.js} +6 -6
- package/dist/chunks/{generate-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{generate-vvaxxqy4.js → filesystem-x232yfz7.js} +44 -44
- package/dist/chunks/{generate-yn9kt59b.js → filesystem-x6ce0q15.js} +8 -8
- package/dist/chunks/{generate-mwxyq70t.js → filesystem-xcpdqaxy.js} +2 -2
- package/dist/chunks/{generate-7w4zp1nj.js → filesystem-xhezqp3k.js} +4 -4
- package/dist/chunks/{generate-wssz113n.js → filesystem-xn9jxgmv.js} +8 -8
- package/dist/chunks/{generate-tv1mb0q8.js → filesystem-xyw3gjcr.js} +32 -32
- package/dist/chunks/{generate-zz1cpcq9.js → filesystem-xz670hkz.js} +30 -30
- package/dist/chunks/{generate-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-zvc0f6jz.js → filesystem-y1p4t30v.js} +5 -5
- package/dist/chunks/{generate-tavk7hys.js → filesystem-y46yp9kd.js} +42 -42
- package/dist/chunks/{generate-y71avatq.js → filesystem-y71avatq.js} +1 -1
- package/dist/chunks/{generate-f2n192rq.js → filesystem-yp2x3t23.js} +4 -4
- package/dist/chunks/{generate-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
- package/dist/chunks/{generate-yrznvahk.js → filesystem-yrznvahk.js} +2 -2
- package/dist/chunks/{generate-0gq147r8.js → filesystem-yx0hjtqq.js} +17 -17
- package/dist/chunks/{generate-wyg10aaj.js → filesystem-yzpfhxvz.js} +31 -31
- package/dist/chunks/{generate-ad30yrp4.js → filesystem-z014qaxe.js} +19 -19
- package/dist/chunks/{generate-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-z63w68vq.js → filesystem-z63w68vq.js} +2 -2
- package/dist/chunks/{generate-aegj8t8z.js → filesystem-z97hzn0m.js} +16 -16
- package/dist/chunks/{generate-dqs3j4gr.js → filesystem-zanfrvrm.js} +3 -3
- package/dist/chunks/{generate-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
- package/dist/chunks/{generate-psb5g46b.js → filesystem-zgjxrtm7.js} +23 -23
- package/dist/chunks/{generate-4rn4k3y1.js → filesystem-zn99htb6.js} +3 -3
- package/dist/chunks/{generate-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-wreftsvd.js → filesystem-zvayce75.js} +4 -4
- package/dist/chunks/{generate-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- 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 +98 -98
- 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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +98 -98
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- 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 +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +98 -98
- 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 +89 -89
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/generate-9x18tffv.js +0 -252
- package/dist/chunks/generate-9zdhvgqs.js +0 -18
- package/dist/chunks/generate-eszte112.js +0 -26
- /package/dist/chunks/{generate-0mesazry.js → filesystem-0mesazry.js} +0 -0
- /package/dist/chunks/{generate-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-922hggd3.js → filesystem-922hggd3.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-twg0f83k.js → filesystem-twg0f83k.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./filesystem-4pw9szbk.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-v4qfxnag.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./filesystem-46p5v0nr.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-gyce5qg1.js";
|
|
16
16
|
import {
|
|
17
17
|
Service43,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
node47
|
|
19
|
+
} from "./filesystem-hgxzff7j.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node20
|
|
22
|
+
} from "./filesystem-t37zfa8g.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service7,
|
|
25
|
+
node8
|
|
26
|
+
} from "./filesystem-r2m716tb.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher2 = {};
|
|
33
|
+
__export(exports_location_watcher2, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
+
Service: () => Service6,
|
|
36
|
+
node: () => node7
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service6 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
45
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service77;
|
|
47
47
|
const watcher = yield* Service43;
|
|
48
|
-
const bus = yield*
|
|
48
|
+
const bus = yield* Service82;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service79;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service7;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service6.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node7 = makeLocationNode({
|
|
106
|
+
service: Service6,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node47, FSUtil.node, node81, node83, node86, node20, node8]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service6, node7, exports_location_watcher2 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./filesystem-46p5v0nr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./filesystem-mkjc2x20.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service17,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-npyp5404.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./filesystem-52r8cdh9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service69
|
|
17
|
+
} from "./filesystem-13qzbekt.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service68,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-erm9gs1m.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input9,
|
|
34
|
+
Output: () => Output6,
|
|
35
|
+
Plugin: () => Plugin44,
|
|
36
|
+
name: () => name9
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name9 = "edit";
|
|
43
|
+
var Input9 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input11 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output6 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin44 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service68;
|
|
110
|
+
const fileMutation = yield* Service17;
|
|
111
|
+
const environment = yield* Service62;
|
|
112
|
+
const formatter = yield* Service13;
|
|
113
|
+
const location = yield* Service77;
|
|
114
|
+
const permission = yield* Service69;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name9,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input9,
|
|
120
|
+
output: Output6,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin12 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name9, Input9, Output6, Plugin44, exports_edit };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./filesystem-1wyj371t.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID7.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service21,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service21 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service21.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service21, awaitActivation2, exports_service };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID6
|
|
3
|
+
} from "./filesystem-7hp0tadb.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID6.make("gpt-5-chat-latest"), ID6.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-8z00fdkb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./filesystem-4pw9szbk.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./filesystem-vbf83gs2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-sy1fbdna.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID7,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service53
|
|
20
|
+
} from "./filesystem-1wyj371t.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./filesystem-7hp0tadb.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./filesystem-kz9hmqfp.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./filesystem-j41a475f.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID8.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,8 +157,8 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
161
|
-
const bus = yield*
|
|
160
|
+
const providers = yield* Service53;
|
|
161
|
+
const bus = yield* Service82;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID7.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID7.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID7.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID7.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event8,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
16
|
+
Options: () => Options7,
|
|
17
17
|
Service: () => Service43,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured7,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer18,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node47,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event8 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,7 +53,7 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options7 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
@@ -62,7 +62,7 @@ class Service43 extends Context.Service()("@opencode/Watcher") {
|
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
67
|
return Service43.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
@@ -129,7 +129,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
134
|
subscribe: Context.get(context, Service43).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service: Service43, layer:
|
|
167
|
+
function configured7(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service43, layer: layer18(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node47 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event8, hasNativeBinding2, Native3, Options7, Service43, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured7, node47, exports_watcher };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-1wyj371t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID6,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info18,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-7hp0tadb.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID7.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID6.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID6.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info18.make({
|
|
98
|
+
...Info18.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID6.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|