@opencode/core 0.0.0-dev-21903 → 0.0.0-dev-21905
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 +89 -89
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +101 -101
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-services-034tev2y.js → wellknown-034tev2y.js} +2 -2
- package/dist/chunks/{location-services-hfgk9wzg.js → wellknown-06w9ffrv.js} +5 -5
- package/dist/chunks/{location-services-m1m4h2ws.js → wellknown-07nympgt.js} +12 -12
- package/dist/chunks/{location-services-ehgkhb98.js → wellknown-08jmxpw8.js} +9 -9
- package/dist/chunks/{location-services-eqfxwd9c.js → wellknown-0c4etd6s.js} +4 -4
- package/dist/chunks/{location-services-rdsq3qfj.js → wellknown-0pqt4ss7.js} +7 -7
- package/dist/chunks/{location-services-4wqc8mqe.js → wellknown-0tpkjg9c.js} +5 -5
- package/dist/chunks/{location-services-4vjrd2nm.js → wellknown-10mm9pvd.js} +17 -17
- package/dist/chunks/{location-services-11hfp36g.js → wellknown-11hfp36g.js} +1 -1
- package/dist/chunks/{location-services-hpz3j2k0.js → wellknown-16jm1xxm.js} +17 -17
- package/dist/chunks/{location-services-0z1vf8kx.js → wellknown-18p1zcke.js} +4 -4
- package/dist/chunks/{location-services-xv4smn2w.js → wellknown-1a14ayy3.js} +17 -17
- package/dist/chunks/{location-services-tdhjqvff.js → wellknown-1azjaeqk.js} +15 -15
- package/dist/chunks/{location-services-qa1edmd1.js → wellknown-1dnxeshr.js} +7 -7
- package/dist/chunks/{location-services-1ep2p91f.js → wellknown-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-services-kb9aw3cj.js → wellknown-1m40ync2.js} +13 -13
- package/dist/chunks/{location-services-zggvq0e7.js → wellknown-1wtyzzv2.js} +8 -8
- package/dist/chunks/{location-services-1x2knyw4.js → wellknown-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-services-1yq9hg58.js → wellknown-1yq9hg58.js} +1 -1
- package/dist/chunks/{location-services-204s3925.js → wellknown-204s3925.js} +1 -1
- package/dist/chunks/{location-services-st7p3hwb.js → wellknown-27bs79w9.js} +2 -2
- package/dist/chunks/{location-services-q8yx5esg.js → wellknown-2pjk27yh.js} +20 -20
- package/dist/chunks/{location-services-2z1j29yd.js → wellknown-2z1j29yd.js} +1 -1
- package/dist/chunks/{location-services-k4te3eym.js → wellknown-31rf98pj.js} +20 -20
- package/dist/chunks/{location-services-btj8pen2.js → wellknown-34kqsmtw.js} +15 -15
- package/dist/chunks/{location-services-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-8wc2fpae.js → wellknown-3kdbrncp.js} +5 -5
- package/dist/chunks/{location-services-3nnrz6f6.js → wellknown-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-services-8qyg6xvd.js → wellknown-3p6ref22.js} +8 -8
- package/dist/chunks/{location-services-gyx5xa5k.js → wellknown-3sdg0zje.js} +19 -19
- package/dist/chunks/{location-services-b27x7jxq.js → wellknown-3smjkenw.js} +9 -9
- package/dist/chunks/{location-services-ym46tpre.js → wellknown-422qdp1a.js} +33 -33
- package/dist/chunks/{location-services-9stfggkj.js → wellknown-43c7n8d7.js} +3 -3
- package/dist/chunks/{location-services-7ekdzgrw.js → wellknown-43zq9e9g.js} +11 -11
- package/dist/chunks/{location-services-gh0yfcmw.js → wellknown-456acp46.js} +187 -187
- package/dist/chunks/{location-services-rc3spf3f.js → wellknown-4b81tvk6.js} +11 -11
- package/dist/chunks/{location-services-x2b74qpx.js → wellknown-4dpsg166.js} +23 -23
- package/dist/chunks/{location-services-ana9v1k9.js → wellknown-4gb6q5d2.js} +12 -12
- package/dist/chunks/{location-services-j4hj9mmz.js → wellknown-4s3d2nxj.js} +31 -31
- package/dist/chunks/{location-services-4v008n1t.js → wellknown-4v008n1t.js} +1 -1
- package/dist/chunks/{location-services-rmm45jmv.js → wellknown-4v4bfvma.js} +5 -5
- package/dist/chunks/{location-services-y28mq519.js → wellknown-4w7hra7q.js} +54 -54
- package/dist/chunks/{location-services-4xvmh7wp.js → wellknown-4xvmh7wp.js} +3 -3
- package/dist/chunks/{location-services-6gjd4geh.js → wellknown-50wxassd.js} +9 -9
- package/dist/chunks/{location-services-f7a3eme1.js → wellknown-528sb9yh.js} +4 -4
- package/dist/chunks/{location-services-tkmxfp5h.js → wellknown-52csfstw.js} +19 -19
- package/dist/chunks/{location-services-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-services-21db4a7w.js → wellknown-5sm41d8n.js} +10 -10
- package/dist/chunks/{location-services-hb1289hx.js → wellknown-61cq9mz9.js} +18 -18
- package/dist/chunks/{location-services-pvmfh5yx.js → wellknown-63av3mt9.js} +9 -9
- package/dist/chunks/wellknown-63empc73.js +257 -0
- package/dist/chunks/{location-services-6esdw8yj.js → wellknown-6esdw8yj.js} +1 -1
- package/dist/chunks/{location-services-g9tm7d2t.js → wellknown-6hzmspmb.js} +15 -15
- package/dist/chunks/{location-services-m8m8yt4h.js → wellknown-6kxj20kh.js} +27 -27
- package/dist/chunks/{location-services-6pjqjmy2.js → wellknown-6pjqjmy2.js} +1 -1
- package/dist/chunks/{location-services-mnazxqb2.js → wellknown-6tv7k3tz.js} +10 -10
- package/dist/chunks/{location-services-f97nkw3f.js → wellknown-6xymmcrk.js} +20 -20
- package/dist/chunks/{location-services-76cb1hcw.js → wellknown-76cb1hcw.js} +1 -1
- package/dist/chunks/{location-services-s89f5phx.js → wellknown-77hsxk2v.js} +11 -11
- package/dist/chunks/{location-services-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-35qjbqn0.js → wellknown-7hhn1zye.js} +17 -17
- package/dist/chunks/{location-services-v6jczr14.js → wellknown-7mw0cghr.js} +13 -13
- package/dist/chunks/{location-services-7w2ypzdf.js → wellknown-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-services-d2me1qzp.js → wellknown-84havbt1.js} +45 -45
- package/dist/chunks/{location-services-7gfrq6pk.js → wellknown-8ndvpjha.js} +14 -14
- package/dist/chunks/{location-services-pxxfm478.js → wellknown-8q89gzee.js} +4 -4
- package/dist/chunks/{location-services-8wtp7s3z.js → wellknown-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-services-v9492ht0.js → wellknown-8x6ryb5r.js} +12 -12
- package/dist/chunks/{location-services-91rj84md.js → wellknown-91rj84md.js} +1 -1
- package/dist/chunks/{location-services-btqeqnn8.js → wellknown-96h5hzmk.js} +25 -25
- package/dist/chunks/{location-services-3p3d7qzt.js → wellknown-985rt153.js} +6 -6
- package/dist/chunks/{location-services-77vhwr65.js → wellknown-9a6vztyr.js} +22 -22
- package/dist/chunks/{location-services-ebzhbbj7.js → wellknown-9cqm81v5.js} +6 -6
- package/dist/chunks/{location-services-9cx9sm2q.js → wellknown-9cx9sm2q.js} +1 -1
- package/dist/chunks/{location-services-xy4ztr0v.js → wellknown-9h1hggy5.js} +3 -3
- package/dist/chunks/{location-services-mz7759ww.js → wellknown-9na51k6x.js} +25 -25
- package/dist/chunks/{location-services-fjhhaj13.js → wellknown-9x7zjsgs.js} +24 -24
- package/dist/chunks/{location-services-7eysnd3f.js → wellknown-9x82g23c.js} +32 -32
- package/dist/chunks/{location-services-rz3kjw72.js → wellknown-a0jvnq43.js} +22 -22
- package/dist/chunks/{location-services-7ewvyx1h.js → wellknown-a0x8w78x.js} +40 -40
- package/dist/chunks/{location-services-4az1a8cs.js → wellknown-a44gt5xs.js} +6 -6
- package/dist/chunks/{location-services-3fvf9d3k.js → wellknown-aarqgwq8.js} +11 -11
- package/dist/chunks/{location-services-5qdyz63a.js → wellknown-ad0mv7as.js} +3 -3
- package/dist/chunks/{location-services-k00wzz3g.js → wellknown-an768aw9.js} +13 -13
- package/dist/chunks/{location-services-95fy70vm.js → wellknown-aty5ekmm.js} +26 -26
- package/dist/chunks/{location-services-wegc3p94.js → wellknown-ayaepv5m.js} +14 -14
- package/dist/chunks/{location-services-ayjs7tqn.js → wellknown-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-services-b0mv4wxm.js → wellknown-b0mv4wxm.js} +2 -2
- package/dist/chunks/{location-services-b6vsg801.js → wellknown-b6vsg801.js} +2 -2
- package/dist/chunks/{location-services-0fm9943z.js → wellknown-b707j5xa.js} +35 -35
- package/dist/chunks/{location-services-s9szcymt.js → wellknown-bafces6t.js} +25 -25
- package/dist/chunks/{location-services-6g5jwsqq.js → wellknown-bb3wxec6.js} +6 -6
- package/dist/chunks/{location-services-jw782sdw.js → wellknown-bpxs7mfy.js} +38 -38
- package/dist/chunks/{location-services-fpbevbxn.js → wellknown-bqhp3xq3.js} +17 -17
- package/dist/chunks/wellknown-btwxz2mg.js +26 -0
- package/dist/chunks/{location-services-5m90njqj.js → wellknown-bwpseqpt.js} +12 -12
- package/dist/chunks/{location-services-c5n1jm6v.js → wellknown-bz1kvgxj.js} +28 -28
- package/dist/chunks/{location-services-94r2kbax.js → wellknown-c09qf4m9.js} +13 -13
- package/dist/chunks/{location-services-kac0vvew.js → wellknown-c37vmeq3.js} +11 -11
- package/dist/chunks/{location-services-4kvj368v.js → wellknown-c390m11v.js} +16 -16
- package/dist/chunks/{location-services-tjqvjnbx.js → wellknown-c60n5c3z.js} +45 -45
- package/dist/chunks/{location-services-a7mwkhfd.js → wellknown-cahh5g1h.js} +11 -11
- package/dist/chunks/{location-services-hdfrs5mg.js → wellknown-crkt7bmv.js} +9 -9
- package/dist/chunks/{location-services-bwr0hn0p.js → wellknown-csyzbf24.js} +27 -27
- package/dist/chunks/{location-services-d4v9tmah.js → wellknown-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-services-4cdz94wm.js → wellknown-dc94dkx8.js} +32 -32
- package/dist/chunks/{location-services-8fxjxqq6.js → wellknown-dcmvctb0.js} +6 -6
- package/dist/chunks/{location-services-hy8c1z76.js → wellknown-ddvn7d3w.js} +8 -8
- package/dist/chunks/{location-services-6tj0eyfy.js → wellknown-dg0jvjtr.js} +13 -13
- package/dist/chunks/{location-services-djjzzs3c.js → wellknown-djjzzs3c.js} +3 -3
- package/dist/chunks/{location-services-6n3n8n8c.js → wellknown-dn4kej0z.js} +28 -28
- package/dist/chunks/{location-services-82dff8wv.js → wellknown-dqh61kt2.js} +42 -42
- package/dist/chunks/{location-services-jw2fkyg0.js → wellknown-dr4dbfhn.js} +5 -5
- package/dist/chunks/{location-services-m57z52n9.js → wellknown-e24k0caj.js} +24 -24
- package/dist/chunks/{location-services-3f3gn4kn.js → wellknown-e2e6k7vj.js} +3 -3
- package/dist/chunks/{location-services-64mt0z0h.js → wellknown-e5kreh10.js} +4 -4
- package/dist/chunks/{location-services-sa7xyy0c.js → wellknown-e6re47fw.js} +28 -28
- package/dist/chunks/{location-services-e834z07m.js → wellknown-e834z07m.js} +1 -1
- package/dist/chunks/{location-services-g1e2r5aa.js → wellknown-e8pm465n.js} +4 -4
- package/dist/chunks/{location-services-p513p73p.js → wellknown-edqaythh.js} +24 -24
- package/dist/chunks/{location-services-9ghmfs2r.js → wellknown-ep0vb9es.js} +12 -12
- package/dist/chunks/{location-services-92cn2t4g.js → wellknown-esezyxfc.js} +11 -11
- package/dist/chunks/{location-services-akbz7b6h.js → wellknown-evbwgfv9.js} +5 -5
- package/dist/chunks/wellknown-ezna1kdx.js +18 -0
- package/dist/chunks/{location-services-ecvf625q.js → wellknown-f4yrsbs8.js} +2 -2
- package/dist/chunks/{location-services-8mk0bwpx.js → wellknown-f98ykymd.js} +4 -4
- package/dist/chunks/{location-services-fffv3p7h.js → wellknown-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-services-zjyr9dee.js → wellknown-fp8vtd16.js} +23 -23
- package/dist/chunks/{location-services-04521nwg.js → wellknown-fs65nevv.js} +8 -8
- package/dist/chunks/{location-services-ah4af1ng.js → wellknown-ftf5vvhm.js} +20 -20
- package/dist/chunks/{location-services-3fghs3em.js → wellknown-fxpf53bq.js} +34 -34
- package/dist/chunks/{location-services-m4hkdytw.js → wellknown-g1twbr69.js} +12 -12
- package/dist/chunks/{location-services-46bpvt4v.js → wellknown-g1xkvxp8.js} +8 -8
- package/dist/chunks/{location-services-g42b6ca9.js → wellknown-g42b6ca9.js} +1 -1
- package/dist/chunks/{location-services-qb7cx6yj.js → wellknown-g49j3see.js} +22 -22
- package/dist/chunks/{location-services-g5h9c0rr.js → wellknown-g5h9c0rr.js} +2 -2
- package/dist/chunks/{location-services-yjn9y6zr.js → wellknown-ga1wv4am.js} +12 -12
- package/dist/chunks/{location-services-vrcsa8qx.js → wellknown-gcjdgkn2.js} +9 -9
- package/dist/chunks/{location-services-b952eqn9.js → wellknown-ger41hx2.js} +28 -28
- package/dist/chunks/{location-services-gg8p9cgs.js → wellknown-gg8p9cgs.js} +3 -3
- package/dist/chunks/{location-services-wkxzy6jz.js → wellknown-gnfmde1b.js} +24 -24
- package/dist/chunks/{location-services-8e1vq2t0.js → wellknown-grb5k53q.js} +14 -14
- package/dist/chunks/{location-services-h8acnr4s.js → wellknown-gt36dexe.js} +5 -5
- package/dist/chunks/{location-services-ztjcf3e9.js → wellknown-gtfmbq7x.js} +10 -10
- package/dist/chunks/{location-services-y4hm39pm.js → wellknown-gynarq0r.js} +21 -21
- package/dist/chunks/{location-services-fy7nh4fk.js → wellknown-h2zy72ep.js} +40 -40
- package/dist/chunks/{location-services-9qxs4ka6.js → wellknown-h9qpm4mc.js} +9 -9
- package/dist/chunks/{location-services-9d5rzwrs.js → wellknown-hb5f8mgh.js} +11 -11
- package/dist/chunks/{location-services-kevx4vjj.js → wellknown-hcftxwmh.js} +21 -21
- package/dist/chunks/{location-services-zcd67qx2.js → wellknown-hf6nmj8m.js} +44 -44
- package/dist/chunks/{location-services-q906frw1.js → wellknown-hg2bmqe4.js} +15 -15
- package/dist/chunks/{location-services-agmfdcja.js → wellknown-hnm4epzp.js} +16 -16
- package/dist/chunks/{location-services-tm13by84.js → wellknown-hs1a0pvj.js} +32 -32
- package/dist/chunks/{location-services-t2c3e9ky.js → wellknown-hs7hvp0p.js} +5 -5
- package/dist/chunks/{location-services-1wxh740a.js → wellknown-hw52280v.js} +9 -9
- package/dist/chunks/wellknown-hwn8bdrr.js +517 -0
- package/dist/chunks/{location-services-hg1nz1sy.js → wellknown-hxmtx9bt.js} +19 -19
- package/dist/chunks/{location-services-j113cymg.js → wellknown-j113cymg.js} +1 -1
- package/dist/chunks/{location-services-f8pbq6zm.js → wellknown-j1ng96h2.js} +14 -14
- package/dist/chunks/{location-services-52k98881.js → wellknown-j3dvaqgp.js} +16 -16
- package/dist/chunks/{location-services-wf7v8c8z.js → wellknown-j6awfx5a.js} +23 -23
- package/dist/chunks/{location-services-mre9hm22.js → wellknown-j6mefce3.js} +4 -4
- package/dist/chunks/{location-services-tj0mzswe.js → wellknown-j6r5fkgb.js} +30 -30
- package/dist/chunks/{location-services-h06rb14x.js → wellknown-jcbetbz4.js} +7 -7
- package/dist/chunks/{location-services-wr3z335x.js → wellknown-jp8a8b92.js} +15 -15
- package/dist/chunks/{location-services-777csmha.js → wellknown-jrkj4q7h.js} +11 -11
- package/dist/chunks/{location-services-7nzy79pb.js → wellknown-jsmzgevh.js} +18 -18
- package/dist/chunks/{location-services-q3xvmvv1.js → wellknown-jz5vw9y0.js} +19 -19
- package/dist/chunks/{location-services-xm4qwp9y.js → wellknown-k2yjde0t.js} +24 -24
- package/dist/chunks/{location-services-mvrtasbk.js → wellknown-k50kd6aq.js} +10 -10
- package/dist/chunks/{location-services-k814nvkf.js → wellknown-k814nvkf.js} +1 -1
- package/dist/chunks/{location-services-2kj7f5bg.js → wellknown-k98yejja.js} +4 -4
- package/dist/chunks/{location-services-mwttkatk.js → wellknown-kdv2x5y0.js} +16 -16
- package/dist/chunks/{location-services-66vyf1s0.js → wellknown-kerp81sn.js} +32 -32
- package/dist/chunks/{location-services-52jkpkhk.js → wellknown-kkeggvpt.js} +15 -15
- package/dist/chunks/{location-services-t143wn0z.js → wellknown-kkjx1mw9.js} +78 -78
- package/dist/chunks/{location-services-ssfehs1z.js → wellknown-kkqethq7.js} +4 -4
- package/dist/chunks/{location-services-kt3bjfbg.js → wellknown-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-services-m1714858.js → wellknown-m1714858.js} +1 -1
- package/dist/chunks/{location-services-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-fhmxdhy8.js → wellknown-ma56c43t.js} +21 -21
- package/dist/chunks/{location-services-maspj1v3.js → wellknown-maspj1v3.js} +1 -1
- package/dist/chunks/{location-services-g2yv87vr.js → wellknown-mf0v837q.js} +24 -24
- package/dist/chunks/{location-services-drvbhkez.js → wellknown-mj0wev1x.js} +4 -4
- package/dist/chunks/{location-services-mm7a63e9.js → wellknown-mm7a63e9.js} +2 -2
- package/dist/chunks/{location-services-xcvvfsb7.js → wellknown-mrnd003y.js} +11 -11
- package/dist/chunks/{location-services-9g0prgdv.js → wellknown-mvj3aa71.js} +9 -9
- package/dist/chunks/{location-services-11w1erh0.js → wellknown-mvk5p0p5.js} +47 -47
- package/dist/chunks/{location-services-mfcwkzw5.js → wellknown-myerjbae.js} +4 -4
- package/dist/chunks/{location-services-ay8f7yhb.js → wellknown-mz6zrymt.js} +17 -17
- package/dist/chunks/{location-services-814m0pbm.js → wellknown-mzck7xnz.js} +36 -36
- package/dist/chunks/{location-services-nah043kf.js → wellknown-nah043kf.js} +1 -1
- package/dist/chunks/{location-services-g6hkq510.js → wellknown-nart1eby.js} +33 -33
- package/dist/chunks/{location-services-ykx76mnc.js → wellknown-ncc2shy9.js} +5 -5
- package/dist/chunks/{location-services-th8wr6tp.js → wellknown-nkasj3c8.js} +7 -7
- package/dist/chunks/{location-services-147vawtp.js → wellknown-npvzqjpc.js} +17 -17
- package/dist/chunks/{location-services-nmcss2m3.js → wellknown-ny2wtxdh.js} +14 -14
- package/dist/chunks/{location-services-7ebn5dnv.js → wellknown-ny88eb4m.js} +36 -36
- package/dist/chunks/{location-services-p015t6z3.js → wellknown-p015t6z3.js} +2 -2
- package/dist/chunks/{location-services-p9a4fkqx.js → wellknown-p08nksk5.js} +8 -8
- package/dist/chunks/{location-services-ykrh4162.js → wellknown-p6fbbp8g.js} +18 -18
- package/dist/chunks/{location-services-0n4brtsj.js → wellknown-p8x8t43t.js} +26 -26
- package/dist/chunks/{location-services-zrnb11sh.js → wellknown-pb4twq59.js} +8 -8
- package/dist/chunks/{location-services-e07q2w5p.js → wellknown-pcty9z1k.js} +4 -4
- package/dist/chunks/{location-services-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-a9na2z4w.js → wellknown-pn4s4y4c.js} +6 -6
- package/dist/chunks/{location-services-4xehb7nf.js → wellknown-pzkfe5x0.js} +5 -5
- package/dist/chunks/{location-services-jwjt5z3a.js → wellknown-q20nmd4n.js} +15 -15
- package/dist/chunks/{location-services-c2bjkdjj.js → wellknown-q3ad5c7w.js} +48 -48
- package/dist/chunks/{location-services-hkqavxqx.js → wellknown-qjvsamy4.js} +16 -16
- package/dist/chunks/{location-services-7q3v9td2.js → wellknown-qm9h9mp9.js} +34 -34
- package/dist/chunks/{location-services-jwg5v617.js → wellknown-qs55qetw.js} +45 -45
- package/dist/chunks/{location-services-73mjnqkv.js → wellknown-qvgvy65b.js} +18 -18
- package/dist/chunks/{location-services-d006wmt7.js → wellknown-qygkcgq9.js} +18 -18
- package/dist/chunks/{location-services-qyq8h28g.js → wellknown-qyq8h28g.js} +1 -1
- package/dist/chunks/{location-services-r0yr0wbs.js → wellknown-r0yr0wbs.js} +1 -1
- package/dist/chunks/{location-services-zgd8t41s.js → wellknown-r4j0x99n.js} +9 -9
- package/dist/chunks/{location-services-dd1vqc3f.js → wellknown-r4xy8r2x.js} +3 -3
- package/dist/chunks/{location-services-r542h3bh.js → wellknown-r542h3bh.js} +1 -1
- package/dist/chunks/{location-services-dvm857vb.js → wellknown-r7d9k64k.js} +14 -14
- package/dist/chunks/{location-services-jd10xym8.js → wellknown-r7zj6swj.js} +17 -17
- package/dist/chunks/{location-services-8e60wtf7.js → wellknown-r8gmb6ja.js} +32 -32
- package/dist/chunks/{location-services-cpbxd4gf.js → wellknown-raar1tr0.js} +21 -21
- package/dist/chunks/{location-services-rb9dy4dg.js → wellknown-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-services-v8q01xw4.js → wellknown-re5ktyaw.js} +17 -17
- package/dist/chunks/{location-services-rt5dr6hb.js → wellknown-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-services-mr0ga9ap.js → wellknown-rvfe4c4n.js} +61 -61
- package/dist/chunks/{location-services-gkp4zd0c.js → wellknown-rvfr9vga.js} +23 -23
- package/dist/chunks/{location-services-mqcadzqw.js → wellknown-s1cekj41.js} +5 -5
- package/dist/chunks/{location-services-w0vcdtw5.js → wellknown-s3r5059z.js} +3 -3
- package/dist/chunks/{location-services-ftaew5rm.js → wellknown-s628fknw.js} +18 -18
- package/dist/chunks/{location-services-mmx1mfjr.js → wellknown-s7kyse9r.js} +4 -4
- package/dist/chunks/{location-services-sa3fpqfw.js → wellknown-sa3fpqfw.js} +2 -2
- package/dist/chunks/{location-services-ndphpag7.js → wellknown-sc88fr6t.js} +85 -85
- package/dist/chunks/{location-services-sqjzf8x2.js → wellknown-sqjzf8x2.js} +1 -1
- package/dist/chunks/{location-services-h488c7y5.js → wellknown-st8krgpp.js} +1 -1
- package/dist/chunks/{location-services-wbnwkwkc.js → wellknown-sywx5ch4.js} +18 -18
- package/dist/chunks/{location-services-3bkdny4k.js → wellknown-t4tbkrf8.js} +4 -4
- package/dist/chunks/{location-services-8ywtscb8.js → wellknown-tc2fjs0q.js} +21 -21
- package/dist/chunks/{location-services-tczq8hjw.js → wellknown-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-services-2ndatbyk.js → wellknown-tg1faeg1.js} +4 -4
- package/dist/chunks/{location-services-z87ekydq.js → wellknown-th2mck51.js} +4 -4
- package/dist/chunks/{location-services-a7jnfq8g.js → wellknown-tn848rrw.js} +26 -26
- package/dist/chunks/{location-services-twv2r8f4.js → wellknown-twv2r8f4.js} +2 -2
- package/dist/chunks/{location-services-31f92er7.js → wellknown-v0qayegz.js} +5 -5
- package/dist/chunks/{location-services-v2r1d0zg.js → wellknown-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-services-bkzfyq7t.js → wellknown-v88sttv7.js} +5 -5
- package/dist/chunks/{location-services-h097nhc1.js → wellknown-v8vd993n.js} +8 -8
- package/dist/chunks/{location-services-ak39xwrx.js → wellknown-vbz0455n.js} +4 -4
- package/dist/chunks/{location-services-03efvwc7.js → wellknown-vd9xew0h.js} +12 -12
- package/dist/chunks/{location-services-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-ef4g51zk.js → wellknown-vfh5pds2.js} +28 -28
- package/dist/chunks/{location-services-k4hacpf1.js → wellknown-vqetfe9x.js} +22 -22
- package/dist/chunks/{location-services-nvxqht09.js → wellknown-vx3jgdek.js} +3 -3
- package/dist/chunks/{location-services-97p996b3.js → wellknown-vz3qh32f.js} +11 -11
- package/dist/chunks/{location-services-40za9wsf.js → wellknown-w2eysc6j.js} +9 -9
- package/dist/chunks/{location-services-rddcemm9.js → wellknown-w37ebxnm.js} +18 -18
- package/dist/chunks/{location-services-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-fznmdakp.js → wellknown-w687dnns.js} +4 -4
- package/dist/chunks/{location-services-wakvkjy4.js → wellknown-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-services-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-zdxh8aba.js → wellknown-wpat31dz.js} +9 -9
- package/dist/chunks/{location-services-cbtkqwrv.js → wellknown-wqkjx7xa.js} +4 -4
- package/dist/chunks/{location-services-1bfj8692.js → wellknown-x3tp9s56.js} +30 -30
- package/dist/chunks/{location-services-bjqns1ae.js → wellknown-x672a2sz.js} +36 -36
- package/dist/chunks/{location-services-hz7f4e5w.js → wellknown-x6nhbpr0.js} +11 -11
- package/dist/chunks/{location-services-7ye3a43r.js → wellknown-xbrh20yc.js} +3 -3
- package/dist/chunks/{location-services-bstexjd6.js → wellknown-xd9cc171.js} +5 -5
- package/dist/chunks/{location-services-c7stz04q.js → wellknown-xpx1x0k9.js} +11 -11
- package/dist/chunks/{location-services-60aw2bkc.js → wellknown-xxyggyxp.js} +3 -3
- package/dist/chunks/{location-services-yara3q77.js → wellknown-yara3q77.js} +2 -2
- package/dist/chunks/{location-services-yb20nhc3.js → wellknown-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-services-0vfaxtry.js → wellknown-yb55mf1t.js} +11 -11
- package/dist/chunks/{location-services-jksnk9rk.js → wellknown-yggp67jp.js} +3 -3
- package/dist/chunks/{location-services-c41efnpa.js → wellknown-ygnecc8e.js} +21 -21
- package/dist/chunks/{location-services-jneg3k74.js → wellknown-ynrq1a8k.js} +4 -4
- package/dist/chunks/{location-services-c3jwnccm.js → wellknown-ypcd9hjg.js} +41 -41
- package/dist/chunks/{location-services-a9jjybfd.js → wellknown-ytyh44cs.js} +40 -40
- package/dist/chunks/{location-services-551jtzns.js → wellknown-yxwax74y.js} +1 -1
- package/dist/chunks/{location-services-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-z38nccrw.js → wellknown-z38nccrw.js} +1 -1
- package/dist/chunks/{location-services-cyrt625k.js → wellknown-zazabn4c.js} +20 -20
- package/dist/chunks/{location-services-jz71nhx8.js → wellknown-zk5epnn9.js} +14 -14
- package/dist/chunks/{location-services-zkg84ctx.js → wellknown-zkg84ctx.js} +1 -1
- package/dist/chunks/{location-services-h7zf0bn5.js → wellknown-zrhefhqa.js} +15 -15
- package/dist/chunks/{location-services-d29cpj0c.js → wellknown-zs0kvcha.js} +14 -14
- package/dist/chunks/{location-services-q5vr2yry.js → wellknown-ztj4x7fg.js} +2 -2
- package/dist/chunks/{location-services-s626qfae.js → wellknown-zzdv5d93.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +72 -72
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +377 -377
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +140 -140
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +83 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +112 -112
- package/dist/form.js +90 -90
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- package/dist/git.js +11 -11
- 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 +107 -107
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +370 -370
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +369 -369
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +103 -103
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +141 -141
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +94 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +104 -104
- package/dist/plugin/module.js +121 -121
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode-legacy.js +108 -108
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -178
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +359 -359
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +232 -232
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +98 -98
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -104
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +148 -148
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +132 -132
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +134 -134
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +106 -106
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +141 -141
- package/dist/skill.js +146 -146
- package/dist/snapshot.js +99 -99
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +165 -165
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +154 -154
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +145 -145
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +159 -159
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +143 -143
- package/dist/tool/plugin/webfetch.js +149 -149
- package/dist/tool/plugin/websearch.js +143 -143
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +92 -92
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/location-services-00ve6mdn.js +0 -18
- package/dist/chunks/location-services-f5hd4pmz.js +0 -26
- package/dist/chunks/location-services-hcg6ehd2.js +0 -517
- package/dist/chunks/location-services-re7afsx4.js +0 -257
- /package/dist/chunks/{location-services-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2bv980vf.js → wellknown-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4m86bj6y.js → wellknown-4m86bj6y.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5fjb7ams.js → wellknown-5fjb7ams.js} +0 -0
- /package/dist/chunks/{location-services-5w3e23ze.js → wellknown-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a058387c.js → wellknown-a058387c.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cqv5kn06.js → wellknown-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e3qxr5gk.js → wellknown-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fkpq3x5p.js → wellknown-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hcxmzztb.js → wellknown-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jwr30sdr.js → wellknown-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-services-jze0r7bz.js → wellknown-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-m18g726c.js → wellknown-m18g726c.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wjj7prxr.js → wellknown-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./wellknown-mf0v837q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service20,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-7mw0cghr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service44
|
|
11
|
+
} from "./wellknown-jp8a8b92.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service68
|
|
14
|
+
} from "./wellknown-bpxs7mfy.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service14
|
|
17
|
+
} from "./wellknown-sywx5ch4.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input3,
|
|
29
|
+
Output: () => Output3,
|
|
30
|
+
Plugin: () => Plugin3,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name3,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name3 = "write";
|
|
39
|
+
var Input3 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output3 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin3 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service14;
|
|
56
|
+
const fileMutation = yield* Service20;
|
|
57
|
+
const environment = yield* Service53;
|
|
58
|
+
const formatter = yield* Service44;
|
|
59
|
+
const permission = yield* Service68;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name3,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input3,
|
|
69
|
+
output: Output3,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name3, Input3, Output3, toModelContent2, Plugin3, exports_write };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node82
|
|
7
|
+
} from "./wellknown-vd9xew0h.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-xd9cc171.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service81,
|
|
16
16
|
node84
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-3smjkenw.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service41,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node44,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service41 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,27 +101,27 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service79;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service81;
|
|
110
|
+
return Service41.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
124
|
-
const originReference = origin ?
|
|
124
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
125
125
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
126
126
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
127
127
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -169,10 +169,10 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
169
169
|
})
|
|
170
170
|
});
|
|
171
171
|
}));
|
|
172
|
-
var
|
|
173
|
-
service:
|
|
172
|
+
var node44 = makeGlobalNode({
|
|
173
|
+
service: Service41,
|
|
174
174
|
layer,
|
|
175
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
175
|
+
deps: [EffectFlock.node, FSUtil.node, node82, Global.node, node84]
|
|
176
176
|
});
|
|
177
177
|
function errorMessage(error) {
|
|
178
178
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -181,4 +181,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
181
181
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
184
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service41, isError2, validateBranch2, node44, exports_repository_cache };
|
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-r4xy8r2x.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
7
|
node90
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-vbz0455n.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-204s3925.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID10,
|
|
14
|
+
Service71,
|
|
15
|
+
node74
|
|
16
|
+
} from "./wellknown-9a6vztyr.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-p015t6z3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service75,
|
|
22
|
+
node78
|
|
23
|
+
} from "./wellknown-j6r5fkgb.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./wellknown-8wtp7s3z.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./wellknown-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
kept2,
|
|
32
32
|
messageToText2,
|
|
33
33
|
serializeToolContent2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./wellknown-v2r1d0zg.js";
|
|
35
35
|
import {
|
|
36
36
|
isNativeCompaction2,
|
|
37
37
|
load4
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./wellknown-wpat31dz.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./wellknown-f4yrsbs8.js";
|
|
42
42
|
import {
|
|
43
43
|
outputLimit2,
|
|
44
44
|
baseTranscript2,
|
|
45
45
|
unsupportedParts2,
|
|
46
46
|
boundImages2,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service31,
|
|
48
|
+
node35
|
|
49
|
+
} from "./wellknown-x3tp9s56.js";
|
|
50
50
|
import {
|
|
51
51
|
Service60,
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
52
|
+
node63
|
|
53
|
+
} from "./wellknown-jrkj4q7h.js";
|
|
54
54
|
import {
|
|
55
55
|
isRetryable2,
|
|
56
56
|
policy2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./wellknown-djjzzs3c.js";
|
|
58
58
|
import {
|
|
59
59
|
toSessionError2,
|
|
60
60
|
contentFilterError2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./wellknown-v88sttv7.js";
|
|
62
62
|
import {
|
|
63
63
|
calculateCost2,
|
|
64
64
|
record2,
|
|
65
65
|
add2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./wellknown-r542h3bh.js";
|
|
67
67
|
import {
|
|
68
68
|
__export
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
70
70
|
|
|
71
71
|
// src/session/compaction.ts
|
|
72
72
|
var exports_compaction2 = {};
|
|
73
73
|
__export(exports_compaction2, {
|
|
74
|
-
Service: () =>
|
|
74
|
+
Service: () => Service11,
|
|
75
75
|
SessionCompaction: () => exports_compaction2,
|
|
76
76
|
buildPrompt: () => buildPrompt2,
|
|
77
77
|
estimateContext: () => estimateContext2,
|
|
78
78
|
estimatePrompt: () => estimatePrompt2,
|
|
79
|
-
layer: () =>
|
|
80
|
-
node: () =>
|
|
79
|
+
layer: () => layer8,
|
|
80
|
+
node: () => node13,
|
|
81
81
|
recentUserMessages: () => recentUserMessages2
|
|
82
82
|
});
|
|
83
83
|
import {
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
} from "@opencode/ai/effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
95
|
import { Context, Effect, Exit, Fiber, Layer, Result, Scope, Stream } from "effect";
|
|
96
|
-
class
|
|
96
|
+
class Service11 extends Context.Service()("@opencode/SessionCompaction") {
|
|
97
97
|
}
|
|
98
98
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
99
99
|
var SHRINK_STEPS = [0.85, 0.7, 0.5, 0.35];
|
|
@@ -184,14 +184,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
184
184
|
};
|
|
185
185
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
186
186
|
var LEGACY_HEADING = "## Additional Context";
|
|
187
|
-
var
|
|
188
|
-
const agents = yield*
|
|
187
|
+
var layer8 = Layer.effect(Service11, Effect.gen(function* () {
|
|
188
|
+
const agents = yield* Service71;
|
|
189
189
|
const bus = yield* Service86;
|
|
190
190
|
const llm = yield* LLMClient.Service;
|
|
191
|
-
const catalog = yield*
|
|
191
|
+
const catalog = yield* Service75;
|
|
192
192
|
const models = yield* Service60;
|
|
193
193
|
const db = (yield* Service87).db;
|
|
194
|
-
const requests = yield*
|
|
194
|
+
const requests = yield* Service31;
|
|
195
195
|
const scope = yield* Scope.Scope;
|
|
196
196
|
const precomputed = new Map;
|
|
197
197
|
const state = create3({
|
|
@@ -204,7 +204,7 @@ var layer7 = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
204
204
|
})
|
|
205
205
|
});
|
|
206
206
|
const selectModel = Effect.fnUntraced(function* (context, buffer, native) {
|
|
207
|
-
const agent = native ? undefined : yield* agents.get(
|
|
207
|
+
const agent = native ? undefined : yield* agents.get(ID10.make("compaction"));
|
|
208
208
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
209
209
|
return;
|
|
210
210
|
})))) ?? context.model;
|
|
@@ -574,17 +574,17 @@ var layer7 = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
574
574
|
}, { metadata: outcome.metadata });
|
|
575
575
|
return { status: "completed" };
|
|
576
576
|
});
|
|
577
|
-
return
|
|
577
|
+
return Service11.of({
|
|
578
578
|
transform: state.transform,
|
|
579
579
|
reload: state.reload,
|
|
580
580
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id)))),
|
|
581
581
|
precompute
|
|
582
582
|
});
|
|
583
583
|
}));
|
|
584
|
-
var
|
|
585
|
-
service:
|
|
586
|
-
layer:
|
|
587
|
-
deps: [
|
|
584
|
+
var node13 = makeLocationNode({
|
|
585
|
+
service: Service11,
|
|
586
|
+
layer: layer8,
|
|
587
|
+
deps: [node74, node90, node91, llmClient2, node78, node35, node63]
|
|
588
588
|
});
|
|
589
589
|
var heldIndex = (held, context) => {
|
|
590
590
|
if (held.firstID !== context.messages[0]?.id || held.initial !== context.initial)
|
|
@@ -771,4 +771,4 @@ var estimateMedia = (mime) => {
|
|
|
771
771
|
return 0;
|
|
772
772
|
};
|
|
773
773
|
|
|
774
|
-
export {
|
|
774
|
+
export { Service11, buildPrompt2, layer8, node13, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID6,
|
|
6
|
+
Service43
|
|
7
|
+
} from "./wellknown-r8gmb6ja.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-vx3jgdek.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-ad0mv7as.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-gg8p9cgs.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service43;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID6.make(from),
|
|
91
|
+
to: ID6.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-vx3jgdek.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-r4xy8r2x.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-vbz0455n.js";
|
|
7
7
|
import {
|
|
8
8
|
Service61
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-528sb9yh.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service43
|
|
15
|
+
} from "./wellknown-r8gmb6ja.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
MessageNotFoundError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./wellknown-ad0mv7as.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionMessageTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./wellknown-gg8p9cgs.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeMessageRowSync2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./wellknown-wpat31dz.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/session/revert.ts
|
|
33
33
|
var exports_revert = {};
|
|
@@ -44,7 +44,7 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
44
44
|
const database = yield* Service87;
|
|
45
45
|
const bus = yield* Service86;
|
|
46
46
|
return yield* Effect.gen(function* () {
|
|
47
|
-
const snapshot = yield*
|
|
47
|
+
const snapshot = yield* Service43;
|
|
48
48
|
const original = input.session.revert?.snapshot ?? (yield* snapshot.capture());
|
|
49
49
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
50
50
|
const restore = new Map;
|
|
@@ -75,7 +75,7 @@ var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
|
75
75
|
const instances = yield* Service61;
|
|
76
76
|
const bus = yield* Service86;
|
|
77
77
|
yield* Effect.gen(function* () {
|
|
78
|
-
const snapshot = yield*
|
|
78
|
+
const snapshot = yield* Service43;
|
|
79
79
|
if (!session.revert)
|
|
80
80
|
return;
|
|
81
81
|
const original = session.revert.snapshot;
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./wellknown-bpxs7mfy.js";
|
|
4
4
|
import {
|
|
5
5
|
ID4,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service37
|
|
10
|
+
} from "./wellknown-61cq9mz9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input4,
|
|
19
|
+
Output: () => Output4,
|
|
20
|
+
Plugin: () => Plugin4,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name4,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var name4 = "skill";
|
|
30
|
+
var Input4 = Schema.Struct({
|
|
31
31
|
id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output4 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin4 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service37;
|
|
51
|
+
const permission = yield* Service68;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name4,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input4,
|
|
57
|
+
output: Output4,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name4,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin44 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name4, Input4, Output4, description3, toModelOutput2, Plugin4, exports_skill };
|