@opencode/core 0.0.0-dev-1303 → 0.0.0-dev-1304
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 +98 -98
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +113 -113
- package/dist/app.js +9 -9
- package/dist/artifact.js +251 -251
- package/dist/automation/author.js +1 -1
- package/dist/automation/code.js +253 -253
- package/dist/automation/event.js +176 -176
- package/dist/automation/sql.js +2 -2
- package/dist/automation.js +278 -278
- package/dist/blob-store.js +2 -2
- package/dist/bus.js +88 -88
- package/dist/chunks/{kv-pyggptpk.js → agent-04fajdqj.js} +12 -12
- package/dist/chunks/{kv-jejkrfr6.js → agent-0530eq40.js} +43 -43
- package/dist/chunks/{kv-nb4v59dv.js → agent-05w4ga2w.js} +4 -4
- package/dist/chunks/{kv-7thavj9b.js → agent-06ykq5z2.js} +45 -33
- package/dist/chunks/{kv-j7bp1pdt.js → agent-08v7z8bj.js} +4 -4
- package/dist/chunks/{kv-c6x7d2ts.js → agent-0ahs07zn.js} +4 -4
- package/dist/chunks/{kv-rmndch7j.js → agent-0b9mty7m.js} +2 -2
- package/dist/chunks/{kv-20hqj4k3.js → agent-0dsw14q8.js} +15 -15
- package/dist/chunks/{kv-1g04vhd8.js → agent-0dz39z72.js} +4 -4
- package/dist/chunks/{kv-3bmnaxyc.js → agent-0ec20qee.js} +16 -16
- package/dist/chunks/{kv-24zevk2w.js → agent-0ffdtcq5.js} +23 -23
- package/dist/chunks/{kv-y8zmq1t1.js → agent-0jjrb0ke.js} +7 -7
- package/dist/chunks/{kv-fhpjwfje.js → agent-0mdjz42h.js} +11 -11
- package/dist/chunks/{kv-v65m2ca1.js → agent-0q46rqwx.js} +48 -48
- package/dist/chunks/{kv-c7gnb2n3.js → agent-11redtgb.js} +5 -5
- package/dist/chunks/{kv-3x29nvss.js → agent-15regmsb.js} +12 -12
- package/dist/chunks/{kv-z158rv65.js → agent-17j0sag7.js} +5 -5
- package/dist/chunks/{kv-1aqsckx4.js → agent-1aqsckx4.js} +1 -1
- package/dist/chunks/{kv-1ejtr7h4.js → agent-1d0yr24s.js} +4 -4
- package/dist/chunks/{kv-59772n56.js → agent-1d2zqwjp.js} +22 -22
- package/dist/chunks/{kv-msfhvgcv.js → agent-1j7tq5a6.js} +32 -32
- package/dist/chunks/{kv-yyje6nb4.js → agent-1jmn031k.js} +15 -15
- package/dist/chunks/{kv-r6zda1b5.js → agent-1td1djk5.js} +6 -6
- package/dist/chunks/{kv-r1jdstg5.js → agent-1v2g13eq.js} +7 -7
- package/dist/chunks/{kv-hcqerx3g.js → agent-1wpmn9m7.js} +8 -8
- package/dist/chunks/{kv-qcfv6ntq.js → agent-1wz10em7.js} +10 -10
- package/dist/chunks/{kv-1x2knyw4.js → agent-1x2knyw4.js} +1 -1
- package/dist/chunks/{kv-1yq9hg58.js → agent-1yq9hg58.js} +1 -1
- package/dist/chunks/{kv-qh5g3qaw.js → agent-1z0pgt0q.js} +9 -9
- package/dist/chunks/{kv-bf2f7yk6.js → agent-20yp7gk5.js} +12 -12
- package/dist/chunks/{kv-27w5k9zf.js → agent-27w5k9zf.js} +2 -2
- package/dist/chunks/{kv-6hfjme7p.js → agent-29ayx81v.js} +25 -25
- package/dist/chunks/{kv-81ps7d1w.js → agent-29v8pb2h.js} +16 -16
- package/dist/chunks/{kv-ydy0v599.js → agent-2e0m3n9n.js} +20 -20
- package/dist/chunks/{kv-2fc7eemy.js → agent-2fc7eemy.js} +1 -1
- package/dist/chunks/{kv-2p60zmnr.js → agent-2p60zmnr.js} +2 -2
- package/dist/chunks/{kv-5whx36p1.js → agent-2ytp0tvq.js} +4 -4
- package/dist/chunks/{kv-qe33hep7.js → agent-309pzwnx.js} +3 -3
- package/dist/chunks/{kv-erkq5agg.js → agent-3927y936.js} +7 -7
- package/dist/chunks/{kv-3cbjf1nt.js → agent-3cbjf1nt.js} +2 -2
- package/dist/chunks/{kv-1pq8tbvn.js → agent-3g0rxa6p.js} +38 -38
- package/dist/chunks/{kv-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-3nnrz6f6.js → agent-3nnrz6f6.js} +1 -1
- package/dist/chunks/{kv-2aq026nw.js → agent-3sav89fh.js} +8 -8
- package/dist/chunks/{kv-ax6392a7.js → agent-3zpws3sd.js} +59 -59
- package/dist/chunks/{kv-40y6dtc2.js → agent-40y6dtc2.js} +1 -1
- package/dist/chunks/{kv-w2eysc6j.js → agent-40za9wsf.js} +9 -9
- package/dist/chunks/{kv-yv3007f3.js → agent-445gba7t.js} +19 -19
- package/dist/chunks/{kv-44pmzq9c.js → agent-44pmzq9c.js} +2 -2
- package/dist/chunks/{kv-qn8dt23a.js → agent-48ajpjvk.js} +7 -7
- package/dist/chunks/{kv-0teqnzd0.js → agent-4dwkr115.js} +17 -17
- package/dist/chunks/{kv-4dx1dgte.js → agent-4dx1dgte.js} +1 -1
- package/dist/chunks/{kv-4f25tdd0.js → agent-4f25tdd0.js} +1 -1
- package/dist/chunks/{kv-8n09hdvs.js → agent-4ffhv9d7.js} +8 -8
- package/dist/chunks/{kv-c44e6bah.js → agent-4hxeqesr.js} +13 -13
- package/dist/chunks/{kv-3kan3253.js → agent-4ka47be3.js} +46 -46
- package/dist/chunks/{kv-p2wfpb02.js → agent-4kz1tm6e.js} +46 -46
- package/dist/chunks/{kv-q1417nbe.js → agent-4sx2e7fw.js} +16 -16
- package/dist/chunks/{kv-4v008n1t.js → agent-4v008n1t.js} +1 -1
- package/dist/chunks/{kv-c7f52e0g.js → agent-50mb1xfk.js} +18 -18
- package/dist/chunks/{kv-7z46m020.js → agent-571cvnkm.js} +8 -8
- package/dist/chunks/{kv-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
- package/dist/chunks/{kv-wjb3ddps.js → agent-5ndnnemj.js} +29 -17
- package/dist/chunks/{kv-6ys1gdrg.js → agent-5pf15zdx.js} +14 -14
- package/dist/chunks/{kv-e0nd6rg0.js → agent-5yydhn6j.js} +11 -11
- package/dist/chunks/{kv-rkeadgzb.js → agent-655pzq12.js} +30 -30
- package/dist/chunks/{kv-7yhd38tj.js → agent-6gb43f47.js} +9 -9
- package/dist/chunks/{kv-6htrram7.js → agent-6htrram7.js} +1 -1
- package/dist/chunks/{kv-3gxggk38.js → agent-6n353jqd.js} +7 -7
- package/dist/chunks/{kv-0kydcfz9.js → agent-6paez0w0.js} +10 -10
- package/dist/chunks/{kv-wntybzt4.js → agent-74895h1t.js} +16 -16
- package/dist/chunks/{kv-775hqbnd.js → agent-775hqbnd.js} +3 -3
- package/dist/chunks/{kv-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-a48fafj2.js → agent-7g6xz709.js} +24 -24
- package/dist/chunks/{kv-30ea14mc.js → agent-7h7tvtg0.js} +2 -2
- package/dist/chunks/{kv-4p2gw26b.js → agent-7jxmzdbt.js} +61 -61
- package/dist/chunks/{kv-7nyex9j3.js → agent-7nyex9j3.js} +1 -1
- package/dist/chunks/{kv-g7y2n5j6.js → agent-7nz2hxzh.js} +18 -18
- package/dist/chunks/{kv-7qrph824.js → agent-7qrph824.js} +2 -2
- package/dist/chunks/{kv-7tx5zndv.js → agent-7tx5zndv.js} +2 -2
- package/dist/chunks/{kv-7w2ypzdf.js → agent-7w2ypzdf.js} +1 -1
- package/dist/chunks/{kv-7weczvnd.js → agent-7weczvnd.js} +1 -1
- package/dist/chunks/{kv-g4mtzkv4.js → agent-7yhqj3pz.js} +5 -5
- package/dist/chunks/{kv-xacrkbdt.js → agent-7zs4mqwf.js} +4 -4
- package/dist/chunks/{kv-80pdk984.js → agent-80pdk984.js} +1 -1
- package/dist/chunks/{kv-mq6b5yh2.js → agent-83vbk54f.js} +21 -21
- package/dist/chunks/{kv-2prt43t7.js → agent-84394vcr.js} +4 -4
- package/dist/chunks/{kv-8941y74r.js → agent-8941y74r.js} +1 -1
- package/dist/chunks/{kv-x35sjxza.js → agent-8979z7k6.js} +19 -19
- package/dist/chunks/{kv-8b3vzgkx.js → agent-8b3vzgkx.js} +1 -1
- package/dist/chunks/{kv-9701bcc6.js → agent-8h2ej0b1.js} +8 -8
- package/dist/chunks/{kv-y5j8q6c1.js → agent-8hv1w2q0.js} +5 -5
- package/dist/chunks/{kv-8kjyvwy5.js → agent-8kjyvwy5.js} +1 -1
- package/dist/chunks/agent-8qb74b9q.js +273 -0
- package/dist/chunks/{kv-8wtp7s3z.js → agent-8wtp7s3z.js} +1 -1
- package/dist/chunks/{kv-d2489j3c.js → agent-8y73tjhh.js} +24 -24
- package/dist/chunks/{kv-8z6m94af.js → agent-8z6m94af.js} +3 -3
- package/dist/chunks/{kv-add1xb2e.js → agent-92yrdybt.js} +48 -48
- package/dist/chunks/{kv-mjytks70.js → agent-9a5fvh1r.js} +5 -5
- package/dist/chunks/{kv-00tzm6xw.js → agent-9g3vqnsq.js} +11 -11
- package/dist/chunks/{kv-e15szdrk.js → agent-9tjnf064.js} +18 -18
- package/dist/chunks/{kv-gfqds7mv.js → agent-9y4spy5f.js} +5 -5
- package/dist/chunks/{kv-mxy2szk9.js → agent-a1wqzqah.js} +27 -27
- package/dist/chunks/{kv-sdmaa8bc.js → agent-a2fatke9.js} +14 -14
- package/dist/chunks/{kv-cca5m9z6.js → agent-a2sxeffk.js} +36 -36
- package/dist/chunks/{kv-ggv6hgz1.js → agent-a2wb1tkx.js} +21 -21
- package/dist/chunks/{kv-xz07m27x.js → agent-a5fx33f2.js} +6 -6
- package/dist/chunks/{kv-2g4bkg32.js → agent-a5w9arv1.js} +32 -32
- package/dist/chunks/agent-a610t88q.js +18 -0
- package/dist/chunks/{kv-sgk9xd0s.js → agent-aaz4cj6b.js} +4 -4
- package/dist/chunks/{kv-qgv5rjzj.js → agent-adn3snfx.js} +11 -11
- package/dist/chunks/{kv-ra6js1h8.js → agent-aedwt843.js} +8 -8
- package/dist/chunks/{kv-wm0yff3r.js → agent-ag6d02bt.js} +16 -16
- package/dist/chunks/{kv-jahxfc61.js → agent-agy7b3sy.js} +9 -9
- package/dist/chunks/{kv-aj7mw0zk.js → agent-aj7mw0zk.js} +2 -2
- package/dist/chunks/{kv-8dvytzcm.js → agent-akb8raa5.js} +1 -1
- package/dist/chunks/{kv-xtcdfh0v.js → agent-apz1f5zp.js} +16 -16
- package/dist/chunks/{kv-b26ddj6h.js → agent-b26ddj6h.js} +4 -4
- package/dist/chunks/{kv-v1fd0cf5.js → agent-b2n0c38s.js} +25 -25
- package/dist/chunks/{kv-y3x7d2xy.js → agent-b367ak8d.js} +60 -60
- package/dist/chunks/{kv-jxptprqb.js → agent-b393wgdg.js} +28 -28
- package/dist/chunks/{kv-1gfy578a.js → agent-b94p98dq.js} +17 -17
- package/dist/chunks/{kv-8vyjrf13.js → agent-bb6rrsca.js} +13 -13
- package/dist/chunks/{kv-7mrn7fvc.js → agent-bd0r73s7.js} +7 -7
- package/dist/chunks/{kv-s26c8eb5.js → agent-bhfd478d.js} +4 -4
- package/dist/chunks/{kv-fzfp3wte.js → agent-bkwbet0y.js} +8 -8
- package/dist/chunks/{kv-bstexjd6.js → agent-bstexjd6.js} +1 -1
- package/dist/chunks/{kv-17pyycjv.js → agent-btzqrf9b.js} +33 -33
- package/dist/chunks/{kv-7a5z647h.js → agent-bwjq8fzj.js} +190 -190
- package/dist/chunks/{kv-6kkt6s6t.js → agent-c0j2sa5e.js} +2 -2
- package/dist/chunks/{kv-mh2ew01a.js → agent-c30cfv1w.js} +20 -20
- package/dist/chunks/{kv-36vr8jr4.js → agent-c4jyb0v5.js} +376 -376
- package/dist/chunks/{kv-0ttd0zyz.js → agent-c644s9pr.js} +7 -7
- package/dist/chunks/{kv-13frzz0a.js → agent-cd7zhx46.js} +12 -12
- package/dist/chunks/{kv-847pzpny.js → agent-cdxa2cxa.js} +8 -8
- package/dist/chunks/{kv-v1m78xry.js → agent-cm7n74dm.js} +21 -21
- package/dist/chunks/{kv-g5s57n5k.js → agent-crxg8exg.js} +17 -17
- package/dist/chunks/{kv-7hbxrf6d.js → agent-ctkps59g.js} +24 -24
- package/dist/chunks/{kv-cwrgdav8.js → agent-cwrgdav8.js} +2 -2
- package/dist/chunks/{kv-hemrfdk1.js → agent-d02dcv5p.js} +5 -5
- package/dist/chunks/{kv-t7tpmj8g.js → agent-d451dpvw.js} +9 -9
- package/dist/chunks/{kv-73ff1310.js → agent-dbatw319.js} +3 -3
- package/dist/chunks/{kv-n3vp8sgp.js → agent-dcfdhzpb.js} +9 -9
- package/dist/chunks/{kv-4m2p2a0k.js → agent-djtf5qa2.js} +11 -11
- package/dist/chunks/{kv-3ps7xdxk.js → agent-drprcrry.js} +100 -100
- package/dist/chunks/{kv-hg6bg7ha.js → agent-drx64fgy.js} +9 -9
- package/dist/chunks/{kv-dt77769w.js → agent-dt77769w.js} +1 -1
- package/dist/chunks/{kv-4kj9j49e.js → agent-dtj0z8x8.js} +37 -37
- package/dist/chunks/{kv-tzzb6epd.js → agent-dtk42svh.js} +22 -22
- package/dist/chunks/{kv-eqh8p3bz.js → agent-ecfmb08c.js} +32 -32
- package/dist/chunks/{kv-r5ehdvyw.js → agent-edv6f1wv.js} +12 -12
- package/dist/chunks/{kv-xxqf4syv.js → agent-efk7s7sa.js} +14 -14
- package/dist/chunks/{kv-crrcr980.js → agent-ejgeqqx1.js} +8 -8
- package/dist/chunks/{kv-6qqegjhz.js → agent-enacha6x.js} +78 -78
- package/dist/chunks/{kv-7br8cs8k.js → agent-epfzjhg8.js} +8 -8
- package/dist/chunks/{kv-nr2q5j0e.js → agent-eq4b93tv.js} +20 -20
- package/dist/chunks/{kv-eqw4pqj1.js → agent-eqw4pqj1.js} +2 -2
- package/dist/chunks/{kv-p5jwrm42.js → agent-f2zjpyt5.js} +7 -7
- package/dist/chunks/{kv-s84z0f1g.js → agent-f3rc5dss.js} +153 -130
- package/dist/chunks/{kv-n79rj443.js → agent-f7ca49mk.js} +22 -22
- package/dist/chunks/{kv-0ppcj6c9.js → agent-f92henej.js} +23 -23
- package/dist/chunks/{kv-fax097qp.js → agent-fax097qp.js} +1 -1
- package/dist/chunks/agent-fcmxqga5.js +16 -0
- package/dist/chunks/{kv-kj82g1mc.js → agent-ffhyjvtx.js} +20 -20
- package/dist/chunks/{kv-fg9p65nk.js → agent-fg9p65nk.js} +2 -2
- package/dist/chunks/{kv-yh16sd8e.js → agent-fkeddk9e.js} +12 -12
- package/dist/chunks/{kv-55vzvdtq.js → agent-fkxrm049.js} +5 -5
- package/dist/chunks/{kv-ky55b5b1.js → agent-fmjsjtqm.js} +4 -4
- package/dist/chunks/{kv-k10tgd18.js → agent-fmrpmsxb.js} +44 -44
- package/dist/chunks/{kv-npz47rqm.js → agent-fnf6wps5.js} +22 -22
- package/dist/chunks/{kv-2nhf3jg5.js → agent-fpbx1m64.js} +12 -12
- package/dist/chunks/{kv-8e6xmbyz.js → agent-fxjwq0h2.js} +15 -15
- package/dist/chunks/{kv-1yped5qa.js → agent-fznmdakp.js} +4 -4
- package/dist/chunks/{kv-g0wpqbec.js → agent-g0wpqbec.js} +2 -2
- package/dist/chunks/{kv-38aws4xb.js → agent-g5ajqn12.js} +4 -4
- package/dist/chunks/{kv-m9fv6pne.js → agent-g5v39214.js} +12 -12
- package/dist/chunks/{kv-gbjdnr5j.js → agent-gbjdnr5j.js} +2 -2
- package/dist/chunks/{kv-ghrv1g9c.js → agent-ghrv1g9c.js} +1 -1
- package/dist/chunks/{kv-tmw9g4tb.js → agent-gkzndcne.js} +87 -87
- package/dist/chunks/{kv-26wfx3k0.js → agent-gmemj5zs.js} +4 -4
- package/dist/chunks/{kv-gn8tkhbf.js → agent-gn8tkhbf.js} +2 -2
- package/dist/chunks/{kv-vhtmjk4j.js → agent-gs35tg70.js} +30 -30
- package/dist/chunks/{kv-rkd48pdt.js → agent-gwyytpcj.js} +6 -6
- package/dist/chunks/{kv-tg7s7b5t.js → agent-gxs71cxp.js} +4 -4
- package/dist/chunks/{kv-asxnb0pv.js → agent-h2sejkp0.js} +11 -11
- package/dist/chunks/{kv-qevqz9r2.js → agent-hdz1hqzb.js} +13 -13
- package/dist/chunks/{kv-ry0ge97d.js → agent-hezq63h8.js} +19 -19
- package/dist/chunks/{kv-hgzwgvze.js → agent-hgzwgvze.js} +2 -2
- package/dist/chunks/{kv-3yjscghg.js → agent-hmerqwkb.js} +44 -44
- package/dist/chunks/{kv-meegas73.js → agent-hpddawd6.js} +15 -15
- package/dist/chunks/{kv-j8p98whq.js → agent-j04zsy2m.js} +9 -9
- package/dist/chunks/{kv-51606jaj.js → agent-j1jarap2.js} +20 -20
- package/dist/chunks/{kv-46cyj2x1.js → agent-j30azkyg.js} +43 -43
- package/dist/chunks/{kv-sbz8kbvp.js → agent-j3dqek8p.js} +43 -43
- package/dist/chunks/{kv-ht2wk7cc.js → agent-j564pena.js} +5 -5
- package/dist/chunks/{kv-de75hnxe.js → agent-j7attjtt.js} +16 -16
- package/dist/chunks/{kv-j9nxzz3g.js → agent-j9nxzz3g.js} +3 -3
- package/dist/chunks/{kv-55cwygwm.js → agent-jj44gh0q.js} +12 -12
- package/dist/chunks/{kv-4b72pw7k.js → agent-jjzjap5a.js} +5 -5
- package/dist/chunks/{kv-jm70asfg.js → agent-jm70asfg.js} +1 -1
- package/dist/chunks/{kv-ptnj86jt.js → agent-jnxgxh9j.js} +25 -25
- package/dist/chunks/{kv-xm1rq0mn.js → agent-k25mt8kq.js} +6 -6
- package/dist/chunks/{kv-1z88zb8n.js → agent-ka6f2h0d.js} +6 -6
- package/dist/chunks/{kv-19s716gg.js → agent-khkvmh8t.js} +6 -6
- package/dist/chunks/{kv-rdrzgfkv.js → agent-knfecrdw.js} +6 -6
- package/dist/chunks/{kv-kt3bjfbg.js → agent-kt3bjfbg.js} +1 -1
- package/dist/chunks/{kv-kx9bfp0q.js → agent-kx9bfp0q.js} +1 -1
- package/dist/chunks/{kv-knt548a3.js → agent-kz1zzw9h.js} +51 -51
- package/dist/chunks/{kv-kzczzf4v.js → agent-kzczzf4v.js} +1 -1
- package/dist/chunks/{kv-m1714858.js → agent-m1714858.js} +1 -1
- package/dist/chunks/{kv-pd7cqnhq.js → agent-m4p4r8nc.js} +4 -4
- package/dist/chunks/{kv-1gxz6y4w.js → agent-m58gn23h.js} +17 -17
- package/dist/chunks/{kv-fs7shmah.js → agent-m5r0w840.js} +4 -4
- package/dist/chunks/{kv-m90tx7mw.js → agent-m90tx7mw.js} +1 -1
- package/dist/chunks/{kv-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-ax8yhtag.js → agent-ma6hhb70.js} +7 -7
- package/dist/chunks/{kv-0ms5ehz9.js → agent-mkj60w47.js} +6 -6
- package/dist/chunks/{kv-8vx4qrhf.js → agent-mnbayjx7.js} +21 -21
- package/dist/chunks/{kv-kdwqt220.js → agent-mqqnzd3k.js} +7 -7
- package/dist/chunks/{kv-2gvb9fje.js → agent-mr30sr01.js} +27 -27
- package/dist/chunks/{kv-wedtyyk1.js → agent-mt1g1qsz.js} +43 -43
- package/dist/chunks/{kv-3hp8txdd.js → agent-mv207fyf.js} +16 -16
- package/dist/chunks/{kv-mwnxvxbk.js → agent-mwnxvxbk.js} +1 -1
- package/dist/chunks/{kv-1javg6a6.js → agent-mz5b9p0w.js} +24 -24
- package/dist/chunks/{kv-xvn8mnch.js → agent-n320gsn2.js} +4 -4
- package/dist/chunks/{kv-6gk3nd6t.js → agent-nb02c3at.js} +23 -23
- package/dist/chunks/{kv-nqf1t6at.js → agent-ng7rwzqa.js} +31 -31
- package/dist/chunks/{kv-8hfctyyf.js → agent-nn2nd58t.js} +7 -7
- package/dist/chunks/{kv-dnv68ybc.js → agent-nqvckdy6.js} +13 -13
- package/dist/chunks/{kv-h0efcytd.js → agent-nqzxyjvj.js} +8 -8
- package/dist/chunks/{kv-zq44r8xa.js → agent-nxy9hv1f.js} +2 -2
- package/dist/chunks/{kv-cej34jkt.js → agent-ny8fxge9.js} +8 -8
- package/dist/chunks/{kv-cks57a92.js → agent-nyqksx1p.js} +16 -16
- package/dist/chunks/{kv-wmky7ga9.js → agent-p4nfr2dm.js} +19 -19
- package/dist/chunks/{kv-dsyaf5xw.js → agent-p6ywhyg0.js} +25 -25
- package/dist/chunks/agent-p8hkdyjt.js +26 -0
- package/dist/chunks/{kv-185fhfvn.js → agent-part4hga.js} +13 -13
- package/dist/chunks/{kv-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{kv-k6vdhyct.js → agent-pkt93ewt.js} +94 -94
- package/dist/chunks/{kv-fnbzk1j1.js → agent-pnefvb5t.js} +15 -15
- package/dist/chunks/{kv-sc9barax.js → agent-pw2kk39s.js} +9 -9
- package/dist/chunks/{kv-pwn3047h.js → agent-pwn3047h.js} +1 -1
- package/dist/chunks/{kv-5dwfzy4d.js → agent-q14cc18f.js} +22 -22
- package/dist/chunks/{kv-3ce4jg7v.js → agent-q1h5cgmj.js} +37 -37
- package/dist/chunks/{kv-16vz2d4b.js → agent-q79ry0yd.js} +35 -35
- package/dist/chunks/{kv-vmqe41cb.js → agent-qfz6bxfd.js} +4 -4
- package/dist/chunks/{kv-qg1v731t.js → agent-qj7d7yym.js} +25 -25
- package/dist/chunks/{kv-qp7r0hxv.js → agent-qp7r0hxv.js} +1 -1
- package/dist/chunks/{kv-ycbz3dnn.js → agent-qxrvhwe3.js} +5 -5
- package/dist/chunks/{kv-qy2pjnp2.js → agent-qy2pjnp2.js} +2 -2
- package/dist/chunks/{kv-z7fr0zat.js → agent-qywhhnp4.js} +21 -21
- package/dist/chunks/{kv-bbt29rdh.js → agent-r45x9j07.js} +21 -21
- package/dist/chunks/{kv-10a3t29e.js → agent-r46e8bmf.js} +5 -5
- package/dist/chunks/{kv-m89fhqmy.js → agent-r58d7ycw.js} +42 -42
- package/dist/chunks/{kv-gv1w6f34.js → agent-r9nhs7pa.js} +12 -12
- package/dist/chunks/{kv-p5gwzvmh.js → agent-r9pem0rb.js} +35 -35
- package/dist/chunks/{kv-rb9dy4dg.js → agent-rb9dy4dg.js} +1 -1
- package/dist/chunks/{kv-5c76e3at.js → agent-rdcygcx9.js} +4 -4
- package/dist/chunks/{kv-8516k3r6.js → agent-ret9b0xx.js} +11 -11
- package/dist/chunks/{kv-9w3rh193.js → agent-rg7dnbhr.js} +15 -15
- package/dist/chunks/{kv-rgc9cx3e.js → agent-rgc9cx3e.js} +2 -2
- package/dist/chunks/{kv-8zrg1fw9.js → agent-rgxbq2qa.js} +9 -9
- package/dist/chunks/{kv-t9g1gp3v.js → agent-rmwt269d.js} +9 -9
- package/dist/chunks/{kv-x30fmf6m.js → agent-rqzt0a3e.js} +15 -15
- package/dist/chunks/{kv-hhtdndxz.js → agent-rr2bnt13.js} +11 -11
- package/dist/chunks/{kv-vst4jhj4.js → agent-rr3z6cx2.js} +26 -26
- package/dist/chunks/{kv-sc3qvwpm.js → agent-rs9n003d.js} +30 -30
- package/dist/chunks/{kv-nfvp78cg.js → agent-rszdtfps.js} +6 -6
- package/dist/chunks/{kv-0k6yt1dz.js → agent-s0p5x70n.js} +10 -10
- package/dist/chunks/{kv-jq1015qb.js → agent-s468kwp5.js} +48 -36
- package/dist/chunks/{kv-jbca85dn.js → agent-s79v6bct.js} +4 -4
- package/dist/chunks/{kv-sbya78hr.js → agent-sbya78hr.js} +1 -1
- package/dist/chunks/{kv-r7r55277.js → agent-sbzezcpx.js} +8 -8
- package/dist/chunks/{kv-5100te8f.js → agent-shsxmywm.js} +11 -11
- package/dist/chunks/{kv-gsj8sm57.js → agent-srhhkeqm.js} +32 -32
- package/dist/chunks/{kv-svcy3p9a.js → agent-svcy3p9a.js} +1 -1
- package/dist/chunks/{kv-g40w10jc.js → agent-t2kjvgt4.js} +35 -35
- package/dist/chunks/{kv-w0xbbezq.js → agent-t31cnwjf.js} +26 -26
- package/dist/chunks/{kv-tx8rkde6.js → agent-t7qjje2y.js} +29 -29
- package/dist/chunks/{kv-tbpn7jtk.js → agent-tbpn7jtk.js} +1 -1
- package/dist/chunks/{kv-tczq8hjw.js → agent-tczq8hjw.js} +1 -1
- package/dist/chunks/{kv-m9qq2rnd.js → agent-tmtpydby.js} +27 -27
- package/dist/chunks/{kv-sy8930e5.js → agent-tqg4xmq5.js} +8 -8
- package/dist/chunks/{kv-s0g6k4jd.js → agent-tqw97avy.js} +39 -39
- package/dist/chunks/{kv-tr8x705m.js → agent-tr8x705m.js} +1 -1
- package/dist/chunks/{kv-ttz31trp.js → agent-ttz31trp.js} +2 -2
- package/dist/chunks/{kv-tvtps2q9.js → agent-tvtps2q9.js} +1 -1
- package/dist/chunks/{kv-46wcxqjr.js → agent-twghvwpe.js} +11 -11
- package/dist/chunks/{kv-twssxy5n.js → agent-twssxy5n.js} +2 -2
- package/dist/chunks/{kv-pgqxr0th.js → agent-tx91wa5k.js} +4 -4
- package/dist/chunks/{kv-v2r1d0zg.js → agent-v2r1d0zg.js} +1 -1
- package/dist/chunks/{kv-jzxsgdxc.js → agent-v37j3w2p.js} +24 -24
- package/dist/chunks/{kv-vjf35v1f.js → agent-vjf35v1f.js} +1 -1
- package/dist/chunks/{kv-vkvznp20.js → agent-vkvznp20.js} +1 -1
- package/dist/chunks/{kv-3gv0spa2.js → agent-vsnnaxjq.js} +4 -4
- package/dist/chunks/{kv-78qef6gv.js → agent-vtdm4xhp.js} +6 -6
- package/dist/chunks/{kv-eh06c7sq.js → agent-vwe5ehg6.js} +21 -21
- package/dist/chunks/{kv-qhh3wn2d.js → agent-vysrfrjz.js} +3 -3
- package/dist/chunks/{kv-mhewm390.js → agent-vzs8c6pt.js} +18 -18
- package/dist/chunks/{kv-q6ww2xht.js → agent-w1ybpm7j.js} +62 -62
- package/dist/chunks/{kv-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-x92pdtwq.js → agent-w6m917vy.js} +9 -9
- package/dist/chunks/{kv-311p6tcw.js → agent-w9hy9gs1.js} +11 -11
- package/dist/chunks/{kv-wakvkjy4.js → agent-wakvkjy4.js} +1 -1
- package/dist/chunks/{kv-6zxng5nf.js → agent-wc99xccx.js} +8 -8
- package/dist/chunks/{kv-f2txgj6p.js → agent-wca272px.js} +6 -6
- package/dist/chunks/{kv-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{kv-2asq4ef8.js → agent-wda4sf6q.js} +24 -24
- package/dist/chunks/{kv-g77jb6vn.js → agent-wf79e7pn.js} +25 -25
- package/dist/chunks/{kv-289ezx2f.js → agent-wj941e32.js} +13 -13
- package/dist/chunks/{kv-txvnvgf9.js → agent-wkby5xd2.js} +8 -8
- package/dist/chunks/{kv-qycm87ym.js → agent-wrr9v7mg.js} +5 -5
- package/dist/chunks/{kv-6y2b864j.js → agent-wvr8xscb.js} +4 -4
- package/dist/chunks/{kv-hk8v1wv5.js → agent-x3xcmeqw.js} +23 -23
- package/dist/chunks/{kv-xq9t1mz2.js → agent-x75wtqx4.js} +9 -9
- package/dist/chunks/{kv-7zsv86vf.js → agent-xce3spa2.js} +29 -29
- package/dist/chunks/{kv-9rc0yv0w.js → agent-xdjrvd4p.js} +6 -6
- package/dist/chunks/{kv-xxschbft.js → agent-xjr6c8m4.js} +4 -4
- package/dist/chunks/{kv-mbv7zs55.js → agent-xkg6kgtc.js} +18 -18
- package/dist/chunks/{kv-v6t5s56q.js → agent-xp66gvh4.js} +11 -11
- package/dist/chunks/{kv-vqztq9tp.js → agent-xp970c1s.js} +14 -14
- package/dist/chunks/{kv-mzwzwpv6.js → agent-xrk3xsrv.js} +26 -26
- package/dist/chunks/{kv-2yq6mbnm.js → agent-xx8bdxyr.js} +15 -15
- package/dist/chunks/{kv-yg55n2vf.js → agent-y0p2bag7.js} +6 -6
- package/dist/chunks/{kv-ewchtbvw.js → agent-y1havdw8.js} +3 -3
- package/dist/chunks/{kv-s66bhx1d.js → agent-y7nxv0rw.js} +13 -13
- package/dist/chunks/{kv-9tkw2m2d.js → agent-yazpdntm.js} +20 -20
- package/dist/chunks/{kv-yb20nhc3.js → agent-yb20nhc3.js} +1 -1
- package/dist/chunks/{kv-939cjvye.js → agent-ybfe986k.js} +18 -18
- package/dist/chunks/{kv-margppg7.js → agent-yds41vpe.js} +30 -30
- package/dist/chunks/{kv-ppz6xbwf.js → agent-yhc2jsn9.js} +28 -28
- package/dist/chunks/{kv-gn0tfpnn.js → agent-ykergx6e.js} +6 -6
- package/dist/chunks/{kv-h16ez1c0.js → agent-ymheejh4.js} +8 -8
- package/dist/chunks/{kv-yr705xyq.js → agent-yr705xyq.js} +1 -1
- package/dist/chunks/{kv-8xz27cp9.js → agent-yts2a8qm.js} +4 -4
- package/dist/chunks/{kv-j9zgp8qq.js → agent-yvcyaz9r.js} +21 -21
- package/dist/chunks/{kv-f3rpyp76.js → agent-yvmvr4a7.js} +2 -2
- package/dist/chunks/{kv-4vdgf6n8.js → agent-yyd2gf6p.js} +19 -19
- package/dist/chunks/{kv-gdr1zqv9.js → agent-yz34rbrt.js} +10 -10
- package/dist/chunks/{kv-yxey7bg0.js → agent-z0a80kx1.js} +32 -32
- package/dist/chunks/{kv-z0wbgq7s.js → agent-z0wbgq7s.js} +1 -1
- package/dist/chunks/{kv-9b3c658c.js → agent-z2087kk1.js} +39 -39
- package/dist/chunks/{kv-c7fpytwc.js → agent-z2fatdq3.js} +3 -3
- package/dist/chunks/{kv-04qc8z7j.js → agent-z46ak998.js} +3 -3
- package/dist/chunks/{kv-err52nb4.js → agent-z7rjpnbt.js} +16 -16
- package/dist/chunks/{kv-p7g9xddd.js → agent-zeqpmvev.js} +42 -42
- package/dist/chunks/{kv-j9w3gt2p.js → agent-zm73vep2.js} +24 -24
- package/dist/chunks/{kv-9h72qj4f.js → agent-zmt074hm.js} +12 -12
- package/dist/chunks/{kv-jbhqr8z9.js → agent-zy2ff62q.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +154 -154
- package/dist/codemode/instructions.js +6 -6
- package/dist/codemode/tool.js +161 -161
- package/dist/command.js +98 -98
- package/dist/config/discovery.js +99 -99
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +117 -117
- package/dist/config/plugin/agent.js +138 -138
- package/dist/config/plugin/command.js +248 -248
- package/dist/config/plugin/compaction.js +179 -179
- package/dist/config/plugin/compatibility.js +159 -159
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +136 -136
- package/dist/config/plugin/image.js +135 -135
- package/dist/config/plugin/instruction.js +136 -136
- package/dist/config/plugin/location-watcher.js +135 -135
- package/dist/config/plugin/mcp.js +154 -154
- package/dist/config/plugin/policy.js +135 -135
- package/dist/config/plugin/provider.js +135 -135
- package/dist/config/plugin/reference.js +137 -137
- package/dist/config/plugin/shell.js +135 -135
- package/dist/config/plugin/skill-file.js +155 -155
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +162 -162
- package/dist/config/plugin/snapshot.js +135 -135
- package/dist/config/plugin/source.js +139 -139
- package/dist/config/plugin/tool-output.js +136 -136
- package/dist/config/plugin/websearch.js +134 -134
- package/dist/config/plugin/worktree.js +137 -137
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +96 -96
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +85 -85
- package/dist/database/drizzle/effect-sqlite/driver.js +15 -15
- package/dist/database/drizzle/effect-sqlite/index.js +15 -15
- package/dist/database/drizzle/effect-sqlite/session.js +12 -12
- package/dist/database/drizzle/index.js +16 -16
- 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 +17 -17
- 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/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration/20261116043204_automation.js +1 -1
- package/dist/database/migration/20261116181958_automation_event_position.js +1 -1
- package/dist/database/migration/20261116213417_automation_active_index.js +1 -1
- package/dist/database/migration.gen.js +63 -63
- package/dist/database/migration.js +80 -80
- 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/storage-failure.js +1 -1
- package/dist/database/v1-migration.bun.js +112 -112
- package/dist/effect/app-node-builder.js +457 -457
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/client-tls/client-tls.bun.js +1 -1
- package/dist/effect/client-tls/client-tls.node.js +1 -1
- package/dist/effect/client-tls/client-tls.workerd.js +1 -1
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +109 -109
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +111 -111
- 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 +89 -89
- package/dist/file-access.js +166 -166
- package/dist/file-mutation.js +112 -112
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +170 -170
- 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 +95 -95
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +253 -253
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +115 -115
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +120 -120
- package/dist/flag.js +138 -138
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +104 -104
- package/dist/generate.js +125 -125
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +109 -109
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +448 -448
- package/dist/instruction-discovery.js +98 -98
- package/dist/instructions/builtins.js +105 -105
- package/dist/instructions/index.js +6 -6
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +94 -94
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +88 -88
- package/dist/location-activity.js +194 -194
- package/dist/location-lifecycle.js +159 -159
- package/dist/location-service-map.js +103 -103
- package/dist/location-services.js +445 -445
- package/dist/location.js +104 -104
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +165 -165
- package/dist/mcp/connection.js +110 -110
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +151 -151
- package/dist/mcp/instructions.js +191 -191
- package/dist/mcp/oauth.js +94 -94
- package/dist/mcp/pool.js +114 -114
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +165 -165
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +109 -109
- package/dist/model-resolver.js +117 -117
- package/dist/model-retry.js +1 -1
- package/dist/model.js +116 -116
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +118 -118
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +90 -90
- package/dist/plugin/agent.js +91 -91
- package/dist/plugin/command.js +152 -152
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +252 -252
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +426 -426
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +115 -115
- package/dist/plugin/module.js +134 -134
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +155 -155
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +111 -111
- package/dist/plugin/provider/azure.js +138 -138
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +139 -139
- package/dist/plugin/provider/claude-agent/aisdk.js +122 -122
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +153 -153
- package/dist/plugin/provider/claude-agent/instructions.js +119 -119
- package/dist/plugin/provider/claude-agent/integration.js +120 -120
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +115 -115
- package/dist/plugin/provider/claude-agent/session.js +117 -117
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +135 -135
- package/dist/plugin/provider/cloudflare-workers-ai.js +135 -135
- package/dist/plugin/provider/configured.js +131 -131
- package/dist/plugin/provider/credential-settings.js +92 -92
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +114 -114
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +116 -116
- package/dist/plugin/provider/gitlab.js +115 -115
- package/dist/plugin/provider/google-vertex.js +132 -132
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +93 -93
- package/dist/plugin/provider/lmstudio.js +148 -148
- package/dist/plugin/provider/local.js +145 -145
- package/dist/plugin/provider/modal.js +113 -113
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +148 -148
- package/dist/plugin/provider/openai-context-caps.js +111 -111
- package/dist/plugin/provider/openai.js +141 -141
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +167 -167
- package/dist/plugin/provider/openrouter.js +109 -109
- package/dist/plugin/provider/poe.js +95 -95
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +93 -93
- package/dist/plugin/provider/sap-ai-core.js +109 -109
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +137 -137
- package/dist/plugin/provider/vllm.js +148 -148
- package/dist/plugin/provider/xai.js +109 -109
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +246 -246
- package/dist/plugin/sdk.js +91 -91
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +158 -158
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +438 -438
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +103 -103
- package/dist/plugin/vcs/hg.js +103 -103
- package/dist/plugin/verbosity.js +111 -111
- package/dist/plugin/warming.js +135 -135
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +257 -257
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +105 -105
- package/dist/provider.js +115 -115
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +115 -115
- package/dist/reference/instructions.js +104 -104
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +97 -97
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +103 -103
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +139 -139
- package/dist/session/command.js +89 -89
- package/dist/session/compaction.js +181 -181
- package/dist/session/context.js +207 -207
- package/dist/session/diff.js +105 -105
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +279 -279
- package/dist/session/execution/subagent-report.js +151 -151
- package/dist/session/execution.js +180 -180
- package/dist/session/generate.js +207 -207
- package/dist/session/history.js +145 -145
- package/dist/session/inbox.js +156 -156
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +95 -95
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +152 -152
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +177 -177
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +180 -180
- package/dist/session/projector.js +152 -152
- package/dist/session/prompt.js +157 -157
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +148 -148
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +262 -262
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +119 -119
- package/dist/session/runner/publish-llm-event.js +159 -159
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +172 -172
- package/dist/session/runner/to-llm-message.js +146 -146
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +200 -200
- package/dist/session/shell.js +153 -153
- package/dist/session/skill.js +156 -156
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +91 -91
- package/dist/session/store.js +151 -151
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-depth.js +131 -131
- package/dist/session/subagent-job.js +179 -179
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +211 -211
- package/dist/session/to-session-error.js +158 -158
- package/dist/session/transfer.js +262 -262
- package/dist/session/usage.js +1 -1
- package/dist/session.js +250 -250
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +155 -155
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +160 -160
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +108 -108
- 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 +190 -190
- package/dist/tool/plugin/artifact.js +245 -245
- package/dist/tool/plugin/automation.js +270 -270
- package/dist/tool/plugin/edit.js +177 -176
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +181 -181
- package/dist/tool/plugin/grep.js +174 -174
- package/dist/tool/plugin/image-generate.js +254 -254
- package/dist/tool/plugin/mcp-events.js +172 -172
- package/dist/tool/plugin/mcp-resource.js +171 -171
- package/dist/tool/plugin/opencode.js +172 -172
- package/dist/tool/plugin/patch.js +176 -175
- package/dist/tool/plugin/question.js +157 -157
- package/dist/tool/plugin/read.js +177 -176
- package/dist/tool/plugin/shell.js +247 -247
- package/dist/tool/plugin/skill.js +162 -162
- package/dist/tool/plugin/subagent.js +253 -253
- package/dist/tool/plugin/todo.js +162 -162
- package/dist/tool/plugin/webfetch.js +167 -167
- package/dist/tool/plugin/websearch.js +162 -162
- package/dist/tool/plugin/write.js +176 -175
- package/dist/tool/read-filesystem.js +115 -115
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +113 -113
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +169 -169
- package/dist/types/tool/plugin/edit.d.ts +3 -1
- package/dist/types/tool/plugin/patch.d.ts +3 -1
- package/dist/types/tool/plugin/read.d.ts +3 -1
- package/dist/types/tool/plugin/write.d.ts +3 -1
- package/dist/usage-limits.js +102 -102
- package/dist/util/canonical-json.js +1 -1
- 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 +110 -110
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +111 -111
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +106 -106
- package/dist/video-generation.js +127 -127
- package/dist/voice.js +105 -105
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +91 -91
- package/dist/wellknown.js +94 -94
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +95 -95
- 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 +106 -106
- package/dist/worktree.js +115 -115
- package/package.json +8 -8
- package/dist/chunks/kv-0v02ksb4.js +0 -273
- package/dist/chunks/kv-365eavge.js +0 -16
- package/dist/chunks/kv-6bshxcsx.js +0 -18
- package/dist/chunks/kv-exy9dfrm.js +0 -26
- /package/dist/chunks/{kv-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kah00gy.js → agent-1kah00gy.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3s3m6v8c.js → agent-3s3m6v8c.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4qk9sjk2.js → agent-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{kv-4t2ttffc.js → agent-4t2ttffc.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-5w3e23ze.js → agent-5w3e23ze.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m3hvvwr.js → agent-7m3hvvwr.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-84wd9syh.js → agent-84wd9syh.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9ceax7yg.js → agent-9ceax7yg.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-ade8csyh.js → agent-ade8csyh.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-beh6qq61.js → agent-beh6qq61.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cqv5kn06.js → agent-cqv5kn06.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e1kf1427.js → agent-e1kf1427.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-ean2d8b5.js → agent-ean2d8b5.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fkpq3x5p.js → agent-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jwr30sdr.js → agent-jwr30sdr.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-kefxe5t1.js → agent-kefxe5t1.js} +0 -0
- /package/dist/chunks/{kv-m18g726c.js → agent-m18g726c.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-nh4v3znn.js → agent-nh4v3znn.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-p71gwv9c.js → agent-p71gwv9c.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-syrav9an.js → agent-syrav9an.js} +0 -0
- /package/dist/chunks/{kv-t03h4f5z.js → agent-t03h4f5z.js} +0 -0
- /package/dist/chunks/{kv-ty7weeps.js → agent-ty7weeps.js} +0 -0
- /package/dist/chunks/{kv-v8qrvdex.js → agent-v8qrvdex.js} +0 -0
- /package/dist/chunks/{kv-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
- /package/dist/chunks/{kv-vtarvj67.js → agent-vtarvj67.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x4th4bpe.js → agent-x4th4bpe.js} +0 -0
- /package/dist/chunks/{kv-xb38t950.js → agent-xb38t950.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → agent-z9919s4g.js} +0 -0
- /package/dist/chunks/{kv-zxpyjp51.js → agent-zxpyjp51.js} +0 -0
- /package/dist/chunks/{kv-zz5vv3aq.js → agent-zz5vv3aq.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make33,
|
|
5
5
|
listUpdate2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-f2zjpyt5.js";
|
|
7
7
|
import {
|
|
8
8
|
ID10,
|
|
9
9
|
Name2,
|
|
10
10
|
available3,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service46,
|
|
12
|
+
node49
|
|
13
|
+
} from "./agent-xkg6kgtc.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions6 = {};
|
|
20
|
+
__export(exports_instructions6, {
|
|
21
|
+
Service: () => Service40,
|
|
22
|
+
SkillInstructions: () => exports_instructions6,
|
|
23
|
+
node: () => node43
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -56,14 +56,14 @@ var update = listUpdate2({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service40 extends Context.Service()("@opencode/SkillInstructions") {
|
|
60
60
|
}
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const skills = yield*
|
|
63
|
-
return
|
|
61
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
62
|
+
const skills = yield* Service46;
|
|
63
|
+
return Service40.of({
|
|
64
64
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
65
65
|
const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
66
|
-
return
|
|
66
|
+
return make33({
|
|
67
67
|
key: Key3.make("core/skill-guidance"),
|
|
68
68
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
69
69
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -76,6 +76,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node43 = makeLocationNode({ service: Service40, layer, deps: [node49] });
|
|
80
80
|
|
|
81
|
-
export {
|
|
81
|
+
export { Service40, node43, exports_instructions6 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./agent-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service91,
|
|
8
|
+
node93
|
|
9
|
+
} from "./agent-z7rjpnbt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service20,
|
|
12
|
+
node22
|
|
13
|
+
} from "./agent-dtk42svh.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,17 +24,17 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event3,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
|
-
NotFoundError: () =>
|
|
34
|
-
Service: () =>
|
|
33
|
+
NotFoundError: () => NotFoundError4,
|
|
34
|
+
Service: () => Service19,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node21
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
44
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event3 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service19 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const search = yield*
|
|
101
|
+
const location = yield* Service91;
|
|
102
|
+
const search = yield* Service20;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
109
109
|
}));
|
|
110
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
111
111
|
if (input.includes("\x00"))
|
|
112
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError4({ path: input }));
|
|
113
113
|
const absolute = path.resolve(location.directory, input);
|
|
114
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
115
|
-
return yield* Effect.fail(new
|
|
116
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError4({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input })), (_, error) => Effect.die(error)));
|
|
117
117
|
if (!FSUtil.contains(root, real))
|
|
118
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError4({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service19.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
125
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
|
|
126
126
|
if (info.type !== "File")
|
|
127
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError4({ path: input.path }));
|
|
128
128
|
return {
|
|
129
129
|
mime: FSUtil.mimeType(target.real),
|
|
130
130
|
size: Number(info.size),
|
|
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
136
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
137
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError4({ path: RelativePath2.make(input.path ?? ".") });
|
|
138
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "Directory")
|
|
140
140
|
return yield* missing;
|
|
@@ -159,10 +159,10 @@ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
159
159
|
})
|
|
160
160
|
});
|
|
161
161
|
}));
|
|
162
|
-
var
|
|
163
|
-
service:
|
|
162
|
+
var node21 = makeLocationNode({
|
|
163
|
+
service: Service19,
|
|
164
164
|
layer: baseLayer,
|
|
165
|
-
deps: [FSUtil.node,
|
|
165
|
+
deps: [FSUtil.node, node93, node22]
|
|
166
166
|
});
|
|
167
167
|
|
|
168
|
-
export { FindInput2, Write2,
|
|
168
|
+
export { FindInput2, Write2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service19, node21, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service94,
|
|
3
|
+
node96
|
|
4
|
+
} from "./agent-04fajdqj.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-2ytp0tvq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service93,
|
|
10
|
+
node95
|
|
11
|
+
} from "./agent-apz1f5zp.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./agent-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessageTable2,
|
|
17
17
|
SessionInboxTable2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-8z6m94af.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./agent-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
UserPayload3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./agent-fg9p65nk.js";
|
|
25
25
|
import {
|
|
26
26
|
hydrateInbox2,
|
|
27
27
|
keepInboxRefs2,
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
externalizePayload2,
|
|
30
30
|
recordRefs2,
|
|
31
31
|
releaseMessage2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./agent-1wz10em7.js";
|
|
33
33
|
import {
|
|
34
34
|
decodeMessageRows2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./agent-g5v39214.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./agent-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/inbox.ts
|
|
41
41
|
var exports_inbox = {};
|
|
@@ -43,7 +43,7 @@ __export(exports_inbox, {
|
|
|
43
43
|
Compaction: () => Compaction2,
|
|
44
44
|
CompactionPayload: () => CompactionPayload2,
|
|
45
45
|
Delivery: () => Delivery2,
|
|
46
|
-
Info: () =>
|
|
46
|
+
Info: () => Info12,
|
|
47
47
|
Item: () => Item2,
|
|
48
48
|
LifecycleConflict: () => LifecycleConflict2,
|
|
49
49
|
MediaInfo: () => MediaInfo2,
|
|
@@ -51,7 +51,7 @@ __export(exports_inbox, {
|
|
|
51
51
|
MediaUserPayload: () => MediaUserPayload2,
|
|
52
52
|
Move: () => Move2,
|
|
53
53
|
MovePayload: () => MovePayload2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service55,
|
|
55
55
|
SessionInbox: () => exports_inbox,
|
|
56
56
|
Synthetic: () => Synthetic2,
|
|
57
57
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -59,13 +59,13 @@ __export(exports_inbox, {
|
|
|
59
59
|
UserPayload: () => UserPayload2,
|
|
60
60
|
find: () => find2,
|
|
61
61
|
has: () => has2,
|
|
62
|
-
layer: () =>
|
|
62
|
+
layer: () => layer22,
|
|
63
63
|
list: () => list4,
|
|
64
64
|
listWithRefs: () => listWithRefs2,
|
|
65
|
-
make: () =>
|
|
65
|
+
make: () => make29,
|
|
66
66
|
moveIDs: () => moveIDs2,
|
|
67
67
|
nextPromotable: () => nextPromotable2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node57,
|
|
69
69
|
projectAdmitted: () => projectAdmitted2,
|
|
70
70
|
projectCancelled: () => projectCancelled2,
|
|
71
71
|
projectDelivered: () => projectDelivered2,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
Compaction as Compaction2,
|
|
81
81
|
CompactionPayload as CompactionPayload2,
|
|
82
82
|
Delivery as Delivery2,
|
|
83
|
-
Info as
|
|
83
|
+
Info as Info12,
|
|
84
84
|
Item as Item2,
|
|
85
85
|
MediaInfo as MediaInfo2,
|
|
86
86
|
MediaUser as MediaUser2,
|
|
@@ -184,12 +184,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
184
184
|
});
|
|
185
185
|
});
|
|
186
186
|
|
|
187
|
-
class
|
|
187
|
+
class Service55 extends Context.Service()("@opencode/SessionInbox") {
|
|
188
188
|
}
|
|
189
|
-
var
|
|
190
|
-
const database = yield*
|
|
189
|
+
var make29 = Effect.fn("SessionInbox.make")(function* () {
|
|
190
|
+
const database = yield* Service94;
|
|
191
191
|
const db = database.db;
|
|
192
|
-
const bus = yield*
|
|
192
|
+
const bus = yield* Service93;
|
|
193
193
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
194
194
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
195
195
|
if (existing === undefined)
|
|
@@ -206,7 +206,7 @@ var make30 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
206
206
|
inboxID: request.id,
|
|
207
207
|
sessionID: request.sessionID,
|
|
208
208
|
item: request.item
|
|
209
|
-
}).pipe(Effect.map((event) =>
|
|
209
|
+
}).pipe(Effect.map((event) => Info12.make({
|
|
210
210
|
id: request.id,
|
|
211
211
|
sessionID: request.sessionID,
|
|
212
212
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -260,8 +260,8 @@ var make30 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
260
260
|
queue
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
|
-
var
|
|
264
|
-
var
|
|
263
|
+
var layer22 = Layer.effect(Service55, make29());
|
|
264
|
+
var node57 = makeGlobalNode({ service: Service55, layer: layer22, deps: [node96, node95] });
|
|
265
265
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
266
266
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
267
267
|
if (message !== undefined)
|
|
@@ -388,4 +388,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
388
388
|
return rows;
|
|
389
389
|
}));
|
|
390
390
|
|
|
391
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
391
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info12, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service55, make29, layer22, node57, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HEADER2,
|
|
3
3
|
FORK_HEADER2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-yr705xyq.js";
|
|
5
5
|
import {
|
|
6
6
|
ID4
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-qywhhnp4.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/claude-agent/session.ts
|
|
13
13
|
var exports_session2 = {};
|
|
14
14
|
__export(exports_session2, {
|
|
15
15
|
ClaudeSessionHooks: () => exports_session2,
|
|
16
|
-
register: () =>
|
|
16
|
+
register: () => register3
|
|
17
17
|
});
|
|
18
18
|
import { AssistantMessage, ToolMessage } from "@opencode/ai/effect";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
@@ -28,7 +28,7 @@ var flagToolError = (part) => {
|
|
|
28
28
|
};
|
|
29
29
|
return { ...part, providerMetadata: { ...part.providerMetadata, [ID4]: flags } };
|
|
30
30
|
};
|
|
31
|
-
var
|
|
31
|
+
var register3 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
|
|
32
32
|
yield* ctx.session.hook("model.request", (event) => Effect.gen(function* () {
|
|
33
33
|
event.headers[HEADER2] = event.kind;
|
|
34
34
|
if (event.kind !== "primary")
|
|
@@ -53,4 +53,4 @@ var register4 = Effect.fn("ClaudeSessionHooks.register")(function* (ctx) {
|
|
|
53
53
|
}), { providerID: ID4 });
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { register3, exports_session2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./agent-eq4b93tv.js";
|
|
4
4
|
import {
|
|
5
5
|
resolvePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-wf79e7pn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/mcp/stdio.ts
|
|
12
12
|
var exports_stdio = {};
|
|
13
13
|
__export(exports_stdio, {
|
|
14
14
|
McpStdio: () => exports_stdio,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make21,
|
|
16
16
|
resolveCwd: () => resolveCwd2
|
|
17
17
|
});
|
|
18
18
|
import { deserializeMessage, serializeMessage } from "@modelcontextprotocol/client";
|
|
@@ -25,8 +25,8 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
25
25
|
var EXIT_WAIT = Duration.seconds(1);
|
|
26
26
|
var STDERR_TAIL = 1000;
|
|
27
27
|
var resolveCwd2 = (directory, cwd) => cwd ? resolvePath2(directory, cwd) : directory;
|
|
28
|
-
var
|
|
29
|
-
const environment = yield*
|
|
28
|
+
var make21 = Effect.fnUntraced(function* (options) {
|
|
29
|
+
const environment = yield* Service68;
|
|
30
30
|
const scope = yield* Effect.scope;
|
|
31
31
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
32
32
|
const state = { phase: "ready" };
|
|
@@ -147,4 +147,4 @@ var make22 = Effect.fnUntraced(function* (options) {
|
|
|
147
147
|
return transport;
|
|
148
148
|
});
|
|
149
149
|
|
|
150
|
-
export { resolveCwd2,
|
|
150
|
+
export { resolveCwd2, make21, exports_stdio };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/sync/record.ts
|
|
6
6
|
var exports_record = {};
|
|
7
7
|
__export(exports_record, {
|
|
8
8
|
SessionRecord: () => exports_record,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make9
|
|
10
10
|
});
|
|
11
11
|
import { Effect, Option, Schema } from "effect";
|
|
12
12
|
var Checkpoint = Schema.Struct({ hash: Schema.String, claudeMessageID: Schema.optional(Schema.String) });
|
|
@@ -15,7 +15,7 @@ var Record = Schema.Struct({
|
|
|
15
15
|
history: Schema.optional(Schema.Array(Checkpoint)),
|
|
16
16
|
interrupted: Schema.optional(Schema.Boolean)
|
|
17
17
|
});
|
|
18
|
-
function
|
|
18
|
+
function make9(storage) {
|
|
19
19
|
return {
|
|
20
20
|
get: Effect.fn("SessionRecord.get")(function* (sessionID) {
|
|
21
21
|
const saved = Schema.decodeUnknownOption(Record)(yield* storage.get(`sessions/${sessionID}`));
|
|
@@ -25,4 +25,4 @@ function make7(storage) {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { make9, exports_record };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./agent-b2n0c38s.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info21
|
|
9
|
+
} from "./agent-pw2kk39s.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-05w4ga2w.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service81
|
|
16
|
+
} from "./agent-0q46rqwx.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-80pdk984.js";
|
|
20
20
|
import {
|
|
21
21
|
observeSources2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./agent-tvtps2q9.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./agent-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/config/plugin/agent.ts
|
|
28
|
-
var
|
|
29
|
-
__export(
|
|
30
|
-
ConfigAgentPlugin: () =>
|
|
31
|
-
Plugin: () =>
|
|
28
|
+
var exports_agent2 = {};
|
|
29
|
+
__export(exports_agent2, {
|
|
30
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
31
|
+
Plugin: () => Plugin55
|
|
32
32
|
});
|
|
33
33
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
34
34
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -43,15 +43,15 @@ var legacySources = [
|
|
|
43
43
|
];
|
|
44
44
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
45
45
|
var decodeAgent = SchemaParser.decodeUnknownResult(ConfigAgent.Info);
|
|
46
|
-
var decodeLegacyAgent = SchemaParser.decodeUnknownResult(
|
|
46
|
+
var decodeLegacyAgent = SchemaParser.decodeUnknownResult(Info21);
|
|
47
47
|
var formatIssue = SchemaIssue.makeFormatterDefault();
|
|
48
48
|
var pathActions = ["external_directory", "read", "edit"];
|
|
49
49
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
50
50
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
51
|
-
var
|
|
51
|
+
var Plugin55 = define({
|
|
52
52
|
id: "opencode.config.agent",
|
|
53
53
|
effect: Effect.fn(function* (ctx) {
|
|
54
|
-
const config = yield*
|
|
54
|
+
const config = yield* Service81;
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
57
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -78,13 +78,13 @@ var Plugin27 = define({
|
|
|
78
78
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
79
79
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
80
80
|
if (configuredDefault !== undefined)
|
|
81
|
-
editor.default(
|
|
81
|
+
editor.default(ID16.make(configuredDefault));
|
|
82
82
|
for (const current of editor.list()) {
|
|
83
83
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
84
84
|
}
|
|
85
85
|
for (const document of loaded.documents) {
|
|
86
86
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
87
|
-
const agentID =
|
|
87
|
+
const agentID = ID16.make(id);
|
|
88
88
|
if (item.disabled) {
|
|
89
89
|
editor.remove(agentID);
|
|
90
90
|
continue;
|
|
@@ -171,4 +171,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
171
171
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
172
172
|
});
|
|
173
173
|
|
|
174
|
-
export {
|
|
174
|
+
export { Plugin55, exports_agent2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service94
|
|
3
|
+
} from "./agent-04fajdqj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service93
|
|
6
|
+
} from "./agent-apz1f5zp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./agent-k25mt8kq.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-a610t88q.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
preview2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-g5v39214.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./agent-2fc7eemy.js";
|
|
22
22
|
import {
|
|
23
23
|
baseTranscript2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./agent-q79ry0yd.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service34
|
|
27
|
+
} from "./agent-gkzndcne.js";
|
|
28
28
|
import {
|
|
29
29
|
record2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./agent-4f25tdd0.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./agent-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/generate.ts
|
|
36
36
|
var exports_generate2 = {};
|
|
@@ -41,13 +41,13 @@ __export(exports_generate2, {
|
|
|
41
41
|
import { LLMClient, Message } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect } from "effect";
|
|
43
43
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
45
|
-
const database = yield*
|
|
44
|
+
const instances = yield* Service56;
|
|
45
|
+
const database = yield* Service94;
|
|
46
46
|
const llm = yield* LLMClient.Service;
|
|
47
|
-
const bus = yield*
|
|
47
|
+
const bus = yield* Service93;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
49
|
yield* awaitActivation2;
|
|
50
|
-
const context = yield*
|
|
50
|
+
const context = yield* Service34;
|
|
51
51
|
const selection = yield* context.select(input.session.id);
|
|
52
52
|
const model = yield* context.resolveModel(selection.session, { kind: "generate", agent: selection.agent.id });
|
|
53
53
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|