@opencode/core 0.0.0-dev-481 → 0.0.0-dev-491
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +241 -241
- package/dist/bus.js +84 -84
- package/dist/chunks/{app-x2eb1s38.js → schema-0069kg3w.js} +22 -22
- package/dist/chunks/{app-zkket41r.js → schema-009ad18z.js} +28 -28
- package/dist/chunks/{app-f1y0a070.js → schema-040bqqk0.js} +1 -1
- package/dist/chunks/{app-v7zvx5ny.js → schema-056gbxz2.js} +36 -36
- package/dist/chunks/{app-2zydp9t3.js → schema-05jba50e.js} +6 -6
- package/dist/chunks/{app-n8ahjr4j.js → schema-074zz3d2.js} +19 -16
- package/dist/chunks/{app-2n05qsag.js → schema-07njmr26.js} +4 -4
- package/dist/chunks/{app-gtse556r.js → schema-0cdjmvxc.js} +14 -14
- package/dist/chunks/{app-8dxpscf2.js → schema-0djc5t6x.js} +29 -29
- package/dist/chunks/{app-y9dbkkt2.js → schema-0e72twgx.js} +27 -27
- package/dist/chunks/{app-0j7gp832.js → schema-0j7gp832.js} +1 -1
- package/dist/chunks/{app-0ma9gw4f.js → schema-0ma9gw4f.js} +2 -2
- package/dist/chunks/{app-wyya4zt2.js → schema-0s1qz2vx.js} +9 -9
- package/dist/chunks/{app-dgmx8s6q.js → schema-0x221h4h.js} +16 -16
- package/dist/chunks/{app-rchz5kjx.js → schema-0xaphmx4.js} +4 -4
- package/dist/chunks/{app-hy8c1z76.js → schema-160yv0cs.js} +8 -8
- package/dist/chunks/{app-3nmxyean.js → schema-177t8xde.js} +5 -5
- package/dist/chunks/{app-np51zkq5.js → schema-17wpx1f8.js} +23 -23
- package/dist/chunks/{app-7wm6fjb2.js → schema-18g55aa2.js} +6 -6
- package/dist/chunks/{app-722vxske.js → schema-1acgysvj.js} +9 -9
- package/dist/chunks/{app-1aqsckx4.js → schema-1aqsckx4.js} +1 -1
- package/dist/chunks/{app-11pmnyyq.js → schema-1bmqe60m.js} +13 -13
- package/dist/chunks/{app-xfdj8ybq.js → schema-1dgxpnnn.js} +38 -38
- package/dist/chunks/{app-g1e2r5aa.js → schema-1e1dknnq.js} +4 -4
- package/dist/chunks/{app-5z1m43a3.js → schema-1hqk7qd1.js} +9 -9
- package/dist/chunks/{app-yef98r2t.js → schema-1mgbt8zv.js} +14 -14
- package/dist/chunks/{app-0asq6p20.js → schema-1vp6kgjq.js} +10 -10
- package/dist/chunks/{app-1x2knyw4.js → schema-1x2knyw4.js} +1 -1
- package/dist/chunks/{app-j6z15evp.js → schema-1xr65f63.js} +9 -9
- package/dist/chunks/{app-v9ez2kgh.js → schema-1yq9hg58.js} +5 -5
- package/dist/chunks/{app-dzws43fd.js → schema-20yhjmgn.js} +12 -12
- package/dist/chunks/{app-rhg1wx68.js → schema-22877hrr.js} +31 -31
- package/dist/chunks/{app-q94qz23g.js → schema-267nqqyb.js} +41 -38
- package/dist/chunks/{app-27w5k9zf.js → schema-27w5k9zf.js} +2 -2
- package/dist/chunks/{app-h2ff2q30.js → schema-2cwesr55.js} +8 -8
- package/dist/chunks/{app-wyzscbnm.js → schema-2g5fs7wp.js} +12 -12
- package/dist/chunks/schema-2n7wa7sq.js +61 -0
- package/dist/chunks/{app-2p60zmnr.js → schema-2p60zmnr.js} +2 -2
- package/dist/chunks/{app-fefx1jcc.js → schema-2vn10rnz.js} +3 -3
- package/dist/chunks/{app-23b5bwtt.js → schema-2wy6zzm4.js} +3 -3
- package/dist/chunks/{app-4medx3yc.js → schema-3416qbwy.js} +8 -8
- package/dist/chunks/{app-hfzv1g6g.js → schema-3748dbe8.js} +31 -31
- package/dist/chunks/{app-2emepb4b.js → schema-39ecara3.js} +32 -29
- package/dist/chunks/{app-whhbv2ev.js → schema-3adw4bt5.js} +9 -9
- package/dist/chunks/{app-3cbjf1nt.js → schema-3cbjf1nt.js} +2 -2
- package/dist/chunks/{app-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-g8dgshm1.js → schema-3k1df4cf.js} +4 -4
- package/dist/chunks/{app-f5hyk6e9.js → schema-3maza8nj.js} +28 -28
- package/dist/chunks/{app-3nnrz6f6.js → schema-3nnrz6f6.js} +1 -1
- package/dist/chunks/{app-nv1v3ewx.js → schema-3qwqbjqh.js} +23 -23
- package/dist/chunks/{app-s72x33aq.js → schema-3vp9g4px.js} +22 -22
- package/dist/chunks/{app-40y6dtc2.js → schema-40y6dtc2.js} +1 -1
- package/dist/chunks/{app-44pmzq9c.js → schema-44pmzq9c.js} +2 -2
- package/dist/chunks/{app-6s3jfmgb.js → schema-49v9szp5.js} +14 -14
- package/dist/chunks/{app-13aj6xfg.js → schema-4a220kpg.js} +41 -38
- package/dist/chunks/{app-ndpzex15.js → schema-4byhtres.js} +15 -15
- package/dist/chunks/{app-4dx1dgte.js → schema-4dx1dgte.js} +1 -1
- package/dist/chunks/{app-gkqc8wt9.js → schema-4jd8rbj6.js} +9 -9
- package/dist/chunks/{app-r17y8811.js → schema-4pfm4xhn.js} +34 -34
- package/dist/chunks/{app-4pyp9zr9.js → schema-4pyp9zr9.js} +1 -1
- package/dist/chunks/{app-qrkmc1kp.js → schema-4r9r2tvk.js} +13 -13
- package/dist/chunks/{app-4v008n1t.js → schema-4v008n1t.js} +1 -1
- package/dist/chunks/{app-w6adzdws.js → schema-4ze3m284.js} +97 -97
- package/dist/chunks/{app-ae65egk4.js → schema-51d35nkj.js} +6 -6
- package/dist/chunks/{app-js4hvacx.js → schema-51nz7m1t.js} +33 -33
- package/dist/chunks/{app-kz92qt34.js → schema-531yazj3.js} +5 -5
- package/dist/chunks/{app-hxjfpgt3.js → schema-5373j5vs.js} +8 -8
- package/dist/chunks/{app-62fftzdq.js → schema-5hbm6fh6.js} +15 -15
- package/dist/chunks/{app-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
- package/dist/chunks/{app-bhfd478d.js → schema-5n0rnk8e.js} +4 -4
- package/dist/chunks/{app-n4k1ey5b.js → schema-5ss6spnt.js} +11 -11
- package/dist/chunks/{app-vf5rezts.js → schema-5wv7wkw7.js} +13 -13
- package/dist/chunks/{app-rnbnz8pk.js → schema-5zpqhmp2.js} +6 -6
- package/dist/chunks/{app-82fxv0dw.js → schema-5zrvqxbg.js} +16 -16
- package/dist/chunks/{app-z4sah7cn.js → schema-610gd2w6.js} +12 -12
- package/dist/chunks/{app-ysampvvb.js → schema-61qraad9.js} +5 -5
- package/dist/chunks/{app-j06ysx93.js → schema-69s1y7w5.js} +14 -14
- package/dist/chunks/{app-jmx08cdn.js → schema-6cnr43q5.js} +18 -18
- package/dist/chunks/{app-vt4r9rmy.js → schema-6h8vcvjm.js} +9 -9
- package/dist/chunks/{app-6tvaezwq.js → schema-6ptc49v9.js} +3 -3
- package/dist/chunks/{app-af8dd66m.js → schema-6r3e2m86.js} +4 -4
- package/dist/chunks/{app-3jqetb86.js → schema-6vwb70w2.js} +26 -26
- package/dist/chunks/{app-9cgaya5j.js → schema-6x26xpab.js} +16 -16
- package/dist/chunks/{app-q0ez1hrk.js → schema-7357t78n.js} +7 -7
- package/dist/chunks/{app-cfg1rk1c.js → schema-75w632t3.js} +28 -28
- package/dist/chunks/{app-76cb1hcw.js → schema-76cb1hcw.js} +1 -1
- package/dist/chunks/{app-80mg3ag8.js → schema-775hqbnd.js} +3 -3
- package/dist/chunks/{app-33vee48d.js → schema-79q7t6vk.js} +41 -41
- package/dist/chunks/{app-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-tkp5adq0.js → schema-7cfarfc9.js} +21 -21
- package/dist/chunks/{app-2hg7qvzt.js → schema-7d2a7xbs.js} +5 -5
- package/dist/chunks/schema-7gc06pn7.js +87 -0
- package/dist/chunks/{app-13am0myr.js → schema-7gh115gk.js} +59 -59
- package/dist/chunks/{app-7kr66rt3.js → schema-7kr66rt3.js} +1 -1
- package/dist/chunks/{app-7w2ypzdf.js → schema-7w2ypzdf.js} +1 -1
- package/dist/chunks/{app-7weczvnd.js → schema-7weczvnd.js} +1 -1
- package/dist/chunks/{app-k44x9x7y.js → schema-7wetmpgy.js} +51 -51
- package/dist/chunks/{app-prwg2e47.js → schema-7wkzsx5z.js} +7 -7
- package/dist/chunks/{app-y5x79gp6.js → schema-7wz58vea.js} +3 -3
- package/dist/chunks/{app-6m70gvhx.js → schema-827fdamw.js} +13 -13
- package/dist/chunks/{app-89287pr7.js → schema-89287pr7.js} +1 -1
- package/dist/chunks/{app-8b3vzgkx.js → schema-8b3vzgkx.js} +1 -1
- package/dist/chunks/{app-8cg7mtm3.js → schema-8cg7mtm3.js} +1 -1
- package/dist/chunks/{app-yqveydy6.js → schema-8r9nj4s8.js} +4 -4
- package/dist/chunks/{app-8wtp7s3z.js → schema-8wtp7s3z.js} +1 -1
- package/dist/chunks/{app-sch7yt7r.js → schema-8yhnmq54.js} +11 -11
- package/dist/chunks/{app-8z6m94af.js → schema-8z6m94af.js} +3 -3
- package/dist/chunks/{app-90zstvax.js → schema-90zstvax.js} +1 -1
- package/dist/chunks/{app-1vbrkdbs.js → schema-94e33dpz.js} +3 -3
- package/dist/chunks/{app-847k13tf.js → schema-954e8f6b.js} +15 -15
- package/dist/chunks/{app-kp2338hr.js → schema-963hk181.js} +2 -2
- package/dist/chunks/{app-dv2k300y.js → schema-96ahmd6x.js} +32 -32
- package/dist/chunks/{app-x48k7f96.js → schema-974fscry.js} +11 -11
- package/dist/chunks/{app-h0xhqjby.js → schema-9ek4pzqb.js} +4 -4
- package/dist/chunks/{app-7t9chrae.js → schema-9g28e2s0.js} +8 -8
- package/dist/chunks/{app-hahgtam6.js → schema-9hm59r1c.js} +48 -48
- package/dist/chunks/{app-kse531ts.js → schema-9nh708zh.js} +6 -6
- package/dist/chunks/{app-b6s5ycsj.js → schema-9sy862gz.js} +16 -16
- package/dist/chunks/{app-jy6h2y3j.js → schema-9vbafrh8.js} +21 -21
- package/dist/chunks/{app-t0zfenmz.js → schema-9ywzg6g3.js} +28 -28
- package/dist/chunks/{app-93n7n3x8.js → schema-9zvhtp2r.js} +25 -25
- package/dist/chunks/{app-xfssnbs4.js → schema-a2xw24t4.js} +17 -17
- package/dist/chunks/{app-a1dwv91k.js → schema-a2y6he6z.js} +8 -8
- package/dist/chunks/{app-a5fx33f2.js → schema-a5fx33f2.js} +2 -2
- package/dist/chunks/{app-6mzrbse0.js → schema-afz985yq.js} +35 -35
- package/dist/chunks/{app-aj7mw0zk.js → schema-aj7mw0zk.js} +2 -2
- package/dist/chunks/{app-dztesnfv.js → schema-akx6eq60.js} +21 -21
- package/dist/chunks/{app-q9csfq1d.js → schema-an38jetd.js} +13 -13
- package/dist/chunks/{app-3xg6wq2g.js → schema-aq1dqpx8.js} +15 -15
- package/dist/chunks/{app-ead32ctt.js → schema-b0vacgmx.js} +4 -4
- package/dist/chunks/{app-5xfk76mk.js → schema-b1hp95c4.js} +92 -92
- package/dist/chunks/{app-750t9xmf.js → schema-b25mxkxc.js} +17 -17
- package/dist/chunks/{app-87ef3s8z.js → schema-b292epq5.js} +37 -37
- package/dist/chunks/{app-b6vsg801.js → schema-b6vsg801.js} +2 -2
- package/dist/chunks/{app-qpe5m7rp.js → schema-b78t38vn.js} +15 -15
- package/dist/chunks/{app-7qrph824.js → schema-bb3mmwvh.js} +2 -2
- package/dist/chunks/{app-5af0c4bz.js → schema-bnhv7900.js} +15 -15
- package/dist/chunks/{app-xksw6ev0.js → schema-brv6mkyx.js} +4 -4
- package/dist/chunks/{app-bstexjd6.js → schema-bstexjd6.js} +1 -1
- package/dist/chunks/{app-8fzjfj5n.js → schema-c485byne.js} +2 -2
- package/dist/chunks/{app-wjnwerxx.js → schema-c4bydvs8.js} +25 -25
- package/dist/chunks/{app-2kj7f5bg.js → schema-c6x7d2ts.js} +7 -7
- package/dist/chunks/{app-psbj456r.js → schema-c9kma9ds.js} +18 -18
- package/dist/chunks/{app-zvg8q0fs.js → schema-cbqrfj54.js} +3 -3
- package/dist/chunks/{app-w0gbs4kg.js → schema-cf903btn.js} +33 -33
- package/dist/chunks/{app-s55t9t0j.js → schema-cj6s55dc.js} +60 -60
- package/dist/chunks/{app-catycsjd.js → schema-cjg73b7n.js} +11 -11
- package/dist/chunks/{app-h9hc66h4.js → schema-cpe35zww.js} +4 -4
- package/dist/chunks/{app-x2kh5z67.js → schema-cr2p0kda.js} +23 -23
- package/dist/chunks/{app-9kkkhnvp.js → schema-crmh26nv.js} +9 -7
- package/dist/chunks/{app-0z1kk8n9.js → schema-crrcr980.js} +8 -8
- package/dist/chunks/{app-2gd46ww5.js → schema-csd7ebkm.js} +38 -38
- package/dist/chunks/{app-cwrgdav8.js → schema-cwrgdav8.js} +2 -2
- package/dist/chunks/{app-g7mcj942.js → schema-cx89w8t7.js} +54 -54
- package/dist/chunks/{app-4am3819x.js → schema-d1e46tjw.js} +30 -30
- package/dist/chunks/{app-gn8tkhbf.js → schema-d4v9tmah.js} +2 -2
- package/dist/chunks/{app-rj7j5fvs.js → schema-dg5naf6e.js} +4 -4
- package/dist/chunks/{app-qfwh95mr.js → schema-dgnwfmhp.js} +15 -15
- package/dist/chunks/{app-afwnmwkf.js → schema-dn909y3q.js} +55 -55
- package/dist/chunks/{app-dt77769w.js → schema-dt77769w.js} +1 -1
- package/dist/chunks/{app-s5hy498g.js → schema-e383wbw3.js} +13 -13
- package/dist/chunks/{app-e834z07m.js → schema-e834z07m.js} +1 -1
- package/dist/chunks/{app-jyntrgsj.js → schema-e932njkj.js} +26 -26
- package/dist/chunks/{app-71jkfa4r.js → schema-eeze92kt.js} +4 -4
- package/dist/chunks/{app-33fs0phy.js → schema-ehjdr9kj.js} +5 -5
- package/dist/chunks/{app-93xmyh8q.js → schema-ep6pe98a.js} +7 -7
- package/dist/chunks/{app-eqw4pqj1.js → schema-eqw4pqj1.js} +2 -2
- package/dist/chunks/{app-y3e9w5j4.js → schema-f4kasrny.js} +18 -18
- package/dist/chunks/{app-fffv3p7h.js → schema-fffv3p7h.js} +1 -1
- package/dist/chunks/{app-prq7xxp2.js → schema-fg9p65nk.js} +6 -6
- package/dist/chunks/{app-n17wdgkv.js → schema-fkk1f725.js} +36 -36
- package/dist/chunks/{app-czy8szj2.js → schema-fnnekxbx.js} +353 -347
- package/dist/chunks/{app-vyzwj7hv.js → schema-fspaztcq.js} +9 -9
- package/dist/chunks/{app-hetycfaa.js → schema-fzt7dsyw.js} +46 -46
- package/dist/chunks/{app-7ey693cm.js → schema-g3smeneb.js} +3 -3
- package/dist/chunks/{app-wq1xd5na.js → schema-g442wsqe.js} +11 -11
- package/dist/chunks/{app-pyz2pf6w.js → schema-g5za79em.js} +6 -6
- package/dist/chunks/{app-gbjdnr5j.js → schema-gbjdnr5j.js} +2 -2
- package/dist/chunks/{app-2am13szv.js → schema-gx16d8rj.js} +8 -8
- package/dist/chunks/{app-g6p4g6mv.js → schema-h2h7ybtz.js} +30 -30
- package/dist/chunks/{app-9rqhy0gk.js → schema-h5gm5jf1.js} +7 -7
- package/dist/chunks/{app-sj4xjt7y.js → schema-hae73tt5.js} +23 -23
- package/dist/chunks/{app-pq46x9ny.js → schema-hev8zkn4.js} +12 -12
- package/dist/chunks/{app-2db5e21y.js → schema-hmcbsnb6.js} +5 -5
- package/dist/chunks/{app-hpg1pkwy.js → schema-hpg1pkwy.js} +1 -1
- package/dist/chunks/{app-kfd17r3s.js → schema-hqerns6c.js} +9 -9
- package/dist/chunks/{app-fdtp6zbm.js → schema-hqtkd67t.js} +11 -11
- package/dist/chunks/{app-b37ymw5d.js → schema-hr712wcm.js} +17 -17
- package/dist/chunks/{app-kpfh6gak.js → schema-hrp8tsee.js} +23 -23
- package/dist/chunks/{app-3k6see7r.js → schema-hrs1my6p.js} +23 -23
- package/dist/chunks/{app-qczyd0hm.js → schema-hs0d6vna.js} +25 -25
- package/dist/chunks/{app-jk9ctt2d.js → schema-htk0pxp4.js} +35 -35
- package/dist/chunks/{app-ck4dpv2q.js → schema-j1kb77r1.js} +34 -34
- package/dist/chunks/{app-bfmts8p1.js → schema-j2t21h9q.js} +8 -8
- package/dist/chunks/{app-qgk9wbmt.js → schema-j3118bbp.js} +23 -23
- package/dist/chunks/{app-ze75qvmd.js → schema-j9nxzz3g.js} +3 -3
- package/dist/chunks/{app-k8bdr0d0.js → schema-jdfneqs4.js} +33 -33
- package/dist/chunks/{app-weahyj5x.js → schema-jf43mb4q.js} +5 -5
- package/dist/chunks/{app-jhwp234h.js → schema-jhwp234h.js} +1 -1
- package/dist/chunks/{app-jtnps1zs.js → schema-jtnps1zs.js} +2 -2
- package/dist/chunks/{app-mgvq6ne3.js → schema-jv8r5h6h.js} +27 -27
- package/dist/chunks/{app-k3cx6fhe.js → schema-k3cx6fhe.js} +1 -1
- package/dist/chunks/{app-57zkss3n.js → schema-k3ysz89m.js} +14 -14
- package/dist/chunks/{app-wd6ygds7.js → schema-k86qxh6q.js} +2 -2
- package/dist/chunks/{app-kt3bjfbg.js → schema-kt3bjfbg.js} +1 -1
- package/dist/chunks/{app-3ab9az2f.js → schema-kxcyzez0.js} +9 -9
- package/dist/chunks/{app-kzczzf4v.js → schema-kzczzf4v.js} +1 -1
- package/dist/chunks/{app-26wfx3k0.js → schema-kze6nzna.js} +7 -7
- package/dist/chunks/{app-m1714858.js → schema-m1714858.js} +1 -1
- package/dist/chunks/{app-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-rgzbxrk5.js → schema-mdkgg4b2.js} +7 -7
- package/dist/chunks/schema-me0dhgxs.js +18 -0
- package/dist/chunks/{app-v0t96s7a.js → schema-mf63ygpr.js} +4 -4
- package/dist/chunks/{app-bmgv8h6w.js → schema-mpzzt3bk.js} +12 -12
- package/dist/chunks/{app-1v2g13eq.js → schema-msd2a3qm.js} +4 -4
- package/dist/chunks/{app-q391cchf.js → schema-mtjzj2m1.js} +36 -36
- package/dist/chunks/{app-r1n0s1ac.js → schema-mv0hp075.js} +16 -16
- package/dist/chunks/{app-5ftq3225.js → schema-n8szhp98.js} +5 -5
- package/dist/chunks/{app-nv2s17h7.js → schema-nc6ym85v.js} +51 -51
- package/dist/chunks/{app-q9qzw55y.js → schema-njm1h2ne.js} +6 -6
- package/dist/chunks/{app-wf5k0dcb.js → schema-nsqhjfa0.js} +30 -30
- package/dist/chunks/{app-cpg2sjfp.js → schema-nvx0tz4r.js} +24 -24
- package/dist/chunks/{app-nx4vzyjd.js → schema-nx4vzyjd.js} +2 -2
- package/dist/chunks/{app-ghqvcpnh.js → schema-p4w1989n.js} +18 -18
- package/dist/chunks/{app-24sxtq8k.js → schema-p76d4538.js} +6 -6
- package/dist/chunks/schema-p79bcmnw.js +26 -0
- package/dist/chunks/{app-xavgr0sn.js → schema-p7s5ympt.js} +23 -23
- package/dist/chunks/{app-fhwn87jp.js → schema-p9x26950.js} +8 -8
- package/dist/chunks/{app-8sb7jtsn.js → schema-pkkerzhz.js} +9 -9
- package/dist/chunks/{app-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{app-8px3ddj4.js → schema-pkyxhtt8.js} +4 -4
- package/dist/chunks/{app-gk56h2xy.js → schema-pmjf6175.js} +21 -21
- package/dist/chunks/{app-9hqxgecf.js → schema-pt1rbhsc.js} +24 -24
- package/dist/chunks/{app-dbf6dzq1.js → schema-py00tmr0.js} +9 -9
- package/dist/chunks/schema-qhn8d2qf.js +265 -0
- package/dist/chunks/{app-r1fnsf7p.js → schema-qnqasnye.js} +6 -6
- package/dist/chunks/{app-qp7r0hxv.js → schema-qp7r0hxv.js} +1 -1
- package/dist/chunks/{app-7zggx0n1.js → schema-qq0q7pz9.js} +10 -10
- package/dist/chunks/{app-qqvy8y24.js → schema-qqvy8y24.js} +1 -1
- package/dist/chunks/{app-1njtx4es.js → schema-qtf35215.js} +3 -3
- package/dist/chunks/{app-ghkxye21.js → schema-qygxdx42.js} +43 -43
- package/dist/chunks/{app-z7a53n6z.js → schema-qzntb7s5.js} +9 -9
- package/dist/chunks/{app-wfs84ra6.js → schema-r17fbvme.js} +4 -4
- package/dist/chunks/{app-4f25tdd0.js → schema-r542h3bh.js} +5 -5
- package/dist/chunks/{app-wbqzfeen.js → schema-r5z1733q.js} +24 -24
- package/dist/chunks/{app-rb9dy4dg.js → schema-rb9dy4dg.js} +1 -1
- package/dist/chunks/{app-bg9cnzs0.js → schema-rezvgxsg.js} +26 -26
- package/dist/chunks/{app-0qdw55z7.js → schema-rgr58pg0.js} +11 -11
- package/dist/chunks/{app-xznfvz6c.js → schema-rkbq4mr3.js} +15 -15
- package/dist/chunks/{app-ge0ek74f.js → schema-rs07w8af.js} +31 -31
- package/dist/chunks/{app-rt5dr6hb.js → schema-rt5dr6hb.js} +1 -1
- package/dist/chunks/{app-19w73m0f.js → schema-s1d5m1r1.js} +11 -11
- package/dist/chunks/{app-sr8x3p00.js → schema-s2edn48d.js} +22 -26
- package/dist/chunks/{app-qnt4ewtn.js → schema-s46s4q5z.js} +6 -6
- package/dist/chunks/{app-sa3fpqfw.js → schema-sa3fpqfw.js} +2 -2
- package/dist/chunks/{app-9vajtycf.js → schema-saqe5fxg.js} +12 -12
- package/dist/chunks/{app-sgfxw3p2.js → schema-sbxckrs6.js} +87 -87
- package/dist/chunks/{app-sbya78hr.js → schema-sbya78hr.js} +1 -1
- package/dist/chunks/{app-z080rjh6.js → schema-sf9y72b7.js} +4 -4
- package/dist/chunks/{app-ydejkx0z.js → schema-sh8kb457.js} +4 -4
- package/dist/chunks/{app-navg70v8.js → schema-ss6cgsgk.js} +15 -15
- package/dist/chunks/{app-svcy3p9a.js → schema-svcy3p9a.js} +1 -1
- package/dist/chunks/{app-wy3njjma.js → schema-svmsgnt5.js} +18 -18
- package/dist/chunks/{app-szwm4crx.js → schema-szwm4crx.js} +4 -4
- package/dist/chunks/{app-62beg8mw.js → schema-szya7jty.js} +25 -25
- package/dist/chunks/{app-ggqsw24s.js → schema-t1r3r4xh.js} +21 -21
- package/dist/chunks/{app-mj1xqs5a.js → schema-tc429zzg.js} +42 -42
- package/dist/chunks/{app-tczq8hjw.js → schema-tczq8hjw.js} +1 -1
- package/dist/chunks/{app-90pvm6py.js → schema-tecv0z0k.js} +11 -11
- package/dist/chunks/{app-gxs71cxp.js → schema-tg7s7b5t.js} +4 -4
- package/dist/chunks/{app-k483zyxw.js → schema-th5svyvp.js} +14 -14
- package/dist/chunks/{app-prha7nnz.js → schema-tk7wm9t6.js} +10 -10
- package/dist/chunks/schema-tkxx25dy.js +16 -0
- package/dist/chunks/{app-tr8x705m.js → schema-tr8x705m.js} +1 -1
- package/dist/chunks/{app-f851hg2k.js → schema-tt497rda.js} +20 -20
- package/dist/chunks/{app-twssxy5n.js → schema-twssxy5n.js} +2 -2
- package/dist/chunks/{app-28ma8gfj.js → schema-v0dc4xqt.js} +161 -161
- package/dist/chunks/{app-v2r1d0zg.js → schema-v2r1d0zg.js} +1 -1
- package/dist/chunks/schema-v8mak0jw.js +109 -0
- package/dist/chunks/{app-t4f7c3ht.js → schema-v8wxce3j.js} +18 -18
- package/dist/chunks/{app-2cdjxzfg.js → schema-vb80j1wh.js} +3 -3
- package/dist/chunks/{app-8jw7n1ah.js → schema-vba4zwdc.js} +9 -9
- package/dist/chunks/{app-vjf35v1f.js → schema-vjf35v1f.js} +1 -1
- package/dist/chunks/{app-ts7bpkbv.js → schema-vjrqr51s.js} +3 -3
- package/dist/chunks/{app-9av120cb.js → schema-vm1w8k2h.js} +20 -20
- package/dist/chunks/{app-qfz6bxfd.js → schema-vmqe41cb.js} +4 -4
- package/dist/chunks/{app-s7s2w16j.js → schema-vw7pb86b.js} +42 -42
- package/dist/chunks/{app-rz032gsk.js → schema-vypb472n.js} +17 -17
- package/dist/chunks/{app-p5w1jxhv.js → schema-vzv5k31s.js} +20 -20
- package/dist/chunks/{app-40za9wsf.js → schema-w2eysc6j.js} +9 -9
- package/dist/chunks/{app-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-wakvkjy4.js → schema-wakvkjy4.js} +1 -1
- package/dist/chunks/{app-bprvspg8.js → schema-wc6thd2m.js} +11 -11
- package/dist/chunks/{app-kbsfb6et.js → schema-wcrhk13t.js} +1 -1
- package/dist/chunks/{app-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{app-y70svyf1.js → schema-wdwt8pse.js} +31 -31
- package/dist/chunks/{app-q7zpym3n.js → schema-wgtjsce3.js} +2 -2
- package/dist/chunks/{app-wnhgecwx.js → schema-wnhgecwx.js} +1 -1
- package/dist/chunks/{app-w687dnns.js → schema-wr3re1en.js} +4 -4
- package/dist/chunks/{app-11v4hymh.js → schema-wrfejyj7.js} +11 -11
- package/dist/chunks/{app-99a9crdx.js → schema-wse597y0.js} +11 -11
- package/dist/chunks/{app-wvr8xscb.js → schema-wvr8xscb.js} +1 -1
- package/dist/chunks/{app-b3hbd1md.js → schema-wxd7rbv3.js} +14 -14
- package/dist/chunks/{app-19gkfjnk.js → schema-x150ncgg.js} +2 -2
- package/dist/chunks/{app-erf9fzfw.js → schema-x4w59bsh.js} +18 -18
- package/dist/chunks/{app-9c645kx6.js → schema-x9fmexvv.js} +2 -2
- package/dist/chunks/{app-6xgrzf3v.js → schema-xar4zgxk.js} +4 -4
- package/dist/chunks/{app-5fz99wkv.js → schema-xcxvf2mg.js} +8 -8
- package/dist/chunks/{app-7ncdpmyj.js → schema-xfkjnhsk.js} +9 -9
- package/dist/chunks/{app-9wje21dv.js → schema-xnegq722.js} +14 -14
- package/dist/chunks/{app-45a1n0rj.js → schema-xnespcx4.js} +21 -21
- package/dist/chunks/{app-hz7a74th.js → schema-xr5ngpme.js} +33 -48
- package/dist/chunks/{app-mxhv6w83.js → schema-y329tfma.js} +8 -8
- package/dist/chunks/{app-4pc43vs5.js → schema-y71c85jv.js} +3 -3
- package/dist/chunks/{app-n3bkb5q1.js → schema-y7rptanb.js} +5 -5
- package/dist/chunks/{app-yb20nhc3.js → schema-yb20nhc3.js} +1 -1
- package/dist/chunks/{app-8g403b55.js → schema-yfd5yn1x.js} +26 -26
- package/dist/chunks/{app-3gqs30ps.js → schema-ygmq07zy.js} +22 -22
- package/dist/chunks/{app-8qbdxarg.js → schema-ygy4s6bd.js} +32 -32
- package/dist/chunks/{app-d4by6qpt.js → schema-ynddwxng.js} +11 -11
- package/dist/chunks/{app-t7wtafck.js → schema-yqnnk2wp.js} +11 -11
- package/dist/chunks/{app-yr705xyq.js → schema-yr705xyq.js} +1 -1
- package/dist/chunks/{app-ka1mq67y.js → schema-yrb8cmyx.js} +16 -16
- package/dist/chunks/{app-20mc4p3b.js → schema-ysh3dgvc.js} +14 -14
- package/dist/chunks/{app-whq4nd4h.js → schema-yv34actv.js} +13 -13
- package/dist/chunks/{app-yvtc2x31.js → schema-yvtc2x31.js} +1 -1
- package/dist/chunks/{app-5tgs095n.js → schema-z01zhnc6.js} +29 -29
- package/dist/chunks/{app-dbht28n9.js → schema-z0h12gs8.js} +3 -2
- package/dist/chunks/{app-fk0rpprw.js → schema-z4be597q.js} +25 -25
- package/dist/chunks/{app-yq2mt5qr.js → schema-z78ex2z3.js} +3 -3
- package/dist/chunks/{app-76ggf0cd.js → schema-z9e79eck.js} +12 -12
- package/dist/chunks/{app-xrj14re7.js → schema-zmn1zasx.js} +8 -8
- package/dist/chunks/{app-nr7cqb9h.js → schema-zn515352.js} +10 -17
- package/dist/chunks/{app-gwz0wrrb.js → schema-zrcyxcfh.js} +129 -216
- package/dist/chunks/{app-jy1f4pdx.js → schema-ztjgp9mc.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +147 -145
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +95 -95
- 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 +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +232 -232
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +142 -142
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +129 -129
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +81 -81
- 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/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.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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/v1-migration.bun.js +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +432 -431
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- 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 +85 -85
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +165 -0
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +246 -246
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +110 -110
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +115 -115
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- 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 +112 -112
- 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/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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +423 -422
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +92 -92
- package/dist/job/sql.js +2 -2
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +179 -179
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +420 -419
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -106
- package/dist/mcp/connection.js +105 -105
- package/dist/mcp/index.js +119 -119
- package/dist/mcp/instructions.js +182 -182
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -107
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +153 -153
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +116 -116
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +237 -237
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +399 -398
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- 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 +4 -4
- 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 +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- 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 +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- 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 +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +155 -155
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +234 -234
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +411 -410
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +246 -246
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -97
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +107 -107
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +108 -108
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +242 -242
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +246 -246
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +199 -199
- package/dist/session/diff.js +101 -101
- 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 +243 -243
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +201 -201
- package/dist/session/history.js +136 -142
- package/dist/session/inbox.js +145 -145
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +251 -251
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +86 -86
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +226 -226
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +203 -203
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +244 -244
- package/dist/session/usage.js +3 -3
- package/dist/session.js +236 -236
- 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 +7 -7
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +104 -104
- 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 +181 -181
- package/dist/tool/plugin/artifact.js +229 -229
- package/dist/tool/plugin/edit.js +162 -160
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +165 -164
- package/dist/tool/plugin/grep.js +166 -166
- package/dist/tool/plugin/image-generate.js +234 -234
- package/dist/tool/plugin/mcp-resource.js +163 -163
- package/dist/tool/plugin/opencode.js +162 -161
- package/dist/tool/plugin/patch.js +167 -166
- package/dist/tool/plugin/question.js +148 -148
- package/dist/tool/plugin/read.js +171 -171
- package/dist/tool/plugin/schedule.js +248 -248
- package/dist/tool/plugin/shell.js +236 -236
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +237 -237
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +167 -166
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +5 -3
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/types/codemode/fetch.d.ts +1 -0
- package/dist/types/file-write.d.ts +30 -0
- package/dist/types/instance.d.ts +2 -1
- package/dist/types/plugin/host.d.ts +1 -1
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/session/history.d.ts +1 -304
- package/dist/types/tool/plugin/edit.d.ts +2 -3
- package/dist/types/tool/plugin/write.d.ts +2 -6
- package/dist/types/tool/runtime.d.ts +3 -1
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +97 -97
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- 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 +102 -102
- package/dist/worktree.js +107 -107
- package/package.json +8 -8
- package/dist/chunks/app-43ynt425.js +0 -105
- package/dist/chunks/app-5tqhmh96.js +0 -72
- package/dist/chunks/app-cpdsp3va.js +0 -16
- package/dist/chunks/app-essehzfx.js +0 -26
- package/dist/chunks/app-me1613fs.js +0 -261
- package/dist/chunks/app-qmh7vbk2.js +0 -18
- /package/dist/chunks/{app-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kah00gy.js → schema-1kah00gy.js} +0 -0
- /package/dist/chunks/{app-1pevy3nx.js → schema-1pevy3nx.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2bv980vf.js → schema-2bv980vf.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4qk9sjk2.js → schema-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-5w3e23ze.js → schema-5w3e23ze.js} +0 -0
- /package/dist/chunks/{app-6agm2x70.js → schema-6agm2x70.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{app-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{app-84wd9syh.js → schema-84wd9syh.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-beh6qq61.js → schema-beh6qq61.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cqv5kn06.js → schema-cqv5kn06.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ean2d8b5.js → schema-ean2d8b5.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fkpq3x5p.js → schema-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jwr30sdr.js → schema-jwr30sdr.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-m18g726c.js → schema-m18g726c.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-nh4v3znn.js → schema-nh4v3znn.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-p71gwv9c.js → schema-p71gwv9c.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-syrav9an.js → schema-syrav9an.js} +0 -0
- /package/dist/chunks/{app-t03h4f5z.js → schema-t03h4f5z.js} +0 -0
- /package/dist/chunks/{app-ty7weeps.js → schema-ty7weeps.js} +0 -0
- /package/dist/chunks/{app-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
- /package/dist/chunks/{app-vtarvj67.js → schema-vtarvj67.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service91,
|
|
3
|
+
node94
|
|
4
|
+
} from "./schema-5ss6spnt.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-8cg7mtm3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service90,
|
|
10
|
+
node93
|
|
11
|
+
} from "./schema-5zrvqxbg.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessageTable2,
|
|
17
17
|
SessionInboxTable2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-8z6m94af.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
UserPayload3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./schema-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 "./schema-njm1h2ne.js";
|
|
33
33
|
import {
|
|
34
34
|
decodeMessageRows2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./schema-zn515352.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./schema-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: () => Info8,
|
|
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: () => Service34,
|
|
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: () => layer16,
|
|
63
63
|
list: () => list3,
|
|
64
64
|
listWithRefs: () => listWithRefs2,
|
|
65
65
|
make: () => make27,
|
|
66
66
|
moveIDs: () => moveIDs2,
|
|
67
67
|
nextPromotable: () => nextPromotable2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node36,
|
|
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 Info8,
|
|
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 Service34 extends Context.Service()("@opencode/SessionInbox") {
|
|
188
188
|
}
|
|
189
189
|
var make27 = Effect.fn("SessionInbox.make")(function* () {
|
|
190
|
-
const database = yield*
|
|
190
|
+
const database = yield* Service91;
|
|
191
191
|
const db = database.db;
|
|
192
|
-
const bus = yield*
|
|
192
|
+
const bus = yield* Service90;
|
|
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 make27 = 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) => Info8.make({
|
|
210
210
|
id: request.id,
|
|
211
211
|
sessionID: request.sessionID,
|
|
212
212
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -260,8 +260,8 @@ var make27 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
260
260
|
queue
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
|
-
var
|
|
264
|
-
var
|
|
263
|
+
var layer16 = Layer.effect(Service34, make27());
|
|
264
|
+
var node36 = makeGlobalNode({ service: Service34, layer: layer16, deps: [node94, node93] });
|
|
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)
|
|
@@ -385,4 +385,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
385
385
|
return rows;
|
|
386
386
|
}));
|
|
387
387
|
|
|
388
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
388
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service34, make27, layer16, node36, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./schema-dn909y3q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service29
|
|
6
|
+
} from "./schema-7wetmpgy.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
16
|
-
register: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin3,
|
|
16
|
+
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin3 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
yield*
|
|
23
|
+
yield* register2(ctx.event.subscribe({ types: ["config.updated"] }));
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
|
-
var
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
26
|
+
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
+
const config = yield* Service78;
|
|
28
|
+
const mcp = yield* Service29;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register7 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin3, register2, exports_mcp };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID18,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service84,
|
|
4
|
+
node87
|
|
5
|
+
} from "./schema-zrcyxcfh.js";
|
|
6
6
|
import {
|
|
7
7
|
ID17,
|
|
8
8
|
isAISDK2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service83,
|
|
19
|
+
node86
|
|
20
|
+
} from "./schema-0069kg3w.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service72,
|
|
23
|
+
node75
|
|
24
|
+
} from "./schema-1vp6kgjq.js";
|
|
25
25
|
import {
|
|
26
26
|
ID16,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref3,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service82,
|
|
30
|
+
node85,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./schema-7cfarfc9.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./schema-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service71,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer24,
|
|
52
|
+
node: () => node74,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -130,7 +130,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
class
|
|
133
|
+
class Service71 extends Context.Service()("@opencode/ModelResolver") {
|
|
134
134
|
}
|
|
135
135
|
var withVariant2 = (model, variantID) => {
|
|
136
136
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -297,12 +297,12 @@ var causeMessage = (cause) => {
|
|
|
297
297
|
};
|
|
298
298
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
299
299
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
300
|
-
var
|
|
301
|
-
const providers = yield*
|
|
302
|
-
const models = yield*
|
|
303
|
-
const integrations = yield*
|
|
300
|
+
var layer24 = Layer.effect(Service71, Effect.gen(function* () {
|
|
301
|
+
const providers = yield* Service83;
|
|
302
|
+
const models = yield* Service82;
|
|
303
|
+
const integrations = yield* Service84;
|
|
304
304
|
const npm = yield* Npm.Service;
|
|
305
|
-
const aisdk = yield*
|
|
305
|
+
const aisdk = yield* Service72;
|
|
306
306
|
const dependencies = {
|
|
307
307
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
308
308
|
loadAISDK: (model) => aisdk.model(model)
|
|
@@ -345,7 +345,7 @@ var layer20 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
345
345
|
const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
346
346
|
return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service71.of({
|
|
349
349
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
350
350
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
351
351
|
if (!selected)
|
|
@@ -368,10 +368,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
368
368
|
const name = packageName2(packageName);
|
|
369
369
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
370
370
|
}
|
|
371
|
-
var
|
|
372
|
-
service:
|
|
373
|
-
layer:
|
|
374
|
-
deps: [
|
|
371
|
+
var node74 = makeLocationNode({
|
|
372
|
+
service: Service71,
|
|
373
|
+
layer: layer24,
|
|
374
|
+
deps: [node86, node85, node87, Npm.node, node75]
|
|
375
375
|
});
|
|
376
376
|
|
|
377
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
377
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service71, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer24, node74, exports_model_resolver };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
content3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-sbya78hr.js";
|
|
4
4
|
import {
|
|
5
5
|
groups2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-vjf35v1f.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/sync/catch-up.ts
|
|
12
12
|
var exports_catch_up = {};
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./schema-ygmq07zy.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service82
|
|
7
|
+
} from "./schema-7cfarfc9.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service78
|
|
11
|
+
} from "./schema-dn909y3q.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./schema-qtf35215.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service36
|
|
17
|
+
} from "./schema-4byhtres.js";
|
|
18
18
|
import {
|
|
19
19
|
evaluate3,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service73
|
|
21
|
+
} from "./schema-9hm59r1c.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service18
|
|
24
|
+
} from "./schema-4ze3m284.js";
|
|
25
25
|
import {
|
|
26
26
|
NO_TEXT2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./schema-0j7gp832.js";
|
|
28
28
|
import {
|
|
29
29
|
Service11
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-8yhnmq54.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./schema-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/subagent.ts
|
|
36
36
|
var exports_subagent = {};
|
|
37
37
|
__export(exports_subagent, {
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
38
|
+
Input: () => Input13,
|
|
39
|
+
Output: () => Output9,
|
|
40
|
+
Plugin: () => Plugin34,
|
|
41
41
|
SubagentTool: () => exports_subagent,
|
|
42
|
-
description: () =>
|
|
43
|
-
name: () =>
|
|
42
|
+
description: () => description6,
|
|
43
|
+
name: () => name13
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
46
46
|
import { Effect, Predicate, Schema } from "effect";
|
|
47
|
-
var
|
|
47
|
+
var name13 = "subagent";
|
|
48
48
|
var backgroundResult = (sessionID) => ({
|
|
49
49
|
sessionID,
|
|
50
50
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input13 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input11 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output9 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description6 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,15 +86,15 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin34 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
92
|
+
const sessions = yield* Service18;
|
|
93
|
+
const jobs = yield* Service36;
|
|
94
|
+
const agents = yield* Service76;
|
|
95
|
+
const config = yield* Service78;
|
|
96
|
+
const permission = yield* Service73;
|
|
97
|
+
const models = yield* Service82;
|
|
98
98
|
const subagents = yield* Service11;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -117,11 +117,11 @@ var Plugin32 = {
|
|
|
117
117
|
return ref;
|
|
118
118
|
});
|
|
119
119
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
120
|
-
name:
|
|
120
|
+
name: name13,
|
|
121
121
|
options: { codemode: false },
|
|
122
|
-
description:
|
|
123
|
-
input:
|
|
124
|
-
output:
|
|
122
|
+
description: description6,
|
|
123
|
+
input: Input13,
|
|
124
|
+
output: Output9,
|
|
125
125
|
execute: (input, context) => Effect.gen(function* () {
|
|
126
126
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
127
127
|
let current = parent;
|
|
@@ -141,7 +141,7 @@ var Plugin32 = {
|
|
|
141
141
|
if (agent.mode === "primary")
|
|
142
142
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name13,
|
|
145
145
|
resources: [agent.id],
|
|
146
146
|
save: [agent.id],
|
|
147
147
|
sessionID: context.sessionID,
|
|
@@ -220,7 +220,7 @@ ${output.output}
|
|
|
220
220
|
})))
|
|
221
221
|
})).pipe(Effect.orDie);
|
|
222
222
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
223
|
-
if (event.tool !==
|
|
223
|
+
if (event.tool !== name13 || !Predicate.isObject(event.input))
|
|
224
224
|
return;
|
|
225
225
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
226
226
|
return;
|
|
@@ -232,13 +232,13 @@ ${output.output}
|
|
|
232
232
|
event.input = input;
|
|
233
233
|
}));
|
|
234
234
|
const hook = (event) => Effect.gen(function* () {
|
|
235
|
-
const tool = event.tools[
|
|
235
|
+
const tool = event.tools[name13];
|
|
236
236
|
if (!tool)
|
|
237
237
|
return;
|
|
238
238
|
const selected = yield* agents.resolve(event.agent);
|
|
239
239
|
if (!selected)
|
|
240
240
|
return;
|
|
241
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
241
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name13, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
242
242
|
if (available.length === 0)
|
|
243
243
|
return;
|
|
244
244
|
tool.description = [
|
|
@@ -255,4 +255,4 @@ ${output.output}
|
|
|
255
255
|
})
|
|
256
256
|
};
|
|
257
257
|
|
|
258
|
-
export {
|
|
258
|
+
export { name13, Input13, Output9, description6, Plugin34, exports_subagent };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service90,
|
|
3
|
+
node93
|
|
4
|
+
} from "./schema-5zrvqxbg.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service87,
|
|
11
|
+
node90
|
|
12
|
+
} from "./schema-th5svyvp.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID17,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service83,
|
|
20
|
+
node86,
|
|
21
21
|
Event17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./schema-0069kg3w.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./schema-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -37,12 +37,12 @@ __export(exports_model2, {
|
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service82,
|
|
41
41
|
Type: () => Type2,
|
|
42
42
|
VariantID: () => VariantID2,
|
|
43
43
|
compatibility: () => compatibility2,
|
|
44
44
|
mergeCapabilities: () => mergeCapabilities2,
|
|
45
|
-
node: () =>
|
|
45
|
+
node: () => node85,
|
|
46
46
|
parse: () => parse5,
|
|
47
47
|
supportsText: () => supportsText2
|
|
48
48
|
});
|
|
@@ -71,12 +71,12 @@ var Type2 = Model.Type;
|
|
|
71
71
|
var Ref3 = Model.Ref;
|
|
72
72
|
var Info24 = Model.Info;
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service82 extends Context.Service()("@opencode/Model") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const providers = yield*
|
|
78
|
-
const bus = yield*
|
|
79
|
-
const location = yield*
|
|
76
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
77
|
+
const providers = yield* Service83;
|
|
78
|
+
const bus = yield* Service90;
|
|
79
|
+
const location = yield* Service87;
|
|
80
80
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
81
81
|
let input;
|
|
82
82
|
const state = create4({
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
230
|
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
231
|
-
return
|
|
231
|
+
return Service82.of({
|
|
232
232
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
233
233
|
reload,
|
|
234
234
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
}));
|
|
250
|
-
var
|
|
250
|
+
var node85 = makeLocationNode({ service: Service82, layer, deps: [node86, node93, node90] });
|
|
251
251
|
var PREFERRED_FREE = [
|
|
252
252
|
"big-pickle",
|
|
253
253
|
"deepseek-v4.1-flash-free",
|
|
@@ -279,4 +279,4 @@ function parse5(input) {
|
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export { ID16, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info24,
|
|
282
|
+
export { ID16, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info24, Service82, node85, supportsText2, compatibility2, parse5, exports_model2, Event16 };
|